AASpend creating lag

SHV126

Lifetimer
Joined
Mar 11, 2006
Messages
129
Reaction score
1
Points
18
Location
St. Paul, Minnesota
Was gone for almost two weeks, came back was running a macro and while moving toon stops and starts quite a bit. Figured it was DB with their updates, but no when I ran EQ without Bugs no hesitation running. Started testing bugs by removing all plugins and it ran fine. Started adding the plugins back in and the first one I put in was MQ2aaspend and the hesitation while moving came back. Added in the rest of the plugins I use without aaspend and no hesitation returned. Did something change in the settings? Here is how I have it set up.

[MQ2AASpend]
DebugLog=0
ClassicMode=0
SafeSwitch=0
BadIndexCheck=0
AutoStartLevel=0
AutoStartHybrid=0
AutoStartAuto=1
AutoStartBrute=0
MinAutoStart=0
MinBruteStart=0
UseTypeOrder=0
TypeOrder=General|Archetype|Class|Special|Focus
 
There was an update to MQ2AASpend to fix this problem, but guessing there is still issues.

Fry said:
It looks like /aaspend log will enable a debug log of what MQ2AASpend is trying to do which should give us more information to try and understand what is going wrong.

Log what MQ2AASpend is attempting to buy and let us know, so we can hopefully fix it.
 
Last edited:
It is continually looping. This is the log where the next aa is available to purchase if I had the right amount of aa's.

Code:
[2020/05/22 11:34:13] AUTO CHECK LOOP:
[2020/05/22 11:34:14] Checking:  Mastery of the Past
[2020/05/22 11:34:14]  OKToSpend() Mastery of the Past _TestType 0 Index: 7067 ID: 251
[2020/05/22 11:34:14]  --> Checking Race Requirements
[2020/05/22 11:34:14] --> Checking IsAvailable
[2020/05/22 11:34:14] --> Checking Invalid Entry 11 == 10
[2020/05/22 11:34:14]  --> Checking WillEnable
[2020/05/22 11:34:14] --> Checking MinLevel:
[2020/05/22 11:34:14] --> Checking Is Max Rank:
[2020/05/22 11:34:14] --> Checking QuestOnly:
[2020/05/22 11:34:14] --> Checking Zero Cost:
[2020/05/22 11:34:14] --> Checking PreReqs:
[2020/05/22 11:34:14]  ----> No PreReqs found for Mastery of the Past.
[2020/05/22 11:34:14]  --> --> No missing pre-reqs
[2020/05/22 11:34:14] --> TRUE (OK to purchase)
[2020/05/22 11:34:14] Not enough points (5 < 8) to purchase Mastery of the Past, stopping purchase check loop (AUTO).
[2020/05/22 11:34:15] AUTO CHECK LOOP:
[2020/05/22 11:34:16] Checking:  Mastery of the Past
[2020/05/22 11:34:16]  OKToSpend() Mastery of the Past _TestType 0 Index: 7067 ID: 251
[2020/05/22 11:34:16]  --> Checking Race Requirements
[2020/05/22 11:34:16] --> Checking IsAvailable
[2020/05/22 11:34:16] --> Checking Invalid Entry 11 == 10
[2020/05/22 11:34:16]  --> Checking WillEnable
[2020/05/22 11:34:16] --> Checking MinLevel:
[2020/05/22 11:34:16] --> Checking Is Max Rank:
[2020/05/22 11:34:16] --> Checking QuestOnly:
[2020/05/22 11:34:16] --> Checking Zero Cost:
[2020/05/22 11:34:16] --> Checking PreReqs:
[2020/05/22 11:34:16]  ----> No PreReqs found for Mastery of the Past.
[2020/05/22 11:34:16]  --> --> No missing pre-reqs
[2020/05/22 11:34:16] --> TRUE (OK to purchase)
[2020/05/22 11:34:16] Not enough points (5 < 8) to purchase Mastery of the Past, stopping purchase check loop (AUTO).

This is when the next aa is not available because of level.

