i'v found thisI'm not sure because I did not test it, but I think you just need to comment these lines from player.cpp:
C++:uint64_t lossExperience = getLostExperience(); removeExperience(lossExperience, false);
if(skillLoss)
{
double reduction = 1.;
if(g_config.getBool(ConfigManager::FAIRFIGHT_REDUCTION) && opponents > level)
reduction -= (double)level / opponents;
uint64_t lossExperience = (uint64_t)std::floor(reduction * getLostExperience()), currExperience = experience;
removeExperience(lossExperience, false);
double percent = 1. - ((double)(currExperience - lossExperience) / std::max((uint64_t)1, currExperience));
i got this error while compile can you enter with teamviwer?Just comment this line:
Like:Code:removeExperience(lossExperience, false);
Code://removeExperience(lossExperience, false);
[Linker error] undefined reference to `lua_pushnumber'
[Linker error] undefined reference to `lua_pushnumber'