Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   showstats and sparring (https://forums.graalonline.com/forums/showthread.php?t=61967)

prozac424242 10-28-2005 08:32 PM

showstats and sparring
 
I have a showstats command to show everything
except for the hearts.

Hiding the hearts also hides the sparringzone and noplayerkilling stats.
It should not to that, it should only hide the hearts display.

Any suggestions how to get the sparringzone and nopk icons to show up again?

ZeLpH_MyStiK 10-29-2005 01:07 AM

rescript the gui
or just add on the sparzone and noplayerkilling info

prozac424242 10-29-2005 05:12 AM

ok, I actually tried an npc with

if (issparringzone) {showing for sparringzone;}

I tired it on both clientside and serverside in the weapon npc
and I tried it with the npc in the level being clientside or serverside
and it does not work in v4.

So what is the new command in v4 to check if the room is a sparring zone?
And what is the flag to check if a room is a nopk room?

ZeLpH_MyStiK 10-29-2005 05:45 AM

issparringzone - is the boolean used to check if a level is a sparring zone XD
isnopkzone - is the boolean used to check if a level is a pk zone

is your "if (issparringzone)" inside an event block?

prozac424242 10-29-2005 05:50 PM

I tried:

if (issparringzone)
{
showimg 501,@arial@sparring,10,50;
changeimgvis 501,4;
}

in a weapon npc:
clientside by itself
clientside in an if (created) block
clientside in an if (playerenters) block
clientside in an if (timeout) block with the timeout triggered on if (created)
and with the timeout reset at the end of the timeout loop

and all of the above serverside (without the //#CLIENTSIDE)
and not a single freakin one of them work in a room that is definitely a sparring room.

PLEASE HELP!!!
I know what I want to do and I tried every way I know how and I am on the virge of pulling my hair out to get this very simple thing to work but it refuses to do what it should!

ZeLpH_MyStiK 10-29-2005 06:23 PM

works perfectly fine with me =\

prozac424242 11-01-2005 02:01 AM

will someone with a GS2 enabled server
PLEASE post some kind of solution here?

I have talked with a few people who are NAT on servers
and this EXTREMELY SIMPLE thing just does NOT WORK on my gs2 enabled server!!!

ZeLpH_MyStiK 11-01-2005 02:35 AM

if you're asking whether issparringzone works on a gs2 enabled server, the answer is yes.


All times are GMT +2. The time now is 05:57 PM.

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