MQ2Bot (Old Version - Archived)

Status
Not open for further replies.
What class? Some very basic data is needed. I havent crashed on any class I have tried so far.
 
What spells do you have loaded? I am using shaman with pet and max AAs atm with no crash. Though the buff request only seemed to work one time on him for some reason.

I see that the macro needs updated because it spit out a bunch of NULLs that it wasnt supposed to.

I also need to update Bot.AA so it doesnt false report AA0 as NULL.

Anyway, here are my spells with no crashes:
Code:
[06/16/2014 21:54:44] Rez0=Rejuvenation of Spirit
[06/16/2014 21:54:44] Heal0=Union of Spirits
[06/16/2014 21:54:44] Heal1=Ancestral Aid
[06/16/2014 21:54:44] Heal2=Call of the Ancients
[06/16/2014 21:54:44] Heal3=Antecessor's Intervention
[06/16/2014 21:54:44] Heal4=Spiritual Surge
[06/16/2014 21:54:44] Heal5=Blezon's Recourse
[06/16/2014 21:54:44] Heal6=Wisp of Renewal
[06/16/2014 21:54:44] Heal7=Blezon's Mending
[06/16/2014 21:54:44] SelfBuff0=Preincarnation
[06/16/2014 21:54:44] SelfBuff1=Group Pact of the Wolf
[06/16/2014 21:54:44] SelfBuff2=Talisman of Celerity
[06/16/2014 21:54:44] SelfBuff3=Talisman of the Courageous
[06/16/2014 21:54:44] SelfBuff4=Talisman of the Steadfast
[06/16/2014 21:54:44] Fade0=Inconspicuous Totem
[06/16/2014 21:54:44] Swarm0=Spirit Call
[06/16/2014 21:54:44] Debuff0=Malosinete
[06/16/2014 21:54:44] Debuff1=Turgur's Swarm
[06/16/2014 21:54:44] Debuff2=Pathosis
[06/16/2014 21:54:44] Debuff3=Crippling Apparition
[06/16/2014 21:54:44] Debuff4=Crippling Spirit
[06/16/2014 21:54:44] Debuff5=Tigir's Insect Swarm
[06/16/2014 21:54:44] Debuff6=Wind of Malosinete
[06/16/2014 21:54:44] Root0=Virulent Paralysis
[06/16/2014 21:54:44] Root1=Paralytic Spores
[06/16/2014 21:54:44] FightBuff0=Dampen Resistance
[06/16/2014 21:54:44] FightBuff1=Empowered Focus of Arcanum
[06/16/2014 21:54:44] FightBuff2=Talisman of the Snow Leopard
[06/16/2014 21:54:44] MainTankBuff0=Spirit Guardian
[06/16/2014 21:54:44] MainTankBuff1=Fatigue
[06/16/2014 21:54:44] MainTankBuff2=Rampant Growth
[06/16/2014 21:54:44] MainTankBuff3=Talisman of the Snow Leopard
[06/16/2014 21:54:44] PetBuff0=Spirit Bolstering
[06/16/2014 21:54:44] Pet0=Kriegas' Faithful
[06/16/2014 21:54:44] Mana0=Cannibalization
[06/16/2014 21:54:44] Mana1=Ancestral Pact
[06/16/2014 21:54:45] HealPet0=Companion's Blessing 
[06/16/2014 21:54:45] HealPet1=Fortify Companion 
[06/16/2014 21:54:45] HealPet2=Spiritual Surge
[06/16/2014 21:54:45] HealPet3=Wisp of Renewal
[06/16/2014 21:54:45] HealPet4=Blezon's Mending
[06/16/2014 21:54:45] ImHit0=Ancestral Guard
[06/16/2014 21:54:45] ImHit1=Armor of Ancestral Spirits
[06/16/2014 21:54:45] AA0=NULL
[06/16/2014 21:54:45] AA1=Rabid Bear
 
