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

compiling problem

  • Thread starter Thread starter verdehile95
  • Start date Start date
V

verdehile95

Guest
hi i try compiling tfs 1.4.2 and have this problem

error.webp

i use visualstudio 2022 windows 11 and this is my vcpkg vcpkg1.webpvcpkg2.webpvcpkg3.webp
 
hi i try compiling tfs 1.4.2 and have this problem
What engine are you compiling? It looks like GitHub - Open-Games-Community/Hellgrave-RPG-v6.0: Hellgrave RPG v6.0 (https://github.com/Open-Games-Community/Hellgrave-RPG-v6.0)
You won't compile that engine - at least without a lot of work - because author did not prepare any working compilation project. CMakeLists.txt is only configured to work with vcpkg (cannot compile with Linux native libraries) and vcpkg.json does not containt build-baseline line, so vcpkg cannot know which version of vcpkg this project expects (there are 24.124 versions of vcpkg!) and tries to use newest, which is not compatible.

If you are looking for clean 1.4 that compiles, you can use my branch compilation which is TFS 1.4 with few extra (optional) features and compilation projects updated for newest Linux and Windows: GitHub - gesior/forgottenserver-gesior at compilation (https://github.com/gesior/forgottenserver-gesior/tree/compilation)
 
yeah this is hellgrave
Post automatically merged:

What engine are you compiling? It looks like GitHub - Open-Games-Community/Hellgrave-RPG-v6.0: Hellgrave RPG v6.0 (https://github.com/Open-Games-Community/Hellgrave-RPG-v6.0)
You won't compile that engine - at least without a lot of work - because author did not prepare any working compilation project. CMakeLists.txt is only configured to work with vcpkg (cannot compile with Linux native libraries) and vcpkg.json does not containt build-baseline line, so vcpkg cannot know which version of vcpkg this project expects (there are 24.124 versions of vcpkg!) and tries to use newest, which is not compatible.

If you are looking for clean 1.4 that compiles, you can use my branch compilation which is TFS 1.4 with few extra (optional) features and compilation projects updated for newest Linux and Windows: GitHub - gesior/forgottenserver-gesior at compilation (https://github.com/gesior/forgottenserver-gesior/tree/compilation)

Transferring everything to the new engine would take me too much time so I'm giving up ots, thank you all for your help
 
Last edited by a moderator:
What engine are you compiling? It looks like GitHub - Open-Games-Community/Hellgrave-RPG-v6.0: Hellgrave RPG v6.0 (https://github.com/Open-Games-Community/Hellgrave-RPG-v6.0)
You won't compile that engine - at least without a lot of work - because author did not prepare any working compilation project. CMakeLists.txt is only configured to work with vcpkg (cannot compile with Linux native libraries) and vcpkg.json does not containt build-baseline line, so vcpkg cannot know which version of vcpkg this project expects (there are 24.124 versions of vcpkg!) and tries to use newest, which is not compatible.

If you are looking for clean 1.4 that compiles, you can use my branch compilation which is TFS 1.4 with few extra (optional) features and compilation projects updated for newest Linux and Windows: GitHub - gesior/forgottenserver-gesior at compilation (https://github.com/gesior/forgottenserver-gesior/tree/compilation)
This Hellgrave base that I managed to compile on Windows had the same errors shown in the image posted by verdehile95
. The issue was with core.h, and I had to make some changes for the compilation to work properly, as explained here: Compiling - [Solved] core.h errors. TFS 1.5 Downgrade 8.6. (https://otland.net/threads/solved-core-h-errors-tfs-1-5-downgrade-8-6.287017/#post-2738416).

On Linux, the original creator maliciously removed two lines (${CMAKE_CURRENT_LIST_DIR}/buff.cpp and ${CMAKE_CURRENT_LIST_DIR}/itemattributes.cpp) before selling the base to someone else. I, along with some friends, pooled money to buy this base. Unfortunately, another person leaked it on a Brazilian forum, and now the base is completely free.

To compile it on Linux, add the following lines to the CMakeLists.txt file:
C++:
${CMAKE_CURRENT_LIST_DIR}/buff.cpp
${CMAKE_CURRENT_LIST_DIR}/itemattributes.cpp
 
Last edited:
What engine are you compiling? It looks like GitHub - Open-Games-Community/Hellgrave-RPG-v6.0: Hellgrave RPG v6.0 (https://github.com/Open-Games-Community/Hellgrave-RPG-v6.0)
You won't compile that engine - at least without a lot of work - because author did not prepare any working compilation project. CMakeLists.txt is only configured to work with vcpkg (cannot compile with Linux native libraries) and vcpkg.json does not containt build-baseline line, so vcpkg cannot know which version of vcpkg this project expects (there are 24.124 versions of vcpkg!) and tries to use newest, which is not compatible.

If you are looking for clean 1.4 that compiles, you can use my branch compilation which is TFS 1.4 with few extra (optional) features and compilation projects updated for newest Linux and Windows: GitHub - gesior/forgottenserver-gesior at compilation (https://github.com/gesior/forgottenserver-gesior/tree/compilation)

I agree with you,

But if is 1.4 , you can just go to TFS > Github, check release date of this TFS.

Going to vcpkg > Take vcpkg version 1/2 Month earlier of the release of TFS 1.4, simple as this.

Is why many people having troubles to compile because the vcpkg used must of times is the last one, and it's incorrect, just based on release date take 1/2 version older than date of release and voila.

And for the server, i just enter on this link, and looking repo i found the vcpkg of this server, i already compile it fine:
 
Back
Top