Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
anti trap
#1
hello, I need an anti trap script, for example some players block the passage of the script with stacked parcels or pots. I need a script that I push out of the way
Reply

#2
Test this.

--------------------


if istrapped() then
local tiles = gettiles()

local player_x = posx()
local player_y = posy()
local player_z = posz()

for _, tile in ipairs(tiles) do
if tile.itemcount > 1 and math.abs(tile.posx - player_x) <= 1 and math.abs(tile.posy - player_y) <= 1 and tile.posz == player_z and (tile.posx ~= player_x or tile.posy ~= player_y) then
local flag = false
for __, item in ipairs(tile.items) do
if item.id == 99 or not itemhasflags(item.id, 13) then
local where = wheretomoveitem(tile.posx, tile.posy, tile.posz, false, 2)
if where.posx > 0 then
if moveitems(item.id, ground(where.posx, where.posy, where.posz), ground(tile.posx, tile.posy, tile.posz), 100) then
wait(300, 500)
flag = true
break
end
end
end
end
if flag then
break
end
end
end
end
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
not work for me =\. maybe i didn't do it right, i need to put it in persistents right?
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016