• 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!

Recent content by amatria

  1. amatria

    TFS 1.X+ Compiling in linux

    You must compile Pokemon.cpp and link it against tfs. Therefore, find the CMakeLists.txt file located in the src directory of your project and add the following line: set(tfs_SRC ${CMAKE_CURRENT_LIST_DIR}/actions.cpp ${CMAKE_CURRENT_LIST_DIR}/ban.cpp...
  2. amatria

    C++ Your C++ compiler does not support C++11.

    Provided that you are using a C11-enabled Visual Studio, just remove the line include(FindCXX11) in your top-level CMakeLists.txt file and everything should work just fine.
  3. amatria

    Kilmaresh Quest Boss dont work

    You have to register the event: Search · WildHorseDeath · otland/forgottenserver (https://github.com/otland/forgottenserver/search?q=WildHorseDeath)
  4. amatria

    error when compiling

    I had some spare time this morning and I took the opportunity to fix the compilation errors you get after I fixed the problem with the project structure. I attach the corrected sources, which, by the way, are more than 7 years olds and probably lack a lot of fixes with respect to TFS 1.4. So...
  5. amatria

    error when compiling

    Your project structure was all messed up. I rearranged it. You can now do the usual cmake workflow in order to compile the source files.
  6. amatria

    opentibiabr code 'quality' and community

    This is the result of bad contributing practices and a vague review process, in my opinion. No Contributing guidelines. The Pull Request (#378) that introduced the race condition again not only "resolved" a total of 5 issues, but it also added 3 new features on top of those "fixes". Divide and...
  7. amatria

    error when compiling

    So, it is not TFS 1.3. It is a custom distro based on TFS 1.3. Nor is it TFS 1.3 in your duplicate thread here. You have to be crystal clear when you ask for support. So. Now. If you want further assitance, you have to provide us with the source code of the custom distro you are trying to...
  8. amatria

    error when compiling

    Follow the tutorial here (github/forgottenserver/wiki/compiling-ubuntu) step by step. Do not forget to install all the required libraries/dependencies. If the error persists after installing the required software, try the following: user@host:/path/to/forgottenserver$ source ~/.bashrc...
  9. amatria

    Lua Help simplifying the script

    function onUse(cid, item, fromPosition, itemEx, toPosition) if not config[itemEx.itemid] then -- in case you want to notify the player -- doPlayerSendTextMessage(cid, MESSAGE_STATUS_SMALL, "You cannot use foo on bar.") return true end local addItemTable =...
  10. amatria

    Lua Help simplifying the script

    I hope this helps: local config = { [2813] = { addItem = { chance = 60, success = {id = 2666, qty = 3}, fail = {id = 5878, qty = 1} }, doTransform = { chance = 30, success = {id = 2815} } } } -- function onUse(...) local addItemTable =...
  11. amatria

    Lua define function

    You can store a table of key-value pairs where the key is the player's CID and the value is the monster created for each player online. Proof of concept: player_monster_table = {} player_a_cid = 17 player_b_cid = 19 -- onKill player_a -- foo = doCreateMonster(...)...
  12. amatria

    TFS A* Algorithm :D

    You can't avoid searching "around" or "backwards". There will always exist a time step in which searching "around" or "backwards" is a far better alternative than searching in a straight line. This behaviour is intrinsic to any heuristic-based algorithm.
  13. amatria

    Compiling issue with 12.x

    Copying all the files from the assets folder should do the trick
  14. amatria

    TFS 1.X+ I Can't push player when i use rune tfs 1.2

    I don't know man. I feel sorry for you. You are spamming my inbox asking me for help and playing pretend here with your two accounts. I really feel sorry for you
  15. amatria

    TFS 1.X+ I Can't push player when i use rune tfs 1.2

    That was a piece of cake :). To be honest I was reluctant to share the solution... A few hundred more experiments and you sure would have made it https://streamable.com/dje0v8
Back
Top