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

Problem in otserv.cpp

grand128

New Member
Joined
Jun 8, 2009
Messages
33
Reaction score
0
I use mystic spirit 0.2.10 and while I have crash on server I have error connected with this function in otserv.cpp, line 158

Code:
void badAllocationHandler()
{
	// Use functions that only use stack allocation
	puts("Allocation failed, server out of memory.\nDecrease the size of your map or compile in 64 bits mode.");
	char buf[1024];
	assert(fgets(buf, sizeof(buf), stdin) != 0);
	exit(-1);
}

line 158 is here:
Code:
assert(fgets(buf, sizeof(buf), stdin) != 0);

whats incorrect? do you know something about it?
 
Back
Top