AFNuke mac (Wiz Bot Mac update: 12-02-04)

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

Moderator: MacroQuest Developers

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

Post by Azum » Fri Nov 26, 2004 12:24 am

What I did was revert back to http://www.macroquest2.com/downloads/MQ2-20041025.zip for now.

Lacky
a hill giant
a hill giant
Posts: 174
Joined: Mon Nov 22, 2004 4:02 pm

Post by Lacky » Fri Nov 26, 2004 4:22 am

Ok. That will help alot. I do very much appreciate your work. And I will try to avoid the knee jerk editing from now on. Man its late. Hope you had a happy thanksgiving.
So I am wrong, Sue me.

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

well fudge

Post by Merlin » Wed Dec 01, 2004 3:22 am

ok i'm not sure what i did, but now i'm getting errors

Failed to parse /if command. Expected () around conditions.
afnuke.inc@530 (Assistcheck): /if
afnuke.mac@291 (main): /if (${doassist}>0) /call Assistcheck
The current macro has ended.

Usage: /if (<conditions>) <command>
Last edited by Merlin on Wed Dec 01, 2004 10:41 pm, edited 2 times in total.

Lacky
a hill giant
a hill giant
Posts: 174
Joined: Mon Nov 22, 2004 4:02 pm

Post by Lacky » Wed Dec 01, 2004 5:07 am

