Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-18-2003, 08:14 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
String Question

Well IM probably missing something very obvious and stupid about this.... but
NPC Code:

if (playerenters) {
setstring serverr.warp,#v(#s(serverr.warp)+1);
}


It keeps setting the string to 1 nothing else just 1 everytime

Will not work neither will variations for it for some reason.
Can someone point out what im doing wrong its been a while since I have had to mess with server variables since most of my work has been offline (BTW that would work fine if it was a client.var)
__________________

To the sun of your age, I arise
Reply With Quote
  #2  
Old 08-18-2003, 08:18 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
setstring string,#v(strtofloat(#s(string))+c);
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #3  
Old 08-18-2003, 08:24 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Quote:
Originally posted by Neoreno
setstring string,#v(strtofloat(#s(string))+c);
LoLz i was going to try that but i told myself not too
THanks a bunch im used to working clientside and the other way works fine in client vars

*back to work i am*
__________________

To the sun of your age, I arise
Reply With Quote
  #4  
Old 08-18-2003, 10:30 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
BTW if anyone else reads this how do you change the name of the npcserver and maybe how do you change its attributes

Thanks
__________________

To the sun of your age, I arise
Reply With Quote
  #5  
Old 08-18-2003, 10:31 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
You can't change it's attributes, and you can change it's name on graal.net
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #6  
Old 08-18-2003, 10:37 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Quote:
Originally posted by Neoreno
You can't change it's attributes, and you can change it's name on graal.net
By attributes i meant the image it shows in Playerlist and thanks

(Where at graal.net??)
__________________

To the sun of your age, I arise
Reply With Quote
  #7  
Old 08-18-2003, 10:53 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
I think it's in the playerworld cp.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #8  
Old 08-18-2003, 11:30 PM
Ningnong Ningnong is offline
Registered User
Ningnong's Avatar
Join Date: Nov 2002
Location: < -- way
Posts: 262
Ningnong is on a distinguished road
How to change npc servers nick:

In server options:

nickname=harry

or something.

Also, if you put (server) in staff guilds it will show under staff. Other wise it will be under players.
__________________
Former Global Scripting Team Member


Reply With Quote
  #9  
Old 08-18-2003, 11:52 PM
Snakeandy7 Snakeandy7 is offline
"Member ID=2610"
Snakeandy7's Avatar
Join Date: Mar 2003
Posts: 987
Snakeandy7 is on a distinguished road
Here, in server ops:
nickname=Snakeandy7
hehe
__________________
"Freedom is best I tell thee
of all things to be won
then never live within the bond
of slavery my son".


Reply With Quote
  #10  
Old 08-19-2003, 01:47 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
is it even possible to change the img it shows in the playerlist?
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #11  
Old 08-19-2003, 03:21 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
Quote:
Originally posted by wonderboysp2p
is it even possible to change the img it shows in the playerlist?
NPC-Server image?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #12  
Old 08-19-2003, 05:40 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
yes... the head thats displayed in the playerlist
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #13  
Old 08-19-2003, 10:39 AM
Snakeandy7 Snakeandy7 is offline
"Member ID=2610"
Snakeandy7's Avatar
Join Date: Mar 2003
Posts: 987
Snakeandy7 is on a distinguished road
Quote:
Originally posted by wonderboysp2p
yes... the head thats displayed in the playerlist
I think there is a way, '#F'? Sorry if i'm in correct, just woke up , lol:P, Just learned 'String Array's' -thank's ning
__________________
"Freedom is best I tell thee
of all things to be won
then never live within the bond
of slavery my son".


Reply With Quote
  #14  
Old 08-19-2003, 11:42 AM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Heres another dumb question how do you set the shown name of your Playerworld?
__________________

To the sun of your age, I arise
Reply With Quote
  #15  
Old 08-19-2003, 01:12 PM
Snakeandy7 Snakeandy7 is offline
"Member ID=2610"
Snakeandy7's Avatar
Join Date: Mar 2003
Posts: 987
Snakeandy7 is on a distinguished road
Cant, not that i know off, only stefan or unix can..
__________________
"Freedom is best I tell thee
of all things to be won
then never live within the bond
of slavery my son".


Reply With Quote
  #16  
Old 08-19-2003, 05:03 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Thats a future improvement. Each playerworld can change their name.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #17  
Old 08-19-2003, 05:12 PM
Snakeandy7 Snakeandy7 is offline
"Member ID=2610"
Snakeandy7's Avatar
Join Date: Mar 2003
Posts: 987
Snakeandy7 is on a distinguished road
What's the command to put in SO?
__________________
"Freedom is best I tell thee
of all things to be won
then never live within the bond
of slavery my son".


Reply With Quote
  #18  
Old 08-19-2003, 08:44 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
Quote:
Originally posted by wonderboysp2p
yes... the head thats displayed in the playerlist
Check RCs and setplayerprop #3,head.png; =p
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #19  
Old 08-19-2003, 09:23 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
It would be nice to change the npc server head and also remove the (Server) tag from him. I have a very good reason that im sure alot of you will see later.

PW shown name should be a server option or on graal.net process manager that would very convienent.
__________________

To the sun of your age, I arise
Reply With Quote
Reply


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 01:31 AM.


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