I know i've mentioned this in IRC but I didn't get a clear idea if this is a bug, so I thought i'd post it.
So when buyAuto queues and calls useTeleport, after it arrives at it's save map.. the queue is empty (or contains a client suspend). I'm not sure if this is intentional, but it screws with me as I'm hooking into processLockMap. My current solution is to hook teleport_send and track in my plugins scope if it was an autoBuy triggered teleport, if it was, i requeue buyAuto and return out of processLockMap.
Its either that or i could set ai_buyAuto timeout really low.
Any suggestions or comments on this would be great. I've tried for an hour or 2 to track where the queue is getting cleared but haven't had any luck.
buyAuto, queue clear.
Moderator: Moderators
Re: buyAuto, queue clear.
client_suspend only triggers in XKore when you click on the screen o_O
or send other input (except chatting)
or send other input (except chatting)
Re: buyAuto, queue clear.
Ah, it's quite possible that i clicked the client to get it into the foreground while I was testing. I only recall seeing it once but included it in my post for completeness.
I'll post some debug output when I get around to testing it some more.
I'll post some debug output when I get around to testing it some more.