Jump to content
TLThings

[C++] Hardware ban (mac address)


Recommended Posts

Go to file root/intrologin.py

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Client source

Go to UserInterface/AccountConnector.cpp

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Inside:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to file UserInterface/Packet.h

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Game source

Go to file game/Packet.h

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Replace with:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to file game/input_auth.cpp

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Go to file game/db.cpp

Look for:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Add this bellow:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Run this queries inside account database:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

  • Like 20
  • Thanks 9
  • Haha 1
  • Confused 1
  • Sad 1
  • Upvote 3
Link to post
Share on other sites

Jogador ao fazer login, irá aparecer na sua conta (account.account), na tabela hwid o endereço mac da placa de rede com que entrou.

Ao adicionar esse valor à lista em account.hwid_ban, o jogador não conseguirá fazer login

 

@Darkness ban permanece mesmo aquando de mudança de ip, no entanto sim, é possível modificar endereço mac sem muita dificuldade

 

O que aconselho é utilizar como base para criarem o vosso próprio método de identificar o computador. Para tal basta criarem uma função nova e substituir onde está a ser chamada a GetMacAddress() pela vossa

  • Upvote 2
Link to post
Share on other sites
  • 3 months later...
  • 1 month later...
  • 2 weeks later...

para quem tem o problema de registrar mac, usem este arquivo, creio que resolva qualquer problema de registrar mac

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

  • Like 3
Link to post
Share on other sites
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.