hi
not sure whether the project is still alive but i found some bugs:
change in utility.cpp by adding .c_str() this lines (msvs says that is wrong)
Code: Select all
s32 getS32(std::string name)
{
return stoi(get(name).c_str());
}
float getFloat(std::string name)
{
return stof(get(name).c_str());
}
value.X = stof(f.next(",").c_str());
the app crashes because there is a error in main.cpp
if you commit out this line the app dont crashes
Code: Select all
// Launch pause menu
(new GUIPauseMenu(guienv, guiroot, -1, &g_gamecallback, &g_menumgr))->drop();
hope you can find the error somewhere in that class
i have another as the level loads. sometimes you lose the connection to the server because time out. same sometimes in the game
hope that helps
cu
edit:
the error is in
Code: Select all
void GUIPauseMenu::regenerateGui(v2u32 screensize)
line 137:
enlarge the buffer for text maybe from 200 to 400
Code: Select all
wchar_t text[400];
swprintf(text, 400,.....