Stumped

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

bawldrik
orc pawn
orc pawn
Posts: 11
Joined: Wed Aug 11, 2004 12:40 am

Stumped

Post by bawldrik » Wed Aug 11, 2004 3:47 am

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
Oh, so they have internet on computers now! - and yes I donated

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

Re: Stumped

Post by Fuergrissa » Wed Aug 11, 2004 4:15 am

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.
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]

bawldrik
orc pawn
orc pawn
Posts: 11
Joined: Wed Aug 11, 2004 12:40 am

Post by bawldrik » Wed Aug 11, 2004 4:30 am

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
Oh, so they have internet on computers now! - and yes I donated

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

Post by wassup » Wed Aug 11, 2004 6:17 am

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" 

Mimatas
a hill giant
a hill giant
Posts: 262
Joined: Wed Mar 10, 2004 4:22 pm

Post by Mimatas » Wed Aug 11, 2004 11:33 am

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.

bawldrik
orc pawn
orc pawn
Posts: 11
Joined: Wed Aug 11, 2004 12:40 am

Post by bawldrik » Wed Aug 11, 2004 8:00 pm

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
Oh, so they have internet on computers now! - and yes I donated