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

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

Moderator: MacroQuest Developers

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

Post by Merlin » Fri May 20, 2005 9:56 pm

he has left the game, no one updates this macro.

adesheer
a lesser mummy
a lesser mummy
Posts: 64
Joined: Mon Mar 28, 2005 12:06 pm

Re: errors with recently patch

Post by adesheer » Sat May 21, 2005 9:27 am

Merlin wrote:DoCommand - Couldn't parse '/iclick Black Flower of Functionality'
afnuke2.inc@222 (ClickBuffcheck): /docommand /iclick ${ialias}
afnuke.mac@285 (main): /if (!${clicktimer}) /call ClickBuffCheck
The current macro has ended.


this is the error with iclicks
Did you set the item use /iset BlackFlower nokeepup "Black Flower of Functionality"?
Then /iclick BlackFlower...
Gotta use the alias

EDIT: Fixxed how the /iset works..

jnutt44
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sat Sep 04, 2004 5:15 pm

Post by jnutt44 » Thu May 26, 2005 2:08 pm

iclicks working for anyone? If i add it to my ini file it says can not parse, and if i try to do it through eq nothing happens.

Maybe its the problem that you have to use /echo to change anything in everquest.

Any ideas or help?

snomanx3
decaying skeleton
decaying skeleton
Posts: 4
Joined: Sun Apr 17, 2005 3:47 am

Post by snomanx3 » Wed Jun 01, 2005 3:41 pm

Ya I think /iclick is broken atm. After the last EQ patch I patched my own personal mq2 and they worked fine, but now after using the latest release they dont seem to work. Im not yet sure what happened or if it was just me.

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

Post by Azum » Thu Jun 16, 2005 2:35 pm

Hey. I haven't played EQ for a long time, but I stop by these boards every now and again.

Anyway, if you ever have a problem with an alias like iclick, the likely culprit is your macroquest.ini and the version check in the macro. Either don't overwrite your macroquest.ini when you do a new compile, or open nuke_yourname.ini and change version=xxxxx to something different than what's currently there.

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

Post by Merlin » Sat Jul 02, 2005 12:37 pm

with the last patch 2 new problems have shown their ugly face.

1st one it Due to complete misuse of the String Top-Level Object, it has been removed.


the 2nd problem is /echo myfamiliar XXX isnt working from the command line

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

Post by Merlin » Sat Jul 02, 2005 1:11 pm

everytime i get 15 buffs that error spams out my MQ window

kzboray
a ghoul
a ghoul
Posts: 138
Joined: Thu Mar 31, 2005 2:15 am

Post by kzboray » Sun Jul 03, 2005 2:24 pm

In the AFNuke2.inc there are 4 lines of code that look something like this.

/if (${String["${Ini[${IniFile},${Category},-1,NOTFOUND]}"].Find["NOTFOUND"]}) {

They need to be updated so that you don't see the TLO error. I have struggled with it for a couple of hours now, and still don't have it working. Probably gonna take someone with a bit more exp at this than me. But something like:

/if ${IniFile},${Category},-1,"NOTFOUND",Find["NOTFOUND"]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sun Jul 03, 2005 2:27 pm

You've almost got it right, RTFM for the Ini TLO and you'll get it eventually. Or, take a look at some other macros that make extensive use of the Ini TLO, like RaidDruid or advbot, for examples of proper usage.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Sun Jul 03, 2005 2:50 pm

Code: Select all

/if (${Ini[${IniFile},${Category},-1,NOTFOUND]}.Find["NOTFOUND"]}) {
Think thats right not 100 %

from somewere else
Lax wrote:Nope, not legal.

What's wrong with using the class datatype members to check if it's a caster or healer instead of string comparisons?

Also,

Code: Select all

/if (${String["${Ini[${IniFile},${Category},-1,NOTFOUND]}"].Find["NOTFOUND"]}) {
... Ini gives a string already, just remove the ${String[] crap:

Code: Select all

/if (${Ini[${IniFile},${Category},-1,NOTFOUND].Equal["NOTFOUND"]}) {
This is exactly why the String TLO wont exist

kzboray
a ghoul
a ghoul
Posts: 138
Joined: Thu Mar 31, 2005 2:15 am

Post by kzboray » Sun Jul 03, 2005 3:10 pm

Thanks A_Druid_00 and JJ. I did take a look at the TLO for .Ini before I posted. But was missing the finer points like the correct syntax /sigh. I'll keep reading....... eventually somethings bound to sink in.

Swiftweapon
orc pawn
orc pawn
Posts: 17
Joined: Wed Jul 06, 2005 7:08 pm

Post by Swiftweapon » Wed Jul 13, 2005 9:32 pm

With the new patch I had Problems with this

/if (!${clicktimer}) /call ClickBuffcheck

so I just removed it and I get no errors..

if someone has a better way to fix this let me know I am still waiting to see what happens//

nevin
orc pawn
orc pawn
Posts: 23
Joined: Sat Jul 09, 2005 5:52 pm

Post by nevin » Sat Jul 16, 2005 3:19 pm

you need to check here http://www.macroquest2.com/phpBB2/viewt ... &start=390

you will have to replace a bunch of } else /if etc. etc. to the formate listed in that post. You also have to do it to the inc. file. That should solve your problem.

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

Post by eqaussie » Sun Jul 17, 2005 5:17 pm

Anyone have the changes to the $String objects in this macro, only occurences in it are to do with INI file stuff that affects self buffs.

I have looked at RaidDruid and other macros to try and fix the lines myself but I just cant get them right

Spanklin
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Jul 13, 2009 1:32 am

Post by Spanklin » Thu Jul 16, 2009 12:18 am

I just tried this macro and it all works great except one thing, for some reason when I'm supposed to med at 35% my character tries to sit but ends up just sitting and standing repeatedly. my INI file looks like this. Does this have to do with something thats wrong in that file? any advice is appreciated

[Settings]
tankname=tank
mainassist1=tank
mainassist2=tank
mainassist3=tank
doassist=1
checktarget=nocheck
concuss=1
myconcgem=gem1
concnum=2
hasele=1
engagedistance=200
mainnuke=ball lightning
mainnukegem=gem4
mainnukenum=1
endnuke=ball lightning
endnukenum=1
endnukegem=gem8
mobhealth=85
stopnuke=20
stopnuke2=10
medtoggle=1
medpercent=35
manatomedup=70
manarobe=1
beginrobe=20
harvestgem=gem7
shieldofmaelin=1
maelingem=gem6
forceshield=1
forcegem=gem3
usetimewand=1
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=30
nukepause=20
startdisplay=1