Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   issparringzone not working (https://forums.graalonline.com/forums/showthread.php?t=61829)

prozac424242 10-20-2005 03:09 AM

issparringzone not working
 
This is in the clientside portion of the code
for custom stats
and also inside the start of a timeout loop:

NPC Code:

if (issparringzone)
{
showtext 957,screenwidth-100,170,#s(client.myfont),,SPARRINGZONE;
setplayerprop #c,SPARRINGZONE;
changeimgvis 957,4;
}



The SPARRINGZONE text does not show up in a room
that is on the server, neither on the screen or on the player's chat, in a level that is definitely a sparring room.
Other commands in this same timeout loop work just fine.
Why this no work? >.<

napo_p2p 10-20-2005 03:16 AM

Even the graal default GUI doesn't tell me whether it is a sparring zone or not, unless, I beleive, the sparring zone script is clientside.

prozac424242 10-20-2005 04:00 AM

nope, making the sparringzone npc clientside did not help at all
... any other ideas?

Torankusu_2002 10-20-2005 05:12 AM

are you trying to do this in gs1 or gs2?

napo_p2p 10-20-2005 05:38 AM

Quote:

Originally Posted by Torankusu_2002
are you trying to do this in gs1 or gs2?

His script looks like it is in GS1.

On v4, I can't even get the default GUI to tell when it's a sparring zone in the AP bar (and yes, the level is a sparring level). I tried setting the sparringzone both clientside and serverside.

When 'sparringzone' is set serverside, the serverside check: 'issparringzone' returns true.

It looks like it is setting the level as a sparring zone, but not telling the client.


All times are GMT +2. The time now is 01:50 AM.

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