How to auto enable hwid lock

MrTitan

Knight
Customer
Is there a way to auto enable the hwid lock from the cfg (when the character is created)?
I didn't find any option for that ...
 
Is there a way to auto enable the hwid lock from the cfg (when the character is created)?
I didn't find any option for that ...
I know that to block malicious users you can add them to the blacklist in the authserver, but how can I ban a user’s hard drive?
 
I know that to block malicious users you can add them to the blacklist in the authserver, but how can I ban a user’s hard drive?
You need to have anti cheat because they allow you to ban by hwid
 
Did you add so I can buy the updates?
I don't see the point of even adding this to the package. Here's a ready-made solution.
Java:
package services;

import l2.gameserver.listener.actor.player.OnPlayerEnterListener;
import l2.gameserver.model.Player;

public class HWIDLockListener implements OnPlayerEnterListener
{
  @Override
  public void onPlayerEnter(Player player)
  {
    String hwidLock = player.getHWIDLock();
    if(hwidLock == null || hwidLock.isEmpty())
    {
      player.setHWIDLock(player.getNetConnection().getHwid());
    }
  }
}
 
Back
Top