Graal Forums  

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

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-10-2003, 06:50 AM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
Post Help with a jail script

I need help with an npc script for the jail of my server, im trying to make it so when the player gets jailed and enters the room, it sets his nickname to Jailed, whats the script, stupidly i tried this.
//NPC made by SS Vegeta
if (created) {
}
if (playerenters) {
setnick Jailed;
}
Obviously it didn't work, anyone know the code?
  #2  
Old 12-10-2003, 07:32 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
commands.rtf is your friend.
  #3  
Old 12-11-2003, 02:45 AM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
I know i've looked through the whole thing and I found nothing, talk to me on AIM because commands.rtf don't have anything on the subject. But yes I guess it is your friend!!!

Last edited by Python523; 12-11-2003 at 02:56 AM..
  #4  
Old 12-11-2003, 02:52 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Commands.rtf indeed provides the information you are looking for.
Stop posting this image with every post you make.
  #5  
Old 12-11-2003, 02:58 AM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
Yeah but it doesn't have the command im looking for, you know how like on UN when you get jailed and your in jail your name changes to Jailed and you can't change it back, thats the script I want.

Last edited by Loriel; 12-11-2003 at 03:13 AM..
  #6  
Old 12-11-2003, 02:59 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
It has the command you are looking for, and I just said that.
  #7  
Old 12-11-2003, 03:00 AM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
Whatever i'll look and i'll let you know if its not there whats ur name on AIM?

Last edited by Loriel; 12-11-2003 at 03:13 AM..
  #8  
Old 12-11-2003, 03:02 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Please start looking for things before annoying others... you can find my AIM SN on your own, I am certain.
  #9  
Old 12-11-2003, 03:51 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
You can't just make up commands like that. The commands used to change your head/sword/name in-game are different than the ones used while scripting... As mentioned before, the commands.rtf will have most of the answers for you... There are also some newer commands in the newfeatures200*.txt (* = 1~to~3). But I can assure you that the command you are looking for is in the commands.rtf...

Hint: Look at the headers in the commands.rtf of each section to narrow down your search.
  #10  
Old 12-11-2003, 04:19 AM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
Thanks guys then i guess this is the end of the thread, play my server when its done, will definitely be up by January 10th, called Dylovekia, but don't hack.
  #11  
Old 12-11-2003, 04:28 AM
w3dg1tz8 w3dg1tz8 is offline
Registered User
Join Date: Apr 2003
Posts: 352
w3dg1tz8 is on a distinguished road
Quote:
Originally posted by Vegeta940
Thanks guys then i guess this is the end of the thread, play my server when its done, will definitely be up by January 10th, called Dylovekia, but don't hack.
Er... I hope you have someone besides yourself who scripts.
  #12  
Old 12-11-2003, 04:33 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by Vegeta940
Thanks guys then i guess this is the end of the thread, play my server when its done, will definitely be up by January 10th, called Dylovekia, but don't hack.
Ehh... I think I'll pass... But thanks anyway...
  #13  
Old 12-11-2003, 07:00 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
newfeatures documents? very helpful =)
__________________
  #14  
Old 12-11-2003, 05:45 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Did you fix your script then,dude?
  #15  
Old 12-11-2003, 11:50 PM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
Nope so I started working on another script and I screwed THAT one up too.
Please tell me whats wrong with this code.

//Npc made my SS Vegeta
if (created) {
}
if (playerenters) {
shootarrow left;
}

Im trying to make some booby traps in case the people in jail try to escape.
  #16  
Old 12-12-2003, 12:03 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Lance
commands.rtf is your friend.
Read through that a few times before you ask!
__________________
-Kjetil Valen
  #17  
Old 12-12-2003, 12:20 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by Vegeta940
Nope so I started working on another script and I screwed THAT one up too.
Please tell me whats wrong with this code.

//Npc made my SS Vegeta
if (created) {
}
if (playerenters) {
shootarrow left;
}

Im trying to make some booby traps in case the people in jail try to escape.

If someone really wants to escape from jail, a single arrow isn't going to stop them... ;P
  #18  
