Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Resolved: nopkzone (https://forums.graalonline.com/forums/showthread.php?t=60903)

napo_p2p 08-31-2005 10:09 PM

Resolved: nopkzone
 
The flag: nopkzone doesn't seem to be working in v4.

Lance 08-31-2005 10:12 PM

You have confirmed that 'noplayerkilling' is set clientside in the level?

napo_p2p 08-31-2005 10:16 PM

Yes.

For example, in projectile scripts there is:
NPC Code:
if (nopkzone) {
//Bla
}



Works with v2, but not with v4.

The nopkzone part of a gui is also working in v2, but not in v4.

The command 'noplayerkilling' is working, but the flag 'nopkzone' is not.

Lance 08-31-2005 10:40 PM

Quote:

Originally Posted by napo_p2p
Yes.

For example, in projectile scripts there is:
NPC Code:
if (nopkzone) {
//Bla
}



Works with v2, but not with v4.

The nopkzone part of a gui is also working in v2, but not in v4.

The command 'noplayerkilling' is working, but the flag 'nopkzone' is not.

Does the nopk icon appear?

Riot 08-31-2005 11:10 PM

Quote:

Originally Posted by scriptfunctions_client.txt
TServerLevel (TGraalVar):
...
isnopkzone - boolean (read only)
...

is working fine for me.

napo_p2p 08-31-2005 11:33 PM

Quote:

Originally Posted by Riot
is working fine for me.

hmm

I guess then i'll use:

NPC Code:
if (nopkzone || isnopkzone)



EDIT: Worked. Thanks Riot.

Admins 09-02-2005 08:08 PM

Ok should be fixed with v4.01 revision 3, there are now "nopkzone" and "isnopkzone"

CheeToS2 09-03-2005 01:02 AM

'isnopkzone' doesn't seem to work now, but I guess it doesn't matter since nopkzone was the original (it does work).

Riot 09-03-2005 03:00 AM

Quote:

Originally Posted by CheeToS2
'isnopkzone' doesn't seem to work now, but I guess it doesn't matter since nopkzone was the original (it does work).

'isnopkzone' is still working fine for me

NPC Code:
//#CLIENTSIDE
function onCreated() {
noplayerkilling();
echo("isnopkzone: " @ isnopkzone);
echo("nopkzone: " @ nopkzone);
}



Console:
NPC Code:
isnopkzone: true
nopkzone: true


CheeToS2 09-03-2005 03:20 AM

Quote:

Originally Posted by Riot
'isnopkzone' is still working fine for me

Ah, ok, it is only on GS2 servers. I'll mark the thread as resolved.


All times are GMT +2. The time now is 11:46 PM.

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