25.3.2013 02:22
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
25.3.2013 04:10
Ok
Thanks
Thanks
29.3.2013 09:13
Ashus Wrote:Sorry, but I'm using another system for banning clients via iptables. You can use PHP Rules checker to ban IP addresses - but you'd have to program it yourself. Are you sure you can't use punkbuster's banning system?Call of duty 1 is the game i am using it doesnot support punkbuster. and you could tell me a little about banning via iptables.. It would be of good help as i have also started hosting a linux server.
30.3.2013 01:39
Basically, you have a list of IP addresses/masks in a textfile (/root/scripts/cod2-banlist.txt)
and the system firewall bash script has these lines:
[code]function BanCOD {
iptables -A INPUT -p udp -s $1 --dport 28960 -j REJECT
}
BANPATH="/root/scripts/cod2-banlist.txt"
if [ -f $BANPATH ]; then
ARY=( `cat $BANPATH | tr '\n' ' '` )
else
ARY=( )
fi
for (( i = 0 ; i
Code:
83.23.72.54
83.16.4.18
62.77.66.3
82.139.177.22
217.112.168.158
80.48.195.32
62.4.97.193
83.31.0.0/16
213.192.23.22
193.179.148.53
and the system firewall bash script has these lines:
[code]function BanCOD {
iptables -A INPUT -p udp -s $1 --dport 28960 -j REJECT
}
BANPATH="/root/scripts/cod2-banlist.txt"
if [ -f $BANPATH ]; then
ARY=( `cat $BANPATH | tr '\n' ' '` )
else
ARY=( )
fi
for (( i = 0 ; i
10.4.2013 12:47
Thanks for telling me that Though it will take time to sink in..You are really nice... .. actually I am a very entry level and PC freak and I just want to know everything about PC's I dunno but its an obsession anyways back on topic. I have tried asking big clan admins but they are really bad in terms of helping they never help So to tackle my problems I Have to learn C++(part of my course) PHP Ubuntu Bash (thanks to you now i know what it is ) Photoshop all at the same time and not to mention I am doing engineering .
Will this be safe I mean If the ban list gets big Its gonna take a while to get the IPs checked? And I think I have to write more code so that when a player connects it sends the comand 'rcon say Player (name) Banned for (reason) on (date:time) by (admin name)'?
Will this be safe I mean If the ban list gets big Its gonna take a while to get the IPs checked? And I think I have to write more code so that when a player connects it sends the comand 'rcon say Player (name) Banned for (reason) on (date:time) by (admin name)'?
10.4.2013 04:23
The player can't connect anymore, he is not let in to the game port - rejected by firewall. You can use PHP Rules script to notify players of a ban. But the one affected will not see it. It would be better to put it on the web ( http://www.kafemlynek.cz/cod2/banlist.php ).
You can add lots of IPs, even subnets (10.0.0.0/8).
You can add lots of IPs, even subnets (10.0.0.0/8).
17.4.2013 08:04
Ashus Wrote:Sorry, but I'm using another system for banning clients via iptables. You can use PHP Rules checker to ban IP addresses - but you'd have to program it yourself. Are you sure you can't use punkbuster's banning system?Actually punkbuster for vCoD 1 ( v 1.1 ) isn't available -.- ps its possible to write a ban tool for cod 1.1 entirely in php. but I dunno how.. some one had done it and its closed source :/
http://think-clan.de/images/bantoolrules2.png
20.4.2013 11:50
If you tell me which file contain ban section so I can see how can I change a ban technique..
Probably adding a IP in DataBase or store in a txt and put a loop to chk the IP's and ... ... if I could do it it will be fun otherwise -.- you may have to...
Probably adding a IP in DataBase or store in a txt and put a loop to chk the IP's and ... ... if I could do it it will be fun otherwise -.- you may have to...
22.4.2013 03:50
Hi guys,
I've been using this amazing PHP Rcon tool for months now, but since i upgraded my server, there is a strange issue.
Some lines are missing in the players list...
[attachment=103]
I'm using Apache 2.2.22 with PHP 5.4.4-14 on Debian 7.0 (wheezy)
Does any Apache/PHP config may result in missing lines ?
I've been using this amazing PHP Rcon tool for months now, but since i upgraded my server, there is a strange issue.
Some lines are missing in the players list...
[attachment=103]
I'm using Apache 2.2.22 with PHP 5.4.4-14 on Debian 7.0 (wheezy)
Does any Apache/PHP config may result in missing lines ?
23.4.2013 07:19
No, the game returns data, and in case of long playerlists, it's missing specific chars at certain points. Those places can't be taken seriously for the player's ID. That's why there are some lines without actions related to specific playerID.