07-18-2015, 10:44 AM
Hi sorry if i write in english but i don't speak russian, i want to ask if anybody test the ExBRPRemiumState packet in ertheia or Odyssey, i test it but the golden square not shows on the level when anybody is premium, is brocken the packet?
that is my code if anybody can sayme anything i apreciate tks
Код:
public class ExBR_PremiumState extends L2GameServerPacket
{
private final int _objectId;
private final boolean _state;
public ExBR_PremiumState(Player activeChar, boolean state)
{
_objectId = activeChar.getObjectId();
_state = state;
}
@Override
protected void writeImpl()
{
writeEx(0xDA);
writeD(_objectId);
writeC(_state ? 1 : 0);
}
that is my code if anybody can sayme anything i apreciate tks