Page 1 of 1
Mod Rod Timer
Posted: Thu Sep 30, 2004 7:53 am
by rok1303
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
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
Posted: Thu Sep 30, 2004 11:23 am
by ownagejoo
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
Posted: Fri Oct 01, 2004 8:31 am
by Genza
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
Posted: Fri Oct 01, 2004 8:16 pm
by dman
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
Posted: Sat Oct 02, 2004 11:26 am
by Oid
Wow, thats just quite a few versions of that there.........
And none of em have a loop worthy of Oid.
Posted: Sat Oct 02, 2004 7:39 pm
by rok1303
Thanks a bunch for the help guys!
I'll test and let you know if there are any problems :)
--ROK
Posted: Tue Oct 05, 2004 4:37 am
by Sharp of Fairlight
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.
Posted: Tue Oct 05, 2004 9:02 am
by Night Hawk
timers would be nice, especially with these new epics with 10 minute clikie intervals
Posted: Fri Oct 08, 2004 4:27 am
by rok1303
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