Jump to content
  • 0

Anti Dual Script - Mac


nesotomayor

Question


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.02
  • Content Count:  122
  • Reputation:   0
  • Joined:  06/08/14
  • Last Seen:  

Hi rAthena,

 

Requesting for a script that will auto kick the player with dual account. the checking is via MAC address not IP.

 

Please advise,

 

Thanks,

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  


- script dualclientkicker2 -1,{

OnPCLoginEvent:

set .@len, query_sql("SELECT DISTINCT `account_id` FROM `char` WHERE `account_id` IN "+

"(SELECT `account_id` FROM `login` WHERE `last_mac` = "+

"(SELECT `last_mac` FROM `login` WHERE `account_id`="+getcharid(3)+")) AND `online` <> 0;",.@a);

sleep2 1000;

if( .@len > .max )

atcommand "@kick "+strcharinfo(0);

end;

OnInit:

set .max, 2; //Max Connections.

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

You need Harmony.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.02
  • Content Count:  122
  • Reputation:   0
  • Joined:  06/08/14
  • Last Seen:  

Hi Sir Skorm,

yes i'll buy harmony. im still waiting to install it on my server.

thanks,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.02
  • Content Count:  122
  • Reputation:   0
  • Joined:  06/08/14
  • Last Seen:  

Hi,

 

Following this up please. i already have harmony.

 

Please advise,

 

Thanks,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/19/14
  • Last Seen:  

how to use this script sir? where to put this one?

Thanks.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

how to use this script sir? where to put this one?

Thanks.

 

Anywhere just add it as an npc and load it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  06/19/14
  • Last Seen:  

Thanks sir Skorm.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

lol
no need to use script if you own a harmony
Check your 
conf/harmony.conf

 

/////////////////
// Multiclient: PC limit
/////////////////
// Number of connections allowed per physical computer
// Use -1 to disable this check.
// Default: -1 (unlimited)
max_connections_per_pc: -1

you just need to edit it there xD
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

 

lol

no need to use script if you own a harmony

Check your 

conf/harmony.conf

 

 

Good point I actually own harmony and remember seeing that at one point... Although I don't recommend Harmony to anyone.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

 

 

lol

no need to use script if you own a harmony

Check your 

conf/harmony.conf

 

 

Good point I actually own harmony and remember seeing that at one point... Although I don't recommend Harmony to anyone.

 

Yep. 

other player can bypass it now. xD 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...