Skip to content

Instantly share code, notes, and snippets.

View at15four2020's full-sized avatar
๐Ÿ“†
The time is going

Fifteen Four at15four2020

๐Ÿ“†
The time is going
View GitHub Profile
@at15four2020
at15four2020 / CSPickup.gprog.js
Created August 22, 2021 16:43
Pickup anything, anywhere, client-side.
interceptToServer("PickupObject", function(message) {
message.setBlocked(true)
const packet = message.getPacket()
packet.readInteger()
const id = packet.readInteger()
sendToClient(HPacketToClient("ObjectRemove", [""+id, false, -1, 0]))
sendToClient(HPacketToClient("ItemRemove", [""+id, -1]))
})
function getGameDataUrl(host) {
switch(host) {
case "game-nl.habbo.com":
return "https://www.habbo.nl/gamedata/";
case "game-br.habbo.com":
return "https://www.habbo.com.br/gamedata/";
case "game-tr.habbo.com":
return "https://www.habbo.com.tr/gamedata/";
case "game-de.habbo.com":
return "https://www.habbo.de/gamedata/";