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

OTx Compile

Solution
So you want a pre-compiled version? Or tutorial about how to compile?
For the pre-compiled version here you can find one
For compiling tutorial you can try this one
and about your error you'll have to
Right click on your solution and press Retarget Solution
Also right click on you solution and choose properties then change Platform toolset to Visual Studio 2019 (V142) If it doesn't exist then you'll have to...
Here, READ the links avaiable in that github

 
Here, READ the links avaiable in that github

I need help
Code:
The build tools for v142 cannot be found. Install v142 to build using the v142 build tools.
 
So you want a pre-compiled version? Or tutorial about how to compile?
For the pre-compiled version here you can find one
For compiling tutorial you can try this one
and about your error you'll have to
Right click on your solution and press Retarget Solution
Also right click on you solution and choose properties then change Platform toolset to Visual Studio 2019 (V142) If it doesn't exist then you'll have to install it by click on the top on Tools then choose Get Tools and Features and choose Visual Studio 2019 (V142) from the Individual Components then install/download.

I will try to compile this version now to get sure what is the issue because this isn't first thread.
Post automatically merged:

Managed to compile it using Visual Studio 2019 and simply following this tutorial
Not sure why people having so many issues compiling this.
Code:
1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>otpch.cpp
1>account.cpp
1>actions.cpp
1>ban.cpp
1>baseevents.cpp
1>bed.cpp
1>chat.cpp
1>combat.cpp
1>condition.cpp
1>configmanager.cpp
1>connection.cpp
1>container.cpp
1>creature.cpp
1>creatureevent.cpp
1>cylinder.cpp
1>database.cpp
1>databasemanager.cpp
1>databasetasks.cpp
1>depotchest.cpp
1>depotlocker.cpp
1>events.cpp
1>fileloader.cpp
1>game.cpp
1>gamestore.cpp
1>globalevent.cpp
1>groups.cpp
1>guild.cpp
1>house.cpp
1>housetile.cpp
1>imbuements.cpp
1>inbox.cpp
1>ioguild.cpp
1>iologindata.cpp
1>iomap.cpp
1>iomapserialize.cpp
1>iomarket.cpp
1>item.cpp
1>items.cpp
1>luascript.cpp
1>mailbox.cpp
1>map.cpp
1>modules.cpp
1>monster.cpp
1>monsters.cpp
1>mounts.cpp
1>movement.cpp
1>networkmessage.cpp
1>npc.cpp
1>otserv.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtgmath.h(24,70): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data
1>        with
1>        [
1>            T=uint32_t
1>        ] (compiling source file ..\src\networkmessage.cpp)
1>outfit.cpp
1>outputmessage.cpp
1>party.cpp
1>player.cpp
1>position.cpp
1>protocol.cpp
1>protocolgame.cpp
1>protocollogin.cpp
1>protocolstatus.cpp
1>F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\src\housetile.h(50,1): warning C4266: 'void Tile::internalAddThing(Thing *)': no override available for virtual member function from base 'Tile'; function is hidden (compiling source file ..\src\protocollogin.cpp)
1>F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\src\tile.h(270): message : see declaration of 'Tile::internalAddThing' (compiling source file ..\src\protocollogin.cpp)
1>F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\src\tile.h(153): message : see declaration of 'Tile' (compiling source file ..\src\protocollogin.cpp)
1>raids.cpp
1>reward.cpp
1>rewardchest.cpp
1>rsa.cpp
1>scheduler.cpp
1>script.cpp
1>scriptmanager.cpp
1>server.cpp
1>signals.cpp
1>spawn.cpp
1>spells.cpp
1>talkaction.cpp
1>tasks.cpp
1>teleport.cpp
1>thing.cpp
1>tile.cpp
1>tools.cpp
1>trashholder.cpp
1>vocation.cpp
1>waitlist.cpp
1>weapons.cpp
1>wildcardtree.cpp
1>xtea.cpp
1>Generating code
1>Finished generating code
1>theforgottenserver.vcxproj -> F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\vc14\x64\Release\theforgottenserver.exe
1>Done building project "theforgottenserver.vcxproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Here is the one I compiled 5 mints ago in case someone needed to use it (for Windows 64-bit)
 

