Hi guys I'm using a guild pack with sql.... here is the code.
for(set .@i,0; .@i<25; set .@i,.@i+1)
query_sql("SELECT account_id,char_id FROM `guild_member` WHERE guild_id = '"+.@guild+"'", .@acc, .@char);
for(set .@j,0; .@j<getarraysize(.@acc); set .@j,.@j+1){
query_sql("SELECT `last_ip` FROM `login` WHERE account_id = '"+.@acc[.@j]+"'",.@ip1$);
if (isloggedin(.@acc[.@j],.@char[.@j])) {
query_sql("SELECT `last_ip` FROM `guild_package` WHERE `account_id` = '"+.@acc[.@j]+"' AND `last_ip` = '"+.@ip1$+"'",.@ip2$);
if(.@ip2$ == .@ip1$){
message rid2name(.@acc[.@j]),"Sorry but your IP Address is already registered.";
}else{
query_sql "INSERT INTO `guild_package` (`account_id` , `last_ip`) VALUES ('"+.@acc[.@j]+"','"+.@ip1$+"')";
set $@members,$@members+1;
}
}
}
I just want to ask if players can bypass this by changing IP Address? and how about mac address?
Question
nasagnilac
Hi guys I'm using a guild pack with sql.... here is the code.
I just want to ask if players can bypass this by changing IP Address? and how about mac address?
Link to comment
Share on other sites
0 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.