Insane329
New Member
- Joined
- Jun 24, 2014
- Messages
- 84
- Reaction score
- 0
Hello there! I got a trouble. I am back hosting open tibia servers and i have to solve a problem. I want to make a tile, this tile on rookgaard, that requires pacc. Here is my code:
and movements.xml
The best thing is that when i was working on 7.6 servers, THERE WAS NO MOVEMENTS wtf.
Problem is here, that when i stay on this tile with action id 9922 i got teleported 1 sqm down, to "z=6".
Code:
local pos = {x = 32060, y = 32193, z = 7}
--Position where player gets teleported if he DOES NOT HAVE premium
function onStepIn(cid, item, position, fromPosition)
if(not(isPremium(cid))) then
doTeleportThing(cid, pos)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
end
return true
end
and movements.xml
Code:
<movevent event="StepIn" actionid="9922" script="premtile.lua"/>
The best thing is that when i was working on 7.6 servers, THERE WAS NO MOVEMENTS wtf.
Problem is here, that when i stay on this tile with action id 9922 i got teleported 1 sqm down, to "z=6".