Сообщений: 6,450
Тем: 262
Зарегистрирован: Nov 2007
Репутация:
44,165
Player spawns because he receives PROTOCOL_BATTLE_MISSION_ROUND_START_ACK packet. You must wait until round is finished and only after this - send this packet.
Сообщений: 120
Тем: 33
Зарегистрирован: Nov 2014
Репутация:
5
Thankyou so much man
now i will try fix he thankyou
PROGRAMMATOR i can send u private msg?
Сообщений: 6,450
Тем: 262
Зарегистрирован: Nov 2007
Репутация:
44,165
I've read your message. But I didn't understand why do you have GameGuard.DK00 in your code.
GameGuard is not used in rooms.
Сообщений: 120
Тем: 33
Зарегистрирован: Nov 2014
Репутация:
5
see again msg private i sent for you
Сообщений: 6,450
Тем: 262
Зарегистрирован: Nov 2007
Репутация:
44,165
Write in thread. Can you explain where you use simpleSwitch method?
Сообщений: 120
Тем: 33
Зарегистрирован: Nov 2014
Репутация:
5
ok i send for u example how i using he
Сообщений: 6,450
Тем: 262
Зарегистрирован: Nov 2007
Репутация:
44,165
PROTOCOL_BATTLE_MISSION_ROUND_START_ACK has structure as follow:
[SRC="csharp"]// byte CurrentRound
// int RoundDuration
// short PlayersSlotsMask
[/SRC]
Where PlayersSlotsMask is calculated as:
[SRC="csharp"]PlayersSlotsMask |= 1 << player.SlotId;
[/SRC]