Results 1 to 3 of 3

Thread: How to clean hidden unwalkable items?

  1. #1
    Normal User ciekawski's Avatar
    Join Date
    Nov 2012
    Location
    Poland
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    How to clean hidden unwalkable items?

    How do I clean the hidden unwalkable objects?
    Now players can stop my bot completely by hiding eg. trough under large amount of gabridge.
    I try action:
    Code:
    if maround(7) > 0 and pzone == false and ((maround(1) == 0 and target.id > 0 and standtime >= 20000) or standtime >= 60000) then
        local rand = math.random(1,8)
            if (rand == 1) then move('w')
                elseif (rand == 2) then move('e')
                elseif (rand == 3) then move('n')
                elseif (rand == 4) then move('s')
                elseif (rand == 5) then move('nw')
                elseif (rand == 6) then move('ne')
                elseif (rand == 7) then move('sw')
                elseif (rand == 8) then move('se')
            end
        wait(1000)
    end
    But it seems moving diagonally not working(?)

    Even if.. how to clean unwalkable object who completely block way in small rooms?

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    depends, where are you getting stuck?

    I was getting stuck in Yalahar djiins, but only in the door way. I solved the issue by adding an action to use a desintergrate field on the ground if it failed to get through the door.

  3. #3
    Normal User ciekawski's Avatar
    Join Date
    Nov 2012
    Location
    Poland
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    It can be on every ropesport/ladder/hole on both side down and up.
    If bot is walking by map clicks and want pass hidden trough it stuck forever.


    Example: if you want to walk into the hole from south and someone rope trough +8 trash items bot will stuck with trying to reach the hole. That kind of stuck it seems to be undetectable(?). Only way what i was found is stand some sqm from hole and make action to start cleaning sqm south from hole sqm.

    It's ridiculous to do this before every that spot, especially since i was walking on MOLTS where this kind of situation can be hundred, or on rookgaard where i can't use desintegrate.

    Is there more elegan way to do this?

Posting Permissions

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