[Quest] Mana surge (1957) #11661

Closed
wkerzendorf opened this Issue Mar 3, 2014 · 9 comments

Comments

Projects
None yet
4 participants

This quest does seem to work on 994b14b
but the problem is that the mana surges multiply indefinitely and they don's seem to despawn (at least 30 minutes, then I had to restart the server).

Attached a picture with at least 40 of them or so.
mana_surges_extravaganza

Contributor

untaught commented Mar 5, 2014

You don't need to kill them all. Leave them and they will despawn after 10 min. Wowhead coments says the same so it's not a bug.

@untaught They didn't despawn after 10 minutes. They lingered for at least half an hour (I restarted the server as they wouldn't go away). After killing 12 my quest was complete, but there are so many of them that it crashed our game clients from time to time. I have not done this quest on a blizz server but that doesn't seem right.

Contributor

untaught commented Mar 5, 2014

SAI says they despawn after 10 min and ingame tests confirm it. The real bug is that new waves appear after every killed unit which is not right. Next waves must appear after all units of the previous are dead.

@untaught that sounds right.
In addition, at least on my server (ubuntu 12.04) with the mentioned commit, they did not despawn after 10 minutes. But we had attacked them and thus spawned more waves. Sorry for my ignorance but what is SAI? Anyways, I can make a new character level myself to this position and give it the quest for testing if that helps.

Contributor

untaught commented Mar 5, 2014

Smart Artificial Intelligence(SAI). Quest is scripted in this way - http://collab.kpsn.org/display/tc/smart_scripts.
The problem is that every killed unit sets data 1 1 on the quest giver who runs random timed actionlist to spawn more and more of them.
Quest shoud work like this - http://www.youtube.com/watch?v=KBL7BCrqe2w.

@untaught thanks for the explanation. If there's anything I can do to help test things, let me know.

Contributor

dr-j commented Mar 5, 2014

sai condition on the data set action (cond type 22) to only execute if no other mana surges in vicinity?

Contributor

untaught commented Mar 5, 2014

Yup, maybe.

Contributor

untaught commented Mar 6, 2014

Here we go:

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=2 AND `SourceEntry`=6550 AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,2,6550,0,0,29,1,6550,100,0,1,0,0,'','Execute SAI if only there is no Mana Surge in vicinity');

@Aokromes Aokromes closed this in 0314683 Jul 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment