MQ2Bot (Old Version - Archived)

Status
Not open for further replies.

PeteSampras

Your UI is fucking you. Stop using it.
Joined
Dec 12, 2007
Messages
3,956
Reaction score
49
Points
38
MQ2Bot - MQ2Bot Wiki
Plugin to auto play your characters.

Details:
This plugin should effectively use all AAs and memorized spells that you have available similar to a mercenary. Most melee settings other than the amount to melee at should be done via MQ2Melee.

Status:
Operational

Required plugins(click link for wiki):
MQ2Cast
MQ2Melee (for any disc/ability/sticking settings)
MQ2MoveUtils (if you want to autofollow)
MQ2EQBC (if you want to announce in eqbc or use netbots feature)
MQ2NetBots (if you want to use netbots feature)
MQ2AdvLoot (if you wish to loot using mq2advloot)
(MQ2MMOTLO NO LONGER NEEDED)

Instructions:
1. Download the .dll and place it in your mq2 folder with the rest of the plugin .dlls.
2. /plugin mq2bot
3. Designate a main tank/assist.
4. On every character except the main tank/assist, set the rest of the characters XTarget 1 to main tank/main assist's target that you have designated in step 3.
5. To turn on: /bot on
6. To turn off: /bot off

Notes:
All variables, settings, and relative instructions should be available on the wiki link.
MQ2Bot - MMOBugs Wiki

Follow the instructions and you will have success. Should you have any comments or suggestions or find an issue, please let me know. I will try to do focused testing as I add in new features and hopefully people can let me know if they function as expected.

FAQ:

  • Can I do ____? A: Check the wiki, if it is not there, post/pm/request and i respond.
  • How do I gain access to full version? A: Participate by posting feedback and helping test or give me phat lewts.
  • I crashed. What do I do? A: Tell me what operating system you are using, what class you were using, if you were on a live level 100 server, and what activity/spell/command you were using at the time, if known.
  • What's a plugin? A: This is not for you

To Do List / Wishlist:
[Major] - what previous feature is required to complete each item
Spawn Tracking - requires feedback. i have most the basic functions in place and once completed I will need to go back and add checks for all duration spells that go on mobs.
Data sharing across eq instances ( I am probably going to have to give up and use eqbc code. Xeniaz started this like a year ago and then fell off the planet)
Cures - Spawn tracking, data sharing
Buffs - Spawn tracking, data sharing
Pulling - Spawn tracking, switch over to MQ2Nav, probably add a TLO member or two

[Minor]
Pulling: Use Leap ability - not sure what to do with it just yet if other than pulling.
Pulling: set approach distance via setting
Smarter Gift of Mana choices. ie. use highest mana nuke/swarm/dot if GoM is on.
Interrupting spells if mob dies to save mana.
Auto set group roles.


Spells.mac goes into your /mq2/macros/ folder. It is not required for or used by the plugin in any way other than it just exports all your spells/AAs into a log file and each category they belong to when you run it via typing /mac spells. The log it generates will be located at: /logs/spell.mac.log You need to have /bot on for it to work.

Pulling: For now you can use this pulling macro:
http://www.mmobugs.com/forums/everquest-macroquest2-macros-huds-and-ui-s/31058-pull-mac-mq2bot.html

 

Attachments

  • spells.mac
    1 KB · Views: 372
  • MQ2bot_v003.zip
    1.3 MB · Views: 221
  • mq2bot_grid.png
    mq2bot_grid.png
    150.1 KB · Views: 515
Last edited:
If statement examples.

BER:


BRD:


BST:


CLR:
Spoiler:

Focused Celestial Regeneration(change yellow to whatever your group HoT is):
HealIfX=!${Me.Song[Elixir of Expiation].ID} && !${Me.Song[Celestial Regeneration].ID}

Celestial Regeneration (change yellow to whatever your group HoT is):
HealIfX=!${Me.Song[Elixir of Expiation].ID} && (!${Me.Song[Focused Celestial Regeneration].ID}||${Group.MinHP.ID}!=${Me.ID})

Group HoT:
HealIfX=!${Me.Song[Celestial Regeneration].ID} && (!${Me.Song[Focused Celestial Regeneration].ID}||${Group.MinHP.ID}!=${Me.ID})

Exquisite benediction:
HealIfX=${Bot.Adds[1].Named}


DRU:


ENC:


MAG:


MNK:


NEC:


PAL:


SHD:


SHM:


RNG:


ROG:


WAR:


WIZ:
 
Last edited:
whatever you did have fixed the twincast thing.

