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

another update

Post by Azum » Sat Jun 19, 2004 10:35 pm

Updated afnuke.mac - first post - 06/19
Updated afnuke.inc - third post - 06/19
Updated afnuke.txt - seventh post - 06/19

(06/19) Added /afhelp command to display help. Added /leash ability, /autofollow, and Bot Masters List. Added /ma name, /sa name, and /ta name (Primary, Secondary, Tertiary Assists respectively). Added /cycle command, cycles through the three assists.

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

more update goodness

Post by Azum » Sun Jun 20, 2004 7:58 pm

Updated afnuke.mac - first post - 06/20
Updated afnuke.inc - third post - 06/20
Updated afnuke.txt - seventh post - 06/20

(06/20) Added optional /nukepause setting. Defaults to None. This is the amount of pause time you want between nukes. /nukepause 3s - for example, would be a 3 second pause between nukes. Nice option for those who don't have concussion or are drawing too much aggro period. (Note - if concussion enabled, the time you use to cast concussion between nukes is counted towards the nukepause time). Cleaned up and optimized some more code.

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

Post by Azum » Tue Jun 22, 2004 1:31 am

I'm looking forward to using this, I'm using the files dated 6/20 I think I have everything configured right, however once I load the afnuke.mac everything scrolls in the chat ok, no errors but I can't figure out how to engage the mob automatically. It will assist like its supposed too, it will meditate, it will cast harvest but it will not nuke.

I found a line in the afnuke.mac :
/declare engagedmob int outer 0, i then changed the 0 to 1 hopping this was a toggle.

I also tried /varset engagedmob 1 from the game,

Thanks In advanced.
Even though you posted in the wrong thread, I'll see if I can figure out what your problem is. First off, can you post or pm me your .ini file?

I'm going to assume you have both afnuke.mac and afnuke.inc. It's not necessary to hack up or set any variables manually to get the macro to work.

Without looking at your ini, off the top of my head - the only thing I can think of that might cause the problem you describe - is either you don't have engagedistance set high enough, or your target is a PC or a pet. Do you have spellcast.inc? No one else has reported this problem, and I use the macro every time I raid or exp. The problem either lies in your situation, or your .ini, or both.

Mow
decaying skeleton
decaying skeleton
Posts: 3
Joined: Tue Jun 22, 2004 1:03 am

Post by Mow » Tue Jun 22, 2004 3:26 pm

It was past my bed time when I posted :)
Thanks for taking the time to reply.
I do have the afnuke.mac, afnuke.inc both time stamped on 6/20 @ 4:30pm
I have the spellcast.inc from the link timestamped 5/14/2004

Here is my toons ini
he is a 55 wizard, concussion is off
Ive tried it with nukepause=5s

[Settings]
tankname=Staypuff
mainassist1=Staypuff
mainassist2=Heckle
mainassist3=Jeckle
doassist=1
checktarget=nocheck
concuss=0
myconcgem=gem0
concnum=2
hasele=0
checkfamiliar=1
myfamiliar=303
engagedistance=150
mainnuke=Voltaic Draught
mainnukegem=gem4
mainnukenum=1
endnuke=Draught of Fire
endnukenum=4
endnukegem=gem3
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=0
forcegem=gem0
usetimewand=0
useepic=0
spellshield=0
ssgem=gem0
manaward=0
manawardgem=gem0
tempstaff=1
staffhealth=95
doxuzl=0
xuzlperc=85
dosnare=0
snareperc=25
snaregem=gem1
retry=3
maxbuffs=15
doleash=0
leashholder=nobody
leashlength=40
followdistance=30
nukepause=None
startdisplay=1

creations
orc pawn
orc pawn
Posts: 10
Joined: Thu May 06, 2004 1:57 am

Post by creations » Tue Jun 22, 2004 5:35 pm

typo on /afhelp:

/xuzl should be /doxuzl (toggle on/off)

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

Post by Azum » Fri Jun 25, 2004 1:21 am

afnuke.mac updated - 06/25 - first post
afnuke.inc updated - 06/25 - third post

(06/25) Added some obstacle avoidance to leash and autofollow. Fixed miscellaneous typos (thanks creation for pointing one out)

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

Post by eqaussie » Fri Jun 25, 2004 8:43 am

2 Things i have found with this macro after using it the last few days.

1. Would be good if it supported AA Harvest too.

2. I have found that the ini read function is sluggish.
My system often just freezes for 1-2 minutes when starting up.
Once started it's fine tho.

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

Post by Azum » Fri Jun 25, 2004 10:08 am

eqaussie wrote:2 Things i have found with this macro after using it the last few days.

