Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Someone can help me fix BATTLE_READY
#1
Someone can help me fix BATTLE_READY!
I change version my server for version 33 now i have problem READY BATTLE
I change OPCODE now code file not working good
someone can help me this this problem

[Изображение: c9O6hkq.png]
Ответ
#2
Send me *.exe and *.dll files from your client PB.
Ответ
#3
This is .exe and all .dll client
Цитата:https://mega.nz/#!KAVxgAIY!uaqnwhYG3JtX-...c52KzAs4IY

this is Client original i'm using
Цитата:http://pb.gamengame.com/download/download.do
Ответ
#4
Код:
GAME VER :  1.15.33.151210015

Packet with 3426 opcode looks like this:

[SRC="csharp"]// ushort stageId
// bool isSmall (4vs4)
// byte stageType
// byte countReadyPlayer

foreach (Player player in room.GetReadyPlayers())
{
// byte slotId

// uint CHARACTER_RED
// uint CHARACTER_BLUE
// uint CHARACTER_HEAD
// uint CHARACTER_ITEM
// uint CHARACTER_DINO

// uint WEAPON_PRIMARY
// uint WEAPON_SECONDARY
// uint WEAPON_MELEE
// uint WEAPON_THROWING
// uint WEAPON_SPECIAL
// uint ?

// byte skill slot1
// byte skill slot2
// byte skill slot3
}[/SRC]


This is not the only change. Binary file is packed by unknown packer, so it is difficult to say clearly.
Ответ
#5
Thankyou i will try

[Изображение: mbXNTET.png]

[Изображение: 21FMySH.png]

Добавлено через 37 минут
Ответ
#6
Type short is writen with writeH() but not with writeD(). No need to write writeD((short) opcode) because it is already noted in super(3426).
Ответ
#7
i delete it but when PVP other player come to room play Crash all player room

SM_BATTLE_READY.java
Цитата: writeH(opcode);
writeH(room.getMapId());
writeC(room.getStage4v4());
writeC(room.getType());
writeH(countReadyPlayer);

for(Player player : room.getReadyPlayers().values()) {


Room.java

Цитата: public ConcurrentHashMap<Long, Player> getReadyPlayers() {
// TODO Auto-generated method stub
return ReadyPlayers;
}


you know why crash now man
when other player enter the room

[Изображение: d5Qt1Nu.png]
Ответ
#8
No need to write writeH(opcode).
Ответ
#9
yeah i remove that bug when pvp 1x1 crash
send this msg to client
Client not responding
and this crash client disconnect
[Изображение: drLFQ42.jpg]

Добавлено через 4 часа 19 минут
Man this is CM_ and SM_
You know how i can descrypt he?

[Изображение: AqAKX9o.png]

[Изображение: FgwRhkV.png]
Ответ
#10
https://forum.zone-game.info/showpost.ph...ostcount=4 fixed structure.
Ответ


Перейти к форуму:


Пользователи, просматривающие эту тему: 5 Гость(ей)