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 10-28-2005, 08:32 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
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?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #2  
Old 10-29-2005, 01:07 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
rescript the gui
or just add on the sparzone and noplayerkilling info
__________________
Reply With Quote
  #3  
Old 10-29-2005, 05:12 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
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?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #4  
Old 10-29-2005, 05:45 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
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?
__________________
Reply With Quote
  #5  
Old 10-29-2005, 05:50 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
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!
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #6  
Old 10-29-2005, 06:23 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
works perfectly fine with me =\
__________________
Reply With Quote
  #7  
Old 11-01-2005, 02:01 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
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!!!
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #8  
Old 11-01-2005, 02:35 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
if you're asking whether issparringzone works on a gs2 enabled server, the answer is yes.
__________________
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 05:15 PM.


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