Last edited:
I think I see the problem. It was crashing me when i zoned or logged in/out with the plugin loaded on a couple characters due to a buff queue addition. I changed a bunch of things to stop that from occurring, and added in several updates for bards/paladin since that was what i was testing on today. I also updated a few other things.

It should /bot off whenever you are at char select screen, as it could/would crash you if you /bot on while at char select. im sure i could track all those down but it would take time.

You should also not do anything for about 10 seconds after you finish zoning so you 1. dont look botted, and 2. dont crash from trying to access character info when you cant.

I did get to test it some, but its after midnight here and I gotta get some sleep. I will test more tomorrow but this might fix it if i found all the spots.
 
Last edited:
That didnt quite solve it yet because there were a couple other places.

What is happening is a spawn is getting stored. Then you zone or log out/in and that spawn no longer exists but it still tries to access it. So i need to make sure to clear out all stored spawns whenever game state changes. It may take some time to get them all but I will eventually track them all down.

I'll test more after work today but I may have just gotten the last one.

There is still a crash in line 244 of mq2netbots, but that isnt this plugin and im not quite sure how to solve that crash.
 
Last edited:
This may or may not be related to MQ2Bot but I'm going to put it here anyway.

Sunday morning I had my team doing the Into the Hills HA using MQ2Bot and a macro for the puller.
Doing great, even taking the named 5 times without wiping.
I stopped them a while and put the computer to sleep.
When I returned and started them back up.. I could tell right away that the cleric wasn't casting as fast. Almost wiped on the trash mobs and when the named was pulled.. wiped quickly.
It was plain to see that the cleric wasn't casting as fast.
No changes to the software or the team but different response.
Could be something going on with putting the computer to sleep?
I wanted to try after a reboot but it was late and I had to catch a flight.

Any ideas?
 
I cant think of any specific reason that would happen directly related to the plugin, but there could be a memory leak somewhere maybe i guess.

I do realize the routines (especially the heal routine) could use some tweaking. Right now it doesnt interrupt to heal, so if you are casting a nuke and someone goes down to 20% hp, oh well because i gots some nukes to finish casting. I will tweak those eventually, I had just wanted to knock out some other things first. It does check heals/mez/root/debuff prior to every detrimental routine though. So at most it would finish casting one spell prior to healing.

I also realize the timers arent storing entirely properly for some spells. So some debuffs/buffs recast way early and others cast as expected. I think I found what is doing that and I will test out the theory in a little bit.
 
I think it was asked earlier, but I couldn't locate the solution.
Why does it always insist on Cassindra's Chorus of Clarity being automemmed?
 
Do you ask for "clarity" in group? That is my only guess unless you are using some test version of the plugin maybe.

I just ran through and added even more checks @ crashing. The bot will now /bot off when you reach 5 seconds left to camp in addition to some other crash checks. I tested it by camping and loading 6 toons over and over with no crashes (ok i had one direct3d related crash). Also added a check so only selos could be requested for bards. But i dont have a movement speed spell cat set up yet, so requesting selos wont even work.
 
Last edited:
Added in option to turn on/off checking of immune lists. This will ignore snare/mez/charm immunities. Default is on.

/immunes <-- toggles ignoring of immunes on to off to on to off
/immunes on <-- turns immune checks on
/immunes off <-- turns immune checks off

EDIT: switched the commands around because it was confusing.
 
Last edited:
Sooo grabbed the last version posted above,
BotVersion=20140612.1731
as soon as I /plugin mq2bot CTD on every account.
100 mage
100 chanter
100 cleric
100 bard
90 druid
100 war merc.


Seems to work fine
 
Thanks for the report and welcome to the club, sort of. Apparently it was crashing another person too.. who may have fixed it by making their mob_ignore_list.ini read only.. and it was working fine for me and now my bard is crashing but the others arent. I am trying to trouble shoot it now.
 
I am in that club too :) Happy to help out with any specific testing that might be helpful.
 