next nitpicking thing from the slacking newb.

Wizzy casts twincast out of combat, i was pulling with the bard and as soon as it got some mobs in extended target window it cast twincast even though i was just splitting.

chanter doesn't rebuff, i killed my rogue and it got rezzed by a merc healer, chanter didn't rebuff.

my stability issue is still there, but i can't work out if it is related to the bot or soemthing else, however it is causeing the same chrash on 2 diffrent PC's at the same time.
Basicly it chrases the 2nd client on the PC, at the same time, i don't have the time at the moment to play with logs, but i'll see if i can sort one out for you later.

a_newb_001
 
because i am an idiot, i didn't have MQ2log on for the chrases today.
However what i have found is that it seems to be related to the bot fighting a named.

my setup is a warrior (running on botlite macro)
a bard being played manually cept for mq2melee.
a rogue being played manually.
chanter lvl 99, on mq2bot.
wizzy lvl 98 on MQ2bot
cleric merc

bard pulls, warrior tags and tanks no worries.

wizzy and chanter does what they are supposed to when fighting a named.

except for one thing, the wizzy doesn't click 2nd spire for bigger crits.
when i then click 2nd spire manually both the chanter and the wizzy crash.
wether this is due to me clicking the 2nd spire button, or because they reach a certain point in the burn cycle or soemthing that coincides with me doing stuff and getting around to clicking the button on the wizzy i don't know.

I will stop being an idiot and remember to use MQ2log.

if i am then gonna nitpick something beond the crash.
would be nice to have 2nd spire included in wizzys burn rotation along with improved twincast (the aa)

A_newb_001
 
because i am an idiot, i didn't have MQ2log on for the chrases today.
However what i have found is that it seems to be related to the bot fighting a named.

Have you been killing a quest npc (mob that does not leave a corpse?), I was having the same issue with that but not when killing a regular named mob.
 
nope, was the named that drops loot in "into the hills" and "Roon" in tainted eathermere thingy
 
Version 2014.043x.

Changed distance check for FightBuffs to only cast if your target is within AssistRange=

Feedback requests:
Are SnareAt and RootPrimary/RootAdds working as intended? Are FightBuffs only triggering when the kill target is within AssistRange?


a_newb: It doesnt buff group members yet. Only group self buffs and a few misc others. Spire is coded in to work, i'll take a look after work today to see why that isnt happening. Ill try some named when I get the chance to see if i can find the crash. I tried before and it wasnt crashing me.
 
Last edited:
i think it was a fluke that the bots crashed on 2 diff named at the same time, because it crashes in the same way on trashmobs too.

this is from a mission in west karanas called the doomswarm i think:

WIzzy - [2014/05/01 17:40:06] MQ2Log::Logging timestamps is now ENABLED.
WIzzy - [2014/05/01 17:48:06] Forgotten Mojo
WIzzy - [2014/05/01 17:48:07] Band of Minimal Effort
WIzzy - [2014/05/01 17:58:41] Twincast --> WIzzy
WIzzy - [2014/05/01 17:58:55] Call of Xuzl --> a Doomscale deathbender
WIzzy - [2014/05/01 17:58:57] Force of Will --> a Doomscale deathbender
WIzzy - [2014/05/01 17:58:58] Ethereal Blaze --> a Doomscale deathbender
WIzzy - [2014/05/01 17:59:02] Mind Crash --> a Doomscale deathbender
WIzzy - [2014/05/01 17:59:02] Arcane Whisper --> a Doomscale deathbender
WIzzy - [2014/05/01 17:59:03] Claw of the Flamewing Rk. II --> a Doomscale deathbender
WIzzy - [2014/05/01 17:59:07] Ethereal Blaze --> a Doomscale deathbender
WIzzy - [2014/05/01 17:59:12] Claw of the Flamewing Rk. II --> a Doomscale deathbender
WIzzy - [2014/05/01 17:59:14] EXP: 0.00 (38.18%) - AAXP: 0.00 (17.27%)
WIzzy - [2014/05/01 17:59:14] Force of Will --> a Doomscale warden
WIzzy - [2014/05/01 17:59:15] Incandescent Vortex Rk. II --> a Doomscale warden
WIzzy - [2014/05/01 17:59:19] Ethereal Blaze --> a Doomscale warden
WIzzy - [2014/05/01 17:59:23] EXP: 0.00 (38.18%) - AAXP: 0.00 (17.27%)
WIzzy - [2014/05/01 17:59:23] Claw of the Flamewing Rk. II --> a Doomscale warden
WIzzy - [2014/05/01 17:59:27] Ethereal Blaze --> a Doomscale warden
WIzzy - [2014/05/01 17:59:30] Force of Will --> a Doomscale warden
WIzzy - [2014/05/01 17:59:31] Claw of the Flamewing Rk. II --> a Doomscale warden
WIzzy - [2014/05/01 17:59:35] Incandescent Vortex Rk. II --> a Doomscale warden


