kelvin Posted August 4, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 23 Reputation: 0 Joined: 07/14/13 Last Seen: July 21, 2014 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted August 4, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
kelvin Posted August 5, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 23 Reputation: 0 Joined: 07/14/13 Last Seen: July 21, 2014 Author Share Posted August 5, 2013 Thanks will try this script Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.