ipban

08/10/2010 21:35 Fish*#1
anybody got a working ip ban for the 5165.
I tried alot, but noone worked.
I tried to convert some, but didnt work.
so anybody got one?
:handsdown:
08/11/2010 00:03 pro4never#2
ip ban is super easy to code. Simply create an ini file or sql table to store a list of banned ip's

Then on login just run a check to ensure that the connecting ip doesn't match any in the list.

Then to ip ban make a cmd that gets the target name's ip, adds it to the list (in ini AND in game or else it won't apply till restart) and then kicks all characters using that ip.