Rogue Helper v6.0 [Complete Rogue Macro] (Updated: 10-26-04)

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

Moderator: MacroQuest Developers

tranze204
a lesser mummy
a lesser mummy
Posts: 39
Joined: Tue Mar 02, 2004 6:26 pm

digital

Post by tranze204 » Sat Jul 16, 2005 2:09 am

Hey digital could you help me fix the RH macro? or post an updates version? or someone that has it??

Shamna
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Sep 02, 2004 11:50 am

Post by Shamna » Sat Jul 16, 2005 1:30 pm

In order to fix the RH.mac you need to go in and change all the

Code:
} Else /if (${Varible}) }


To a format that will work with the current version of MQ2, Like this

Code:
} Else {
/if (${Varible})
}
Replaced all,it returns error ...Or not,Cant escape,cant nimble...Farewell !!!

tranze204
a lesser mummy
a lesser mummy
Posts: 39
Joined: Tue Mar 02, 2004 6:26 pm

Post by tranze204 » Sat Jul 16, 2005 2:27 pm

/if (${doChicken} && (${Me.PctHPs}<=${nimblehealth}) && !${chickentimer})
{
im getting an error saying could not find command to parce? and before i changed it.. to this it said found another subroutine? any suggestion... i changed what u guys said to new format...

the_horror
a lesser mummy
a lesser mummy
Posts: 36
Joined: Mon May 31, 2004 2:42 pm

Post by the_horror » Sat Jul 16, 2005 5:16 pm

For Instance this is what i Replaced to fix it.

Code: Select all

Sub Event_SetDisc2(string Line) 
  /varset lastevent Event_SetDisc2 
  /if (${Line.Arg[3].Equal[OFF]}) { 
    /varset doDisc2 FALSE 
    /if (${verbosity}>=0) /${channel} ** Autodisc #2 is now OFF! 
  [color=red]} else /if (${Line.Arg[3].Equal[ON]}) {[/color] 
    /varset doDisc2 TRUE 
    /if (${verbosity}>=0) /${channel} ** Autodisc #2 is now ON! 
  } else { 
    /varset doDisc2 TRUE 
    /if (${Line.Arg[3].Length}) /varset disc2 ${Line.Arg[3]} 
    /if (${Line.Arg[4]} > 0) /varset disc2end ${Line.Arg[4]} 
    /if (${Line.Arg[5]} > 0) /varset disc2reuse ${Line.Arg[5]} 
    /if (${verbosity}>=0) /${channel} ** Auto Disc #2: ${doDisc2} -> ${disc2}/${disc2reuse} mins - End: ${disc2end} 
  } 
  /ini "RHSettings.ini" "General" "AutoDisc2" "${doDisc2}" 
  /ini "RHSettings.ini" "General" "Disc2" "${disc2}" 
  /ini "RHSettings.ini" "General" "Disc2Endurance" "${disc2end}" 
  /ini "RHSettings.ini" "General" "Disc2Reuse" "${disc2reuse}" 
/return 

Code: Select all

Sub Event_SetDisc2(string Line) 
  /varset lastevent Event_SetDisc2 
  /if (${Line.Arg[3].Equal[OFF]}) { 
    /varset doDisc2 FALSE 
    /if (${verbosity}>=0) /${channel} ** Autodisc #2 is now OFF! 
 [color=red]} else {
    /if (${Line.Arg[3].Equal[ON]}) { [/color]
   /varset doDisc2 TRUE 
    /if (${verbosity}>=0) /${channel} ** Autodisc #2 is now ON! 
  } else { 
    /varset doDisc2 TRUE 
    /if (${Line.Arg[3].Length}) /varset disc2 ${Line.Arg[3]} 
    /if (${Line.Arg[4]} > 0) /varset disc2end ${Line.Arg[4]} 
    /if (${Line.Arg[5]} > 0) /varset disc2reuse ${Line.Arg[5]} 
    /if (${verbosity}>=0) /${channel} ** Auto Disc #2: ${doDisc2} -> ${disc2}/${disc2reuse} mins - End: ${disc2end} 
  } 
[color=red]}[/color]
  /ini "RHSettings.ini" "General" "AutoDisc2" "${doDisc2}" 
  /ini "RHSettings.ini" "General" "Disc2" "${disc2}" 
  /ini "RHSettings.ini" "General" "Disc2Endurance" "${disc2end}" 
  /ini "RHSettings.ini" "General" "Disc2Reuse" "${disc2reuse}" 
/return 
Not sure if it is completely the correct way to do it. But it is working for me so far.

User avatar
ethelby
orc pawn
orc pawn
Posts: 10
Joined: Wed Mar 17, 2004 11:49 pm

Post by ethelby » Sat Jul 16, 2005 5:43 pm

So... you wanna post your working copy so we don't all have to make the same changes? Please? :)

the_horror
a lesser mummy
a lesser mummy
Posts: 36
Joined: Mon May 31, 2004 2:42 pm

Post by the_horror » Sat Jul 16, 2005 5:46 pm

Dont have all the bugs worked out of it yet. Been to busy doing other stuff to go through and fix everything. Soon as i finish fixing it i will post what i have.

skyler
a snow griffon
a snow griffon
Posts: 311
Joined: Wed May 11, 2005 9:22 am

Post by skyler » Sat Jul 16, 2005 6:02 pm

ethelby wrote:So... you wanna post your working copy so we don't all have to make the same changes? Please? :)
Don't be so lazy. Learn a little and do it yourself. This is a very easy fix. The very basics of any program language

User avatar
ethelby
orc pawn
orc pawn
Posts: 10
Joined: Wed Mar 17, 2004 11:49 pm

Post by ethelby » Sat Jul 16, 2005 6:38 pm

Yeah I know the syntax is just like PHP but I can't work on macro's while I'm playing :(

is

Code: Select all

} ELSE {
       /IF (conditions) {
      }
}
the only valid way to do an Else If ? is there not a way to keep an ELSE IF statement on one line in the macros?

