• 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!

Search results

  1. Evil Hero

    Action [1.3] Minecraft style crafting-table 🛠

    How about if you include one more tile, where it shows a preview (which you cannot pickup etc) of the item which gets created, so people will immediately see if what they have placed there belongs together and what the outcome would be, like you place everything on the ground and then the...
  2. Evil Hero

    Monster.xml and Monster.lua

    It converts all existing MonsterTypes into lua files, exactly what you're asking for.
  3. Evil Hero

    Learn to write revscripts?

    https://github.com/otland/forgottenserver/wiki/Revscriptsys
  4. Evil Hero

    TFS 1.X+ Please change script from function on kill to function on death in task

    have you enabled in events.xml <event class="Creature" method="onTargetCombat" enabled="1" /> ?
  5. Evil Hero

    TFS 1.X+ check talkaction origin

    Yes the event has an included variable called fromLua if it returns "true" then it's added from revscriptsys
  6. Evil Hero

    TFS 1.X+ Increased loot with rate at 1?

    Thanks for reporting ^^
  7. Evil Hero

    TFS 1.X+ Increased loot with rate at 1?

    In Talkactions => reload.lua change if param:lower() == "scripts" then to if param:lower() == "scripts" or param:lower() == "all" then Would be kind if you could open an issue at github aswell, so I can link a pr to it aswell
  8. Evil Hero

    TFS 1.X+ How can i check item hasAttribute(ITEM_ATTRIBUTE_CHARGES)

    local it = ItemType(randomic_itemsID[math.random(1, #randomic_itemsID)]) if it:getCharges() then -- item has charges end
  9. Evil Hero

    Lua onThink Technical Question

    Why would you want to send something every second, when in fact probably 90% of it doesn't even change meanwhile, that's exactly what I meant with "try to avoid onThink" which you should clearly do here. I get that you want to have it synced but it would be better to introduce some event which...
  10. Evil Hero

    Lua onThink Technical Question

    The question is, what do you even need it for, most of the time you can avoid using onThink, if you're more specific then we can give you better answers
  11. Evil Hero

    Lua [TFS 1.3] Get script to fetch player.id (from database)

    Why don't you use player:setSkullTime(0) instead of doing a query?
  12. Evil Hero

    GlobalEvent TFS 1.3 Monster Wave Event

    You can all go back to school! xD why would I call getSpectators when I can simple throw the monster ids into a table and iterate over that table and confirm that the monsters still exist (most efficient way) same with players :'D
  13. Evil Hero

    Fix/Patch onEquip/onDeEquip, properly handled at Login/Logout

    Hmm the only case I could think of where this might happen is if you manipulate the max hp straight through db on equip/deequip (dunno why would anyone do this) but incase of a normal crash nothing should actually happen because the player is not saved if the server crashes, so the stats are set...
  14. Evil Hero

    [TFS 1.3] [Revscriptsys] Easy to configure mount selling modal window

    show your script then, we can't help you without seeing anything
  15. Evil Hero

    [TFS 1.3] [Revscriptsys] Free Lua scripting service - Post your requests! Let's learn it together!

    As @Alpha already mentioned it stands for "Revisional Scripting System"
  16. Evil Hero

    What is new about otservers?

    I'm not shy I just didn't have the time yet to do a worthwhile post and explain a few things :D Just to clear up some misunderstandings, revscriptsys of TFS is not the same as from OTServ Master. I liked the idea of what Remere tried to achieve with it but since it lacked quite some...
  17. Evil Hero

    Lua Death Channel with diferent colors

    show us your current channels.xml and the lua script, or we can't help you.
  18. Evil Hero

    Lua Death Channel with diferent colors

    change all sendChannelMessage(9, ....... ) to sendChannelMessage(10, ..... )
  19. Evil Hero

    Lua Creature Script

    Just place all of this into a lua file into data/monster/ local creatureevent = CreatureEvent("xxx") -- *1 function creatureevent.onDeath(creature, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified) Game.createMonster("MonsterName", creature:getPosition(), false...
  20. Evil Hero

    TFS 1.X+ [TFS 1.3] Errors on console when opening server. I'm quite lost!

    Your file data/lib/compat/compat.lua seems to be messed up, you have to take the one from github master repo.
Back
Top