View Full Version : Haste Recast and RT Checks - Any Help?
itharr
04-07-2008, 12:30 PM
Question for everyone, I'm trying to do something fairly simple in a script, but apparantly I'm missing something.
start:
target %s
kill
pause 4
send 1 fakeperson
match HasteRecast ...wait
goto start
So basically, I'm trying to figure out a way to automatically recast Haste. The problem with the above is that the mana transfer attempt doesn't happen until the roundtime from the KILL is done, regardless of what kind of pause I put in there. Is there a way to sidestep this functionality? The logic in the script is that my RT while Hasted is only 3 seconds, and 6 otherwise.
If anyone else has a suggestion on a way to detect Haste falling off, that would work too.
Using Stormfront, btw.
Thanks!
Drunken Durfin
04-07-2008, 12:35 PM
Use Lich, best way to solve this.
Deathravin
04-07-2008, 12:48 PM
I thought I was the only one that did strange things to see if I was in RT...
send 1 fakename
I have a script that I do 'fly' to check... you can't fly in RT, but out or RT it says "What are ya some kinda bird?"
itharr
04-07-2008, 01:22 PM
What's the script? How did you bypass the auto RT Wait that Stormfront apparantly does?
Deathravin
04-07-2008, 01:28 PM
Just because SF waits the specified # of seconds the RT is for, doesn't mean it's infallable. All scripts should have a RT checker - usually it's just the same command again, but in my case it was for a fast succession of movements and I didn't want to screw it up and be lost because I missed an RT in the front.
Of course, this is all moot since lich does this automatically with fput and multimove.
itharr
04-07-2008, 01:29 PM
So there's no way to do this in Stormfront by itself I take it?
Celephais
04-07-2008, 01:34 PM
start:
target %s
match start RT: 3 seconds
match HasteRecast RT: 6 seconds
kill
matchwait
replace [RT: 3 seconds] with whatever the proper text is.
roller81
04-07-2008, 06:02 PM
Are you wanting this to swing automatically, or just detect when haste stopped and recast it? I'd do something like this:
start:
incant 506
match Good You begin to notice the world slow down around you. Strange.
match pauseOne ...wait
matchwait
Good:
echo haste in effect
waitfor You notice that things have returned to their normal speed.
pauseOne:
pause
goto start
only thing with if you're looking for an exact rt, 3 or 6, if you pickup coins or boxes and are encumbered, it wouldnt go anywhere if that rt changes to 4..unless you put matches for that too
itharr
04-07-2008, 10:45 PM
Thanks Celephais, that's exactly what I was looking for.
Thanks for the helpful advice all.
Quick Question regarding Lich:
Anyone give me a ballpark estimate of the learning curve for it? I'm not a Coder, tho I can generally look at code and get an idea of what its doing. I don't mind devoting time to something, but I just started a new job so I have to learn our current Product Suite as it is. Anyone give me something on a 1-10 scale?
Thanks!
Gibreficul
04-11-2008, 06:33 AM
Anyone give me a ballpark estimate of the learning curve for it? I'm not a Coder, tho I can generally look at code and get an idea of what its doing. I don't mind devoting time to something, but I just started a new job so I have to learn our current Product Suite as it is. Anyone give me something on a 1-10 scale?
Thanks!
I made huge steps after dedicating only a week or so to LEARNING Ruby. From then on, I kept stacking new information, I still learn something every time I write a new script for lich.
Currently my favorite thing in lich...
Checkmana/stats/skills
if/elsif statements
while/until statements
arrays
regular expressions,(SF does this) and the ability to backreference them. (but not that)
matchfindword, matchfind, matchbefore, matchafter, matchboth, (All fun if used properly)
checknpcs and checkpcs, and the various things it'll do. (such as checknpcs.length to determine mobsize)
Google a ruby tutorial. It's a good place to start if you are just breaking into using Lich. Also, open the txt files associated with Lich once you download them. Open some of the scripts, Shaelun has a LOT of comment lines explaining what's going on. :club:
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.