• 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

    RevScripts How to register creature event dynamically

    The problem is easily explained, you have to be carefull about the registration order. Currently you basicly try to register a monstertype an event which isn't registered itself at that point of the script, you register it currently at the end of the file. Move boss_death:register() directly...
  2. Evil Hero

    Solved Adding text into a book quest

    local book = player:addItem(1955, 1) book:setAttribute("text", "Day 1: Wow! I finally get to leave the village and explore the world! I am so excited to get started on my adventures! Day 2: I ventured down into a cave, wow, some neat cave drawings! I have never seen anything like this in my...
  3. Evil Hero

    [Brainstorm] Boss folder organization

    Well either we categorize them through "zones" which still could possibly lead to questionmarks for users who are not familiar with the different zones or we align them to the different "quests" they appear in, other than that we could only rely on no organisation at all and keep it alphabetical...
  4. Evil Hero

    Migration from tfs 0.4 to 1.2

    Well just because 2.0 is supposed to drop backwards compatibility doesn't mean that 1.x scripts wont work on it, it's more likely meant that everything older than the 1.x series will not be supported anymore, as it would make no sense to keep moving forward but still keeping every possibility...
  5. Evil Hero

    Lua [TFS 1.3] how to make script select more than one reward

    can they be duplicates or not?
  6. Evil Hero

    Migration from tfs 0.4 to 1.2

    Well the entire problem is, there is no 'universal' solution for this, every case of server (otx, svn, tfs 0.x) has it's speciality and that makes it hard to create a guide/tutorial on how to migrate to a newer distribution. Your best bet on how to do it is, if you take master branch or stable...
  7. Evil Hero

    TFS 1.X+ help me interface error.

    local config = { [5807] = 30, [5806] = 60, [5805] = 90 } local vipStatus = 1234 function onUse(player, item, fromPosition, itemEx, toPosition) if player:getStorageValue(vipStatus) < 1 then local days = config[item.itemid] if days then...
  8. Evil Hero

    TFS 1.X+ help me interface error.

    Clarify which exact version of tfs you use, if it's not the downgraded version of Nekiro then doSendAnimatedText has also to be excluded as it'll just throw more errors.
  9. Evil Hero

    weapons with elemental damage hit little with spell [TFS 1.3]

    That's because the extra elemental damage is not included in attack, it'll take the 8 attack from your weapon and calculates the spell dmg with it (leaving the 44 icedamage out)
  10. Evil Hero

    TFS 1.X+ TFS 1.3 8.6 compiling errors

    You need to install boost-filesystem:x64-windows
  11. Evil Hero

    TFS 1.X+ Code not adding item to the selected container

    You need to push on the item.uid of the container and at the end inside moveTo you just push Container(container[i].uid) which should now result in the right container
  12. Evil Hero

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

    monster.events = { "nameofevent1", "nameofevent2" } this will register the event to the monster or use MonsterType("name"):registerEvent("eventName") I'd rather not try to include the event itself into the monster file as the loading order of script systems might be a problem, you can...
  13. Evil Hero

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

    Can you elaborate that idea a bit more, I don't really get it and also this thread is only for tfs 1.3 master branch which contains revscriptsys
  14. Evil Hero

    Lua Revscriptsys anti-trasher not working

    You are probably missing this commit https://github.com/otland/forgottenserver/commit/77a95e6f598b3b96d0c52c728c7d3adeb289de6d
  15. Evil Hero

    TFS 1.X+ OnEquip Lua Function

    not every event needs a return value but you are always safe to go with putting a return true at the end, unless in this example ofc if you wouldn't want the player to be able to equip the item, then you'd return false. Edit: You can take this for better reference otland/forgottenserver...
  16. Evil Hero

    TFS 1.X+ OnEquip Lua Function

    You have no return value set for it, you either have tu return false (not be able to equip) or return true (able to equip it) in order for it to work correctly. function onEquip(player, item, slot) print(item:getDescription()) return true end
  17. Evil Hero

    Issues compiling TFS 1.2/1.3

    In powershell cd vcpkg then run the vcpkg install boost-filesystem:x64-windows again that should work now.
  18. Evil Hero

    Issues compiling TFS 1.2/1.3

    Are you sure you installed everything right with vcpkg? You might want to follow this tutorial again, as it doesn't seem that filesystem was included. Edit: or just run in powershell: vcpkg install boost-filesystem:x64-windows this will solve your issue.
  19. Evil Hero

    Issues compiling TFS 1.2/1.3

    https://otland.net/threads/error-installing-vcpkg.264637/post-2557654
  20. Evil Hero

    OTServBR-Global 12x w/ Bestiary, QuickLoot and more

    Well done guys :D
Back
Top