• 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

    [Help] Position on storage

    function Player.savePosition(self, storage) self:setStorageValue(storage, self:getPosition().x) self:setStorageValue(storage+1, self:getPosition().y) self:setStorageValue(storage+2, self:getPosition().z) end function Player.loadPosition(self, storage) return...
  2. Evil Hero

    TFS 0.X Teleport to trainer

    https://otland.net/threads/infinity-training-room-0-3-6-0-4.179468/#post-1759936 It contains pretty much everything which you need.
  3. Evil Hero

    TFS 1.X+ [Custom Item] The Regeneration Effects isn't working

    You need to register this item in movements.xml aswell. <movevent event="Equip" itemid="26382" slot="head" function="onEquipItem" /> <movevent event="DeEquip" itemid="26382" slot="head" function="onDeEquipItem" />
  4. Evil Hero

    CreatureEvent [TFS 1.3 / 1.4] Upgrade System

    This is by no means caused by revscriptsys, you probably mixed old files with new files and now you are missing functions and such, a clean download of current tfs 1.3 works just fine.
  5. Evil Hero

    Premium Account Client&Accmaker

    config.lua freePremium = false
  6. Evil Hero

    Sql or Lua usage

    Well the easiest attempt which does not involve db access can be done through storage values yes. This could be achieved by saving a timestamp once the player has done all daily quests and then match that timestamp with the time when the player login again. If you however want to stick with...
  7. Evil Hero

    C++ Game.loadmap with offset

    I've created an indexing system for training rooms like years back, this might also give you a hint on how to work with offsets and such. https://otland.net/threads/infinity-training-room-0-3-6-0-4.179468/#post-1759936
  8. Evil Hero

    C++ Game.loadmap with offset

    I mean like you load a certain piece of map which contains a tile which you need to step on and then it removes a wall/door from a specific coordinate let's say (100,100,7) but now instead of loading the map on the default coordinates you load them like x +100, y +100. If you now walk onto that...
  9. Evil Hero

    C++ Game.loadmap with offset

    the bigger problem here is that it might break all kind of actions which are performed for static coordinates, so you have to keep that in mind aswell and calculate the offset for such positions aswell.
  10. Evil Hero

    TFS 1.X+ Modal Window

    As far as I can remember you cannot access it, you have to keep a reference somewhere before adding it as a choice, for what particular reason do you need it?
  11. Evil Hero

    CreatureEvent [TFS 1.3 / 1.4] Upgrade System

    mind if I package it up for revscriptsys? so you can include it here aswell then :D
  12. Evil Hero

    spawn monster

    local monsters = { ["Monday"] = "ferumbras", ["Tuesday"] = "bazir" } function onStartup() if monsters[os.date("%A")] then print(">> Boss: ".. monsters[os.date("%A")]) Game.createMonster(monsters[os.date("%A")], Position(32215, 32048, 13), true, true) else...
  13. Evil Hero

    TFS 1.X+ Error installing VCPKG

    libmariadb seems to have portability issues, here is the github link for the cmake file https://github.com/Microsoft/vcpkg/blob/master/ports/libmariadb/portfile.cmake
  14. Evil Hero

    TFS 1.X+ Error installing VCPKG

    probably the luajit compile error which is common on windows. configmanager.cpp: #include <lua.hpp> to #include <luajit/lua.hpp> lua.h: #include <lua.hpp> to #include <luajit/lua.hpp>
  15. Evil Hero

    $25 reward. Looking for suggestions on a server name

    How about Coccyx 😂
  16. Evil Hero

    Lua Make it work in globalevents cleanning specific area

    actually this is even faster than pairs for i = 1, #tileCache do local tileItems = tileCache[i]:getItems() for items = 1, #tileItems do local item = tileItems[items] if table.contains(itemIds, item:getId()) then item:remove() end end end test...
  17. Evil Hero

    compilation with news revscripts

    you're welcome, if you still have problems after adding all commits, feel free to let me know.
  18. Evil Hero

    compilation with news revscripts

    You are missing a lot of commits which need to be applied aswell, they fix a lot of errors which have been discovered already and caused crashes. Your best bet would be to get all of my commits in aswell such like: https://github.com/otland/forgottenserver/pull/2566...
  19. Evil Hero

    compilation with news revscripts

    I don't really get your problem, can you be more specific about this Are you having trouble opening the server with a bigger map? Are you using default files or did you just throw over files of another datapack? I'm not able to help you, unless you give more feedback about what you try to do and...
  20. Evil Hero

    TFS 1.2 Attack Speed

    There is currently no way to do this in a default TFS 1.2 without modifications in the source code
Back
Top