#event always delays when triggered (+fix)

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

silverj
orc pawn
orc pawn
Posts: 11
Joined: Mon Sep 25, 2017 2:49 am

#event always delays when triggered (+fix)

Post by silverj » Mon Sep 25, 2017 3:07 am

To fix, at the end of MQ2MacroCommands.cpp:DoEvents, change bRunNextCommand = FALSE to TRUE.

I wrote macros to calculate DPS (I am sure there are plugins that do better at it, and would not hit this issue, but I like the hard way), and noticed it can take seconds to parse heavy melee with #event; allowing multiple #events to trigger per scripting pass fixes this.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: #event always delays when triggered (+fix)

Post by EqMule » Mon Sep 25, 2017 7:45 am

added
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.