• 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!

TFS 1.X+ Client crash when entering bed

Hayvosh

Member
Joined
Feb 7, 2019
Messages
40
Solutions
2
Reaction score
10
Location
Sweden
Hello,

I am running TFS 1.3 7.72 and when I use my charater to enter a bed in a house the client crashes for me.
But the char goes into the bed.

This is the error message I get :
1640142103896.png

Any ideas on what can be the problem?
 
Last edited:
Solution
Found the problem myself.
In actions.cpp on line 356, comment out "g_game.sendOfflineTrainingDialog(player);" and recompile.
As offline training wasn't a thing back in 7.72 :)

C++:
        if (bed->trySleep(player)) {
            player->setBedItem(bed);
            bed->sleep(player);
            //g_game.sendOfflineTrainingDialog(player);
        }
Found the problem myself.
In actions.cpp on line 356, comment out "g_game.sendOfflineTrainingDialog(player);" and recompile.
As offline training wasn't a thing back in 7.72 :)

C++:
        if (bed->trySleep(player)) {
            player->setBedItem(bed);
            bed->sleep(player);
            //g_game.sendOfflineTrainingDialog(player);
        }
 
Solution
Back
Top