• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Help! People are entering inside others dp (pz)

1268995

Member
Joined
Sep 9, 2010
Messages
422
Reaction score
13
Hello guys, o have a bug on my otserver.

People can enter inside other people and steal their item on depot.

How can i solve that? I still want that people can pass throw others inside a PZ ZONE, but NOT ON DEPOT!

IDK if it can help, but the item of dp tile =
glowing switch.
ItemID: [11059]
 
if getTileInfo(position).creatures > 1 then if fromPosition.x == 0 or (fromPosition.x == position.x and fromPosition.y == position.y) then local p = getCreaturePosition(cid) local pp = { {x = p.x + 1, y = p.y, z = p.z, stackpos = 0}, {x = p.x - 1, y = p.y, z = p.z, stackpos = 0}, {x = p.x, y = p.y + 1, z = p.z, stackpos = 0}, {x = p.x, y = p.y - 1, z = p.z, stackpos = 0} } for x = 1, #pp do local thing = getThingFromPos(pp[x], false).uid if thing ~= 0 and not hasItemProperty(thing, CONST_PROP_BLOCKSOLID) then fromPosition = pp[x] end end end doTeleportThing(cid, fromPosition, false) end
TY man, solved for me too, pretty nice!!
2021 update.
 
Back
Top