1. Would be good if it supported AA Harvest too.
Pass some of whatever you're smokin' this way sir. The macro uses both the spell harvest and the aa harvest of druzzil. It even announces which one it's using.
eqaussie wrote:2. I have found that the ini read function is sluggish.
My system often just freezes for 1-2 minutes when starting up.
Once started it's fine tho.
Dunno what kind of computer or bandwidth you have, but it takes about 1 second for the macro to load for me, not sluggish at all.

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

Post by Azum » Fri Jun 25, 2004 10:13 am

And just for clarification, Mow's problem was he wasn't using the latest MQ2 zip, so some of the structs were still fucked up.

unknwon
orc pawn
orc pawn
Posts: 10
Joined: Tue Mar 02, 2004 11:18 am

Problems with /leash command. and medding

Post by unknwon » Tue Jun 29, 2004 11:27 am

just have to say love the script..Two things i have found,

1. the /leash command is not working for some reason..

2. Should the Wiz not med between casting and mobs automatically. Would help save mana.

Again..Thanks for the Great Work..

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

Re: Problems with /leash command. and medding

Post by Azum » Tue Jun 29, 2004 2:32 pm

unknwon wrote:just have to say love the script..Two things i have found,

1. the /leash command is not working for some reason..

2. Should the Wiz not med between casting and mobs automatically. Would help save mana.

Again..Thanks for the Great Work..
You typing /leash <distance> or /leash <distance> <player> ? Works fine for me.

Been meaning to add a 'sit whenever possible' option, just havent got around to it yet.

Omiime
a ghoul
a ghoul
Posts: 92
Joined: Tue Mar 30, 2004 9:53 pm

Re: Problems with /leash command. and medding

Post by Omiime » Wed Jun 30, 2004 3:21 am

Azum wrote:
unknwon wrote:just have to say love the script..Two things i have found,

1. the /leash command is not working for some reason..

2. Should the Wiz not med between casting and mobs automatically. Would help save mana.

Again..Thanks for the Great Work..
You typing /leash <distance> or /leash <distance> <player> ? Works fine for me.

Been meaning to add a 'sit whenever possible' option, just havent got around to it yet.

Nice Az, just grabbing the new one. Autofollow and pause I love it :)
(ya I took advice and concussion, but he still was nuking too much :P)

but just comment, he does load up slow :) I have very fast system pent 4 3.6 800fsb , 4gigs ram etc.... nothing but mq running (running latest zips)

pause isnt' big tho.

Could I ask how much work would it be to change snare around?
Like snare at 90% and then again around say 20% or something?

Alot of times in adv's, he just doesn't get snare off. I have it set at 70 and 80%.
some mobs they die faster. or Crit goes tho..... Not sure if anyone else having the snare problem, probly just me

Manaweaver
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sat Jul 03, 2004 8:55 am

Post by Manaweaver » Sat Jul 03, 2004 9:36 am

Okay... get the following error message after I fire up the macro.

Unparsable in Cacluation. 'g'
afnuke.inc@415 (AntiRetard: /if (${tempstaff}>0)[afnuke.mac@250 (main: /call AntiRetard
The current macro has ended.
Failed to parse /if condition '(0>0)', non-numeric encountered

The few things I have done to make sure it wasn't my personal error.

Recompiled MQ2 once.
Copy and pasted the files twice and checked file names multiple times.
Used the default generated INI and a custom one before and after the recompile.
Restarted EQ a few times to make sure MQ2 was catching correctly. I had a macro before that wouldn't work because MQ2 was started after EQ.

I realize the error message mentions the flux staff, it is in my very upper left inventory slot, not in a bag (Not that retarded...) Frankly, I'm a bit miffed as to why this is happening. Could it just be a few bad compiles?

I'm running EQW as well, could that also be a problem?


I have had this macro working before, about 3 and a half weeks ago. I took a break for a while and came back, so am a bit confused, really.

Oh, right... I have the following files all in the Macros directory. afnuke.mac, afnuke.inc, and spellcast.inc + the generated INI file. My usage is /macro afnuke tankname. It created the INI fine, but it's after it has the INI that it goes all weird.

Also, before I get flamed for putting this into the wrong forum, I don't believe that is quite true... the Macro Help forum is for Pre-MQ2 macros I believe and the current macro help is only for macros that are in development (as far as the sticky and title / description go.) If I'm wrong on that, I apologize and would make the post in the appropriate place if pointed there.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat Jul 03, 2004 9:37 am

There is a sticky post by Don't_Know_About_Anything that covers this.

I'm tired of spelling it out 5 times a day.

Manaweaver
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sat Jul 03, 2004 8:55 am

Post by Manaweaver » Sat Jul 03, 2004 10:24 am

You could be a bit less snyde with your comments, really. It's a seemingly unrelated thread considering "bbcode" can boil down to emoticons being fucked up. I thank you for the response, however.