skyler
a snow griffon
a snow griffon
Posts: 311
Joined: Wed May 11, 2005 9:22 am

Post by skyler » Sat Jul 16, 2005 7:27 pm

if you wanted to get technical, there is no "Else If" statements in any language. It's just an "Else" statement then an "If". It would seem that they changed the else statements to be just like the if statements.

keichii12
orc pawn
orc pawn
Posts: 11
Joined: Fri Oct 29, 2004 5:51 pm
Location: zzzzzz

Post by keichii12 » Sun Jul 17, 2005 1:12 am

Been messing around with this, and I've got it to start just fine, but after the first time I attack it stops responding. I also get the error:

Code: Select all

/varset failed, variable 'dynclose' not found
rh.mac@254 (Main): /if ($(ini[THSettings.ini, General,DynamicCloseness.NotEqual[NULL]}) /varset dynclose $(Ini[RHSettings.ini,General,DynamicCloseness]} 
I could still change the closeness and toggle dynclose, but still would stop responding after the first time attack was turned off.

tranze204
a lesser mummy
a lesser mummy
Posts: 39
Joined: Tue Mar 02, 2004 6:26 pm

Working

Post by tranze204 » Sun Jul 17, 2005 11:27 am

With todays new Mq2 release that deal with ELSE the original macro seems to be in working order again... well so far that i have tests...

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

Post by JimJohnson » Sun Jul 17, 2005 11:41 am

keichii12 wrote:Been messing around with this, and I've got it to start just fine, but after the first time I attack it stops responding. I also get the error:

Code: Select all

/varset failed, variable 'dynclose' not found
rh.mac@254 (Main): /if ($(ini[THSettings.ini, General,DynamicCloseness.NotEqual[NULL]}) /varset dynclose $(Ini[RHSettings.ini,General,DynamicCloseness]} 
I could still change the closeness and toggle dynclose, but still would stop responding after the first time attack was turned off.
Check to see if its declared in the /delcare section

Shamna
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Sep 02, 2004 11:50 am

Post by Shamna » Mon Jul 18, 2005 1:06 pm

still cant get it to work sadly...Anyone kind enough to post a repaired macro?

User avatar
ethelby
orc pawn
orc pawn
Posts: 10
Joined: Wed Mar 17, 2004 11:49 pm

Post by ethelby » Mon Jul 18, 2005 1:24 pm

Have you downloaded the newest version of MQ dated 7-16? It corrected most if not all the issues with RH introduced in the 7-15 version.

Make sure you go back to the original RH macro when you get the 7-16 version of MQ2 compiled.

Shamna
decaying skeleton
decaying skeleton
Posts: 7
Joined: Thu Sep 02, 2004 11:50 am

Post by Shamna » Tue Jul 19, 2005 5:52 am

No,i didnt..compiling right now...thanks for heads up.