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 02-18-2006, 12:59 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Classes on GMAP not Updating

Well, Stefan told me to post here.
Classic has been having a really big issue with NPCs joining classes on the gmap not updating.
In fact, there's no way to destroy them unless:
1. You use a second NPC to call their destroy function.
2. They already have a way to be destroyed internally.

/clearnpcs didn't work
restarting the NPC server didn't work (did it in all possible ways, believe me)
resaving the gmap didn't work
removing/readding the gmap from serverops didn't work.

We control gmaps from serverops.

gmaps=classic_overworld,classic_tutorial,classic_t hermo,pw_racil_overworld,pw_doahh_p2p_overworld,cl assic_tgcsurvivor,classic_tgcsurvivor2,classic_gcl asertag1,classic_islands_overworld,classic_graalca stle,classic_graalcitygravecave,classic_gcbabord

It isn't a problem with adding NPCs themselves, but it's a class problem. It's like the classes are cached for the gmap. New NPCs that join the class join the older version of the class. After looking through it, I can find more than one gmap that has this problem. classic_overworld (the most noticeable) and pw_doahh_p2p_overworld (which definitely isn't linked to at all).

Going back to November, I had this problem with earlier expansions of the GMAP, but it seemed to have fixed itself when the gmap was expanded a bit north and west. It wasn't a class that was giving me problems then. It was an NPC though, not a class.
Reply With Quote
  #2  
Old 02-18-2006, 01:45 AM
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
What kind of npcs are you speaking of, local npcs or dbnpcs (putnpc2) ? I don't think it is related to classes.
What is not updating with them exactly?
Does it fix when the client reconnects?
What classes make problems?
Reply With Quote
  #3  
Old 02-18-2006, 02:01 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Stefan
What kind of npcs are you speaking of, local npcs or dbnpcs (putnpc2) ? I don't think it is related to classes.
What is not updating with them exactly?
Does it fix when the client reconnects?
Local NPCs. They still have the same class script as quite a long time ago. It was when I discovered that npc.trigger(event,params) exists so I used it to invoke wa**** and removed triggeraction(x,y,"slash",params) from my movement system in favor of this. I also added a gs1 version to Master Storm's movement. Still, the objects on the gmaps I've mentioned aren't recognizing this.

Class bush
It has been happening for like a month now with the bush class.

Also
/clearnpcs isn't removing my bad tests of my damage system from the top-left of the gmap either... which is a putnpc2 script. class named control_damage.

You could also probably add a test script to the rock class or some other class like
if (playertouchsme) {
if (strequals(#a,Stefan))
setcharprop #c,wow it worked!;
}
because I'm pretty sure it's not limited to one class.

Last edited by jake13jake; 02-18-2006 at 02:26 AM..
Reply With Quote
  #4  
Old 02-18-2006, 01:25 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
Still I don't know what the problem with the bushes is? Something stops to work after doing update level ?
Reply With Quote
  #5  
Old 02-18-2006, 10:53 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Stefan
Still I don't know what the problem with the bushes is? Something stops to work after doing update level ?
I've tried update level quite a few times. I really think you might need to come investigate first hand to see the scope of the problem.
Reply With Quote
  #6  
Old 02-19-2006, 03:26 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Oh cool, it fixed itself.
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:31 AM.


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