Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   String Question (https://forums.graalonline.com/forums/showthread.php?t=47280)

TB3 08-18-2003 08:14 PM

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)

Neoreno 08-18-2003 08:18 PM

setstring string,#v(strtofloat(#s(string))+c);

TB3 08-18-2003 08:24 PM

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*

TB3 08-18-2003 10:30 PM

BTW if anyone else reads this how do you change the name of the npcserver and maybe how do you change its attributes

Thanks :)

Neoreno 08-18-2003 10:31 PM

You can't change it's attributes, and you can change it's name on graal.net

TB3 08-18-2003 10:37 PM

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??)

SaijinGohan 08-18-2003 10:53 PM

I think it's in the playerworld cp.

Ningnong 08-18-2003 11:30 PM

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.

Snakeandy7 08-18-2003 11:52 PM

Here, in server ops:
nickname=Snakeandy7
hehe

wonderboysp2p 08-19-2003 01:47 AM

is it even possible to change the img it shows in the playerlist?

osrs 08-19-2003 03:21 AM

Quote:

Originally posted by wonderboysp2p
is it even possible to change the img it shows in the playerlist?
NPC-Server image?

wonderboysp2p 08-19-2003 05:40 AM

yes... the head thats displayed in the playerlist

Snakeandy7 08-19-2003 10:39 AM

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 :p, lol:P, Just learned 'String Array's' -thank's ning :p

TB3 08-19-2003 11:42 AM

Heres another dumb question how do you set the shown name of your Playerworld?

Snakeandy7 08-19-2003 01:12 PM

Cant, not that i know off, only stefan or unix can..

SaijinGohan 08-19-2003 05:03 PM

Thats a future improvement. Each playerworld can change their name. :D

Snakeandy7 08-19-2003 05:12 PM

What's the command to put in SO?

osrs 08-19-2003 08:44 PM

Quote:

Originally posted by wonderboysp2p
yes... the head thats displayed in the playerlist
Check RCs and setplayerprop #3,head.png; =p

TB3 08-19-2003 09:23 PM

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.


All times are GMT +2. The time now is 08:49 PM.

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