Signup Now
Results 1 to 9 of 9
  1. #1
    Free User bolsonaroftw's Avatar
    Join Date
    Apr 2017
    Posts
    65
    Reputation
    1
    Rep Power
    0

    Persistent to open doors, desk etc.. [getting trapped]

    people are trapping me there and if i stay afk ill die, i would like to know if any good soul around here could give me a script or anything to prevent this?? (open this desk if trapped)

    thanks
    Attached Images Attached Images

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by bolsonaroftw View Post
    people are trapping me there and if i stay afk ill die, i would like to know if any good soul around here could give me a script or anything to prevent this?? (open this desk if trapped)

    thanks


    1- Put an action on the door
    2- Get some "info cursor, HUD" and get the X,Y and Z coordinates of the blue and green square.
    3- Add coordinates X,Y, Z blue and green in action...
    4- Action:

    local Xb = 1111 -- X BLUE
    local Yb = 1111 -- Y BLUE

    local Xg = 1111 -- X GREEN
    local Yg = 1111 -- Y GREEN

    local Z = 9 --Z BLUE and GREEN

    if islocation(10) then
    if $posx >= Xb and $posy >= Yb and
    $posx <= Xg and $posy <= Yg and $posz == Z then
    usedoor($wptx,$wpty,$wptz,'open')
    end
    end

  3. #3
    Free User bolsonaroftw's Avatar
    Join Date
    Apr 2017
    Posts
    65
    Reputation
    1
    Rep Power
    0
    I have no idea how to do that, can you do and post the script back so i can get this shit?? I really dont know what to do.
    Attached Files Attached Files

  4. #4
    Free User bolsonaroftw's Avatar
    Join Date
    Apr 2017
    Posts
    65
    Reputation
    1
    Rep Power
    0
    i tried but the hud info seems happens to change and i tried but nothing happens

  5. #5
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23


    Action:

    local Xb = 32763 -- X BLUE
    local Yb = 31284 -- Y BLUE

    local Xg = 32766 -- X GREEN
    local Yg = 31284 -- Y GREEN

    local Z = 7 --Z BLUE and GREEN

    if islocation(10) then
    if $posx >= Xb and $posy >= Yb and
    $posx <= Xg and $posy <= Yg and $posz == Z then
    uselever($wptx,$wpty,$wptz,2336)
    end
    end


    It is not "usedoor()" as I had put it and yes "uselever()"

  6. #6
    Free User bolsonaroftw's Avatar
    Join Date
    Apr 2017
    Posts
    65
    Reputation
    1
    Rep Power
    0
    thanks ill try again, but it also has to remove trash from floor right?? because eventually if people try to trap me there again ofc they gonna put trash above the door right?

  7. #7
    Free User bolsonaroftw's Avatar
    Join Date
    Apr 2017
    Posts
    65
    Reputation
    1
    Rep Power
    0
    yeah it doesnt work, i give up thanks for trying to help!

  8. #8
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by bolsonaroftw View Post
    thanks ill try again, but it also has to remove trash from floor right?? because eventually if people try to trap me there again ofc they gonna put trash above the door right?
    https://forums.tibiawindbot.com/show...Furniture-Trap

  9. #9
    Free User Nimo's Avatar
    Join Date
    Dec 2015
    Posts
    1,203
    Reputation
    120
    Rep Power
    20
    Also you can simply add new special area there.

 

 

Posting Permissions

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