Install:
Just copy and paste on Bot > Tools > Ingame macro editor
Usage:
Go to Bot > Tools. Push the button "anti push" to enable/disable the system.
Note:
1. You need to keep your backpack opened.
2. If you got kicked, try to increase the value of the dropDelay variable.
3. If you want to add more items to drop, add client item id to dropItems variable.
Script:
Just copy and paste on Bot > Tools > Ingame macro editor
Usage:
Go to Bot > Tools. Push the button "anti push" to enable/disable the system.
Note:
1. You need to keep your backpack opened.
2. If you got kicked, try to increase the value of the dropDelay variable.
3. If you want to add more items to drop, add client item id to dropItems variable.
Script:
Code:
local dropItems = { 3492, 3031 }
local maxStackedItems = 10
local dropDelay = 600
gpAntiPushDrop = macro(dropDelay , "anti push", function ()
antiPush()
end)
onPlayerPositionChange(function()
antiPush()
end)
function antiPush()
if gpAntiPushDrop:isOff() then
return
end
local tile = g_map.getTile(pos())
if tile and tile:getThingCount() < maxStackedItems then
local thing = tile:getTopThing()
if thing and not thing:isNotMoveable() then
for i, item in pairs(dropItems) do
if item ~= thing:getId() then
local dropItem = findItem(item)
if dropItem then
g_game.move(dropItem, pos(), 1)
end
end
end
end
end
end
![[Image: CZhYODA.gif]](https://i.imgur.com/CZhYODA.gif)