kelvin Posted August 4, 2013 Posted August 4, 2013 Who can help me on event registeration with ip checker. EXP: random event need register to go in the map and the registeration npc will check player in map if same ip will reject the registeration. sorry for my bad english Quote
Capuche Posted August 4, 2013 Posted August 4, 2013 prontera,150,175,5 script inin 75,{ select( "register" ); .@my_aid = getcharid(3); while( .@i < .size_aid && .aid_reg[.@i] != .@my_aid ) .@i++;// check if already register if ( .@i < .size_aid ) {// already register, can enter warp "geffen",0,0; end; } .@ip = getcharip(); if ( getd( ".ip_"+ .@ip ) ) {// check the ip dispbottom "access denied. same ip detected."; end; } setd ".ip_"+ .@ip, 1;// save the ip .aid_reg[.size_aid] = .@my_aid;// save the account id .size_aid++; warp "geffen",0,0; end; } Quote
Question
kelvin
Who can help me on event registeration with ip checker. EXP: random event need register to go in the map and the registeration npc will check player in map if same ip will reject the registeration. sorry for my bad english
2 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.