Przebudowałem dostępny na własne potrzeby, informuje także jak padniesz ;), udostępniam, zmień nazwy bpków tylko:
Kod PHP:
--Reopen backpacks:
local reopenBps = ("yes")
--Main Backpack Name:
local mainbp = ("Backpack")
--Loot Backpack Name:
local lootbp = ("Green Backpack")
--Gold Backpack Name:
local goldbp = ("Blue Backpack")
--Temple NPCs:
local templeNpcNames = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
--Temple Position Range (sqm):
local templePositionRange = 7
if (connected == false)
then
reconnect()
wait(600, 1800)
pausewalking(10000)
if ((pzone == true) and (maround(10, false, unpack(templeNpcNames)) >= 1)
or (pzone == true) and (islocationxyz(32787, 31276, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32595, 32744, 6, templePositionRange))
or (pzone == true) and (islocationxyz(33213, 32454, 1, templePositionRange))
or (pzone == true) and (islocationxyz(32213, 31133, 7, templePositionRange))
or (pzone == true) and (islocationxyz(33004, 31490, 11, templePositionRange))
or (pzone == true) and (islocationxyz(32649, 31925, 11, templePositionRange))
or (pzone == true) and (islocationxyz(33217, 31814, 8, templePositionRange))
or (pzone == true) and (islocationxyz(32317, 32826, 7, templePositionRange))
or (pzone == true) and (islocationxyz(33194, 32853, 8, templePositionRange))
or (pzone == true) and (islocationxyz(32369, 32241, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32360, 31782, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32957, 32076, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32732, 31634, 7, templePositionRange))
or (pzone == true) and (islocationxyz(33447, 31323, 9, templePositionRange)))
then
wait(1500)
closetibia()
wait(1500)
message("Reconnect Message: Tibia client has been closed because character was inside a temple. This is to protect your character from being killed by other players.")
end
wait(2500)
if ((reopenBps == ("yes")) and (windowcount() == 0) and (maround(7, false) == 0) and (lootbodiescount == 0))
then
setcavebot("no")
wait(1000, 2500)
setlooting("no")
wait(1000, 2500)
settargeting("no")
wait(2000, 3500)
closewindows()
wait(2000, 3500)
openitem(mainbp, "back", true)
wait(2000)
resizewindows()
wait(2000)
openitem(lootbp, mainbp, true)
wait(2000)
resizewindows()
openitem(goldbp, mainbp, true)
wait(2000)
resizewindows()
end
setcavebot("yes")
wait(1000, 2500)
setlooting("yes")
wait(1000, 2500)
settargeting("yes")
wait(2000, 3500)
end
Zakładki