then it crashes.

I put in the pet spells and other non-optimized spells to see f it could cause something un forseen, it isn't what i normally run with but it doesn't seem to make a diffrence when it comes to the crash.

this time it crashed almost straight off the bat, other times it can work for hours
 
Been away almost a month. Was having trouble getting my wiz to work with bot.mac. Last version I had working was v2.66, so I figured give the plugin a try. I turned almost everything off that I wouldn't need on wiz and can still only get him to cast one nuke, force of will. Not casting actual spells from spell gems? it gives me the message in the MQ window "Ethereal Blaze --> A Nitore advisor" over and over till force of will refreshes. If I manually cast Ethereal Blaze it will move onto Ethereal Barrage and do the same thing. Spams the message until force of will refreshes. It would do the manaAt when manually casting also. here are the settings in the ini.

Code:
[MQ2Bot]
BotVersion=2014.0431
DefaultGem=1
AnnounceEcho=1
AnnounceEQBC=0
AssistAt=95
AssistRange=100
MeleeAt=0
MeleeDistance=40
PetAttackAt=0
PetAttackRange=60
MedStartAt=0
MedStopAt=0
AACutoffTime=10
AAStopAt=25
AggroAt=0
AutofireAt=0
AutofireDistance=100
DebuffAdds=1
DebuffAt=0
DebuffStopAt=10
DotAt=0
DotStopAt=10
HealAt=0
HealPetAt=0
JoltAt=0
LifetapAt=0
ManaAt=80
NukeAt=95
RootAdds=0
RootPrimary=0
SnareAt=50
SwarmAt=0
UseAutoFire=0
UseAENukes=0
UseAura=0
UseClickyBuffs=1
UseFightBuffs=0
UseMainTankBuffs=0
UseMez=0
UsePet=0
UsePetBuffs=0
UseSelfBuffs=0
UseStick=0
StickSettings=30 healer
UseNetBots=1
NetBotsName=Manablaze
 
I know you said the bard support right now is VERY limited - as in you barely have touched them.

The bards try to play Cassindra's Chorus of Clarity a level 32 song even if they have stronger songs available and memorized. It starts to play the song but before the casting timer even starts to register the spell gems ungrey almost as if the bot had typed /stop right after hitting the keybind that starts the song. I even went so far as to delete Cassindra's 32nd level song to see if it was just that song. It then started to sing the 20th level cassindras. I deleted that one and it started singing the 55th level cantata which is nice because it is far better than the 32nd level spell. None of them will actually cast after the very first time it sings it though.

Bah I typed a book ... I guess my question was really just ... Is it possible that your bot is somehow hitting the /stop command before the bard song actually gets going? Because that is what it LOOKS like its doing to me. Looks like it is starting to sing ... then hitting /stop and waiting about 3 seconds as if a song is playing and then repeats.
 
Forgive me if this is a duplicate question. I posted it once already but for some reason it has disappeared. I thought that mq2bot managed clickies as well before. Did it or am I just confused?
 
Version 2014.0501.

- Wiz can use up to 6 nukes if unauthorized, rather than 3.

- Added moderate amount of bard support. You need to /twist your own song line up. ie: /twist 1 2 3 4
--It should figure out debuffs/dot/clickies/auras/mez on own and then resume your normal twist when done.
--Requires MQ2Twist to use!

Feedback requests:
1 Are SnareAt and RootPrimary/RootAdds working as intended?
2. Are FightBuffs only triggering when the kill target is within AssistRange?
3. Are bards working as intended? (no generic /twist setting yet)

Manablaze: nukes were limited to 3 as an unauthorized user, now to 6. Thay may clear up your issue.

Gothic: There was no bard support at all, in fact it was only interference. Try now.

Tapout: Clickies only work if you are an authorized user. You should be authorized via mmobugs username "Tapout". Let me know if it says only partial access when you /plugin mq2bot
 
Last edited:
Sorry. Just got home from work and noticed that the post I made in the other thread never showed up. I'll get on again in a few and see what messages I get and let ya know.
 
Here is what my log shows before I start fighting. In ini UseClickybuffs is set to 1. I suck at playing a mage so ignore my choice of spells or anything for that matter. heh

