Log in

View Full Version : randomize waypoints



bubu
12-15-2016, 19:39
so i made this script with random waypoints. The bot picks one of the three waypoints and goes there.
Question: Is there a easyier way of doing this?

setMeleeKill wild warrior
setMeleeKill snake
setMeleeKill wolf
setMeleeKill bear
setMeleeKill valkyrie
setLoot D7 0B

gotoscriptline $nlineoflabel:node{$randomnumber:1>3$}$
:node1
move 32283,32123,7
gotoscriptline $nlineoflabel:nextarray$
:node2
move 32281,32124,7
gotoscriptline $nlineoflabel:nextarray$
:node3
move 32283,32127,7
gotoscriptline $nlineoflabel:nextarray$

:nextarray
gotoscriptline $nlineoflabel:wtf{$randomnumber:1>3$}$
:wtf1
move 32287,32134,7
gotoscriptline $nlineoflabel:nextarray1$
:wtf2
move 32283,32135,7
gotoscriptline $nlineoflabel:nextarray1$
:wtf3
move 32286,32138,7
gotoscriptline $nlineoflabel:nextarray1$

:nextarray1
gotoscriptline $nlineoflabel:ftw{$randomnumber:1>3$}$
:ftw1
move 32258,32149,7
gotoscriptline 0
:ftw2
move 32259,32150,7
gotoscriptline 0
:ftw3
move 32257,32149,7
gotoscriptline 0

You should be north of thais (wild warrior, valkyrie) and the script should work fine

Pilon
12-15-2016, 21:04
it's nice to see new posts :P i thought the forum was dead :(

bubu
12-15-2016, 22:52
time to bring some life back ;)

you script aswell?

for the waypoints i was thinking of something like this:

move 32258,32149,7 or move 32259,32150,7 or move 32257,32149,7

would be all in one line

are there such operators?

xHellsx
12-16-2016, 03:53
time to bring some life back ;)

you script aswell?

for the waypoints i was thinking of something like this:

move 32258,32149,7 or move 32259,32150,7 or move 32257,32149,7

would be all in one line

are there such operators?

No; if you wanted to randomise the movements for each waypoint in the script you'd need an individual randomiser and 3~ waypoints.

But its the attacking hex that is detectable (clearly) with blackdproxy at this time; so it isn't the unrandomised walking paths (especially considering that blackds walking method is much more random than that of other bots)

bubu
12-16-2016, 16:03
Is the attacking hex better in blackd for tibia 11?

xstojakes
12-30-2016, 05:59
I think your mechanism will not loop a cpu much, this is good way to make a multiple caves botter with responder. ++Safety. But here must be some tool to generate this arrays. Some script in bash?