MQ2Bot (Old Version - Archived)

Status
Not open for further replies.
lol.. cmon man! i meant to run the macro and open up the /mq2/logs/spells.mac.log . it is on the first post of instructions.

/mac spells

well I figured you meant something else and searched my log folder but spells.mac didn't exist then and it doesnt exist now. I doubt it has any relevance but I turned log on as well. In my log folder I show logs for all sorts of things (each class.mac.log etc.

The bot works, loads properly etc so I must have placed the .dll file and spells.mac file in their respective folders properly. When I load the plugin and bot on it loads up, buffs , casts etc but no log is created /shrug

double checked all proper plugins are loaded. did a /loadspells as well and still no log

Could it be a compatability issue of sorts? I run a bunch of devchar macros and their macro sessions all seem to update their respective logs within the LOG folder.
 
Last edited:
Crash on wizard

Testing on my wizard, he is crashing pretty consistently on the mob's death we are fighting. Not all the time, but quite often.
 
ok, what I think it is; after the necro dies it he tries to cast spells but does not have sufficient mana to cast those spells so I believe it is reading unparsable.

Also of note, there is definitely an issue with Zombieskin in that the Necro will repeatedly cast this spell despite the buff already being on him.
 
lol.. cmon man! i meant to run the macro and open up the /mq2/logs/spells.mac.log . it is on the first post of instructions.

/mac spells


Enviro, the spell Mac should be in the macro folder for you to run it. Then in game you run the Mac as Pete just said.

The Dll is in your macroquest root director.

One you run the spell Mac it will generate the log for you
 
lol.. cmon man! i meant to run the macro and open up the /mq2/logs/spells.mac.log . it is on the first post of instructions.

/mac spells


Enviro, the spell Mac should be in the macro folder for you to run it. Then in game you run the Mac as Pete just said.

The Dll is in your macroquest root director.

One you run the spell Mac it will generate the log for you

I'll try running the spell macro independently then? /macro spells. ??? To create the log and then run the bot as per usual.

The bot works and runs, loads as Pete's bot. I have always had the files in their proper locations and my log folder creates all kinds of logs, just not one called spells.
 
Last edited:
lol.. cmon man! i meant to run the macro and open up the /mq2/logs/spells.mac.log . it is on the first post of instructions.

/mac spells


Enviro, the spell Mac should be in the macro folder for you to run it. Then in game you run the Mac as Pete just said.

The Dll is in your macroquest root director.

One you run the spell Mac it will generate the log for you

I'll try running the spell macro independently then? /macro spells. ??? To create the log and then run the bot as per usual.

The bot works and runs, loads as Pete's bot. I have always had the files in their proper locations and my log folder creates all kinds of logs, just not one called spells.

in game have you actually typed the command below?? You're making this slightly difficult for anyone to try to help you.

Code:
/macro spells
 
No, I just stated that above in my previous post. Lose the condescending attitude cocksmoke

With respect to Pete I followed the install and operational instructions to T. Anyway after work I'll run the spells macro and update the post after a trial to see if the same problems persist. Perhaps for some of us you can adjust your first post to say run /macro spells to create a log. I've been using dev char macros for years and logs are created automatically.

By the way, thanks for the effort and free macros it is appreciated though lost in the piling in that has resulted.
 
Last edited:
The OP says this:

Spells.mac just spits out all your spells/AAs into a log file and each category they belong to in case you were unsure. It will be located at: /logs/spell.mac.log You need to have /bot on for it to work.

So load up the plugin, do a /bot on, then type /mac spells. That will create a file in your logs directory called spell.mac.log. That's the one Pete wants to see.
 
Fair enough. Instructions, FAQ, required plugins, and steps updated.

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.

Hopefully that is clearer.
 
Been over the wiki's and didn't notice anything mentioned to zone restrictions but I'm noticing an issue running the plugin when in Najena. I zone to Lavastorm and it's fine, but step foot in Najena and it's borked.
 
Ok, i see why the zone issue could happen. it could be a partial match. I can change how zones are added, but then everyone has to change theirs. ie. I can make it have |###|##|####| instead of ###,##,###. So what is probably happening now is najena is a partial match to: 344,202,151,345. It must be a 2 digit zone id. For now, you can delete all those numbers on:
RestrictedZones=344,202,151,345 and it will work in najena but it will also work in all the other zones.
 
