Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-31-2005, 10:09 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Resolved: nopkzone

The flag: nopkzone doesn't seem to be working in v4.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #2  
Old 08-31-2005, 10:12 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
You have confirmed that 'noplayerkilling' is set clientside in the level?
Reply With Quote
  #3  
Old 08-31-2005, 10:16 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to 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.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #4  
Old 08-31-2005, 10:40 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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?
Reply With Quote
  #5  
Old 08-31-2005, 11:10 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by scriptfunctions_client.txt
TServerLevel (TGraalVar):
...
isnopkzone - boolean (read only)
...
is working fine for me.
Reply With Quote
  #6  
Old 08-31-2005, 11:33 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
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.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #7  
Old 09-02-2005, 08:08 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok should be fixed with v4.01 revision 3, there are now "nopkzone" and "isnopkzone"
Reply With Quote
  #8  
Old 09-03-2005, 01:02 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
'isnopkzone' doesn't seem to work now, but I guess it doesn't matter since nopkzone was the original (it does work).
Reply With Quote
  #9  
Old 09-03-2005, 03:00 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
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

Reply With Quote
  #10  
Old 09-03-2005, 03:20 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
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.
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 12:48 AM.


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