Click here to buy some Tibia gold in our shop

Results 1 to 6 of 6

Thread: randomize waypoints

  1. #1
    Join Date
    Sep 2014
    Posts
    7

    Default randomize waypoints

    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
    Last edited by bubu; 12-15-2016 at 18:42.

  2. #2
    Join Date
    Sep 2016
    Posts
    3

    Default

    it's nice to see new posts :P i thought the forum was dead

  3. #3
    Join Date
    Sep 2014
    Posts
    7

    Default

    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?

  4. #4
    Join Date
    May 2007
    Posts
    1,083

    Default

    Quote Originally Posted by bubu View Post
    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)

  5. #5
    Join Date
    Sep 2014
    Posts
    7

    Default

    Is the attacking hex better in blackd for tibia 11?

  6. #6
    Join Date
    Feb 2016
    Posts
    14

    Default

    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?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •