Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Classes on GMAP not Updating (https://forums.graalonline.com/forums/showthread.php?t=64176)

jake13jake 02-18-2006 12:59 AM

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.

Admins 02-18-2006 01:45 AM

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?

jake13jake 02-18-2006 02:01 AM

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.

Admins 02-18-2006 01:25 PM

Still I don't know what the problem with the bushes is? Something stops to work after doing update level ?

jake13jake 02-18-2006 10:53 PM

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.

jake13jake 02-19-2006 03:26 AM

Oh cool, it fixed itself.


All times are GMT +2. The time now is 12:08 AM.

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