Тема: [Point Blank] Problem in host change
Показать сообщение отдельно
Непрочитано 05.08.2016, 12:52   #1
Пользователь

Автор темы (Топик Стартер) Problem in host change

Hi,
im here because i've a big problem on my server.

The problems is that:
-When the leader leave room the battle stop work because leader no send all info of player to other player.

I don't understnad why.

When leader leave I send this:
-CM_REQUEST_HOST_CHANGE to battle server for battle server can change ip/port of room with new master info! (And this is ok)

-Packet 3347 for all player for the new host ip:
This is packet structure:
Код:
H: 3347
D: New leader slot
foreach(Slot slot in room)
{
     if(slot.getPlayer() != null)
     {
         B[4]: New leader ip
         H: Room port
         B[4]: New local leader ip
         H: Room port
         C: 0
     }else{ 
         B[13]
     }
}
Please help because I don't understand what's the problem!
ManuelDev вне форума Ответить с цитированием