Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   new playerworld scripting (not advertising) (https://forums.graalonline.com/forums/showthread.php?t=15605)

Warcaptain 10-28-2001 05:38 AM

new playerworld scripting (not advertising)
 
hey, does anyone know exactly what has changed with server.flags and server.strings...

isnt it so that you can only setstring for server strings taht already exist?

cuz whenever i set something it always dissapears :-(

6Burning6Church6 10-28-2001 05:51 AM

Re: new playerworld scripting (not advertising)
 
Quote:

Originally posted by Warcaptain
hey, does anyone know exactly what has changed with server.flags and server.strings...

isnt it so that you can only setstring for server strings taht already exist?

cuz whenever i set something it always dissapears :-(

What do you mean exactly? Setstring don't work for you?

Try this:

if (playerenters){
setstring server.test,test account #a;
}

Correct: setstring server.test,test account #a;
Incorrect: setstring server.test=test account #a;

Warcaptain 10-28-2001 05:55 AM

no no no


you cant setstring server.stringname,value
for strings that dont already exist, or so im told


and also for some reason, whenever a string is read, its removed

TDO2000 10-28-2001 08:37 AM

Stefan posted something..
I think u are right if u changed the options to the saves (aganinst cheaters) u can't set new serverstrings with a script... I think u should add the manual with rc and the use them..

Warcaptain 10-28-2001 08:40 AM

i dont want to add them, just change their value

TDO2000 10-28-2001 09:46 AM

=\ this should work just setting new serverflags with an npc should be disabled...

Warcaptain 10-28-2001 10:17 AM

i think setting NEW server strings or flags should be disabled.

but if it exists, it should allow it


All times are GMT +2. The time now is 08:42 AM.

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