Augment stuck

  • Автор темы Автор темы Horyon
  • Дата начала Дата начала

Horyon

Пляшущий с бубном
Участник
Сообщения
220
Розыгрыши
0
Решения
4
Репутация
53
Реакции
78
Баллы
273
Хроники
  1. Shadow of the Kamael
Исходники
Присутствуют
Сборка
L2jMobius Master class ch2
The augment starts but dont apply the effect and get stucked in this step.

1674817391140.png

Any idea where i miss config?

Ty in advance!!
 
Error in packages. The client sends the information, and the server processes it incorrectly (or does not process it at all). And (or) the structure of packets from the server to the client is broken.
 
exist a way to debug it? and get the info in logs?
 
exist a way to debug it? and get the info in logs?
Sure. First find the package that is responsible for this. Then compare what he accepts with what he should accept. If everything is correct, check the processing of the request (there should be an xml file with options, a parser, and a class that adds ID options to the subject with an entry in the MySQL), after that you need to transfer the package with the correct structure to the client.
 
Sure. First find the package that is responsible for this. Then compare what he accepts with what he should accept. If everything is correct, check the processing of the request (there should be an xml file with options, a parser, and a class that adds ID options to the subject with an entry in the MySQL), after that you need to transfer the package with the correct structure to the client.
Ok... i'll google it and try until i fix. Ty =)
 
The augment starts but dont apply the effect and get stucked in this step.

Посмотреть вложение 47610

Any idea where i miss config?

Ty in advance!!
JavaScript:
public class RequestRefine extends AbstractRefinePacket
{
    private int _targetItemObjId;
    private int _mineralItemObjId;
    private boolean _isEvent;
    
    @Override
    public boolean read(GameClient client, PacketReader packet)
    {
        _targetItemObjId = packet.readD();
        _mineralItemObjId = packet.readD();
        _isEvent = packet.readC() == 1;
        return true;
    }
 
  • Мне нравится
Реакции: kick
Запрещено публиковать исходный код без BB-кода — CODE
JavaScript:
public class RequestRefine extends AbstractRefinePacket
{
    private int _targetItemObjId;
    private int _mineralItemObjId;
    private boolean _isEvent;
  
    @Override
    public boolean read(GameClient client, PacketReader packet)
    {
        _targetItemObjId = packet.readD();
        _mineralItemObjId = packet.readD();
        _isEvent = packet.readC() == 1;
        return true;
    }
my is more simple...

Java:
public class RequestRefine extends AbstractRefinePacket
{
    private int _targetItemObjId;
    private int _mineralItemObjId;
  
    @Override
    public void read(ReadablePacket packet)
    {
        _targetItemObjId = packet.readInt();
        _mineralItemObjId = packet.readInt();
packet.readByte(); is event
    }

will replace to test
 
Последнее редактирование модератором:
I dont know what i did... but was server side problem... cause i forget to pass the work to source... so when i compile i make all server side again and boom... work hahaha.

I dont even know what i do wrong to post here sry. I just re-make customitem.xml, variation.xml, options.xml.

:ROFLMAO:

Ty for help guys. !!!

Also i find a really good stuff for track source "player.sendMessage("Message custom");" it will appear in up text like a msg from system. works really good for this.

Ty again.
 

Похожие темы

Назад
Сверху Снизу