• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. OperatorMopa

    TFS 1.2 return tile id

    It works ! Thank you :)
  2. OperatorMopa

    TFS 1.2 return tile id

    onStepIn is only used to test I need to get tile id every step my character make in function Player:onMove(direction) which i've added using your commit: https://github.com/otland/forgottenserver/pull/839/commits
  3. OperatorMopa

    TFS 1.2 return tile id

    function onStepIn(creature, item, position, fromPosition) creature:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, Position(creature:getPosition()):getTile():getThing(STACKPOS_GROUND):getId()) end data/movements/scripts/test.lua:2: attempt to call method 'getTile' (a nil value) stack...
  4. OperatorMopa

    TFS 1.2 return tile id

    creature:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, creature:getPosition():getTile()) attempt to call method 'getTile' (a nil value)
  5. OperatorMopa

    TFS 1.2 return tile id

    Hello, i need a function telling me ground ID, that craeture is on. I've tried creature:getTile(), but it returns empty string. Any ideas?
  6. OperatorMopa

    onMoveCreature event [TFS 1.2]

    I don't need function to move my character, i need event to track every step EDIT. I've done it using https://github.com/otland/forgottenserver/pull/839/commits
  7. OperatorMopa

    onMoveCreature event [TFS 1.2]

    I've tried it , and it doesn't work for me or i have incorrectly added the creaturescript <event type="move" name="CreatureMove" script="test.lua" /> test.lua function onMove(creature, newPos, oldPos) creature:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "TEST") end Nothing happens :/...
  8. OperatorMopa

    onMoveCreature event [TFS 1.2]

    You're right ! Thanks ;) I'll check it
  9. OperatorMopa

    onMoveCreature event [TFS 1.2]

    Hello guys, i need to track tile id every step i make, so onstepin/onstepout is useless, becouse i would have to add every tile to the script. I've found onMoveCreature event, but it seems like it doesn't work, or i don't know how it works. I've enabled it in events.xml and added a simple...
  10. OperatorMopa

    Lua TFS 1.2 onAttack() or onEquip() - help

    The problem is, I need player (attacker) parametr to execute lua function (for example even simple onSay every time when character target a creature) , but there is only target. EDIT. Ok, i used "self" - keep fighting :D EDIT 2. THANK YOU ! : )
  11. OperatorMopa

    Lua TFS 1.2 onAttack() or onEquip() - help

    Can You tell me something more about it? How it works and how to use it ?
  12. OperatorMopa

    Lua TFS 1.2 onAttack() or onEquip() - help

    Hello, I have a problem with my script. I need to execute one lua function when character attacks creature OR character equips item with specified ID. I've tried with onEquip function and it works ( lua function executes ) but there is a bug - getWeapon() in c++ returns 0 (as if there were NO...
  13. OperatorMopa

    TFS 1.1 and Tibia 10.76

    Same here. Server is not receiving any packet when using equip hotkey
  14. OperatorMopa

    TFS 1.1 and Tibia 10.76

    Can you help me ? When parse method 0x77 is initiated ? I've edited console , now it shows me every recvbyte even not existing in switch and there's not 0x77( i've added new equip hotkey, used it, tested in every way possible and nothing)
  15. OperatorMopa

    Linux items.otb 10.7

    nice :D you ask for help , and if u solve a problem you dont want to share xD nvm, its already updated
  16. OperatorMopa

    New items.otb

    Hello, do u know how to get items.otb from newest client version ?
  17. OperatorMopa

    Linux items.otb 10.7

    How did u solve it ?
  18. OperatorMopa

    House Casino Script

    Hello, what's the price for house casino script ? :)
  19. OperatorMopa

    Xenobot vs Windobot

    Which of them is better ? ( CPU ussage, more scripts, easier, less detectible)
  20. OperatorMopa

    [Gesior 2012] First Tibia Global Layout

    change the 127.0.0.2 in install.txt into 127.0.0.1 and problem solved ;)
Back
Top