• 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

    Spells based in HP, MP, and Skill Shield. TFS 1.2

    Yes, it is possible, but you have to hook the spell callback and calculate the values manually. Look how this spell works and get inspired to do your own. For a personal spell, you have access to cid which contains the caster data. If you need the target, you can get it too using other Lua...
  2. Lordfire

    TFS 1.2 Compatibility

    TFS 1.1 is not compatible with 10.41. It was made for Tibia 10.77 and will not work backwards without a lot of code rewriting. Use TFS 1.0 instead if you really need protocol 10.41, as it works properly. You can then backport features at will.
  3. Lordfire

    Question about lua and C++ // TFS 1.1

    Explain what you have done.
  4. Lordfire

    Windows Fast Attack

    You currently can not use attack speeds that are not multiples of 1000. You can try merging this pull request to your source code, it will fix.
  5. Lordfire

    How convert db3 data to sqlite o mysql

    A db3 file is a SQLite database already. Use this script if you wish to convert to MySQL. There are instructions on the page.
  6. Lordfire

    Sql Datbase error

    No, man, if you want SQLITE then use SQLITE. Be reasonable.
  7. Lordfire

    Sql Datbase error

    Your server seems to support both MySQL and SQLite, and you have to change the setting to use SQLite file instead of MySQL server on config.lua. I think it's called "sqlType" and defaults to mysql, use sqlite instead.
  8. Lordfire

    [node.js] Application with various tools

    Haskell or Elixir would be AMAZING, but heck, nobody would be able to edit the code kek FP FTW
  9. Lordfire

    Windows Skill Shielding doesn't work

    What creatures are you trying to fight? Remember that shielding doesn't protect against magic damage.
  10. Lordfire

    Solved Table loop.. why do I need another 'end'?

    This is not true for every callback. Some of them aren't checked for the return value.
  11. Lordfire

    [TFS 1.X] Enums

    BLOCKSOLID blocks when you try to throw another item over it, HASHEIGHT means the item has height, like tables and other stuff that make you higher when you step over, ISVERTICAL/ISHORIZONTAL is for rotating purposes I guess, and SUPPORTHANGABLE means the item can support... hangables, like...
  12. Lordfire

    Lua TFS 1.1 - Actionid with target item not item

    You can register callbacks directly on action ids: https://github.com/otland/forgottenserver/blob/master/src/actions.cpp#L165-L199 You can even specify a range, using fromaid and toaid.
  13. Lordfire

    TFS 1.1 possible bug on Enable Shared Experience?

    Please comment on the pull request saying it worked so Mark may merge it.
  14. Lordfire

    TFS 1.1 Offline training is really slow, shouldnt skill/magic rate change this ?

    I modified the lines WibbenZ has pointed out to apply the rate modifier to offline training, it should now increase accordingly. I haven't had the time to test, but it should work. Apply this patch to your source root (the directory that contains data/ and src/). If you don't know how to apply...
  15. Lordfire

    Solved Bug in Promotion

    You have to relog to change your vocation changes, if I recall correctly. Try that (sorry if you have already).
  16. Lordfire

    TFS 1.1 possible bug on Enable Shared Experience?

    This is a known issue, please follow this discussion over at GitHub. You might pull this request if you have access to the source code, or maybe this one if you want more fine grained control over experience sharing
  17. Lordfire

    [TFS 1.X] Enums

    @whitevo they are different properties for any item. They do not do the same thing, they may look like so but they represent different properties. Example: BLOCKPATH determines the item blocks the path of a creature (random walk of monsters, or player autowalk), but monsters that push items...
  18. Lordfire

    Solved [C++] Current system time

    If you want something like this: Apply this patch to your source root (the directory that contains data/ and src/). If you don't know how to apply patches, on Linux you have to run: patch -p1 -i <path to patch file> On Windows, I don't know. You might just look at the patch and copy the...
  19. Lordfire

    Make a new container?

    No, you don't. Writables, like the label, are also configurable via items.xml. OTB is just for thinks like if it blocks walking, if it's movable, pickupable etc. mainly hardcoded stuff. What server version are you using?
  20. Lordfire

    Compiling Compiling on Ubuntu

    Please, try again and see if the problem repeats. This seems to be an out of memory error, how much memory your machine has? I have tested with as low as 512MB and it worked, but on a very optimized and slim OS.
Back
Top