Open ricardoianelli opened 4 years ago
POSSIBLE SOLUTION FOR OTC PROBLEMS
Problems: Getting disconnected every 30 seconds and weird game screen behaviors such as items/players desappear, totally black screen, disappearing ladder (splashes blood stacking).
First open otclient.vcxproj
goes to game.cpp
then with CTRL + F look for if(version >= 770)
and add enableFeature(Otc::GameClientPing);
Second goes to protocolgameparse.cpp
then with CTRL + F look for parseTileAddThing
and add
if(g_game.getClientVersion() >= 772)
stackPos = msg->getU8();
I have the solution, but I can't post here, because I need to use the signal " ` " and this signal here is to code LOL.
Lets Try:
Open iologindata.cpp, and the function to save player, you have to cast sex as an actual sex.
// Search for
query << "sex
= " << player->sex << ',';
// Cahange for
query << "sex
= " << static_cast
OBS: the signal " ` " appears before and after the word sex.
Hi! I'm having the following issues when logging off (saving character)
Obs.: I've used the
nostalrius.sql
to generate the db.