Looks like the if statement is missing a (.....


The one at line 291 in afnuke.mac should look like this

Code: Select all

/if (($doassist)>0) /call Assistcheck

Note the double (( one is for the beginning of the if statement the other is the beginning of the doassist variable....
So I am wrong, Sue me.

Virtuoso65
a hill giant
a hill giant
Posts: 150
Joined: Wed Oct 15, 2003 2:29 pm

Post by Virtuoso65 » Wed Dec 01, 2004 12:58 pm

Lacky wrote:Looks like the if statement is missing a (.....


The one at line 291 in afnuke.mac should look like this

Code: Select all

/if (($doassist)>0) /call Assistcheck

Note the double (( one is for the beginning of the if statement the other is the beginning of the doassist variable....

Um, that wouldnt work. But this should.

Code: Select all

/if (${doassist}>0) /call Assistcheck

Lacky
a hill giant
a hill giant
Posts: 174
Joined: Mon Nov 22, 2004 4:02 pm

Post by Lacky » Wed Dec 01, 2004 3:29 pm

Right I wrote that late last night Virt is correct :)
So I am wrong, Sue me.

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

doh

Post by Merlin » Wed Dec 01, 2004 6:32 pm

/if (($doassist)>0) /call Assistcheck, did not work

/if (${doassist}>0) /call Assistcheck line was already there, so the line is there, but the macro doesnt work, why?


Failed to parse /if command. Expected () around conditions.
afnuke.inc@530 (Assistcheck): /if
afnuke.mac@291 (main): /if (${doassist}>0) /call Assistcheck
The current macro has ended.

Usage: /if (<conditions>) <command>

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

Post by Azum » Thu Dec 02, 2004 6:01 am

Try recopying it now, somehow word wrap got turned on in my text editor and I must have posted it without noticing.

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

Post by Merlin » Thu Dec 02, 2004 10:11 am

That definitly made the macro at least workable, the only thing I non functional now is the macro does not auto call familiars up, and i've already corrected the line

Code: Select all

/echo Invalid Familiar. 52=improved,179=allegiant,303=Ro,304=E'ci,305=Druzzil,453=Greater Ro,453=Greater E`ci,455=Greater Druzzil,457=Devoted 

Azum
a hill giant
a hill giant
Posts: 229
Joined: Wed Jun 04, 2003 5:04 am

Post by Azum » Thu Dec 02, 2004 3:46 pm

Working fine for me.

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

doh

Post by Merlin » Thu Dec 02, 2004 9:02 pm

ok new problems, now even with using a fresh nuke_wizardname.ini



DoCommand - Couldn't parse 'have ${Command} in your spellbook.'
afnuke.mac@425 (event_toggleend(Line, Command)): have ${Command} in your spellbook.
afnuke.mac@260 (main): :mainloop


I got all this after the macro was running and seemed fine, to get that error all I had to do was type /afhelp

then I after scrolling thru the afhelp spam I found this other error, that acurred after for some reason I tried to autofollow myself, which I never asked it to do.

DoCommand - Couldn't parse 'have ${Command} in your spellbook.'
afnuke.mac@425 (event_toggleend(Line, Command)): have ${Command} in your spellbook.
afnuke.mac@1075 (Event_autofollow(string Line)): /varset Y ${Me.Y}
afnuke.mac@1075 (Event_autofollow(string Line)): /varset Y ${Me.Y}
afnuke.mac@260 (main): :mainloop


then I got this error, and typed /endmac before It crashed me heh, i dunno what I did on this part, I'm pretty sure i've recompiled MQ and completely replaced all the files with updated versions.

DoCommand - Couldn't parse 'have ${Command} in your spellbook.'
afnuke.mac@425 (event_toggleend(Line, Command)): have ${Command} in your spellbook.
afnuke.mac@1075 (Event_autofollow(string Line)): /varset Y ${Me.Y}
afnuke.mac@1075 (Event_autofollow(string Line)): /varset Y ${Me.Y}
afnuke.mac@1075 (Event_autofollow(string Line)): /varset Y ${Me.Y}
afnuke.mac@1075 (Event_autofollow(string Line)): /varset Y ${Me.Y}
afnuke.mac@260 (main): :mainloop



gonna scrap it all and redo everything, will let ya know how that turns out

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

Post by Merlin » Thu Dec 02, 2004 9:18 pm

ok on a fresh setup of afnuke.mac afnuke.inc afnuke2.inc spell_routines.inc nuke_wizard.ini

my nuke_wizard.ini turns out looking like this

Code: Select all

[Settings]
tankname=ed
mainassist1=ed
mainassist2=r
mainassist3=r
doassist=0
version=120204
autosit=0
autositmana=90
autoTL=0
checktarget=nocheck
preconc=0
preconcnum=1
concuss=1
myconcgem=gem1
concnum=2
hasele=1
checkfamiliar=1
myfamiliar=303
engagedistance=200
mainnuke=White Fire
mainnukegem=gem4
mainnukenum=1
endnuke=Draught of Ro
endnukenum=4
endnukegem=gem8
mobhealth=93
stopnuke=20
stopnuke2=-1
medtoggle=0
medpercent=35
manatomedup=70
manarobe=0
beginrobe=20
donerobe=75
modrod=1
rodpercent=90
harvestpercent=70
doharvest=1
harvestgem=gem7
shieldofmaelin=0
maelingem=gem6
forceshield=1
forcegem=gem3
usetimewand=0
useepic=0
spellshield=0
ssgem=gem5
manaward=0
manawardgem=gem2
tempstaff=0
staffhealth=95
doxuzl=0
xuzlperc=85
dosnare=0
snareperc=25
snaregem=gem5
retry=3
maxbuffs=15
doleash=0
leashholder=Nobody
leashlength=40
followdistance=10
nukepause=Assist
[Junk Buffs]
JunkBuff_0=<name of buff> - Add Buff to Junk Buffs List
JunkBuff_1=n Assist is djunk <name of buff> - Add Buff to Junk Buffs List
JunkBuff_2=ame of buff> - Add Buff to Junk Buffs List to the Junk Buffs list.
JunkBuff_3=Assist is djunk <name of buff> - Add Buff to Junk Buffs List to the Junk Buffs list.
JunkBuff_4=e of buff> - Add Buff to Junk Buffs List to the Junk Buffs list. to the Junk Buffs list.
JunkBuff_5=sist is djunk <name of buff> - Add Buff to Junk Buffs List to the Junk Buffs list. to the Junk Buffs list.
JunkBuff_6=of buff> - Add Buff to Junk Buffs List to the Junk Buffs list. to the Junk Buffs list. to the Junk Buffs list.
JunkBuff_7=st is djunk <name of buff> - Add Buff to Junk Buffs List to the Junk Buffs list. to the Junk Buffs list. to the Junk Buffs list.
JunkBuff_8=buff> - Add Buff to Junk Buffs List to the Junk Buffs list. to the Junk Buffs list. to the Junk Buffs list. to the Junk Buffs list.
[Masters]
Master_0=<name> - Add Master to Masters List
Master_1=Assist is dmaster <name> - Add Master to Masters List
Master_2=e> - Add Master to Masters List to the Masters list.
Master_3=Assist is r Main Assist is dmaster <name> - Add Master to Masters List
Master_4=st is dmaster <name> - Add Master to Masters List to the Masters list.
Master_5=Assist is ed <name> - Add Master to Masters List to the Masters list.
Master_6=Add Master to Masters List to the Masters list. to the Masters list.
Master_7=Assist is r Main Assist is r Main Assist is dmaster <name> - Add Master to Masters List
Master_8=st is r Main Assist is dmaster <name> - Add Master to Masters List to the Masters list.
Master_9=Assist is ed Assist is dmaster <name> - Add Master to Masters List to the Masters list.
Master_10=s dmaster <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_11=Assist is r Main Assist is ed <name> - Add Master to Masters List to the Masters list.
Master_12=st is ed <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_13=Assist is ed e> - Add Master to Masters List to the Masters list. to the Masters list.
Master_14=Master to Masters List to the Masters list. to the Masters list. to the Masters list.
Master_15=Assist is r Main Assist is r Main Assist is r Main Assist is dmaster <name> - Add Master to Masters List
Master_16=st is r Main Assist is r Main Assist is dmaster <name> - Add Master to Masters List to the Masters list.
Master_17=Assist is ed Assist is r Main Assist is dmaster <name> - Add Master to Masters List to the Masters list.
Master_18=s r Main Assist is dmaster <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_19=Assist is r Main Assist is ed Assist is dmaster <name> - Add Master to Masters List to the Masters list.
Master_20=st is ed Assist is dmaster <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_21=Assist is ed st is dmaster <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_22=aster <name> - Add Master to Masters List to the Masters list. to the Masters list. to the Masters list.
Master_23=Assist is r Main Assist is r Main Assist is ed <name> - Add Master to Masters List to the Masters list.
Master_24=st is r Main Assist is ed <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_25=Assist is ed Assist is ed <name> - Add Master to Masters List to the Masters list. to the Masters list.
Master_26=s ed <name> - Add Master to Masters List to the Masters list. to the Masters list. to the Masters list.
Master_27=Assist is r Main Assist is ed e> - Add Master to Masters List to the Masters list. to the Masters list.
Master_28=st is ed e> - Add Master to Masters List to the Masters list. to the Masters list. to the Masters list.
Master_29=Assist is ed Add Master to Masters List to the Masters list. to the Masters list. to the Masters list.
Master_30=er to Masters List to the Masters list. to the Masters list. to the Masters list. to the Masters list.
[Excludes]
exclude_0=n Assist is clude <name> - Add NPC to Exclude List
exclude_1=n Assist is r Main Assist is clude <name> - Add NPC to Exclude List
exclude_2=Assist is clude <name> - Add NPC to Exclude List to the exclusions list.
exclude_3=n Assist is r Main Assist is r Main Assist is clude <name> - Add NPC to Exclude List
exclude_4=Assist is r Main Assist is clude <name> - Add NPC to Exclude List to the exclusions list.
exclude_5=n Assist is ed n Assist is clude <name> - Add NPC to Exclude List to the exclusions list.
exclude_6=sist is clude <name> - Add NPC to Exclude List to the exclusions list. to the exclusions list.
exclude_7=n Assist is r Main Assist is r Main Assist is r Main Assist is clude <name> - Add NPC to Exclude List
exclude_8=Assist is r Main Assist is r Main Assist is clude <name> - Add NPC to Exclude List to the exclusions list.
exclude_9=n Assist is ed n Assist is r Main Assist is clude <name> - Add NPC to Exclude List to the exclusions list.
exclude_10=sist is r Main Assist is clude <name> - Add NPC to Exclude List to the exclusions list. to the exclusions list.

so is there something else i need to do to restore my sanity

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

Post by Merlin » Thu Dec 02, 2004 9:53 pm

bleh what a waste, i just RTFM

sj_digriz
a lesser mummy
a lesser mummy
Posts: 40
Joined: Wed Jun 02, 2004 9:10 am
Contact:

Nuking from start

Post by sj_digriz » Fri Dec 03, 2004 8:08 am

Since the update to spell_routines.inc My wizzy bot nukes at 100% health no matter what I set in the ini. Also Irestone of Sharp Sight just keeps looping but never casts. Below is part of the nuke_wiz.ini. Again, those things worked fine until I updated to the new spell_routine file. I'm using the 12-2-04 version and still have the problem.

Code: Select all


version=120204
tankname=
mainassist1=
mainassist2=
mainassist3=
doassist=1
checktarget=nocheck

concuss=1
myconcgem=gem1
hasele=1
concnum=0
preconc=0
preconcnum=0
preconcperc=98

checkfamiliar=1
myfamiliar=457

engagedistance=200
mainnuke=Ancient: Core Fire
mainnukegem=gem4
mobhealth=80
mainnukenum=1

endnuke=spark of fire
endnukegem=gem3
stopnuke=18
stopnuke2=5
endnukenum=1
----------------------------------------------
[irestone]
FullName=Irestone of Sharp Sight
KeepUp=TRUE

eqaussie
a ghoul
a ghoul
Posts: 124
Joined: Tue Mar 16, 2004 5:58 am

Post by eqaussie » Fri Dec 03, 2004 8:57 am

If you are using the latest MQ2 Release, there is a problem as previously noted, use the 10/25 release, a link is posted a few messages above.

At least that is my understanding of the situation.