Just got back to testing this again. Mage does not use Mana Reserve AA (only usable under 20% mana) if it was supposed to anyway. It also seems that mod rods only get used if they are in top inventory slots, but not sure if that is this plugin or another.
 
Just got back to testing this again. Mage does not use Mana Reserve AA (only usable under 20% mana) if it was supposed to anyway. It also seems that mod rods only get used if they are in top inventory slots, but not sure if that is this plugin or another.
Good catch, it was bypassing it. I cant believe i didnt notice considering how much testing i did on mage. Although I guess my mana rarely got low thanks to the mod rod efficiency. Some others may still be getting bypassed. I think this should fix it, but I don't have time to test right now. Give it a whirl and see. It is hardcoded to 20% mana.

Build 6/27/2014 10:17:13 AM. Replaced by .dll on lower thread.
 
Last edited:
I ran the spells.mac, and got back some duplicates on my SK. It also threw back an error 'No such 'int' member 'Name' on line 17. is this the 3 spell limit being seen?

Anyways, notice the first 2 Aggro entries are duplicated with the 2 AA's there. I am doing further testing, and hopefully will gain full access :) Thanks for an awesome plugin!

Code:
[06/27/2014 16:17:21] Aggro0=Explosion of Spite
[06/27/2014 16:17:21] Aggro1=Explosion of Spite
[06/27/2014 16:17:21] Aggro2=Explosion of Hatred
[06/27/2014 16:17:21] Aggro3=Explosion of Hatred
[06/27/2014 16:17:21] Aggro4=Ageless Enmity
[06/27/2014 16:17:21] Aggro5=Projection of Doom
[06/27/2014 16:17:21] Aggro6=Terror of Poira Rk. III
[06/27/2014 16:17:21] Aggro7=Demand for Power Rk. III
[06/27/2014 16:17:21] Aggro8=Duplicitous Audacity Rk. III
[06/27/2014 16:17:21] SelfBuff0=Voice of Thule
[06/27/2014 16:17:21] SelfBuff1=Shroud of the Darksworn
[06/27/2014 16:17:21] SelfBuff2=Grelleth's Horror Rk. III
[06/27/2014 16:17:21] SelfBuff3=Drape of the Fallen Rk. II
[06/27/2014 16:17:21] SelfBuff4=Falhotep's Covenant
[06/27/2014 16:17:21] Fade0=Death's Effigy
[06/27/2014 16:17:21] Jolt0=Improved Death Peace
[06/27/2014 16:17:21] Nuke0=Spear of Grelleth Rk. II
[06/27/2014 16:17:21] Nuke1=Vicious Bite of Chaos
[06/27/2014 16:17:21] Nuke2=Harm Touch
[06/27/2014 16:17:21] Swarm0=Chattering Bones
[06/27/2014 16:17:21] Debuff0=Helix of the Undying
[06/27/2014 16:17:21] Debuff1=Duplicitous Audacity Rk. III
[06/27/2014 16:17:21] Snare0=Encroaching Darkness
[06/27/2014 16:17:21] FightBuff0=Scourge Skin
[06/27/2014 16:17:21] FightBuff1=Grelleth's Skin
[06/27/2014 16:17:21] PetBuff0=Gift of Falsin Rk. III
[06/27/2014 16:17:21] Pet0=Minion of Grelleth Rk. III
[06/27/2014 16:17:21] Mana0=Thought Leech
[06/27/2014 16:17:21] Dot0=Blood of Ralstok
[06/27/2014 16:17:21] Dot1=Surreptitious Blight
[06/27/2014 16:17:21] Dot2=Bond of Ralstok Rk. III
[06/27/2014 16:17:21] Lifetap0=Leech Touch
[06/27/2014 16:17:21] Lifetap1=Vicious Bite of Chaos
[06/27/2014 16:17:21] Lifetap2=Dire Insinuation
[06/27/2014 16:17:21] Lifetap3=Touch of Falsin
[06/27/2014 16:17:21] Lifetap4=Bond of Ralstok Rk. III
[06/27/2014 16:17:21] HealPet0=Companion's Blessing 
[06/27/2014 16:17:21] HealPet1=Fortify Companion 
[06/27/2014 16:17:21] ImHit0=NULL
[06/27/2014 16:17:21] ImHit1=NULL
[06/27/2014 16:17:21] ImHit2=NULL
[06/27/2014 16:17:21] ImHit3=NULL
[06/27/2014 16:17:21] AA0=NULL
[06/27/2014 16:17:21] AA1=Visage of Death
[06/27/2014 16:17:21] AA2=Gift of the Quick Spear
[06/27/2014 16:17:21] AA3=Soul Flay
 