[2014/05/01 16:20:56] MQ2MMOBugs :: You are now logged in as Tapout.
[2014/05/01 16:20:56] MQ2MMOBugs :: Your account status is now set to lifetime.
[2014/05/01 16:21:45] [MQ2Bot] Bot Activated
[2014/05/01 16:21:46] Frenzied Burnout
[2014/05/01 16:21:46] Fire Core
[2014/05/01 16:21:46] Silent Casting
[2014/05/01 16:21:46] Malosinete
[2014/05/01 16:21:46] Replenish Companion
[2014/05/01 16:21:46] Companion's Blessing
[2014/05/01 16:21:46] Fortify Companion
[2014/05/01 16:21:46] Arcane Whisper
[2014/05/01 16:21:46] Force of Elements
[2014/05/01 16:21:46] Bolt of Rhyolite
[2014/05/01 16:21:46] Blazing Sands
[2014/05/01 16:21:46] Deluge of Thunderbolts
[2014/05/01 16:21:46] Rain of Rhyolite
[2014/05/01 16:21:46] Shock of Ethereal Steel
[2014/05/01 16:21:46] Splash of Lava
[2014/05/01 16:21:46] Beam of Rhyolite
[2014/05/01 16:21:46] Construct of Fire
[2014/05/01 16:21:46] Host in the Shell
[2014/05/01 16:21:46] Burnout IX
[2014/05/01 16:21:46] Iceflame Efflux
[2014/05/01 16:21:46] Elemental Form: Fire
[2014/05/01 16:21:46] Shield of Dreams
[2014/05/01 16:21:46] Circle of Brimstoneskin
[2014/05/01 16:21:46] Hulking Bodyguard
[2014/05/01 16:21:46] Servant of Ro
[2014/05/01 16:21:46] Host of the Elements
[2014/05/01 16:21:46] Elemental Form: Fire --> Gimpmage
[2014/05/01 16:22:25] Circle of Brimstoneskin --> Gimpmage
 
Bard working pretty good. Hes twisting properly and the mez etc action is happening properly ... then it goes back to twisting. You are def THE man.
 
So I totally logged out of everything and back in and now my clickies are working again. No idea why.
 
Version 2014.0501.

- Touched up the rest of the routines to hopefully play nice with bards
- Added [MQ2Bot] RestTwist= and CombatTwist= For bards only, no other toons will create those automatically or use those if you put them in manually.
--RestTwist=1 2 3 4 <-- This will /twist 1 2 3 4 when no adds
--CombatTwist=4 5 6 <-- This will /twist 4 5 6 when there are adds
--RestTwist=off <-- This will /twist off

Twisting does not occur on /bot on, it starts the first time you get an add. It will not /twist on after the initial attempt until your combat status changes. So if you /twist off during combat, it stays off until you enter rest, and vice versa.

- Removed Bot=1/0 writing to ini. I think. there may be another..

Feedback requests:
1. Are SnareAt and RootPrimary/RootAdds working as intended?
2. Are FightBuffs only triggering when the kill target is within AssistRange?
3. Are bards working as intended?
 
Last edited:
Holy crap Pete!!! this is too damn good dropped new plugin in on bard and ...dam smooth as a baby's butt THANK you for this my friend!
 
Last edited:
Version 2014.0501c.

- Added autolooting capability if you load MQ2AdvLoot. I didn't test it because I am not actually letting what I kill die. It didnt crash me, but I dont know if it worked either.

Ini settings:
[MQ2Bot]
LootRadius=0 <-- radius to loot mobs at, 0 is off
LootInCombat=0 <-- loot while Me.CombatState.Equal[Combat] ? 1 is on, 0 is off.

- Updated wiki to reflect all changes

Feedback requests:
1. Are SnareAt and RootPrimary/RootAdds working as intended?
2. Are FightBuffs only triggering when the kill target is within AssistRange?
3. Are bards working as intended?
4. Is looting working? Is it interfering with anything?

FULL DISCLAIMER: I have never used mq2advloot, not even once. I have no idea if it is good, nor how to set things up properly. Please refer all questions to the wiki: MQ2AdvLoot - MMOBugs Wiki
 
Last edited:
Holy crap Pete!!! this is too damn good dropped new plugin in on bard and ...dam smooth as a baby's butt on /twists and such... just not attacking. is that melee ya think?
Verify MQ2Melee is loaded. and that you have your MeleeAt=99 or whatever.

[MQ2Bot]
...
MeleeAt=0 <-- change this to what you want to kill things at.
...
 
Status
Not open for further replies.