Посмотрите видео ниже, чтобы узнать, как установить наш сайт в виде веб-приложения на главном экране.
Примечание: Эта функция может быть недоступна в некоторых браузерах.
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.exist a way to debug it? and get the info in logs?
Ok... i'll google it and try until i fix. Ty =)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.
The augment starts but dont apply the effect and get stucked in this step.
Посмотреть вложение 47610
Any idea where i miss config?
Ty in advance!!
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...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; }
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
}