• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved TFS 1.0 - Soul ticks

Cadyan

Well-Known Member
Joined
Mar 30, 2008
Messages
845
Reaction score
63
I am using TFS 1.0 (10.35), and I have my gainsoulticks set to 99999999999, but I am still gaining soul when I gain EXP.
I also tried 0, but also doesn't work.
 
Last edited:
Replace function "void Player::gainExperience(uint64_t gainExp)" in file player.cpp with this:
Code:
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);
  }
}
 
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
 
Last edited:
30297pe.png
 
I followed that guide exactly, and I get those 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.
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.
 
Back
Top