Signup Now
Results 1 to 7 of 7
  1. #1
    Free User
    Join Date
    May 2016
    Posts
    15
    Reputation
    10
    Rep Power
    0

    move to another wpt at block

    Hello I have problem well bot at block for other player on 1 sqm back to another related waypoint, how do make to wait until the road is clear and move on? It is a server that can not pass through the players

    p.s sry for my english but otherwise I can not explain it :P
    Last edited by Zadymek; 05-29-2016 at 10:08 PM.

  2. #2
    Free User blakw's Avatar
    Join Date
    Dec 2013
    Posts
    2,666
    Reputation
    73
    Rep Power
    27
    @Zadymek

    if not tilereachable(33333, 22222, 1)
    then
    pausewalking(5000)
    end


    Change the 33333, 22222, 1 to sqm coordinates (x, y, z).


    Visit:
    (◣_◢)

  3. #3
    Banned
    Join Date
    Mar 2016
    Posts
    422
    Reputation
    54
    Rep Power
    0
    Quote Originally Posted by blakw View Post
    @Zadymek

    if not tilereachable(33333, 22222, 1)
    then
    pausewalking(5000)
    end


    Change the 33333, 22222, 1 to sqm coordinates (x, y, z).
    This becomes a huge issue as I don't think he meant a specific waypoint. he means his whole waypoint list.
    I haven't used windbot in a while, but maybe if you write $wptid or something instead. Does that maybe work for him?
    Make it a persistent cavebot hotkey that always checks if the current waypoint its on is reachable.

    Or use $standtime to determine how long his character has stood still.
    If no monsters, no looting, etc... and $standtime >= 4000 then pausewalking.

  4. #4
    Free User Orimorfus's Avatar
    Join Date
    Dec 2013
    Location
    Way to Deletera
    Posts
    314
    Reputation
    92
    Rep Power
    22
    put this into cavebot persistent scripts
    auto(500)
    local GoWptBack = true -- if cant reach waypoint go one waypoint back
    local MinStandtime = 5 -- minimum standtime seconds
    local Range = 0
    if not tilereachable($wptx, $wpty,$wptz) and $standtime >= MinStandtime*1000 then
    pausewalking(10000)
    moveto($wptx,$wpty,$wptz)
    if islocation(Range) then
    pausewalking(0)
    elseif GoWptBack then
    gotolabel($wptid-1)
    end
    end






    just made it, can some1 check? not fully sure how isdistance() is going to work but i guess it should be ok
    edit: changed isdistance() to islocation() seems to be better idea
    Last edited by Orimorfus; 05-30-2016 at 01:23 PM.

  5. #5
    Free User
    Join Date
    May 2016
    Posts
    15
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Orimorfus View Post
    put this into cavebot persistent scripts
    auto(500)
    local GoWptBack = true -- if cant reach waypoint go one waypoint back
    local MinStandtime = 5 -- minimum standtime seconds
    local Range = 0
    if not tilereachable($wptx, $wpty,$wptz) and $standtime >= MinStandtime*1000 then
    pausewalking(10000)
    moveto($wptx,$wpty,$wptz)
    if islocation(Range) then
    pausewalking(0)
    elseif GoWptBack then
    gotolabel($wptid-1)
    end
    end






    just made it, can some1 check? not fully sure how isdistance() is going to work but i guess it should be ok
    edit: changed isdistance() to islocation() seems to be better idea
    not work sry
    Last edited by Zadymek; 05-30-2016 at 10:38 PM.

  6. #6
    Free User Orimorfus's Avatar
    Join Date
    Dec 2013
    Location
    Way to Deletera
    Posts
    314
    Reputation
    92
    Rep Power
    22
    Quote Originally Posted by Zadymek View Post
    not work sry
    i will look into this tomorrow and figure out something that works

  7. #7
    Free User
    Join Date
    May 2016
    Posts
    15
    Reputation
    10
    Rep Power
    0
    i still need help

 

 

Posting Permissions

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