Error on compile

The error is resolved after using visual studio 2022 and moving to v143
An extra note on this issue:
This issue can occur whenever you have multiple compilers installed, such as v142 (14.28.29910) and v143 (14.34.31933). vcpkg could have chosen to use v143 over v142. If you then attempt to compile in v142 using VS2019, this error can occur as the linked library was compiled using a different/newer compiler.
Can i have more than 1 visual studion installed? because i use another version to compile my otserver
Can i have more than 1 visual studion installed? because i use another version to compile my otserver
You can, however, with some libraries you have make sure the library itself is build with the same compiler as the application or tool you're trying to build, else link errors can occur.
@Kezuino can you help me with that issue? I'm already using VS 2022 but I still getting error. I solved most of them but now I'm having problem with 'beast' from 'boost'. All 52 errors is from 'beast'.
Can i have more than 1 visual studion installed? because i use another version to compile my otserver
You can, however, with some libraries you have make sure the library itself is build with the same compiler as the application or tool you're trying to build, else link errors can occur.
Idk if im selecting right options here too:
Dont have win64 option here
Worked bro! Now its working. I have only one error now. with 'tostring' Can i remove it or have another way to fix it?
m_result->size = atoi(msg["Content-Length"].to_string().c_str());
Severity Code Description Project File Line Suppression State
Error C2039 'to_string': is not a member of 'boost::core::basic_string_view<char>' otclient C:\Users\victor_rafael\Downloads\otcv8-dev-master\otcv8-dev-master\src\framework\http\session.cpp 124
I presume you can change it to be the same as this commit https://github.com/OTAcademy/otclientv8/commit/5688d70d801e489953c8218fe0adbaeb7b2bb7d3
I presume you can change it to be the same as this commit OTAcademy/otclientv8@5688d70
Thank buddy! It worked! Now im having another issue haha i cant connect even selecting protocol 8.0 I got msg that only clients with procotol 8.0 allowed. Should i change something in source too for this?
I presume you can change it to be the same as this commit OTAcademy/otclientv8@5688d70
Thank buddy! It worked! Now im having another issue haha i cant connect even selecting protocol 8.0 I got msg that only clients with procotol 8.0 allowed. Should i change something in source too for this?
That is the server replying that only protocol 8.0 is allowed. You'll have to change settings around so it knows your client is using protocol 8.00. These settings can be changed in the init.lua. Basically in the server list you can define the server's properties. (e.g. ip:port:protocol[:features]* or 127.0.0.1:7171:800)
But if you have questions not detailing the current issue, I would like to refer you to the discord or OTAcademy or OTClientV8.
I presume you can change it to be the same as this commit OTAcademy/otclientv8@5688d70
Thank buddy! It worked! Now im having another issue haha i cant connect even selecting protocol 8.0 I got msg that only clients with procotol 8.0 allowed. Should i change something in source too for this?
That is the server replying that only protocol 8.0 is allowed. You'll have to change settings around so it knows your client is using protocol 8.00. These settings can be changed in the init.lua. Basically in the server list you can define the server's properties. (e.g. ip:port:protocol[:features]* or 127.0.0.1:7171:800)
But im using custom look:
I testes changed to 7.92 on server side and also on client. both in 8.00 but got the same error
That is the server replying that only protocol 8.0 is allowed. You'll have to change settings around so it knows your client is using protocol 8.00. These settings can be changed in the init.lua. Basically in the server list you can define the server's properties. (e.g. ip:port:protocol[:features]* or 127.0.0.1:7171:800)
Presumably there is still a mismatch in version/protocol or signatures. Best to double check that on both client and server side.
However, your issue no longer concerns this GH issue on this page, I would like to refer you to the discord of OTAcademy or OTClientV8 for other questions.
That is the server replying that only protocol 8.0 is allowed. You'll have to change settings around so it knows your client is using protocol 8.00. These settings can be changed in the init.lua. Basically in the server list you can define the server's properties. (e.g. ip:port:protocol[:features]* or 127.0.0.1:7171:800)
Presumably there is still a mismatch in version/protocol or signatures. Best to double check that on both client and server side.
However, your issue no longer concerns this GH issue on this page, I would like to refer you to the discord of OTAcademy or OTClientV8 for other questions.
Ye thanks, do you have discord? Can i talk with you there?
That is the server replying that only protocol 8.0 is allowed. You'll have to change settings around so it knows your client is using protocol 8.00. These settings can be changed in the init.lua. Basically in the server list you can define the server's properties. (e.g. ip:port:protocol[:features]* or 127.0.0.1:7171:800)
Presumably there is still a mismatch in version/protocol or signatures. Best to double check that on both client and server side. However, your issue no longer concerns this GH issue on this page, I would like to refer you to the discord of OTAcademy or OTClientV8 for other questions.
Ye thanks, do you have discord? Can i talk with you there?
Currently not, as I am at work. But there are many others who can help you on either Discords :).
