Events

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

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 » Wed Dec 08, 2004 5:08 pm

Tried it out with the 11/25 zip, now neither of them fire. Tried some of my other aliases and they work.
[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]

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 » Wed Dec 08, 2004 5:45 pm

After further searching, here's a list of my aliases that no longer work with the 11/25 zip:

These events don't work at all. Notice that all of them have an R in them except for SetMedPct(Which is right before a string of 4 events that do have R though /shrug), which was pointed out by someone who did some testing in the Rogue Helper thread (Probably not the best thread to be posting an issue like this, but I saw it there). In fact, the only event I have with an R in it that works is RDPause, in which R happens to be the first letter. Of course none of this means anything to me, but I know you :

Code: Select all

#Event SetClickRods     "[MQ2] SetClickRods#*#"
#Event SetDebuffRecasts "[MQ2] SetDebuffRecasts#*#"
#Event SetDoTRecasts    "[MQ2] SetDoTRecasts#*#"
#Event SetHealGroup     "[MQ2] SetHealGroup#*#"
#Event SetHealRamp      "[MQ2] SetHealRamp#*#"
#Event SetInterrupt     "[MQ2] SetInterrupt#*#"
#Event SetMedPct        "[MQ2] SetMedPct#*#"
#Event SetPCRadius      "[MQ2] SetPCRadius#*#"
#Event SetPCZRadius     "[MQ2] SetPCZRadius#*#"
#Event SetNPCRadius     "[MQ2] SetNPCRadius#*#"
#Event SetNPCZRadius    "[MQ2] SetNPCZRadius#*#"
#Event SetRampTank      "[MQ2] SetRampTank#*#"
#Event SetRodMana       "[MQ2] SetRodMana#*#"
#Event SetSnare         "[MQ2] SetSnare#*#"
#Event SetSnareRecasts  "[MQ2] SetSnareRecasts#*#"

/echo SetClickRods
/echo SetDebuffRecasts
/echo SetDoTRecasts
/echo SetHealGroup
/echo SetHealRamp
/echo SetInterrupt
/echo SetMedPct
/echo SetPCRadius
/echo SetPCZRadius
/echo SetNPCRadius
/echo SetNPCZRadius
/echo SetRampTank
/echo SetRodMana
/echo SetSnare
/echo SetSnareRecasts

Sub Event_SetClickRods(string Line)
/varset RDTempVar ${ClickRods}
/call ToggleVar "${Line}"
/varset ClickRods ${RDTempVar}
/ini "${MyIni}" Settings ClickRods ${RDTempVar}
/if (${ClickRods}==0) {
  /echo Auto Rod Clicking is now OFF
} else {
  /echo Auto Rod Clicking is now ON
}
/return

Sub Event_SetDebuffRecasts(string Line)
/if (${Line.Arg[3].Length}) {
  /varset DebuffRecasts ${Line.Arg[3]}
  /ini "${MyIni}" DebuffStuff DebuffRecasts ${RDTempVar}
}
/echo I will recast debuffs for: ${DebuffRecasts} resists
/return

Sub Event_SetDoTRecasts(string Line)
/if (${Line.Arg[3].Length}) {
  /varset DoTRecasts ${Line.Arg[3]}
  /ini "${MyIni}" DoTStuff DoTRecasts ${RDTempVar}
}
/echo I will recast dots for: ${DoTRecasts} resists
/return

Sub Event_SetHealGroup(string Line)
/varset RDTempVar ${HealGroup}
/call ToggleVar "${Line}"
/varset HealGroup ${RDTempVar}
/ini "${MyIni}" HealStuff GroupHealing ${RDTempVar}
/if (${HealGroup}==0) {
  /echo Healing Group is now OFF
} else {
  /echo Healing Group is now ON
}
/return

Sub Event_SetHealRamp(string Line)
/varset RDTempVar ${DoRamp}
/call ToggleVar "${Line}"
/varset DoRamp ${RDTempVar}
/ini "${MyIni}" HealStuff HealRamp ${RDTempVar}
/if (${DoRamp}==0) {
  /echo Healing Rampage is now OFF
} else {
  /echo Healing Rampage is now ON
}
/return

Sub Event_SetInterrupt(string Line)
/varset RDTempVar ${Stop4Pad}
/call ToggleVar "${Line}"
/varset Stop4Pad ${RDTempVar}
/ini "${MyIni}" HealStuff AutoInterrupt ${RDTempVar}
/if (${Stop4Pad}==0) {
  /echo Interrupt to heal is now OFF
} else {
  /echo Interrupt to heal is now ON
}
/return

Sub Event_SetMedPct(string Line)
/if (${Line.Arg[3].Length}) {
  /varset MedPct ${Line.Arg[3]}
  /ini "${MyIni}" Settings MedPct ${Line.Arg[3]}
}
/echo I will start sitting, or summon my horse at: ${MedPct}% Mana
/return

Sub Event_SetPCRadius(string Line)
/if (${Line.Arg[3].Length}) {
  /varset PCRadius ${Line.Arg[3]}
  /ini "${MyIni}" Settings PCRadius ${Line.Arg[3]}
}
/echo I will AE Heal PCs within: ${PCRadius} feet
/return

Sub Event_SetPCZRadius(string Line)
/if (${Line.Arg[3].Length}) {
  /varset PCZRadius ${Line.Arg[3]}
  /ini "${MyIni}" Settings PCZRadius ${Line.Arg[3]}
}
/echo I will AE Heal PCs: ${PCZRadius} feet above or below me
/return

