• 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 Client crashing

8408323

Hoster
Joined
Mar 6, 2009
Messages
432
Reaction score
26
I've been adding some scripts to my server, and eventually all my scripts were working. And I could login successfully. The next time I started the server & client (after a pause) the client keeps on crashing, and I'm not sure what caused this crash. Here is the crashlog, not sure if anyone can distinguish any more information that I understand, but hopefully anyone can?

Code:
----- 09/08/2014 15:25:14 - GoblinsFoe's Tester (127.0.0.1) -----
Debug Assertion 10.41 Communication.cpp 3730
Sat Aug 09 15:23:29 2014
Graphic Engine: DirectX9 (2)
Operating System: Windows Vista Family in SWE
Processor: Intel Core i7 -3630QM @
Video Card: Intel (R) HD GR
Last Packet Types: 180 200 106 106 106 106 162 159 141 130
Last Packet: 023 001 000 000 016 050 000 003 015 021 013 128 003 169 252 003
Player Position: [256,256,7]
Player Name: GoblinsFoe's Tester (GoblinsFoe)
Player Action: 048 046 048 046 048 046 048 058 055 049 055 050
Player.cpp 343: exception occurred, reason:
Network.cpp 844: exception occurred, reason:
Control.cpp 1481: exception occurred (Type = 180) (MainWindow = 17042888), reason:
Communication.cpp 3860: exception occurred (ChatMessageMode = 16), reason:
Communication.cpp 3730: assertion failed (ChatMessageMode = 16), reason:
(ChatMessageMode >= CHATMESSAGE_NONE) && (ChatMessageMode < CHATMESSAGE_BEYONDLAST) && (ChatMessageMode != CHATMESSAGE_PRIVATE_TO) && (ChatMessageMode != CHATMESSAGE_NPC_TO) && (ChatMessageMode != CHATMESSAGE_GAMEMASTER_PRIVATE_TO) && (ChatMessageMode != CHATMESSAGE_TUTORIAL_HINT)
Comment:

Edit: Server does not print any errors, the only thing the server is printing is that the character has logged in.
 
This means you have a script with type login that uses a textmessage with type 16.
Look for textmessages with type 16, for example
Code:
player:sendTextMessage(16, "Your text")
It's also possible you use an old global.lua with the latest version of TFS 1.0 where MESSAGE_STATUS_DEFAULT is set to 16, in that case update your global.lua.
https://github.com/otland/forgottenserver/blob/master/data/global.lua
 
Back
Top