Hi guys! I use this code to prevent my events to run for "dual player's".
.@query_result = 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);
if ( .@query_result > 1 && compare( $whiteList$,getcharid(3) +"" ) == 0 ) {
mes "[AVISO]";
mes "Você não poderá acessar as funções deste npc enquanto houverem mais de 1 conta conectada no mesmo IP. Foram encontrados "+ .@query_result +" registros.";
end;
}
Do you have know some way to check if the .@query_result gets a Autotrade user?
Some ways, my players are using dual account for Merchant and other for Player...can you help me?
Question
Tales
Hi guys!
I use this code to prevent my events to run for "dual player's".
Do you have know some way to check if the .@query_result gets a Autotrade user?
Edited by TalesSome ways, my players are using dual account for Merchant and other for Player...can you help me?
Link to comment
Share on other sites
8 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.