nesotomayor Posted July 28, 2014 Posted July 28, 2014 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, Quote
Skorm Posted August 5, 2014 Posted August 5, 2014 - 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. } 1 Quote
nesotomayor Posted July 28, 2014 Author Posted July 28, 2014 Hi Sir Skorm, yes i'll buy harmony. im still waiting to install it on my server. thanks, Quote
nesotomayor Posted August 5, 2014 Author Posted August 5, 2014 Hi, Following this up please. i already have harmony. Please advise, Thanks, Quote
krayzie1027 Posted August 5, 2014 Posted August 5, 2014 how to use this script sir? where to put this one? Thanks. Quote
Skorm Posted August 5, 2014 Posted August 5, 2014 how to use this script sir? where to put this one? Thanks. Anywhere just add it as an npc and load it. Quote
rans Posted August 9, 2014 Posted August 9, 2014 lolno need to use script if you own a harmonyCheck 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: -1you just need to edit it there xD Quote
Skorm Posted August 9, 2014 Posted August 9, 2014 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. Quote
rans Posted August 10, 2014 Posted August 10, 2014 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 Quote
Question
nesotomayor
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,
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.