Log in

View Full Version : How to properly randomize Conditional Events



Malmis
03-02-2012, 12:05
$_fishing$
#string=#
yes
0
$numericalexp:{$randomnumber:1>3$}*1000$
0
exiva fish
The red code. Use it like it is to have whole seconds as delay, try only $randomnumber:1000>30000$ and you get between 1000 and 30000 ms cooldown.

Much better than having a high and random ticker for the events, they should react in 100-200ms not 250-500.
Having high timer tick in Conditional Events is simulating lag, not a player.
Using this is better, for example using $randomnumber:1100>1250$ as event cooldown for casting healing spells.

xHellsx
03-02-2012, 18:48
Fixed the title for you, for some reason when I went to edit it it apeared correct... Weird.

Anyway, I'm not sure if this is true but I thought every action preformed by BlackDProxy had a randomised "wait" time inbetween. At least in Cavebot and Runemaker you can change them. Can't check conditional window at the moment tho.

If not I guess this is useful :)

Malmis
03-02-2012, 19:03
For fishing or runemaking it's perfect for randomization. Yeah BD is already random but I'd rather check the conds really often and react quicly then only use the cooldown for making it random.

xHellsx
03-02-2012, 21:28
For fishing or runemaking it's perfect for randomization. Yeah BD is already random but I'd rather check the conds really often and react quicly then only use the cooldown for making it random.

Fair enough - Stickied

provocate
03-03-2012, 01:25
I was away from BlackD Tools way too long! xD I got so much to learn once again!

And you Malmis are great teacher :D! Even tho I get lost almost instantly checking your scripts with all those '$>=string<fastexiva>WHATEVER' I think I'll manaage to fully understand those, not just downloading them and using them. All scripts I ever used were 'hand written' by myself for personal use, but nothing worth comparing to yours lolz. Now I might consider of using someone else's scripts ... yours ofc. :P

I just hope Daniel manages to fix up Cavebot, atm it just runs around as crazy beheaded chicken. >.<

Great work, this one helped me a lot! :D

Malmis
03-03-2012, 03:03
Thank you. :)
And I always try to make a bit tutorial-like posts with my thread-starts for scripts :P
I'll see if I make some more real tutorials, anyways the Rookgaard tutorial if you look at the code the AutoRook bot hexes also work as comments and tells you what's going on so you can watch in-game what the code does and learn that way, might try to release a "verbose" version soon for learning, with more AutoRook chat. :P