Page 1 of 1

Stumped

Posted: Wed Aug 11, 2004 3:47 am
by bawldrik
Yesterday all downloaded macros, and some simple ones I did worked fine. Now nothing works :cry:
I am not aware of any patches during this time
example is docommand - couldn't parse ..begloop
any clues?
cheers

Re: Stumped

Posted: Wed Aug 11, 2004 4:15 am
by Fuergrissa
bawldrik wrote:Yesterday all downloaded macros, and some simple ones I did worked fine. Now nothing works :cry:
I am not aware of any patches during this time
example is docommand - couldn't parse ..begloop
any clues?
cheers
Please post the macro you want help with or at least a portion of it.
It would enable someone to actually try and help you.

Posted: Wed Aug 11, 2004 4:30 am
by bawldrik
Thanks. I am sure macro's are ok because they worked fine just yesterday. Anyway here is one of the ones that failed.

#event BegFail "#*#You must target someone to beg from first#*#"
#event BegFail "#*#You are too far away to beg#*#"
#Event SkillUp "You have become better at #1#! (#2#)"

Sub Main
:begLoop
/doevents
/if (${Me.AbilityReady[begging]}==1) /doability "begging"
/goto :begLoop
/end

Sub event_BegFail
/echo You must have a target and be close enough to beg.
/echo ((( Ending Macro )))
/end

Sub Event_SkillUp(SkillUpText,Skill,int Amount)
/popup ${Skill} increased - ${Amount}
/echo ${Skill} increased - ${Amount}
/return

Posted: Wed Aug 11, 2004 6:17 am
by wassup
Well, for one thing AbilityReady returns a boolean

So

Code: Select all

/if (${Me.AbilityReady[begging]}==1) /doability "begging"
is borked

Make it:

Code: Select all

/if (${Me.AbilityReady[begging]}) /doability "begging" 

Posted: Wed Aug 11, 2004 11:33 am
by Mimatas
Patch day. MQ should be borked.

edit: If you used the offset thread to unbork MQ, it's still likely that the offsets are not verified, and potentially incorrect.. thus re-borking the macro.

Posted: Wed Aug 11, 2004 8:00 pm
by bawldrik
Ahhh, only thing that I had done since running a bunch of macros that now don't work was to change the 2 offsets as recommended in the tradeskills area. Re-compiled and the tradeskill macros worked fine. Could this have messed up the other macros as none of them, even the simplest dont work?
cheers

Guess its all academic now anyway :P patch, arrgh
Thanks all