• 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

    [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.
  2. 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
  3. 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...
  4. 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 ;)
  5. 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
  6. Evil Hero

    Linux ERROR: Missing RSA private key footer.

    sounds like you have a malformed key.pem file, it's missing -----END RSA PRIVATE KEY----- at the end of the file, either add that or download the file from new again.
  7. Evil Hero

    TFS 1.X+ [Warning - Actions::registerLuaEvent] Duplicate registered item with id: X in range from id: Y, to id: Z

    Revscriptsys is a drag and drop self registering system for scripts, you just have to remove the spellbook.lua file out of that directory and it wont be registered twice or loaded again. Edit: if you want more informations about revscriptsys Revscriptsys · Issue #2555 · otland/forgottenserver...
  8. Evil Hero

    TFS 1.X+ [Warning - Actions::registerLuaEvent] Duplicate registered item with id: X in range from id: Y, to id: Z

    Data/scripts/actions/spellbook.lua It's already implemented from revscriptsys, that's why it shows it's registered twice
  9. Evil Hero

    TFS 1.X+ Tfs 1.3 Cannot open include file: 'lua.hpp': No such file or directory

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

    TFS 1.X+ Tfs 1.3 downgraded by Nekiro to 8.6 (Cannot open include file: 'boost/asio)

    tfs 1.3 doesn't support tfs-sdk anymore, it has been deprecated. You have to follow this tutorial otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29) to compile on windows.
  11. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    tell me if the print returns the correct room number, when someone leaves/logout function onStepIn(cid, item, position, fromPosition) local storage = 87700 if item.actionid == 8770 then if getNextRoom() <= (config.gridX * config.gridY * config.gridZ) then local...
  12. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    function onStepIn(cid, item, position, fromPosition) local storage = 87700 if item.actionid == 8770 then if getNextRoom() <= (config.gridX * config.gridY * config.gridZ) then local currentRoom = getNextRoom()...
  13. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    there was some problem with ground tiles, that it doesn't send players new tiles when they get updated, I don't have 0.x sources here, so I cannot tell you where it needs changes in source code.
  14. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    function onStepIn(cid, item, position, fromPosition) local storage = 87700 if item.actionid == 8770 then if getNextRoom() <= (config.gridX * config.gridY * config.gridZ) then local currentRoom = getNextRoom()...
  15. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    function onLogout(cid) local storage = 87700 if getPlayerStorageValue(cid, storage) == 1 then local pos = getCreaturePosition(cid) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) deleteTrainingRoom(pos)...
  16. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    I forgot that it registers login/logout functions automaticly for all players Just give a player a certain storagevalue when he stepin and then check in onLogout if he has that certain storagevalue in order for it to execute
  17. Evil Hero

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    I havn't tested this but it should do the trick, you just have to register it correctly in creaturescripts.xml <event type="logout" name="trainingLogout" script="YOURFILE.lua"/> function onStepIn(cid, item, position, fromPosition) if item.actionid == 8770 then if getNextRoom() <=...
  18. Evil Hero

    I can't seem to compile TFS 1.3?

    https://github.com/otland/forgottenserver/pull/2606
  19. Evil Hero

    TFS 0.X Detect on play fanfare if player is x,y,z position

    You cannot compare position tables, you have to invoke a function like: function comparePosition(p1, p2) return pos1.x == pos2.x and pos1.y == pos2.y and pos1.z == pos2.z and true or false end depending on tfs version it might have comparePosition(p1, p2) already.
  20. Evil Hero

    [Help] Position on storage

    TFS 1.3 does not support storageValues of string type, hence we have to stick to 3 different storageValues
Back
Top