Skip to content

How i can create command .ping for players?

Featured Replies

How i can create command .ping for players?

7 hours ago, steve said:

How i can create command .ping for players?

package com.l2evie.gameserver.network.serverpackets;

/**
 * @author Evie Frye
 */
public final class NetPing extends L2GameServerPacket
{
    private final long timeStamp;

    public NetPing(long timeStamp)
    {
        this.timeStamp = timeStamp;
    }

    @Override
    protected void writeImpl()
    {
        writeC(0xD9);
        writeD((int) timeStamp);
    }

	@Override
	public String getType()
	{
		return null;
	}
}

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.