• 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

    NPC Errors

    You might want to move the function KeywordNode:addAliasKeyword(keywords) into data/npc/lib/npcsystem/keywordhandler.lua The npcs are probably not meant for your datapack, it might throw even more errors afterwards.
  2. Evil Hero

    NPC Errors

    You are missing getTasks function in either your NPC lua file or in your lib lua file. as stated in the error data/npc/scripts/Grizzly Adams.lua:120: attempt to call method 'getTasks' (a nil value)
  3. Evil Hero

    revscriptsys

    if you still have any kind of question feel free to contact me
  4. Evil Hero

    Mobs only drop one of each item

    You don't need to recompile your server, just change the following: local itemCount = 0 local randvalue = getLootRandom() if randvalue < item.chance then if ItemType(item.itemId):isStackable() then itemCount = randvalue % item.maxCount + 1 else...
  5. Evil Hero

    Mobs only drop one of each item

    This PR should solve the problem https://github.com/otland/forgottenserver/pull/2585
  6. Evil Hero

    Heal cooldown doesnt work

    yes then cid:getId() should work, just change all of cid inside the onCastSpell function to cid:getId() edit: Xikini was faster :p
  7. Evil Hero

    Heal cooldown doesnt work

    if it's a 1.x based server then cid would be userdata in this case. cid:getId() is what you're searching for.
  8. Evil Hero

    revscriptsys

    once the rest of revscriptsys is done and the last bug is solved, as far as I can recall. There is no deadline set, not sure how long that will take tho.
  9. Evil Hero

    revscriptsys

    It works the same as before, with the addition of /reload scripts and /reload libs
  10. Evil Hero

    revscriptsys

    1) I'll write a detailed guide once everything is implemented as intended. 2) It'll give you an error message in console that you tried to register an id twice, as xml is still loaded first it'll enable that one. 3) next release will be 1.3 with backwards compatibility, as I need to introduce...
  11. Evil Hero

    TFS 1.X+ runes causes debug

    hmm, either protocolgame.cpp doesn't send the client the charges then or idk, it's hard to tell without seeing the source code, it could also be a problem with the dat structure, that your server doesn't handle charges the way your dat has it saved, there are quite a few possibilites of what it...
  12. Evil Hero

    TFS 1.X+ runes causes debug

    8.0 client doesn't support that as far as I can recall.
  13. Evil Hero

    Error when starting up server

    Download the entire data folder and run the server with the default folder, then apply your changes to it, as it seems you are missing something
  14. Evil Hero

    Error when starting up server

    Make sure it's not registered in talkactions.xml Also make sure that 'data/lib/compat.lua' is updated aswell
  15. Evil Hero

    Storage value returnend "nan"?

    We cannot help you unless you show us your script and tell us which distro you use, they mostly handle stuff different ways
  16. Evil Hero

    Storage value returnend "nan"?

    It would help if you tell us which server engine you use, as not all work the same way. nan - "Not a Number" that's atleast the only reference I know of which makes sense. You might have tried to push a floating number (111.0104) in there, you might want to :setStorageValue(xxx...
  17. Evil Hero

    Tfs 1.2 Party

    just for confirmation try local player = Player(creature) local party = player:getParty()
  18. Evil Hero

    TFS 1.2 Kill monster, remove stone

    addEvent(function(pos, itemid) Game.createItem(itemid, 1, pos) end, resetTime * 60 * 60 * 1000, pos, itemid)
  19. Evil Hero

    TFS 1.2 Kill monster, remove stone

    just change: getItemByItemId(itemid) to: getItemById(itemid)
  20. Evil Hero

    TFS 1.2 Kill monster, remove stone

    Let's clear this conversation a bit up... 1) If OP wants to have remove stone by each boss kill then what @Itutorial made is the best option. 2) If OP wants to have remove stone by killing 'one' of the bosses (doesn't matter which one) then what @Itutorial made is still the best option. 3) If...
Back
Top