void Player::gainExperience(uint64_t gainExp)
{
if (!hasFlag(PlayerFlag_NotGainExperience) && gainExp > 0) {
if (staminaMinutes == 0) {
return;
}
uint64_t oldExperience = experience;
addExperience(gainExp * g_game.getExperienceStage(level), true, true);
}
}
Here is the official guide: https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows.I would need to recompile, right? I have all the stuff I need, but cant seem to get the directories set up properly on MVS 2013
I followed that guide exactly, and I get those errors.Here is the official guide: https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows.
I chose x64 because that what I have been running. I also tried both release and debug but neither seemed to work. I clicked build solution and get 100-160 errors.To configure the build, navigate to Build -> Configuration Manager in the menu. A dialog should pop up where you can choose between Release or Debug build, and 32-bit (Win32) or 64-bit (x64) build.