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

Compiling [9.83] Player doesnt relog after death only shows death message and then do nothing

tarekwiz

Hellbot Owner
Joined
Feb 17, 2011
Messages
240
Reaction score
7
title says it all
NOTE : i have to logout then login to find myself in temple
 
I have found something that maybe could help you on: http://otland.net/project.php?issueid=2419#note13459

When >> FabianoBN << posted this:

"The Solution:

In protocolgame.cpp
Go to:
if(player->isRemoved() && recvbyte != 0x14) //a dead player cannot performs actions
return;


Change to:
if(!player)
{
if(recvbyte == 0x0F)
disconnect();

return;
}

//a dead player can not performs actions
if(player->isRemoved() || player->getHealth() <= 0)
{
if(recvbyte == 0x0F)
{
disconnect();
return;
}

if(recvbyte != 0x14)
return;
}


I test and Work!!"
 
Back
Top