Recent content by Evil Hero

  1. 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
  2. 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...
  3. 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
  4. Evil Hero

    Lua Revscriptsys anti-trasher not working

    You are probably missing this commit https://github.com/otland/forgottenserver/commit/77a95e6f598b3b96d0c52c728c7d3adeb289de6d
  5. 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...
  6. 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
  7. 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.
  8. 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.
  9. Evil Hero

    Issues compiling TFS 1.2/1.3

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

    FINALLY: OTServBR Global released protocol 12

    Well done guys :D
  11. Evil Hero

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

    1) for k,v in pairs(table) do tileStepIn2:aid(k) end repeat that with the other tables aswell. 2) I havn't added that yet it seems, open an issue on github so I don't forget about adding it.
  12. Evil Hero

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

    He's using OTServBR, I just noticed they have a missing line, that's why it's not working under line 16824 (luascript.cpp) paste this globalevent->setInterval(getNumber<uint32_t>(L, 2)); @Evil Puncker
  13. Evil Hero

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

    Yes skillSword is not implemented yet, this will take it's place once itemType gets a revamp and attributes as a metatable gets introduced (after 1.3 release) Actually it's currently a mix of both, it's just missing everything which is related to attributes (absorb, skill, etc.) You can basicly...
  14. Evil Hero

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

    Well done, this just shows how lightweight and powerfull Revscriptsys can be ;)
  15. Evil Hero

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

    Yes you can do sub folder structure there aswell, it's supported
Top