Posted: Wed Jul 14, 2004 8:41 am
Removed and put in its own thread in help section.
Need to talk about MacroQuest to other MacroQuest users?
https://mq64.org/phpBB3/
Well, yeah... I did miss a comma, but the point of my comment was why use ${String[]} to convert a boolean to a string then to a boolean again.Drumstix42 wrote:Think you need another comma there Wassup ;)
Code: Select all
ForageTimer=3,5,40,255,255,0,${If[${Me.AbilityReady[Forage]},FORAGE,]}
ExodusTimer=3,5,52,0,255,255,${If[${Me.AltAbilityTimer[43].Ticks} > 0,Exodus - ${Me.AltAbilityTimer[43].TimeHMS},]}
MassGroupBuffTimer=3,5,64,0,255,255,${If[${Me.AltAbilityTimer[35].Ticks} > 0,M.G.B. - ${Me.AltAbilityTimer[35].TimeHMS},]}
SotWTimer=3,5,76,0,255,255,${If[${Me.AltAbilityTimer[185].Ticks} > 0,SoTW - ${Me.AltAbilityTimer[185].TimeHMS},]}
RadiantCureTimer=3,5,88,0,255,255,${If[${Me.AltAbilityTimer[153].Ticks} > 0,Radiant Cure - ${Me.AltAbilityTimer[153].TimeHMS},]}
DireCharmTimer=3,5,100,0,255,255,${If[${Me.AltAbilityTimer[46].Ticks} > 0,Dire Charm - ${Me.AltAbilityTimer[46].TimeHMS},]}
Code: Select all
Unparsable in calculation "g"I had this same problem, I removed the following line:Clueless_Coder wrote:I love the HUD. It's perfect f- just what the doctor ordered.
One wee problem. I lifted the code directly from the post here that adds functionality for necros and shamans (my 2 alts) and am getting the following error:
It doesn't seem to break the HUD any but the error message scrolls non stop through my MQ2 status window, making it impossible to see any other macro spam etc.Code: Select all
Unparsable in calculation "g"
Since my name says it all, other than reformattingdoes anyone have any thoughts on what's causing the error or how to fix it?
Not sure why, but every single macro that has that >0 generates that error for me. I have to remove it from any macros I have before they will run (Of course I lose some functionality, but I'm too lazy to find out why).Raid=3,5,265,180,180,180,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]} ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}
so,replace all instances of
< with <
and
> with >
should fix it. (THIS IS UNTESTED!!!)Raid=3,5,265,180,180,180,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]} ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}
Done and it works perfectly.A_Druid_00 wrote:All you have to do is Find and Replace every instance of > with > and it'll work just dandy.