MQ2Data GenBot, 99% Complete

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

Diggler
> Oid
Posts: 120
Joined: Thu Oct 09, 2003 3:28 pm
Location: Lexington, KY

Post by Diggler » Thu Apr 22, 2004 10:37 am

Autoheal is probably some issue in the spaghetti of @vars and ${} parms. I'm working on it but it'll take some time, as I'm coming up on finals and don't have much time to devote to a macro when I'm staring at a comprehensive Calculus 2 test and an 18 page paper =/

mycodesux
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 12:56 pm

One problem

Post by mycodesux » Thu Apr 22, 2004 1:00 pm

This is just the first problem I am trying to get past. Chances are there are more but lets start with this one.

/newif (${Spawn[@HealTargets(@tempvar)].Class.Equal[@TankArray(@tankcount)]}) {

that evaluates to null so you are not being matched up as a tank. Since I am a tank I will work no further till I can get that line evaluating correctly. If you echo out each parameter they are correct. First pass through is Warrior for class and Warrior for the TankArray. but it evaluated as null.

mycodesux
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 12:56 pm

Got healer working now

Post by mycodesux » Thu Apr 22, 2004 1:53 pm

That and caster area had same problems. I rewrote that line and now it works. There are a few @ missing in the sub functions that need to be fixed as well. But healer is completely working. Good luck.

Dulapore
a lesser mummy
a lesser mummy
Posts: 67
Joined: Thu Feb 26, 2004 4:39 am

Post by Dulapore » Thu Apr 22, 2004 2:23 pm

Rage wasn't working, nor autobehind. Here are the fixes, both are in botcombat.inc

Code: Select all

Sub Combatcheck 
   /if (@EnrageVar==1) [color=red]{ [/color]

Code: Select all

Sub bscounter 
   /if [color=red]([/color]!${Target.ID}[color=red])[/color] /return 
   /if [color=red]([/color]${Me.State.NotEqual[STAND]}[color=red])[/color] /stand

Fire
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Nov 10, 2003 7:12 pm

Post by Fire » Thu Apr 22, 2004 4:14 pm

I'm using the updated code thats currently on the first page. Deleted all genbot char ini files from before. Started EQ, launched genbot /mac genbot *charname* . Ended genbot /end . Camped out of EQ /camp desktop . Edited the new char ini files for channel etc... Noticed that there was only [Core] in the new ini, decided to give it a try anyway, loaded up EQ again, launched genbot, sent command to bot on channel with no response, tried tells no response, exit EQ, open char ini file, its back to default with none of my changes in it. Dunno whats doing this, but its sure not working right :P
Gonna recopy the files and double check, but thats what im getting. Any ideas?

Fire

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Re: Got healer working now

Post by wassup » Thu Apr 22, 2004 7:05 pm

mycodesux wrote:That and caster area had same problems. I rewrote that line and now it works. There are a few @ missing in the sub functions that need to be fixed as well. But healer is completely working. Good luck.
Rewrote what line? Think you could post it here?

User avatar
hakcenter
a lesser mummy
a lesser mummy
Posts: 35
Joined: Mon Jan 26, 2004 8:15 am

Post by hakcenter » Fri Apr 23, 2004 1:31 am

I was having some problems earlier with, using attack command before assist, getting a null

Sometimes after, assist, attack, character would stand, and do jack.
Most of the time the character atleast attacks, but doesn't bash, or yaulpy, and when the mob moves, it doesn't chase it, have to use stop, to send it back to the anchor.

Tangeleno
a hill giant
a hill giant
Posts: 193
Joined: Fri Feb 20, 2004 6:00 pm

Post by Tangeleno » Fri Apr 23, 2004 4:08 am

So maybe I'm just too much of a n00b to use this mac but every time I goto run it I get the following error
Ending Macro: Subroutine SetupSpellVars wasn't found
genbot.mac@36(Main): /Call SetupSpellVars
Any clues? I have all of the .inc's and everything... or is it that 1% that isn't complete yet that is messin it up?


**Edit**

Yeah I'm just too much of a n00b shouldn't be messin with this (figured out the answer was on page 4)

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Fri Apr 23, 2004 8:05 am

Just to heads up, I'm about done with my updated version of this script which works in MQ2Data and has all the new functions I mentioned on page 2 of this post, however, I plan to wait till Phase 3 before releasing it so that I can incorperate MQ2DataVars before my release.

Rassilon
a lesser mummy
a lesser mummy
Posts: 73
Joined: Thu Sep 04, 2003 6:34 pm

Post by Rassilon » Fri Apr 23, 2004 11:42 am

So until Phase 3 does anyone have Phase 2 working? If so can you post your copy or perhaps suggest a working melee and healer mac until then?

Thanks

mycodesux
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 12:56 pm

Completely working

Post by mycodesux » Fri Apr 23, 2004 1:44 pm

/varcalc GroupMax ${Group}-1
/varset HealCount @GroupMax
/for tempvar 0 to @GroupMax
/varset HealTargets(@tempvar) ${Group[@tempvar].ID}
/next tempvar


Couple of things wrong here I think but still testing to make sure my changes work the way I inteded them to.

1. /varcalc GroupMax ${Group}-1 (should the -1 still be there)?
2. the healer himself is no longer added to the list
3. if you echo out the id's as they are added, the first one is NULL
4. In a group he wont heal everyone (think its because of the -1)

Like I said, I got it working but I modified some things and need to put the healer through more paces to be sure it's fixed. In the mean time take a look a that section yourselves and play with it till you get yours working

mycodesux
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 12:56 pm

Needed addition

Post by mycodesux » Fri Apr 23, 2004 2:11 pm

I know many of you wish for this so I thought I would post it.



/varset Commands(4,12) settankhealat
/varset Commands(4,13) setcasterhealat
/varset ArrayHeal 13


Sub Do-settankhealat
/varset TankPctHeal @Param1
/call ChatOut 3 @MasterName "I'll heal tanks at @Param1."
/return

Sub Do-setcasterhealat
/varset CasterPctHeal @Param1
/call ChatOut 3 @MasterName "I'll heal casters at @Param1."
/return


there you go, no more tabing out to edit the file huh. Come on, you know you were doing it. just /tell botname settankhealat 68 and he will now heal tanks at 68%
same for casters
Last edited by mycodesux on Fri Apr 23, 2004 2:47 pm, edited 1 time in total.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Fri Apr 23, 2004 2:32 pm

ok i added top 3 lines then inserted the bottom two subs into bothealer.inc, it still does not autoheal, am i missing something MCS

mycodesux
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Apr 22, 2004 12:56 pm

Not for auto healing

Post by mycodesux » Fri Apr 23, 2004 2:43 pm

That was not intended to fix the problems of the new genbot. There are way too many. This was just a function that I thought a lot of people woule enjoy and save some time. That is all.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Fri Apr 23, 2004 2:44 pm

my bad.