Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
need help to decrypt
#11
Awiion Написал:Judging by the fact that battle mode also does not display.
download IDA, Find the package, look how many x bytes reads...
Then do the fix, but the offset is not right, and it is not known how much,

After equip,
writeEquipedItems player.getEqipment());
Works

in between

writeB(new byte[] { (byte) 209, 81, 0, 0, 119, 0, 0, 0, 0, 0, 0, 0, 0 }); // new
writeB(new byte[40]);
writeC(1); // WriteC(Auth.AuthConfig.EnableInventory); ??

the enumeration of the bytes, or not enough...

And anyway, after equip is how I remember the max rank on the server

short <- 0
short <- 55
short <- 0
short <- 55

And judging by the dump package, 4 game version 1.34 client...
You are using an old version of the client...
Of course there will be different structures

thanks for the explanation, I would try to fix it
Ответ
#12
Awiion Написал:Judging by the fact that battle mode also does not display.
download IDA, Find the package, look how many x bytes reads...
Then do the fix, but the offset is not right, and it is not known how much,

After equip,
writeEquipedItems player.getEqipment());
Works

in between

writeB(new byte[] { (byte) 209, 81, 0, 0, 119, 0, 0, 0, 0, 0, 0, 0, 0 }); // new
writeB(new byte[40]);
writeC(1); // WriteC(Auth.AuthConfig.EnableInventory); ??

the enumeration of the bytes, or not enough...

And anyway, after equip is how I remember the max rank on the server

short <- 0
short <- 55
short <- 0
short <- 55

And judging by the dump package, 4 game version 1.34 client...
You are using an old version of the client...
Of course there will be different structures

Awiion
How To fix

Код:
protected internal override void write()
        {
            base.writeH(0xa0e);
            base.writeD(1);
            base.writeH((short) this._channel.getAnnounceSize());
            base.writeS(this._channel.getAnnounce(), this._channel.getAnnounceSize());
            base.writeD(0);
        }
Ответ
#13
crayonnet Написал:Awiion
How To fix SM_SERVER_MESSAGE_ANNOUNCE

PHP код:
<?php 
internal
class SM_SERVER_MESSAGE_ANNOUNCE : SendBaseGamePacket
{
private
Channel _channel;

public
SM_SERVER_MESSAGE_ANNOUNCE(int channelId)
{
base.makeme();
this._channel = ChannelInfoHolder.getChannel(channelId);
}

protected
internal override void write()
{
base.writeH(0xa0e);
base.writeD(1);
base.writeH((short) this._channel.getAnnounceSize());
base.writeS(this._channel.getAnnounce(), this._channel.getAnnounceSize());
base.writeD(0);
}


Код:
public override void WriteImpl()
        {
            Write<int>(channel.Announce != null);
            Write<short>(channel.Announce.Length);
            WriteUnicode(channel.Announce);
        }
Ответ
#14
Thanks Very much Big Grin
Ответ
#15
Awiion Написал:
Код:
public override void WriteImpl()
        {
            Write<int>(channel.Announce != null);
            Write<short>(channel.Announce.Length);
            WriteUnicode(channel.Announce);
        }

Awiion
in server java code that does not work
please help
[Изображение: y4d5yN.jpg]
PHP код:
<?php 
}

@
Override
public void writeImpl() {
writeBool(channel.getAnnounce() != null);
writeH(channel.getAnnounce().length());
writeS(channel.getAnnounce());
}
}

Цитата:writeD(0);
writeH(channel.getAnnounce().length());
writeS(channel.getAnnounce());
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Help encrypt/decrypt strings C# vinista 0 731 09-14-2023, 05:23 AM
Последний пост: vinista
  how to create structure Decrypt file .Pef bmzproject 0 1,359 04-18-2019, 01:50 PM
Последний пост: bmzproject
  Help decrypt .i3VTexSub file Kraken 0 1,654 02-26-2019, 05:01 AM
Последний пост: Kraken

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


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