Code:
[2020/05/22 11:49:59] AUTO CHECK LOOP:
[2020/05/22 11:49:59] Checking:  Foraging
[2020/05/22 11:49:59]  OKToSpend() Foraging _TestType 0 Index: 16208 ID: 761
[2020/05/22 11:49:59]  --> Checking Race Requirements
[2020/05/22 11:49:59] --> Checking IsAvailable
[2020/05/22 11:49:59] --> Checking Invalid Entry 2 == 1
[2020/05/22 11:49:59]  --> Checking WillEnable
[2020/05/22 11:49:59] --> Checking MinLevel:
[2020/05/22 11:49:59] 	--> FALSE (MinLevel 96 > Level 92)
[2020/05/22 11:49:59] NOT ok to purchase Foraging, skipping.
[2020/05/22 11:49:59] Checking:  Mastery of the Past
[2020/05/22 11:49:59]  OKToSpend() Mastery of the Past _TestType 0 Index: 7067 ID: 251
[2020/05/22 11:49:59]  --> Checking Race Requirements
[2020/05/22 11:49:59] --> Checking IsAvailable
[2020/05/22 11:49:59] --> Checking Invalid Entry 11 == 10
[2020/05/22 11:49:59]  --> Checking WillEnable
[2020/05/22 11:49:59] --> Checking MinLevel:
[2020/05/22 11:49:59] --> Checking Is Max Rank:
[2020/05/22 11:49:59] --> Checking QuestOnly:
[2020/05/22 11:49:59] --> Checking Zero Cost:
[2020/05/22 11:49:59] --> Checking PreReqs:
[2020/05/22 11:49:59]  ----> No PreReqs found for Mastery of the Past.
[2020/05/22 11:49:59]  --> --> No missing pre-reqs
[2020/05/22 11:49:59] --> TRUE (OK to purchase)
[2020/05/22 11:49:59] Not enough points (5 < 8) to purchase Mastery of the Past, stopping purchase check loop (AUTO).
[2020/05/22 11:50:03] AUTO CHECK LOOP:
[2020/05/22 11:50:03] Checking:  Foraging
[2020/05/22 11:50:03]  OKToSpend() Foraging _TestType 0 Index: 16208 ID: 761
[2020/05/22 11:50:03]  --> Checking Race Requirements
[2020/05/22 11:50:03] --> Checking IsAvailable
[2020/05/22 11:50:03] --> Checking Invalid Entry 2 == 1
[2020/05/22 11:50:03]  --> Checking WillEnable
[2020/05/22 11:50:03] --> Checking MinLevel:
[2020/05/22 11:50:03] 	--> FALSE (MinLevel 96 > Level 92)
[2020/05/22 11:50:03] NOT ok to purchase Foraging, skipping.
[2020/05/22 11:50:03] Checking:  Mastery of the Past
[2020/05/22 11:50:03]  OKToSpend() Mastery of the Past _TestType 0 Index: 7067 ID: 251
[2020/05/22 11:50:03]  --> Checking Race Requirements
[2020/05/22 11:50:03] --> Checking IsAvailable
[2020/05/22 11:50:03] --> Checking Invalid Entry 11 == 10
[2020/05/22 11:50:03]  --> Checking WillEnable
[2020/05/22 11:50:03] --> Checking MinLevel:
[2020/05/22 11:50:03] --> Checking Is Max Rank:
[2020/05/22 11:50:03] --> Checking QuestOnly:
[2020/05/22 11:50:03] --> Checking Zero Cost:
[2020/05/22 11:50:03] --> Checking PreReqs:
[2020/05/22 11:50:03]  ----> No PreReqs found for Mastery of the Past.
[2020/05/22 11:50:03]  --> --> No missing pre-reqs
[2020/05/22 11:50:03] --> TRUE (OK to purchase)
[2020/05/22 11:50:03] Not enough points (5 < 8) to purchase Mastery of the Past, stopping purchase check loop (AUTO).
 
If you look on the thread Fry linked, the fix was to add the one it is getting stuck on to the BadIndex in you AAspen.INI file.

So, in this case it looks like it is getting stuck on "Mastery of the Past _TestType 0 Index: 7067"

Add the 7067 to your BadIndex like this,

