Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-06-2012, 11:50 PM
Fysez Fysez is offline
Banned
Join Date: Apr 2012
Posts: 89
Fysez has a little shameless behaviour in the past
Quote:
Originally Posted by BlueMelon View Post
You could check a clientr variable...

player.clientr.quest_dungeonkey = 1;

..

if(player.clientr.quest_dungeonkey) {
// next level
}else{
// Not authorized
}

Obviously you would change the names to something that would keep your clientr variables organised.
At the same time I want to learn. Player.clientr.quest would mean what?
Is dungeonkey the name of the item in the script you've listed?
What's variable 1 for?
The rest of it I can figure out with this=)
Reply With Quote
  #2  
Old 05-07-2012, 12:52 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Fysez View Post
At the same time I want to learn. Player.clientr.quest would mean what?
Is dungeonkey the name of the item in the script you've listed?
What's variable 1 for?
The rest of it I can figure out with this=)
You should probably start at the beginning. We're happy to help you with GScript's quirks or other complicated stuff, but there's no point in explaining the simple stuff again when it's already been explained before. The tutorial I linked you to is a good resource for getting started.
__________________
Reply With Quote
  #3  
Old 05-07-2012, 05:32 AM
Fysez Fysez is offline
Banned
Join Date: Apr 2012
Posts: 89
Fysez has a little shameless behaviour in the past
Quote:
Originally Posted by cbk1994 View Post
You should probably start at the beginning. We're happy to help you with GScript's quirks or other complicated stuff, but there's no point in explaining the simple stuff again when it's already been explained before. The tutorial I linked you to is a good resource for getting started.
I'm not new. And I wouldn't have posted this thread if I didn't search already how to do this. That's why i'm asking. Questions are good and are meant to be asked. So if you don't have the answer yourself, Just... Don't even comment.
Reply With Quote
  #4  
Old 05-07-2012, 06:42 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Fysez View Post
I'm not new. And I wouldn't have posted this thread if I didn't search already how to do this. That's why i'm asking. Questions are good and are meant to be asked. So if you don't have the answer yourself, Just... Don't even comment.
Lacking an understanding of player attributes would place you squarely in the "new" category. If you don't want our help, we won't force it on you—but if you are having trouble with the simple stuff, then you should read the guide I referenced.

The reason I didn't post an explanation of variables is because doing so would be redundant and a waste of my time. That information has already been compiled into Jer's scripting guide.

If you're not interested in becoming a better scripter, and are just interested in getting things done, this is not the forum for you.
__________________
Reply With Quote
  #5  
Old 05-07-2012, 10:37 AM
Loakey_P2P Loakey_P2P is offline
SL Oldbie
Loakey_P2P's Avatar
Join Date: Apr 2006
Location: U.S.A
Posts: 137
Loakey_P2P is an unknown quantity at this point
Send a message via AIM to Loakey_P2P Send a message via Yahoo to Loakey_P2P
Quote:
Originally Posted by Fysez View Post
I'm not new. And I wouldn't have posted this thread if I didn't search already how to do this. That's why i'm asking. Questions are good and are meant to be asked. So if you don't have the answer yourself, Just... Don't even comment.
error 1 : you cant seem to figure out how to make a door open . first off, they done told you that you can do the same thing by simply setting a flag and checking the value . secondly, basic gs check if(hasweapon(#w, )){ tho it may have changed with the gs2 conversion .

error 2 : if you weren't new you would already know how to use flags,values and find weapons .

error 3 : if your gonna insult the community members expect to spend a lot of your time looking up said info on the net or through a series of trial and error in game to work out how to do something cause you done pissed off the people trying to help you .
__________________
Shaded Legend Playerworld
-Past accounts - LoakeyTheElf - Loakey_P2P
-Past Servers - Rune - Sparitoria - Shaded Legends
-Past Sl Jobs * ET/LAT/NAT/LAT Admin/Developer/Admin/Head Admin/Asst. Manager/Manager
-Current Job - Retired

*Sorry you must have mistaken me for someone that cares .
Reply With Quote
  #6  
Old 05-07-2012, 11:28 PM
Fysez Fysez is offline
Banned
Join Date: Apr 2012
Posts: 89
Fysez has a little shameless behaviour in the past
Quote:
Originally Posted by Loakey_P2P View Post
error 1 : you cant seem to figure out how to make a door open . first off, they done told you that you can do the same thing by simply setting a flag and checking the value . secondly, basic gs check if(hasweapon(#w, )){ tho it may have changed with the gs2 conversion .

error 2 : if you weren't new you would already know how to use flags,values and find weapons .

error 3 : if your gonna insult the community members expect to spend a lot of your time looking up said info on the net or through a series of trial and error in game to work out how to do something cause you done pissed off the people trying to help you .
1. I know how to make a door open, Just not on weapon.
2. I'm not new to scripting, I'm newer to NPC scripting
3. I didn't insult, I simply stated that if he wasn't going to help, It's a waste of everyone's time to even look at his posts. They don't help, And I know they don't because if he posts a link, It ends up having nothing at all to do with the question asked. I read the link, And it had no reference what-so-ever. So "Pissing off the people trying to help you" Doesn't work, Because he's not help.
Reply With Quote
  #7  
Old 05-07-2012, 12:44 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Fysez View Post
I'm not new.
Yes. Yes, you are.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.