Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Jun 2014
    Posts
    2
    Reputation
    10
    Rep Power
    0

    Action sometimes stops working

    I've got script like this (it does open fibula doors):

    if topitem($wptx, $wpty,$wptz).id == 1631 and islocation(1) then
    useitemon(2968, 0, ground(32190, 32432, 8))
    waitping() waitping()
    end

    if topitem($wptx, $wpty,$wptz).id == 1632 and islocation(1) then
    useitem(1632, ground(32190, 32432, 8))
    waitping() waitping()
    end


    But in some situations it causes weird loop bug which stops my character completely until someone opens the door or I'll right click on another node/action in cavebot.
    Is it to complex? Is there any easier script to open doors with key?What can cause the problem?

  2. #2
    Free User
    Join Date
    Apr 2014
    Location
    Netherlands
    Posts
    219
    Reputation
    13
    Rep Power
    21
    What you want is unlock a locked door with the key, open the door, move trough, lock the door again?

  3. #3
    Free User
    Join Date
    Jun 2014
    Posts
    2
    Reputation
    10
    Rep Power
    0
    stand in front of the door>check if it's locked/open> if locked then use key > if not locked but closed then just open door> if open - go through and close the door (don't lock)

    i dont want to lock it again
    Last edited by psycho; 06-18-2014 at 01:25 AM.

 

 

Posting Permissions

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