Sub Event_SetRampTank(string Line)
/if (${Line.Arg[3].Length}) {
  /varset RampTank ${Spawn[${Line.Arg[3]} pc].CleanName}
  /ini "${MyIni}" HealStuff RampTank ${Spawn[${Line.Arg[3]} pc].CleanName}
}
/echo Rampage Tank is: ${RampTank}
/return

Sub Event_SetRodMana(string Line)
/if (${Line.Arg[3].Length}) {
  /varset RodMana ${Line.Arg[3]}
  /ini "${MyIni}" Settings RodMana ${RDTempVar}
}
/echo I start eating Mod Rods at: ${RodMana}% Mana
/return

Sub Event_SetSnare(string Line)
/varset RDTempVar ${DoSnare}
/call ToggleVar "${Line}"
/varset DoSnare ${RDTempVar}
/ini "${MyIni}" SnareStuff DoSnare ${RDTempVar}
/if (${DoSnare}==0) {
  /echo Auto Snare is now OFF
} else {
  /echo Auto Snare is now ON
}
/return

Sub Event_SetSnareRecasts(string Line)
/if (${Line.Arg[3].Length}) {
  /varset SnareRecasts ${Line.Arg[3]}
  /ini "${MyIni}" SnareStuff SnareRecasts ${RDTempVar}
}
/echo I will recast snare for: ${SnareRecasts} resists
/return
The SetDoTPct event also triggers SetDoT

Code: Select all

#Event SetDoT           "[MQ2] SetDoT#*#"
#Event SetDoTPct        "[MQ2] SetDoTPct#*#"

/echo SetDoT
/echo SetDoTPct

Sub Event_SetDoT(string Line)
/varset RDTempVar ${DoDoTs}
/call ToggleVar "${Line}"
/varset DoDoTs ${RDTempVar}
/ini "${MyIni}" DoTStuff DoDoTs ${RDTempVar}
/if (${DoDoTs}==0) {
  /echo Auto DoTing is now OFF
} else {
  /echo Auto DoTing is now ON
}
/return

Sub Event_SetDoTPct(string Line)
/if (${Line.Arg[3].Length}) {
  /varset DoTMinHPs ${Line.Arg[3]}
  /ini "${MyIni}" DoTStuff StopDoTing ${Line.Arg[3]}
}
/echo I will stop DoTing when the mob is at: ${DoTMinHPs}% HPs
/return
SetSotWPct also triggers SetSotW

Code: Select all

#Event SetSotW          "[MQ2] SetSotW#*#"
#Event SetSotWPct       "[MQ2] SetSotWPct#*#"

/echo SetSotW
/echo SetSotWPct

Sub Event_SetSotW(string Line)
/varset RDTempVar ${DoSotW}
/call ToggleVar "${Line}"
/varset DoSotW ${RDTempVar}
/ini "${MyIni}" HealStuff DoSotW ${RDTempVar}
/if (${DoSotW}==0) {
  /echo Auto Spirit of the Wood is now OFF
} else {
  /echo Auto Spirit of the Wood is now ON
}
/return

Sub Event_SetSotWPct(string Line)
/if (${Line.Arg[3].Length}) {
  /varset SotWPct ${Line.Arg[3]}
  /ini "${MyIni}" HealStuff SotWPct ${Line.Arg[3]}
}
/echo I will use SotW if the group average HPs is less than: ${SotWPct}%
/return
This event used to double fire too, until I changed it to XNuke:

Code: Select all

#Event SetXNuke         "[MQ2] SetXNuke#*#"
#Event SetNukePctMana   "[MQ2] SetNukePctMana#*#"

/echo SetXNuke
/echo SetNukePctMana

Sub Event_SetXNuke(string Line)
/varset RDTempVar ${DoNukes}
/call ToggleVar "${Line}"
/varset DoNukes ${RDTempVar}
/ini "${MyIni}" NukeStuff DoNukes ${RDTempVar}
/if (${DoNukes}==0) {
  /echo Auto Nuking is now OFF
} else {
  /echo Auto Nuking is now ON
}
/return

Sub Event_SetNukePctMana(string Line)
/if (${Line.Arg[3].Length}) {
  /varset NukePctMana ${Line.Arg[3]}
  /ini "${MyIni}" GeneralStuff StopNukingMana ${Line.Arg[3]}
}
/echo I will stop nuking and debuffing at: ${NukePctMana}% Mana
/return
This is the togglevar sub that each of the toggle events calls:

Code: Select all

Sub ToggleVar(string Line)
/if (!${Line.Arg[3].Length}) {
  /if (${RDTempVar}==1) {
    /varset RDTempVar 0
  } else {
    /varset RDTempVar 1
  }
}
/if (${Line.Arg[3].Equal[ON]} || ${Line.Arg[3].Equal[TRUE]} || ${Line.Arg[3].Equal[1]}) {
  /varset RDTempVar 1
}
/if (${Line.Arg[3].Equal[OFF]} || ${Line.Arg[3].Equal[FALSE]} || ${Line.Arg[3].Equal[0]}) {
  /varset RDTempVar 0
}
/return
I hope some of this is of use to you, as it's none to me. I'd just end up going through each of my events and removing Rs.
[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]

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Dec 08, 2004 6:14 pm

Ah, I have reproed the problems. I will have a fix sometime today...

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 » Wed Dec 08, 2004 7:21 pm

Yay, glad I could help
[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]

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Dec 08, 2004 9:20 pm

Sorry for not fixing the problem earlier. DKAA and I worked together in IRC a bit to get the Blech issues fixed up. We got it so that it passes all of our tests, so let us know if problems continue. Updating the zip with Blech 1.6.1 shortly.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Wed Dec 08, 2004 9:38 pm

Zip updated. Locking this thread, if you have issues with events with MQ2-20041208 begin a new thread
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0