Показать сообщение отдельно
Непрочитано 18.07.2015, 10:44   #21
Пользователь

По умолчанию Re: Работа над Goddess of Destruction (part 7)

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?

Код:
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
Amadeo вне форума Ответить с цитированием