Ok, fixed crashes, changed pal from using 90% rez in combat to 96% out of combat, and i *think* i fixed the reuse timer on debuffs (maybe dots and others). If the timer is fixed, then I can add in buffs sooner rather than later.

Feedback requests:
Buff requests: http://www.mmobugs.com/forums/227682-post381.html
If Statements: http://www.mmobugs.com/forums/227445-post337.html and the post after it
/bottwist: http://www.mmobugs.com/forums/227762-post404.html
Are necro Death Bloom/Blossom working correct? http://www.mmobugs.com/forums/227664-post377.html
Are debuff reuse timers working as intended? (it should refresh a little early, but not as soon as spell is ready again)
Are dot/maintankbuff/etc reuse timers working?
Does the /immune command work as intended to NOT mez mobs that are flagged as mez immune?

Ninja edit:
cleric should now use 2 aura if you have spirit mastery aa and both auras memmed. enc should have always been using 2. make sure divinity aura is first i think. having revenant first could make it wonky.
 
Last edited:
I think I also ninja added Bot.Outside to that last version. It will return as TRUE until you cast a spell/mount that gives a message that you are in an inside zone. It will be moot once eqmule finds the zone flag but that could be a long time from now.
 
Posted for today's patch because core coded added in a function that had exact same name as mine so it may cause plugin not to work. I'm not sure.

NEW VERSION REQUIRES YOU TO TYPE /BOTTWIST OFF to turn bard songs off.

Added:
Bot.Outside <-- Last known status of if I am outside or not, it will change if you cast a spell and get a message that indicates you are indoors.

[MQ2Bot]
InterruptToHealAt=0 <-- % HP, if lowest group member is below this amount, it will interrupt your non-heal spell to heal them. I may set default to like 60 for priests, for now default is 0.

Feedback requests:
Buff requests: http://www.mmobugs.com/forums/227682-post381.html
If Statements: http://www.mmobugs.com/forums/227445-post337.html and the post after it
/bottwist: http://www.mmobugs.com/forums/227762-post404.html
Are necro Death Bloom/Blossom working correctly? http://www.mmobugs.com/forums/227664-post377.html
Are debuff reuse timers working as intended? (it should refresh a little early, but not as soon as spell is ready again)
Are dot/maintankbuff/etc reuse timers working?
Does the /immune command work as intended to NOT mez mobs that are flagged as mez immune?
Is InterruptToHealAt functioning correctly?

EDIT: I am aware new spell/AA are out and i have already got some lined up for inclusion such as group COTH and a bunch of new AAs for wiz/etc. But, if there is anything I dont add, or if you'd just like to make sure I get something included, let me know. I am on the fence about adding the new bucolic gambit line for wiz because it requires casting 4 spells within 18 seconds (even though some spells cast as 2 casts).
 
Last edited:
Build 6/18/2014 7:57:43 PM.

Reduced spam messages. It should no longer announce if you use the same spell/aa more than once in a row. I will still need to add it to items as well. Realize that if you legitimately use a spell twice in a row, that the second one just wont be announced. If that was a heal or a mez message, it could be disconcerting. The heal/mez is still on its way.

Also forgot to mention that I added in auras for paladin (requires you to have it memmed for it to detect it).
 
I am trying to dig myself out of a whole from problems I had earlier with a crash. Is there any reason / setting that would cause the toon to do nothing? When I do /bot on it usually casts (sometimes) a single clicky buff and then nothing else. WHen i engage it does nothing.
 
I am trying to dig myself out of a whole from problems I had earlier with a crash. Is there any reason / setting that would cause the toon to do nothing? When I do /bot on it usually casts (sometimes) a single clicky buff and then nothing else. WHen i engage it does nothing.
idk, what class / spells (spells.mac log output maybe) / general description beyond that? I've been running missions since compile release using the plugin.
 
Ench, dru, wiz, cle all behaving exactly the same. One buff at /bot on. No group buffing. No engage when mob is in camp. No healing. Nothing. They just say in resting state, standing there.
 
Last edited:
Status
Not open for further replies.