AssistBot

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: AssistBot

Post by SwiftyMUSE » Fri Apr 24, 2015 11:20 pm

demonstar55 wrote:

Code: Select all

null
Null
NULl ...

Hum.... looks like I'll have to make a quick change. TRUE and FALSE also work, but only if capitalized also.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

JudgeD
a snow griffon
a snow griffon
Posts: 354
Joined: Sat Aug 18, 2012 8:07 pm

Re: AssistBot

Post by JudgeD » Fri Apr 24, 2015 11:57 pm

always tolower string compares ;p

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: AssistBot

Post by SwiftyMUSE » Sat Apr 25, 2015 12:01 am

JudgeD wrote:always tolower string compares ;p
or in the case of this code... strupr.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

Zardoz0609
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 23, 2015 12:39 pm

Re: AssistBot

Post by Zardoz0609 » Sat Apr 25, 2015 3:44 pm

My plan for the next few weeks is to add some caster-specific functionality just in case someone doesn't want their mage/wizzy whatever meleeing. I would also like to put in some more ranged function specifically for the ranger. To top it off, I want to give some backup healing parameters for shaman/druid/cleric. Once I get the spell sets covered the way I would like, I will start working on AA functionality and making sure more of that is utilized. That will be a lot more class-specific.

Big picture, I want anyone to be able to boot up any toon to box and just start this macro sending commands as necessary so he can play and not worry about what the other characters are doing.

PeteSampras
a snow griffon
a snow griffon
Posts: 322
Joined: Sat Dec 15, 2007 8:56 pm

Re: AssistBot

Post by PeteSampras » Sat Apr 25, 2015 8:19 pm

:wink:

You can try it, see if you like it. Requires mq2cast. requires mq2melee if you want to use melee. Otherwise presented with no documentation, see if you can figure it out!

Ok, i will say how to turn it on and off and do custom if statements for when to use a spell.

place the unzipped .dll into your /mq2/ folder with the rest of them.

/plugin ******

to have your character do stuff:
/bot on

to have it stop doing stuff:
/bot off

ini settings go to your /mq2/server_name.ini under [******] settings.

Custom if statements to use spells/skills:
Say it spits out AA0=Super skill and you only want to use that if you are below 50% hp:

AAIf0=${Me.PctHPs}>50

That format works for pretty much any category type. Nukes/dots/aa/etc. and is case sensitive. NukeIf1=blah, DotIf0=blah, JoltIf4=blah.
Last edited by PeteSampras on Sun Apr 26, 2015 12:00 am, edited 1 time in total.

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Re: AssistBot

Post by dewey2461 » Sat Apr 25, 2015 9:28 pm

PeteSampras wrote::wink:
You can try this, see if you like it. /plugin ******
Thought your bot required TLO's missing from the source here.

PeteSampras
a snow griffon
a snow griffon
Posts: 322
Joined: Sat Dec 15, 2007 8:56 pm

Re: AssistBot

Post by PeteSampras » Sat Apr 25, 2015 11:54 pm

dewey2461 wrote:
PeteSampras wrote::wink:
You can try this, see if you like it. /plugin ******
Thought your bot required TLO's missing from the source here.
Nah. Everything is internal. it will either use or not using things based upon what plugins you have loaded. The only ones required are mq2cast and then mq2melee if you want to melee. Looks like a mod removed the .dll anyway~ whatevs.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: AssistBot

Post by SwiftyMUSE » Sun Apr 26, 2015 12:03 am

PeteSampras wrote:Looks like a mod removed the .dll anyway~ whatevs.
I don't see any edits except once by you on your prior post.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

User avatar
Randyleo
a hill giant
a hill giant
Posts: 261
Joined: Sat Dec 18, 2004 10:24 am

Re: AssistBot

Post by Randyleo » Sun Apr 26, 2015 1:01 am

The .dll was there earlier, but it seems to be gone now. :shock:

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: AssistBot

Post by EqMule » Sun Apr 26, 2015 7:14 am

Although I tried Petes bot and it's a good bot, we only allow open source plugins on this forum which is why the attachment had to go.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

User avatar
Randyleo
a hill giant
a hill giant
Posts: 261
Joined: Sat Dec 18, 2004 10:24 am

Re: AssistBot

Post by Randyleo » Sun Apr 26, 2015 7:32 am

That's understandable.

Zardoz0609
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 23, 2015 12:39 pm

Re: AssistBot

Post by Zardoz0609 » Mon Apr 27, 2015 7:41 pm

Edit - 27 Apr 2015 - Got rid of the need to map strafe keys, added a way to push a second "attacks" spell set, added a ranger-specific (can be modified for any bow/range wielding class) range attack function, added a caster range attack function, added casting while fiighting, added an auto tank mode to home in on the nearest npc and turn on attack (nothing fancy, careful where you use it, it's designed for open zones), added a stuck check that will simply bounce the toon off of the object if he gets stuck while following or heading to his attack target.

Zardoz0609
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 23, 2015 12:39 pm

Re: AssistBot

Post by Zardoz0609 » Wed Apr 29, 2015 7:37 pm

Edit - 29 Apr 2015 - Finally added some one-spell healing into the system. A simple "Save Your Heal!" into EQBC will push your ninth spell slot along with an 80% hp tolerance into the ini file. I added a way to push a different spell slot as well as load a different tolerance in if wanted. Simply type /bc "Save Your Heal! <Slot> <Tolerance>" Fixed a few minor other errors.

Zardoz0609
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 23, 2015 12:39 pm

Re: AssistBot

Post by Zardoz0609 » Thu Apr 30, 2015 11:59 am

Edit - 30 Apr 2015 - Added the alternate advancement abilities to be both generic and tank-specific. Tweaked the healing system and the auto buff function. Fixed a few bugs.

Zardoz0609
orc pawn
orc pawn
Posts: 10
Joined: Thu Apr 23, 2015 12:39 pm

Re: AssistBot

Post by Zardoz0609 » Mon Sep 05, 2016 5:07 pm

Edit - 05 Sep 2016 - It has been a minute, but I have started playing again. I have made various bug fixes and had to fix a few of the issues with using a higher performance computer.