Looks like you have an older version of the spells.mac. The AA0=NULL was from a previous version. I will post latest on first post just in case. I think that is what kicked the int error.

As far as the 2 repeats on SK @ aggro section, it's ok. I have it hardcoded in to use the Improved Version. It spits out the name of the spell it casts rather than the name of the AA for all sections other than AA. So if an AA is used in aggro or buffs or nuke, it uses the ${Me.AltAbility[blah].Spell.Name}, which is often different than the AA name.

I guess I ninja added a couple more TLO members that I didnt test.

Bot.ZoneTimeSec
Bot.ZoneTimeMin
Bot.ZoneTimeHour


Those are how many seconds/minutes/hours you have been in your current zone. I was tracking that info anyway internally within the plugin, so I figured I would just give you access to it for if statement purposes. It should function the same as the piggyzone/mmobugs time check (they will give slightly different times due to when I take the original timestamp, but it will be within a few seconds) without requiring said plugins.

Also note: I think I know why some people have CTD issues while others do not. The timer mechanism i use requires that you have vista or new OS. WinXP will crash due to me using a 64bit timer. If I use a smaller one, it could cause a rollover timer after 43 days, which is why it was changed in the main compile.
 
Build 6/27/2014 10:17:13 AM.

Change log:

20140620
-Clear rez list if you get must be in resting state message.
-Switched cleric spires to be 3>2>1

20140621
-Changed MacroQuest to EverQuest TLO for all instances

TLO members added:
-Bot.Twisting - bool <-- am I twisting using /bottwist?
-Bot.TwistList - string <-- string of songs I am twisting (currently returns blank)
-Bot.Twist[x] - spelltype <-- song at spot X in my twist list
-Bot.Twist[Name] - int <-- first found spot that specific song name is located in my twist
-Bot.TwistCurrent - int <-- currently twisting song
-Bot.TwistNext - int <-- next song in twist
-Bot.TwistLast - int <-- last song in twist

20140624
-Fixed merc maintank crashes
-Hardcoded call of the heroes
-/useitem for clickybuffs
-Added withstand series to ImHit
-Added internal disc support
-Added ImHitIfX

20140624
-Fixed CTD with If statements (thanks eqmule because i seriously wasted 4 hours looking)

20140625
-Bot.ZoneTimeSec <-- How many seconds have I been in current zone
-Bot.ZoneTimeMin <-- How many minutes have I been in current zone
-Bot.ZoneTimeHour <-- how many hours have I been in current zone

20140627
-Added specific check for MAG AA, Mana Reserve, to cast if below 20% mana.
 
and immediately after posting the latest version, i see that I didnt answer the issue of wiz CTD on mob death. So I think this change should help that.
Nightmare327 said:
Crash on wizard
<hr style="color:#262626; background-color:#262626" size="1"> Testing on my wizard, he is crashing pretty consistently on the mob's death we are fighting. Not all the time, but quite often.

-Added several corpse checks for all detrimental spells, and redundant checks specifically for snare and debuffs so you don't try casting spells on corpses.

If there is more crashing, I still have one more option. That option is to check the add list for every single detrimental spell. It would add a little lag, but it would ensure no CTDs should occur when something goes from alive to dead after entering a routine.

I didnt get a chance to test it since I am last minute finishing up getting out the door for deployment. Speaking of which, I will probably not be able to do any testing for 3-7 days after tomorrow. So hopefully nothing is crashing. If there is, report it sooner than later because a test update just went out, which means live will go out shortly and the latest version will get pushed via mmoloader. If it is buggy, youll all CTD again.
 
Level 100 Cleric, she is trying to cast 'Issuance of Grace, Rk. II' but it requires the toon to target the ground where it should be placed. Can bot target near the tank so its placed where the fighting is happening? Thanks!
 
Yeah, Najena would have been one of the original 70 zones. Testing the plugin from level 1 on, and I miss a lot of the old school zones.
 
Status
Not open for further replies.