Показать сообщение отдельно
Непрочитано 07.08.2016, 20:31   #1
Аватар для Exile03
Пользователь

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

Hi All...
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!
Exile03 вне форума Ответить с цитированием