Can anyone help how can I change this to per Computer not per IP can you provide it for me here is the script that I found
-scriptOnly2perIP-1,{
OnPCLoginEvent:
if(getgmlevel()>=99){
end;
} else {
set .@name$, strcharinfo(0);
if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 2) {
announce "Sorry, only 2 accounts per IP are allowed!", bc_self;
sleep 1000;
atcommand "@kick " + .@name$;
}
end;
}
}
I want to change it to 2 dual client per computer not per IP address..
Question
pukay
Can anyone help how can I change this to per Computer not per IP can you provide it for me here is the script that I found
Link to comment
Share on other sites
4 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.