Attachments

Last edited:
Solution
So you want a pre-compiled version? Or tutorial about how to compile?
For the pre-compiled version here you can find one
For compiling tutorial you can try this one
and about your error you'll have to
Right click on your solution and press Retarget Solution
Also right click on you solution and choose properties then change Platform toolset to Visual Studio 2019 (V142) If it doesn't exist then you'll have to install it by click on the top on Tools then choose Get Tools and Features and choose Visual Studio 2019 (V142) from the Individual Components then install/download.

I will try to compile this version now to get sure what is the issue because this isn't first thread.
Post automatically merged:

Managed to compile it using Visual Studio 2019 and simply following this tutorial
Not sure why people having so many issues compiling this.
Code:
1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>otpch.cpp
1>account.cpp
1>actions.cpp
1>ban.cpp
1>baseevents.cpp
1>bed.cpp
1>chat.cpp
1>combat.cpp
1>condition.cpp
1>configmanager.cpp
1>connection.cpp
1>container.cpp
1>creature.cpp
1>creatureevent.cpp
1>cylinder.cpp
1>database.cpp
1>databasemanager.cpp
1>databasetasks.cpp
1>depotchest.cpp
1>depotlocker.cpp
1>events.cpp
1>fileloader.cpp
1>game.cpp
1>gamestore.cpp
1>globalevent.cpp
1>groups.cpp
1>guild.cpp
1>house.cpp
1>housetile.cpp
1>imbuements.cpp
1>inbox.cpp
1>ioguild.cpp
1>iologindata.cpp
1>iomap.cpp
1>iomapserialize.cpp
1>iomarket.cpp
1>item.cpp
1>items.cpp
1>luascript.cpp
1>mailbox.cpp
1>map.cpp
1>modules.cpp
1>monster.cpp
1>monsters.cpp
1>mounts.cpp
1>movement.cpp
1>networkmessage.cpp
1>npc.cpp
1>otserv.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtgmath.h(24,70): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data
1>        with
1>        [
1>            T=uint32_t
1>        ] (compiling source file ..\src\networkmessage.cpp)
1>outfit.cpp
1>outputmessage.cpp
1>party.cpp
1>player.cpp
1>position.cpp
1>protocol.cpp
1>protocolgame.cpp
1>protocollogin.cpp
1>protocolstatus.cpp
1>F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\src\housetile.h(50,1): warning C4266: 'void Tile::internalAddThing(Thing *)': no override available for virtual member function from base 'Tile'; function is hidden (compiling source file ..\src\protocollogin.cpp)
1>F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\src\tile.h(270): message : see declaration of 'Tile::internalAddThing' (compiling source file ..\src\protocollogin.cpp)
1>F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\src\tile.h(153): message : see declaration of 'Tile' (compiling source file ..\src\protocollogin.cpp)
1>raids.cpp
1>reward.cpp
1>rewardchest.cpp
1>rsa.cpp
1>scheduler.cpp
1>script.cpp
1>scriptmanager.cpp
1>server.cpp
1>signals.cpp
1>spawn.cpp
1>spells.cpp
1>talkaction.cpp
1>tasks.cpp
1>teleport.cpp
1>thing.cpp
1>tile.cpp
1>tools.cpp
1>trashholder.cpp
1>vocation.cpp
1>waitlist.cpp
1>weapons.cpp
1>wildcardtree.cpp
1>xtea.cpp
1>Generating code
1>Finished generating code
1>theforgottenserver.vcxproj -> F:\All Downloads\otxserver-otxserv4 (2)\otxserver-otxserv4\vc14\x64\Release\theforgottenserver.exe
1>Done building project "theforgottenserver.vcxproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Here is the one I compiled 5 mints ago in case someone needed to use it (for Windows 64-bit)
omg, that's why i love you! <3 love u @M0ustafa !
 
Back
Top