![]() |
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. |
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? |
Quote:
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. |
Still I don't know what the problem with the bushes is? Something stops to work after doing update level ?
|
Quote:
|
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.