Code:
[MQ2AASpend_BadIndex]
18148=18148
18589=18589
4672=4672
35461=35461
575=575
7067=7067
 
It isn't a problem with bad indexing. It is a problem with lag. I have taken all the aa's out of my .ini file and I still get the lag. Every four seconds I stop moving for a brief moment and then start moving again for another four seconds. If I unload the aaspend plugin the lag stops. Until yesterday I hadn't had any problems with the plugin as long as I made sure to update the number of aa points required for the aa in the .ini after a new expansion. Here is the log with nothing to get in the .ini.

Code:
[2020/05/22 19:20:50] AUTO CHECK LOOP:
[2020/05/22 19:20:52] AUTO CHECK LOOP:
[2020/05/22 19:20:54] AUTO CHECK LOOP:
[2020/05/22 19:20:56] AUTO CHECK LOOP:
[2020/05/22 19:20:58] AUTO CHECK LOOP:
[2020/05/22 19:21:00] AUTO CHECK LOOP:
[2020/05/22 19:21:02] AUTO CHECK LOOP:
[2020/05/22 19:21:04] AUTO CHECK LOOP:
[2020/05/22 19:21:06] AUTO CHECK LOOP:
[2020/05/22 19:21:08] AUTO CHECK LOOP:
[2020/05/22 19:21:10] AUTO CHECK LOOP:
[2020/05/22 19:21:12] AUTO CHECK LOOP:
[2020/05/22 19:21:15] AUTO CHECK LOOP:
[2020/05/22 19:21:17] AUTO CHECK LOOP:
[2020/05/22 19:21:19] AUTO CHECK LOOP:
[2020/05/22 19:21:21] AUTO CHECK LOOP:
[2020/05/22 19:21:23] AUTO CHECK LOOP:
[2020/05/22 19:21:25] AUTO CHECK LOOP:
[2020/05/22 19:21:27] AUTO CHECK LOOP:
[2020/05/22 19:21:31] AUTO CHECK LOOP:
[2020/05/22 19:21:35] AUTO CHECK LOOP:
[2020/05/22 19:21:39] AUTO CHECK LOOP:
[2020/05/22 19:21:43] AUTO CHECK LOOP:
[2020/05/22 19:21:47] AUTO CHECK LOOP:
[2020/05/22 19:21:51] AUTO CHECK LOOP:
[2020/05/22 19:21:53] AUTO CHECK LOOP:
[2020/05/22 19:21:55] AUTO CHECK LOOP:
 
I have noticed this too.

Though I only just worked out that it was AAspend.

I have the plug in loaded on all my toons. But its only lagging on the toons with brute mode switched on. When spending is off (I only use brute), its fine.

So I can easily reproduce it by loading plugin > turn on brute mode.
 
FYI
Get off the lag by removing the ingame Autospending AAs option. Its conflicting... Im good now
 
FYI
Get off the lag by removing the ingame Autospending AAs option. Its conflicting... Im good now

I've never had this switched on, but still getting the lag.
 
Don't know if this will help pinpoint the problem. If I turn AutoStartAuto=1 to AutoStartAuto=0 the lag goes away, because it isn't running. If I leave AutoStartAuto=1 and add in the MinAutoStart= to the next amount needed for the next aa there is no lag. If MinAutoStart= is less then the number needed for the next aa the lag starts up when that number is reached.
 
I pushed an update to enable a loop solution, only in classic brute/auto modes for now. If feedback is that helps with this issue, I can get some code into the hybrids/typeorders.


htw
 
I pushed an update to enable a loop solution, only in classic brute/auto modes for now. If feedback is that helps with this issue, I can get some code into the hybrids/typeorders.


htw

I think its still happening, but with a longer interval. Will test some more.
 
Nothing has changed in Auto with the update. Still have the same lag and can get rid of the lag by using MinAuto as long as the minauto # is => than the next desired aa.
 
Nothing has changed in Auto with the update. Still have the same lag and can get rid of the lag by using MinAuto as long as the minauto # is => than the next desired aa.
I've added profiling, will be in next push. Hopefully that will help track it down.

htw