View Single Post
  #93  
Old 12-23-2013, 03:03 PM
Aeolwind Aeolwind is offline
Developer

Aeolwind's Avatar

Join Date: Oct 2009
Location: Watauga, TN
Posts: 1,641
Send a message via AIM to Aeolwind Send a message via MSN to Aeolwind Send a message via Yahoo to Aeolwind
Default

Quote:
Originally Posted by Splorf22 [You must be logged in to view images. Log in or Register.]
In questmgr.cpp there exists:

This appears to do exactly what you want: it updates the database and communicates with the other zone servers if necessary. Is the QuestManager stuff not available from your perl scripts? Or is it difficult to get the NPC id? I poked around in the source a bit more and it *looks* like a static global id per mob, but maybe not.

Anyway, basically I agree with Jeremy: it simply cannot be that hard to implement this, and it would be huge for the community.
QuestManager is the deprecated naming for quest::UpdateSpawnTimer(int32 id, int32 newTime)

Historically the NPC ID has been a problem across zones for the functions I've tried to use. The Spawn2 info is what it is looking for, but then it fans out?

Bear in mind, this could totally be an EBKAC error as well. Logically trying to derive Perl functions with no experience with the language was fun. Let me tinker and see if I can blow up the test server again get this working over Christmas.

But this also wouldn't work for the Sleeper scripting, so I may not put a ton of effort in. As there is no indication that weekly repops are even being considered.
__________________
I have walked my way since the beginning of time. Sometimes I give, sometimes I take & it is mine to know which and when.

Quote:
Originally Posted by Nilbog
If all the polls I have done up until now fully counted, you would be playing on some abomination of a PVP server with 2-10 boxing based on votes from people named xcm234nv and adfa234.
Last edited by Aeolwind; 12-23-2013 at 03:09 PM..