Project

General

Profile

« Previous | Next » 

Revision 2cb2b9f0

Added by Scott Ullrich over 19 years ago

MFC 7247
Add Battlefield 2

View differences:

usr/local/www/wizards/traffic_shaper_wizard.xml
824 824
                        <name>Enable/Disable specific games</name>
825 825
                        <type>listtopic</type>
826 826
                </field>		
827
                <field>
828
                        <name>Battlefield2</name>
829
                        <type>checkbox</type>
830
			<typehint>Battlefield 2</typehint>
831
			<bindstofield>ezshaper->step5->battlefield2</bindstofield>
832
                </field>
827 833
                <field>
828 834
                        <name>CallOfDuty</name>
829 835
                        <type>checkbox</type>
......
976 982

  
977 983
		$gamesplist = array();
978 984

  
985
		if($_POST['battlefield2'] != "") {
986
		    /* Battlefield 2 */
987
		    $gamesplist[] = array('BF2-1500-4999', 'udp', '1500', '4999', 'both');
988
		    $gamesplist[] = array('BF2-4711', 'tcp', '4711', '4711', 'both');
989
		    $gamesplist[] = array('BF2-16567', 'udp', '16567', '16567', 'both');
990
		    $gamesplist[] = array('BF2-27900', 'udp', '27900', '27900', 'both');
991
		    $gamesplist[] = array('BF2-28910', 'tcp', '28910', '28910', 'both');
992
		    $gamesplist[] = array('BF2-29900-29901-UDP', 'udp', '29900', '29901', 'both');
993
		    $gamesplist[] = array('BF2-29900-29901-TCP', 'tcp', '29900', '29901', 'both');
994
		    $gamesplist[] = array('BF2-27900', 'udp', '27900', '27900', 'both');
995
		    $gamesplist[] = array('BF2-55123-55125', 'udp', '55123', '55125', 'both');
996
		}
997

  
979 998
		if($_POST['counterstrike'] != "") {
980 999
		    /* counter strike */
981 1000
		    $gamesplist[] = array('Titan', 'udp', '6003', '6003', 'both');

Also available in: Unified diff