Mod Rod Timer

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

rok1303
orc pawn
orc pawn
Posts: 11
Joined: Sat Jul 03, 2004 5:27 am

Mod Rod Timer

Post by rok1303 » Thu Sep 30, 2004 7:53 am

I just spent the last hour searching through Bot descriptons and looking for something that can do the following.

I'm looking for something that will monitor the chat window for the text:

"You experience a mystical transvergance."

and then tell me 5 min later that I can modulate... Maybe the notice can be done in an overlay like I have seen some of the exp trackers do?

I know this is really simple, but I always lose track of time when I'm modding and forget to start my watch or whatever I'm using to know when to do it again :shock:

I have seen some mage bots that will mod for you, but I usually only like to do it when I'm at 100% health so just the notice would be sweet...

Thanks for your time!

--ROK

ownagejoo
orc pawn
orc pawn
Posts: 26
Joined: Mon Jul 19, 2004 4:12 pm

Post by ownagejoo » Thu Sep 30, 2004 11:23 am

here is a simple little mac to do it automatically for you. now I am at work and have not run it. I took it from some of my other Macs that use the checks as part of their routines if anyone see's any mistakes please point them out. Also needs spell_routines.inc to run

GL

Code: Select all

|rodtimer.mac - make sure you don't have a Rod
|already in inventory and there is a space for it 
|and that you have the spell memmed.  Will summon 
|one and cast it every 5 mins if mana is < 85 and 
|HPs are = 100 percent and recast it when 
|used up. will run until you /end it   ownagejoo

#include spell_routines.inc 

Sub Main

/declare RodTimer timer outer 0 
/varset RodTimer 0 

/declare ModRod outer 
/varset ModRod 0 

:Start

/call RodCheck
/call RodCastCheck

/goto :Start
/return

Sub RodCheck

/if (${ModRod}==0) { 
  /target myself 
  /call cast "Rod of Mystical Transvergence" 
  /delay 3 
  /varset ModRod 3 
  /autoinv 
  } 
/return


Sub RodCastCheck
/if (${Me.PctHP}=100 && ${RodTimer}<=0) &&(${Me.PctMana}<=90 { 
    /call cast "Rod of Mystical Transvergance" item
    /if (${Macro.Return.Equal["CAST_SUCCESS"]}) { 
      /varcalc ModRod ${ModRod} - 1 
      /echo ModRod timer set to 3200 
      /varset RodTimer 3200 
    }
}
/return

Genza
orc pawn
orc pawn
Posts: 11
Joined: Thu Jul 22, 2004 2:13 pm

Post by Genza » Fri Oct 01, 2004 8:31 am

untested. transvergence sp?

Code: Select all

#event mod "You experience a mystical transvergence."

Sub Main
  :loop
  /doevents
  /goto :loop


Sub event_mod
 /delay 5m
 /echo modul8 urself d00d
 /return

dman
a hill giant
a hill giant
Posts: 181
Joined: Fri Dec 05, 2003 12:54 pm

Post by dman » Fri Oct 01, 2004 8:16 pm

Code: Select all

#event Modrod "You experience a mystical transvergence." 

Sub Main 
 /declare ModTimer timer

  :loop 
  /doevents 
  /delay 1
  /goto :loop 


Sub Event_Modrod
 /varset ModTimer 5m
 /return

Sub Event_Timer
 /echo Modrod useable
 /popup use yer rod
 /return

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Sat Oct 02, 2004 11:26 am

Wow, thats just quite a few versions of that there.........

And none of em have a loop worthy of Oid.
Smokey the Lax says only you can prevent reproduction.

rok1303
orc pawn
orc pawn
Posts: 11
Joined: Sat Jul 03, 2004 5:27 am

Post by rok1303 » Sat Oct 02, 2004 7:39 pm

Thanks a bunch for the help guys!

I'll test and let you know if there are any problems :)

--ROK

Sharp of Fairlight
VIP=Very Impressive Pimpin'
Posts: 108
Joined: Wed Oct 29, 2003 3:54 pm
Location: Sweden

Post by Sharp of Fairlight » Tue Oct 05, 2004 4:37 am

If you could convince a dev to add the use of this

Code: Select all

/*0x1bd8*/   DWORD      ModrodTimer;  // Util__fasttime
in MQ2DataTypes this macro wouldn't have to use a timer since the client already keeps track of it.

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Tue Oct 05, 2004 9:02 am

timers would be nice, especially with these new epics with 10 minute clikie intervals

rok1303
orc pawn
orc pawn
Posts: 11
Joined: Sat Jul 03, 2004 5:27 am

Post by rok1303 » Fri Oct 08, 2004 4:27 am

None of the 3 work... Anybody have ideas? I changed the spellings to the correct form (transvergance).

There were no errors on the second and third ones, just nothing happened.

Thanks again for your time.

--ROK