• 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. Z

    Theorizing a Modern Engine Design

    Spring framework for java provides a lot of modules which make development easy, e.g. ORM, database (reactive) connectivity config via properties file, built-in web server, security, and two most important things dependency injection and inversion of contol. To run app all you need is java...
  2. Z

    Theorizing a Modern Engine Design

    @Yamaken in few days from now I will start a open source project in java which will expose rest api through which user will be able to update tfs database. If one day tfs is able to create rest api calls, then this might become useful. I'll try maintain all communication async. Still thinking...
  3. Z

    ERROR TFS 1.3

    check if item or if item ~= nil
  4. Z

    [TFS 1.3] Battle Royale

    And I forgot to mention that there is a map in data pack on github where I was testing this mode
  5. Z

    [TFS 1.3] Battle Royale

    Hi! Here is a Battle Royale mode for tfs 1.3 I have beed working on. Now I don't really have time to go on with this so I will leave it here for the community. It was my first time with LUA so there might be some garbage code D: How does it work? Determine area where players can fight in this...
  6. Z

    squeeze.lua it does not work

    squeeze.lua line 29 Dunno if item passed to onUse have itemid property, maybe instead try getId() https://github.com/otland/forgottenserver/wiki/Metatable%3AItem#getId If wont work follow @Crazytoe instructions
  7. Z

    Open Corpose For Autoloot

    https://otland.net/threads/auto-loot-sytem-for-tfs-1-3.266816/ This autoloot implementation move items to player on corpse opening. You might wanna check it out ;)
  8. Z

    std runtime error

    copy key.pem file from git repo to location where your exe is
  9. Z

    Theorizing a Modern Engine Design

    For me as a web developer tfs lack restful api. Imagine changing game state from website(e.g. voting for today's event). JWT for authorization should be just fine. With it community could create some new, fun stuff and admins could manage their server from admin panel. Just a concept I've been...
  10. Z

    TFS 1.X+ Skill Stages Error

    You may wanna use getBaseMagicLevel() instead of getMagicLevel(), because the second one returns magic level with bonuses
  11. Z

    Where correctly to paste? I want do Great Spirit Potion from Strong Mana Potion

    M8, just let go. If 6 years did not teach you anything you won't get any better. D: Nobody will think for you while you are not even trying to solve it yourself.
  12. Z

    Great Spirit Potion

    https://otland.net/threads/how-to-display-code-properly-in-your-post.168098/
  13. Z

    how to put in my server to otservlist?

    secure your web server with tls or ssl mate, now anyone can read transferred data such as login/password https://otland.net/threads/how-to-encrypt-your-website-traffic-free-ssl-cert.263222/
  14. Z

    TFS 1.X+ Skill Stages Error

    Any errors in console? From if in 6th line remove skills.rate Tomorrow I will try it in my server and respond here if will work @Edit Alright, this should work for stages function getSkillsRate(level, stages) if stages then for sLevel, multiplier in pairs(stages) do if...
  15. Z

    TFS 1.X+ Skill Stages Error

    It will never reach if in 14th line, becouse earlier if will return some value for any skill so you may remove it Try changing line 7 to this local rate = skills.rate rate field from skills variable already holds skill rate from config according to player.lua file you have shared ------ Nope...
  16. Z

    TFS 1.X+ Skill Stages Error

    Are you passing valid skill id?
  17. Z

    ERROR TFS 1.3

    In those event of yours you are doing the same stuff so it is better to move it to separate function like function functionName(pos, itemId) local portal = Tile(pos):getItemById(itemId) portal:remove(1) end and then addEvent(functionName, execution_time, pos, itemId) In general first...
  18. Z

    ERROR TFS 1.3

    First of all Click here and learn how to display code properly. Then I will try to help you.
  19. Z

    Help Mysql Backup Windows

    mysqldump, at least thats what google said
  20. Z

    TFS 1.X+ TFS 1.3 Possible to make area pvp enforced?

    First solution that comes to my mind would be defining area where killers dont get penalty. Then register ondeath event which would check if player died in that area. If true then killer dont get extra skull time
Back
Top