Old 12-12-2003, 12:21 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Sigh. If you refuse to make the effort to learn, then scripting is probably not the graal development career for you.
  #19  
Old 12-12-2003, 12:48 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Erm, sorry but nobody will script full scripts for you, learn to walk. x.x'

About that other script, read about setplayerprop #n,;.
  #20  
Old 12-12-2003, 01:10 AM
sYnergy247 sYnergy247 is offline
Banned
sYnergy247's Avatar
Join Date: Jun 2003
Location: Scott Land USA(er..) Canada
Posts: 1,043
sYnergy247 is on a distinguished road
Send a message via AIM to sYnergy247 Send a message via Yahoo to sYnergy247
what if he's running away to the right?
  #21  
Old 12-12-2003, 01:53 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
fyi, directions are stored as numbers in script, and check out the player property strings,
most of scripting is not as straightforward as you seem to think, you might also want to read through npcprogramming.doc, it's not that long
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
  #22  
Old 12-12-2003, 01:59 AM
Amagius Amagius is offline
Cult of the Winky
Amagius's Avatar
Join Date: Sep 2001
Location: The USoCR's friendly twin
Posts: 3,225
Amagius is on a distinguished road
Well, I'll give your server a ride, but if that's a show of scripting abilities, then I think there'll only be one. Hell, almost makes me want to give him the scripts.
__________________
[AIM:RitaReplusa]
mail:[email protected]]
  #23  
Old 12-12-2003, 03:38 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
The future reveals... yup here it is.. Ahh ok I got it.

Your server will never make it.
__________________
  #24  
Old 12-12-2003, 08:49 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
um, you guys don't need to dis way him from making a server, even if it has no chance of making it he'll still learn alot from trying, heck I learned alot about scripting and such from making my "server" a couple years ago
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
  #25  
Old 12-13-2003, 07:35 AM
sYnergy247 sYnergy247 is offline
Banned
sYnergy247's Avatar
Join Date: Jun 2003
Location: Scott Land USA(er..) Canada
Posts: 1,043
sYnergy247 is on a distinguished road
Send a message via AIM to sYnergy247 Send a message via Yahoo to sYnergy247
Quote:
Originally posted by Dach
um, you guys don't need to dis way him from making a server, even if it has no chance of making it he'll still learn alot from trying, heck I learned alot about scripting and such from making my "server" a couple years ago
I've probally had 124829382 diffrent servers. (off line ones) and i normally end up throwing out a lot of levels, but who cares you can only make better ones.
  #26  
Old 12-14-2003, 01:51 AM
Angel Angel is offline
Registered User
Join Date: Dec 2002
Posts: 562
Angel is on a distinguished road
Send a message via AIM to Angel
Dont Post Whole Scripts
"don't post whole scripts for people"
__________________
Have a account problem? Playerworld Problem? Forum Problem?

  #27  
Old 12-14-2003, 05:25 AM
sYnergy247 sYnergy247 is offline
Banned
sYnergy247's Avatar
Join Date: Jun 2003
Location: Scott Land USA(er..) Canada
Posts: 1,043
sYnergy247 is on a distinguished road
Send a message via AIM to sYnergy247 Send a message via Yahoo to sYnergy247
Quote:
Originally posted by Angel
Dont Post Whole Scripts

Yeah "SS Vegeta" Some one might steal your l33t script :o
  #28  
Old 12-14-2003, 06:23 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally posted by sYnergy247



Yeah "SS Vegeta" Some one might steal your l33t script :o
She was referring to a (deleted) post. That warning probably should have been sent in a PM to the one who posted it. :P
  #29  
Old 12-14-2003, 11:38 PM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
You guys are so annoying, instead of dissing me why don't you try answering my question.

Also do any of you know of a good pop-up stopper these things just won't quit, every time i close one another pops-up.:grrr:

Last edited by Loriel; 12-16-2003 at 07:59 PM..
  #30  
Old 12-14-2003, 11:45 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by Vegeta940
You guys are so annoying,
I'm sure the feeling is mutual.
  #31  
Old 12-15-2003, 01:53 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
I doubt this thread is of much help to anyone.
Closed Thread


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 12:43 AM.


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