static constexpr auto CLIENT_VERSION_MIN = 1097;
static constexpr auto CLIENT_VERSION_MAX = 1098;
static constexpr auto CLIENT_VERSION_STR = "10.98";
Gonna need a little more information than that, but this might set you on the right track.
![]()
forgottenserver/src/definitions.h at b7ef46dfc7ac4fad1bcea5e3604c9ef8c4350864 · otland/forgottenserver
A free and open-source MMORPG server emulator written in C++ - otland/forgottenservergithub.com
C++:static constexpr auto CLIENT_VERSION_MIN = 1097; static constexpr auto CLIENT_VERSION_MAX = 1098; static constexpr auto CLIENT_VERSION_STR = "10.98";
If there are major differences between those protocols you're not going to be able to simply change the version integer and string and expect it to work. The engine parses packets specifically meant for that exact client version, if you attempt to upgrade you need to parse the new packets sent from client and send info back to client via the server.
got it, but i mean for editing hex in the .exe
i understand, nice comment btw, my goal tbh is play a server allowing only client v12 in a client v10 changing the hex string (idk if thats the term) for pretending to be a v12.
u guys got it, i mean change in the executable, not in the server sources, in client side, sorry for this shit title, i will change it.
THANKS!
hello boys!
iam trying to change the protocol to use a specific client in a otserver, but iam still failing.
can somebody help me with the codes please?
thanks adv.
Code:client version 10, allowed 11.00
As Delusion tell you already it isn't that simple, if the server allows only v12 clients then you need to login through login.php script not through ProtocolLogin and the v10 clients can't do that.i understand, nice comment btw, my goal tbh is play a server allowing only client v12 in a client v10 changing the hex string (idk if thats the term) for pretending to be a v12.
u guys got it, i mean change in the executable, not in the server sources, in client side, sorry for this shit title, i will change it.
B9 E8 03 00 00
B9 B0 04 00 00