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

    sourcecode Creature::getStepDuration()

    Look at the function just above: int64_t Creature::getStepDuration(Direction dir) const { int64_t stepDuration = getStepDuration(); if ((dir & DIRECTION_DIAGONAL_MASK) != 0) { stepDuration *= 3; } return stepDuration; }...
  2. Lordfire

    Solved Max lenght writeables

    Actually it is limited by the OTBM format, if it is. Probably there is no limit as it stores the length of the text and you are supposed to be able to write books.
  3. Lordfire

    Linux Few system does not work on linux (website)

    No, and you did the worst thing possible. Reset the permissions back to 755 for dirs/644 for files for good and never chmod 777 anything again. Now, what may be your problem is that you are using different versions of software. What distro are you using? Can you check which version of PHP you...
  4. Lordfire

    Solved TFS 1.2 interesting bug with destroy.lua onDestroyItem, added video and ss to explain

    You do not need to use "Item(target):isItem()", "Item(target)" is enough.
  5. Lordfire

    [TFS 1.0] Lag in Server, HELP!

    Well, it's surely a global. You seem to be brazilian, as your avatar shows a brazilian server. I suspect it is your cleanHouse script is running 18:00 (15:00 in Brazil) and causing a severe increase in CPU usage, which is fine. Move it to midnight and check if the spike changes accordingly.
  6. Lordfire

    Request to create a infinte worm on my fishing action

    Holy fuck, your script is as bad written as possible. Please reindent because it is utterly unreadable. Anyway, I think it might do the trick: https://gist.github.com/ranisalt/add4b81638ec9afe9ba0 If you're interested, the trick is in line 105, either the player has a magic worm or the game...
  7. Lordfire

    Lua Error npc tfs 1.0

    What distro are you using and with what datapack? Did you do any edits to those files? If yes, put them in https://gist.github.com and show us.
  8. Lordfire

    [Mapping] Door sprite bug

    You need to be sure the editor's SPR, DAT and OTB is exactly the same as the server and client.
  9. Lordfire

    Windows Im buying a vps cloud but...

    Run away from Windows or prepare to waste 30% of your RAM with the system.
  10. Lordfire

    Linux Trying compile in Ubuntu 14.04

    You seem to have an outdated version of the Boost library. Try to update your system, TFS requires at least version 1.42
  11. Lordfire

    [TFS 1.0] Lag in Server, HELP!

    Can you try running 1.1 or the most recent from Github? Maybe it fixes your problem.
  12. Lordfire

    Question about OTServer status

    Please have a look: https://github.com/renatorib/otinfo You probably are having a problem opening the socket, and when you hit the fwrite you are trying to write to a closed socket. That is my best guess.
  13. Lordfire

    tile that teleports you to temple if you don't have a certain storage id

    AKA return getPlayerStorageValue(cid, stor) > 0
  14. Lordfire

    Solved Bug Loot distance, more then 1

    Probably you don't need to change anything if you are using TFS 1.0 or up. If you are using TFS 0.4 or 0.3, then yes you will need some rework.
  15. Lordfire

    Solved Bug Loot distance, more then 1

    You could as well update your distro as this bug is not present in recent versions of TFS anymore.
  16. Lordfire

    Custom (spell-)effects

    No. const.h is server-side, while SPR file is client-side. When a magic effect is to be shown on the client, the server sends a message containing the ID of what magic effect is that. That is where const.h enters, mapping names such as CONST_ME_HOLYAREA to the number to send to the client, in...
  17. Lordfire

    Compiling Monster walk above corpse

    Please link where you found the solution you want to apply. Keep in mind that by "change sources" you are saying that you want to change the code of the server, not the executable itself. If you are referring to the executable, what you double click to run, say "change distro".
  18. Lordfire

    Custom (spell-)effects

    You might want to extract sprites from Tibia.spr to see how magic effects are in there. Basically there is an image for every frame of an effect. Magic effects are enumerated in const.h
  19. Lordfire

    Free promotion for premium

    Man, just freaking set everybody to a promoted vocation. TFS can already do the trick. Here's the piece of code for TFS 1.x that checks for premium on login: https://github.com/ranisalt/forgottenserver/blob/master/data/creaturescripts/scripts/login.lua#L18-L30 You can use it (already bundled in...
  20. Lordfire

    Tibia Clients

    Linux, could you? I need the client 8.2x or 8.3x but I can't find them anywhere for Linux.
Back
Top