Skip to content

Commit

Permalink
Final Commit
Browse files Browse the repository at this point in the history
Final Upload - Public Promod Files !!!
  • Loading branch information
uGiFarukh committed Dec 1, 2017
0 parents commit 0c13902
Show file tree
Hide file tree
Showing 9 changed files with 684 additions and 0 deletions.
3 changes: 3 additions & 0 deletions COPYRIGHT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Promod is copyrighted by The Promod Team. Maintained by Indrek Ardel Ingram
Some portions of this mod named as "public_promodlive220" is copyrighted by uG!|Macarov
Copyright © 2009-2015 The Promod Team
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
public_promodlive220
====================

The official competition mod for Call of Duty 4 named as promod edited to support normal public servers!!! Visit www.ugiclan.com for downloads.
2 changes: 2 additions & 0 deletions pb/pbsvuser.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pb_sv_load stock_iwd_md5.cfg
pb_sv_load promod_iwd_md5.cfg
1 change: 1 addition & 0 deletions pb/promod_iwd_md5.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pb_sv_md5tool a "" v pml220.iwd SZ276308 AT0 LEN2048 21D42AD2AA596B92C6AFB0B25C1BC9AB
14 changes: 14 additions & 0 deletions pb/stock_iwd_md5.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pb_sv_md5tool a "" v main/iw_00.iwd SZ167780172 AT0 LEN2048 BC02FE65F2C013DB4C1480D59F1CB93F
pb_sv_md5tool a "" v main/iw_01.iwd SZ167885112 AT0 LEN2048 "55EFD479424E487756BC3EE3A7AF3799 4FDB703797393D3493E4B4BAE0B0A3CF"
pb_sv_md5tool a "" v main/iw_02.iwd SZ166957774 AT0 LEN2048 "8067C044C6A133C2F5D1B3E2B3E59CDC 1438B3EAED4FD8D654326933263C6C9F"
pb_sv_md5tool a "" v main/iw_03.iwd SZ166904484 AT0 LEN2048 "724442AC8D8E6415425C0B3E9FE6AC5A E47150F42B30F5F4F928F7AA8B6ACBEC"
pb_sv_md5tool a "" v main/iw_04.iwd SZ167682009 AT0 LEN2048 "5688EA7D04308440876DE31B84484419 70199C90F845078AE6B3EC53DAA1BDF8"
pb_sv_md5tool a "" v main/iw_05.iwd SZ167489996 AT0 LEN2048 "4865724D59BB73514DCBF557A9B21CFE A74997AFC0FE4A2BB9E9CB78DD0E1C05"
pb_sv_md5tool a "" v main/iw_06.iwd SZ167754503 AT0 LEN2048 "8CD0E80D88FD95AE3D5DF80D0AD29EB7 D74754503B511CDCA5B146DB3D9A24E8"
pb_sv_md5tool a "" v main/iw_07.iwd SZ162987361 AT0 LEN2048 E20C159359BED1E6BD9C23FC6D52631F
pb_sv_md5tool a "" v main/iw_08.iwd SZ167544651 AT0 LEN2048 F5B2959EDFED674AB47E59CFA1B2A3DA
pb_sv_md5tool a "" v main/iw_09.iwd SZ167076481 AT0 LEN2048 310374CB0F5ABF3880AEE5798FE269C9
pb_sv_md5tool a "" v main/iw_10.iwd SZ165389824 AT0 LEN2048 9D53044FAD09B8BAF10FE4E9F08DFA59
pb_sv_md5tool a "" v main/iw_11.iwd SZ151420446 AT0 LEN2048 3D429842C2F904EB13C5129E8A77582B
pb_sv_md5tool a "" v main/iw_12.iwd SZ5559373 AT0 LEN2048 6A0F0960BA6BCE04A8134A5B2E88D3EE
pb_sv_md5tool a "" v main/iw_13.iwd SZ28644036 AT0 LEN2048 89BD98431CD72ED0FD3E08DB87952BD5
1 change: 1 addition & 0 deletions promod/servercheck.gsc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
main(){level endon("restarting");thread errorMessage();for(;;){if(getDvarInt("sv_cheats")||isDefined(game["PROMOD_MATCH_MODE"])&&game["PROMOD_MATCH_MODE"]=="strat")break;forceDvar("authServerName","cod4master.activision.com");forceDvar("sv_disableClientConsole","0");forceDvar("sv_fps","20");forceDvar("sv_pure","1");forceDvar("sv_maxrate","25000");forceDvar("g_gravity","800");forceDvar("g_speed","190");forceDvar("g_knockback","1000");forceDvar("g_playercollisionejectspeed","25");forceDvar("g_dropforwardspeed","10");forceDvar("g_drophorzspeedrand","100");forceDvar("g_dropupspeedbase","10");forceDvar("g_dropupspeedrand","5");forceDvar("g_useholdtime","0");if(isDefined(game["PROMOD_MATCH_MODE"])&&game["PROMOD_MATCH_MODE"]=="match"){forceDvar("g_maxdroppedweapons","16");if(!game["LAN_MODE"])forceDvar("g_smoothclients","1");}wait 0.1;}}forceDvar(dvar,value){val=getDvar(dvar);if(val!=value){setDvar(dvar,value);iprintln("^3"+dvar+" has been changed back to '"+value+"' (was '"+val+"')");}}errorMessage(){level endon("restarting");for(;;){if(getDvarInt("sv_cheats")||isDefined(game["PROMOD_MATCH_MODE"])&&game["PROMOD_MATCH_MODE"]=="strat")break;if(!getDvarInt("sv_punkbuster")&&!game["LAN_MODE"]&&!game["PROMOD_PB_OFF"])iprintlnbold("^1Server Violation^7: Punkbuster Disabled");if(getDvarInt("scr_player_maxhealth")!=100&&game["HARDCORE_MODE"]!=1&&game["CUSTOM_MODE"]!=1||getDvarInt("scr_player_maxhealth")!=30&&game["HARDCORE_MODE"]==1&&game["CUSTOM_MODE"]!=1)iprintlnbold("^1Server Violation^7: Modified Player Health");antilag=getDvarInt("g_antilag");dedicated=getDvar("dedicated");if((antilag&&dedicated=="dedicated LAN server")||(!antilag&&dedicated=="dedicated internet server"&&!game["PROMOD_PB_OFF"]))iprintlnbold("^1Server Violation^7: Modified Connection");if(isDefined(game["PROMOD_MATCH_MODE"])&&game["PROMOD_MATCH_MODE"]=="match"||toLower(getDvar("fs_game"))=="mods/pml220"){if(toLower(getDvar("fs_game"))!="mods/pml220")iprintlnbold("^1Server Violation^7: Invalid fs_game value");iwdnames=strToK(getDvar("sv_iwdnames")," ");iwdsums=strToK(getDvar("sv_iwds")," ");iwd_loaded=false;for(i=0;i<iwdnames.size;i++){switch(iwdnames[i]){case"iw_00":case"iw_01":case"iw_02":case"iw_03":case"iw_04":case"iw_05":case"iw_06":case"iw_07":case"iw_08":case"iw_09":case"iw_10":case"iw_11":case"iw_12":case"iw_13":break;case"z_c_r":if(isDefined(game["PROMOD_MATCH_MODE"])&&game["PROMOD_MATCH_MODE"]=="match"&&iwdsums[i]!="1988645860")iprintlnbold("^1Server Violation^7: Modified Custom IWD File While In Match Mode");break;case"pml220":if(iwdsums[i]!="1491770436")iprintlnbold("^1Server Violation^7: Modified Promod IWD Detected");iwd_loaded=true;break;default:if(!isCustomMap()||!isSubStr(iwdnames[i],level.script))iprintlnbold("^1Server Violation^7: Extra IWD Files Detected");break;}}if(!iwd_loaded)iprintlnbold("^1Server Violation^7: Promod IWD Not Loaded");}wait 2;}}isCustomMap(){switch(level.script){case"mp_backlot":case"mp_bloc":case"mp_bog":case"mp_broadcast":case"mp_carentan":case"mp_cargoship":case"mp_citystreets":case"mp_convoy":case"mp_countdown":case"mp_crash":case"mp_crash_snow":case"mp_creek":case"mp_crossfire":case"mp_farm":case"mp_killhouse":case"mp_overgrown":case"mp_pipeline":case"mp_shipment":case"mp_showdown":case"mp_strike":case"mp_vacant":return false;}return true;}
1 change: 1 addition & 0 deletions promod/setvariables.gsc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
main(){setDvar("bg_bobMax",0);setDvar("player_sustainAmmo",0);setDvar("player_throwBackInnerRadius",0);setDvar("player_throwBackOuterRadius",0);setDvar("loc_warnings",0);game["allies_assault_count"]=0;game["allies_specops_count"]=0;game["allies_demolitions_count"]=0;game["allies_sniper_count"]=0;game["axis_assault_count"]=0;game["axis_specops_count"]=0;game["axis_demolitions_count"]=0;game["axis_sniper_count"]=0;game["promod_timeout_called"]=false;game["promod_in_timeout"]=0;game["allies_timeout_called"]=0;game["axis_timeout_called"]=0;game["promod_first_readyup_done"]=0;game["PROMOD_VERSION"]="Promod ^1LIVE ^7V2.20 EU";}
Loading

0 comments on commit 0c13902

Please sign in to comment.