• 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. Astir Lotus

    Lua Make a player cast spell

    bump
  2. Astir Lotus

    OpenTibia Sprite Pack

    I've got a few things to share with you.
  3. Astir Lotus

    Lua Make a player cast spell

    I tested printing out inside the sources right before the if statement to check if player and spell is true. The two top rows is player userdata, and second row is spell userdata. I've tried with spellname, id userdata, and I can't get it to work. The last row is from the printing made inside...
  4. Astir Lotus

    Lua Make a player cast spell

    So, I've been looking through the C++ code to my best of knowlegde, which is next to nothing, and I guess it's implemented correctly, or not. And unless Spell and playeris true inside sources, it will push nil to lua, if I understood it correctly.
  5. Astir Lotus

    Lua Make a player cast spell

    Thank you. But I might just be stupid, unless something needs to be added. I added everything that contained "castSpell" to luascript.cpp and luascript.h Now to what results I get and how I get there. I made a talkaction to test it out with the code below. I get no errors with this code. And...
  6. Astir Lotus

    Lua Make a player cast spell

    TFS 1.3 10.98 So I have been looking back and forth trying to find a way to make a player basically force cast a spell. Something like player:castSpell("SpellName"), is something I'm looking for to say. Is there a built in way to do this to the engine, or do I have to edit sources for this?
  7. Astir Lotus

    $25 reward. Looking for suggestions on a server name

    Three Moons Kingdoms of Esteria
Back
Top