Jump to content
  • 0

Question

10 answers to this question

Recommended Posts

Posted


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

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
Posted

 

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.

Posted

 

 

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 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...