need help to decrypt - Страница 2 - Форум администраторов игровых серверов
Форум администраторов игровых серверов StormWall - Защита от DDos атак
Регистрация Мнения Справка Сообщество Календарь
Вернуться   Форум администраторов игровых серверов > MMO > Point Blank (Piercing Blow)

Point Blank (Piercing Blow)
Общие вопросы по написанию эмулятора. General questions on developing emulator. При поддержке: Lucera 2 - разработка Java Interlude

Ответ
Опции темы
Непрочитано 10.05.2016, 18:21   #11
Пользователь

По умолчанию Re: need help to decrypt

Цитата:
Сообщение от 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
crayonnet вне форума Ответить с цитированием
Непрочитано 15.05.2016, 15:09   #12
Пользователь

По умолчанию Re: need help to decrypt

Цитата:
Сообщение от 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);
        }
crayonnet вне форума Ответить с цитированием
Непрочитано 15.05.2016, 15:15   #13
Аватар для Awiion

По умолчанию Re: need help to decrypt

Цитата:
Сообщение от crayonnet Посмотреть сообщение
Awiion
How To fix SM_SERVER_MESSAGE_ANNOUNCE

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((shortthis._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);
        }
Awiion вне форума Отправить сообщение для Awiion с помощью Skype™ Ответить с цитированием
Непрочитано 15.05.2016, 15:43   #14
Пользователь

По умолчанию Re: need help to decrypt

Thanks Very much
crayonnet вне форума Ответить с цитированием
Непрочитано 16.05.2016, 12:27   #15
Пользователь

По умолчанию Re: need help to decrypt

Цитата:
Сообщение от 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

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());
crayonnet вне форума Ответить с цитированием
Ответ

Метки
point blank


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
ItemName-e.dat decrypt alexkhua Игровой клиент 0 06.12.2015 01:10
Хук функций Encrypt\Decrypt(558+) Mifesto Lineage II 4 11.04.2015 17:23
Decrypt packets Sun Lineage II 4 09.08.2013 05:23
Соединение с игровым сервером было прервано. Decrypt fail! Karat Серверная часть 5 17.03.2010 20:57


© 2007–2024 «Форум администраторов игровых серверов»
Защита сайта от DDoS атак — StormWall
Работает на Булке неизвестной версии с переводом от zCarot
Текущее время: 07:10. Часовой пояс GMT +3.

Вверх