• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Damc

    Compiling Trying to add updateInventoryWeight(); but says protected.

    The answer is in the quote...
  2. Damc

    Compiling Changing the constraints of life in the C++

    Are you sure you need 64 bit variables for health/mana? The 8.6 client can only handle up to 64K health/mana (16 bit variables).
  3. Damc

    Compiling /usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_W

    The only ideas that come up are: 1. You didn't run ./configure after you've copied the sources on to that machine. 2. There's a problem with header guards in your source code 3. Something got deprecated in boost and is causing weird and unrelated compiler errors (unlikely)
  4. Damc

    Lua Checking duplicates value in a table

    I don't have TFS 0.4/0.36 set up ATM, but I'll try to help. First of all, you need to realize that the "item" variable in the inner loop isn't a table - it is the "current" value of the array you're looping over (the key is "_"). Secondly, the array you're trying to remove items from is...
  5. Damc

    Compiling Error during compiling

    Ctrl-c sends the SIGInt(Interrupt) signal
  6. Damc

    Two problems - Remove Offline Training & Crash when closing server

    1. Offline training windows are hard coded. The easiest way would be to add return false; at the beginning of the Player::addOfflineTrainingTries(...) function. 2. The server doesn't save on exit because TFS 1.0 doesn't have this functionality yet. I believe that there's an issue open about it...
  7. Damc

    Compiling Error during compiling

    Seems that compilation was interrupted and some file(s) got corrupted. Try this: make clean && make
  8. Damc

    Lua Checking duplicates value in a table

    I'm a little confused - what are you trying to do with that table.remove() call?
  9. Damc

    Lua [TFS 1.0] Script/item for double-exp with duration?

    Does the server spit out any errors? I've copy-pasted the script into current TFS 1.0 and it works. Maybe you've already registered an another action event on that item?
  10. Damc

    Looking at items in trade menu crash.

    Could you provide more details? I can't reproduce this bug.
  11. Damc

    Lua [TFS 1.0] Script/item for double-exp with duration?

    Are you trying it on a group_id=1 player?
  12. Damc

    Solved On DeEquip exp ring bug

    Oh, BTW: there's a quite serious Move Event bug that causes a crash in TFS 1.0: https://github.com/otland/forgottenserver/issues/883 You're only affected if the item is bought from an NPC or to be exact when the item is temporarily owned by the script environment.
  13. Damc

    Solved On DeEquip exp ring bug

    Not sure about other distros, but in TFS 1.0 the onEquip event is a little weird because it's called by the Player::__queryAdd() virtual method (it determines whether the item can be equipped or not) so it's most likely not possible to use it like that (you'd have to modify this Move Event so...
  14. Damc

    tibia 8.6 source code

    The only organization that has it is CIPsoft... unless someone has leaked sources :). It would be illegal to distribute modified versions of the client anyway. If you really want to create a customized client then https://github.com/edubart/otclient is your only option.
  15. Damc

    0.2 Functionality

    You'll need to install a MySQL server, preferably from a *AMP (<*OS>-Apache-MySQL-PHP) package. Last time I did development on Windows i used XAMPP (bear in mind it was a long time ago :D). I bet there are some guides in the tutorial section so check them out.
  16. Damc

    0.2 Functionality

    Sure you can, seems you forgot to launch your MySQL server. BTW: Git is an awesome content management tool, for any kind of software development in any language. ;)
  17. Damc

    0.2 Functionality

    As far as I know, no one is currently maintaining it publicly so I guess the answer is no.
Back
Top