Jump to content
  • 0

HWID checks to limit the opened clients.


Question

Posted

Pretty straight question.

I imagine it is possible to add checks on the EnterWorld, to check your HWID and if it already exists on someone else (X Times) you get a custom msg.

Can someone help me with that ?
Either pointing me into a direction or even solve it.

 

Thanks in advance !

6 answers to this question

Recommended Posts

  • 0
Posted

You need client modification to do that. Java cant get any info about hwid. 

If the client will give u the hwid then its simple , its like a string compare .equals(hwid)

  • 0
Posted
On 2/20/2018 at 10:51 PM, melron said:

You need client modification to do that. Java cant get any info about hwid. 

If the client will give u the hwid then its simple , its like a string compare .equals(hwid)

I already have the HWID.
Can you give me a hint on how to do it? ( Maybe an example with something else like IP instead of HWID )

  • 0
Posted
4 minutes ago, L2J NexuS said:

I already have the HWID.
Can you give me a hint on how to do it? ( Maybe an example with something else like IP instead of HWID )

Since you got it you should have methods too like activeChar.getHWID() ? 

 

to get the ip address 

activeChar.getClient().getConnection().getInetAddress().getHostAddress();

 

  • 0
Posted

For loop all online players, if hwid equals then logout or whatever you want to. For loop example - admin command, dualbox check. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...