Skip to content

Commit 1b0be92

Browse files
TrivveIngramz
authored andcommitted
Promod LIVE V2.17 release
1 parent dde297d commit 1b0be92

11 files changed

+50
-61
lines changed

compile.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
@echo off
1010

11-
SET mod_name=promodlive216
11+
SET mod_name=pml217
1212
SET work_directory=%~dp0
1313
cd %work_directory%
1414

1515
del ..\%mod_name%\*.iwd
1616

1717
7za a -r -mx=9 -mpass=15 -mfb=258 -mmt=on -mtc=off -tzip ..\%mod_name%\%mod_name%.iwd weapons images sound
18-
7za a -r -mx=9 -mpass=15 -mfb=258 -mmt=on -mtc=off -tzip ..\%mod_name%\z_custom_ruleset.iwd promod_ruleset
18+
7za a -r -mx=9 -mpass=15 -mfb=258 -mmt=on -mtc=off -tzip ..\%mod_name%\z_c_r.iwd promod_ruleset
1919

2020
compile_fastfile.bat

compile_fastfile.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ copy mod.csv ..\..\zone_source /Y
2525
cd ..\..\bin
2626
linker_pc.exe -language english -compress -cleanup mod -verbose
2727

28-
cd ..\mods\promodlive216
28+
cd ..\mods\pml217
2929
copy ..\..\zone\english\mod.ff
3030

3131
pause

pb/promod_iwd_md5.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pb_sv_md5tool a "" v mods/promodlive216/promodlive216.iwd SZ276308 AT0 LEN2048 0B6BD48A1B9FE82904C3C4FD549B4FEA
1+
pb_sv_md5tool a "" v mods/pml217/pml217.iwd SZ276308 AT0 LEN2048 0B6BD48A1B9FE82904C3C4FD549B4FEA

promod/readyup.gsc

+14-17
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ main()
3636
setClientNameMode( "auto_change" );
3737
setGameEndTime( 0 );
3838

39-
if ( game["promod_first_readyup_done"] )
40-
thread periodAnnounce();
39+
thread periodAnnounce();
4140

4241
level.ready_up_over = false;
4342
previous_not_ready_count = 0;
@@ -292,22 +291,20 @@ clientHUD()
292291
self.periodtext.foreground = false;
293292
self.periodtext.hidewheninmenu = true;
294293

295-
if ( game["promod_first_readyup_done"] )
296-
{
297-
self.halftimetext = createFontString( "objective", 1.5 );
298-
self.halftimetext.alpha = 0;
299-
self.halftimetext setPoint( "CENTER", "CENTER", 0, 200 );
300-
self.halftimetext.sort = 1001;
294+
self.halftimetext = createFontString( "objective", 1.5 );
295+
self.halftimetext.alpha = 0;
296+
self.halftimetext setPoint( "CENTER", "CENTER", 0, 200 );
297+
self.halftimetext.sort = 1001;
301298

302-
if ( game["promod_in_timeout"] && (!isDefined( game["LAN_MODE"] ) || !game["LAN_MODE"]) )
303-
text = "Remaining";
304-
else
305-
text = "Elapsed";
299+
self.halftimetext.foreground = false;
300+
self.halftimetext.hidewheninmenu = true;
306301

307-
self.halftimetext setText( "Time " + text );
308-
self.halftimetext.foreground = false;
309-
self.halftimetext.hidewheninmenu = true;
310-
}
302+
if ( game["promod_first_readyup_done"] && game["promod_in_timeout"] && (!isDefined( game["LAN_MODE"] ) || !game["LAN_MODE"]) )
303+
text = "Remaining";
304+
else
305+
text = "Elapsed";
306+
307+
self.halftimetext setText( "Time " + text );
311308

312309
self thread moveOver();
313310

@@ -364,7 +361,7 @@ moveOver()
364361
self.periodtext MoveOverTime( 2.5 );
365362
}
366363

367-
self.periodtext setPoint( "CENTER", "CENTER", 0, 185 + int( !isDefined( self.halftimetext ) ) * 25 );
364+
self.periodtext setPoint( "CENTER", "CENTER", 0, 185 );
368365

369366
if( level.rup_txt_fx )
370367
{

promod/scorebot.gsc

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ actionTicker()
4949
setDvar( "__promod_defence_score", game["promod_scorebot_defence_ticker_buffer"], true );
5050
setDvar( "__promod_mode", toLower( getDvar( "promod_mode" ) ), true );
5151
setDvar( "__promod_ticker", getDvar( "__promod_ticker" ), true );
52-
setDvar( "__promod_version", "Promod LIVE V2.16 EU", true );
52+
setDvar( "__promod_version", "Promod LIVE V2.17 EU", true );
5353

5454
for(;;)
5555
{

promod/servercheck.gsc

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ errorMessage()
7676
if ( (antilag && dedicated == "dedicated LAN server") || (!antilag && dedicated == "dedicated internet server" && !game["PROMOD_PB_OFF"]))
7777
iprintlnbold("^1Server Violation^7: Modified Connection");
7878

79-
if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/promodlive216" )
79+
if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/pml217" )
8080
{
81-
if( toLower(getDvar("fs_game")) != "mods/promodlive216" )
81+
if( toLower(getDvar("fs_game")) != "mods/pml217" )
8282
iprintlnbold("^1Server Violation^7: Invalid fs_game value");
8383

8484
iwdnames = strToK( getDvar( "sv_iwdnames" ), " " );
@@ -104,12 +104,12 @@ errorMessage()
104104
case "iw_13":
105105
break;
106106

107-
case "z_custom_ruleset":
107+
case "z_c_r":
108108
if ( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" && iwdsums[i] != "1988645860" )
109109
iprintlnbold("^1Server Violation^7: Modified Custom IWD File While In Match Mode");
110110
break;
111111

112-
case "promodlive216":
112+
case "pml217":
113113
if( iwdsums[i] != "1491770436" )
114114
iprintlnbold("^1Server Violation^7: Modified Promod IWD Detected");
115115
iwd_loaded = true;

promod/setvariables.gsc

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ main()
3232
game["axis_timeout_called"] = 0;
3333

3434
game["promod_first_readyup_done"] = 0;
35-
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.16 EU";
35+
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.17 EU";
3636
}

readme.txt

+20-13
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
1-
Promod LIVE V2.16 EU - README
1+
Promod LIVE V2.17 EU - README
22
http://www.codpromod.com
3-
2013-05-29 <promod [at] codpromod.com>
3+
2013-06-27 <promod [at] codpromod.com>
44
#codpromod @ QuakeNet
55

66
Developers: Trivve & Ingram
7-
Manager: abhi
87

98
Sponsored by FragNet
109
http://www.fragnet.net
1110

12-
Zip-package (promodlive216_eu.zip) contains:
11+
Zip-package (promodlive217_eu.zip) contains:
1312

1413
LICENSE
15-
promodlive216\mod.ff
16-
promodlive216\promodlive216.iwd
17-
promodlive216\z_custom_ruleset.iwd
14+
pml217\mod.ff
15+
pml217\pml217.iwd
16+
pml217\z_c_r.iwd
1817
pb\stock_iwd_md5.cfg
1918
pb\promod_iwd_md5.cfg
2019
pb\pbsvuser.cfg
2120
readme.txt
2221
server_setup.txt
2322
server.cfg
2423

24+
LIVE V2.17:
25+
- Shortened file and folder names in order to fix (or avoid) "file sum/name mismatch" error. Please note that fs_game naming scheme is slighly different from now on.
26+
- Added timer to pre-match ready up period.
27+
28+
Leagues should allow both 2.16 and 2.17 for now as they are nearly identical. Upgrade from 2.16 is not necessary in case the server owner does not experience any problems listed above. This release does not contain any other changes and is intended as a quick fix for server owners having trouble setting up servers under Windows.
29+
30+
Public server owners should rename their z_custom_ruleset.iwd to the new shorter version of z_c_r.iwd, nothing inside is changed.
31+
2532
LIVE V2.16:
2633
- Fixed a small bug that appeared during 2.15. We're sorry about that!
2734

@@ -134,7 +141,7 @@ Q: What about the hardcore, and support for all gametypes, how do I use them?
134141
A: For a complete list of "promod_modes", see below.
135142

136143
Q: I want to run my own custom Promod-server with skins etc, how?
137-
A: In order to run your own custom Promod-server you'll need to change the fs_game to anything besides "mods/promodlive216" as well as not using match-modes. You will now be able to modify the Promod IWDs and add additional iwd-files.
144+
A: In order to run your own custom Promod-server you'll need to change the fs_game to anything besides "mods/pml217" as well as not using match-modes. You will now be able to modify the Promod IWDs and add additional iwd-files.
138145

139146
Q: Can I use this mod as a movie mod?
140147
A: Yes, you can! Commands (which are important for movie-making) are only forced on the clients once connected. Demos needs to be loaded using devmap before starting a demo ("devmap mp_crash;disconnect").
@@ -176,7 +183,7 @@ comp_public - the default mode for competitive public
176183
comp_public_lan - same as above, but for LAN servers
177184
comp_public_hc - competitive public in hardcore mode
178185
comp_public_hc_lan - same as above, but for LAN servers
179-
custom_public - custom public mode reading settings from z_custom_ruleset.iwd
186+
custom_public - custom public mode reading settings from z_c_r.iwd
180187
custom_public_lan - same as above, but for LAN servers
181188
strat - strategy mode for practicing
182189

@@ -328,8 +335,8 @@ For example map "mp_dahman_b3" contains a file called "mp_dahman_b3.iwd" and the
328335

329336
NOTES FOR SERVER-ADMINS AND SERVER-HOSTING COMPANIES
330337

331-
The dvar fs_game "mods/promodlive216" is forced for match-servers and do not rename any files or modify contents of them.
332-
However custom servers with skins etc. must use something else than "mods/promodlive216" for example "mods/promodlive216_custom", it's not restricted and you are free to modify files as well.
338+
The dvar fs_game "mods/pml217" is forced for match-servers and do not rename any files or modify contents of them.
339+
However custom servers with skins etc. must use something else than "mods/pml217" for example "mods/pml217_custom", it's not restricted and you are free to add additional iwd files or modify existing ones.
333340

334341
Included with Promod are two PunkBuster MD5 configs, "stock_iwd_md5.cfg" and "promod_iwd_md5.cfg" which you can put in the pb-folder on your server, it contains checksums for the stock IWD-files as well as Promod-IWD for use with PunkBuster MD5 facility to prevent custom skins and other forms of cheating and abusing and can be loaded in-game by typing "\rcon pb_sv_load stock_iwd_md5.cfg" and "\rcon pb_sv_load promod_iwd_md5.cfg".
335342

@@ -344,5 +351,5 @@ We STRONGLY encourage use of these MD5-checks! (This goes for leagues as well!)
344351

345352
Due to several game engine exploits, we recommend to specify the rcon-password in the command-line of your server. If this is not possible, rename the server-config to something other than server.cfg, which would make finding rcon password more difficult.
346353

347-
On another note of security, the IWD-file "z_custom_ruleset.iwd" is now running integrity checks if server is running match-mode which means you have to decide whether the server should run "promod_mode custom_public" or not.
348-
If you later want to run match-modes you will have to use the original unmodified "z_custom_ruleset.iwd" supplied in this package. Sorry for any inconvenience caused.
354+
On another note of security, the IWD-file "z_c_r.iwd" is now running integrity checks if server is running match-mode which means you have to decide whether the server should run "promod_mode custom_public" or not.
355+
If you later want to run match-modes you will have to use the original unmodified "z_c_r.iwd" supplied in this package. Sorry for any inconvenience caused.

server.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// promod live v2 - sample server config v1.4
2-
// for public ruleset customizations, see z_custom_ruleset.iwd
2+
// for public ruleset customizations, see z_c_r.iwd
33

44
// info strings
55
sets _Admin ""
66
sets _Email ""
77
sets _Website ""
88
sets _Location ""
99
sets _Irc ""
10-
sets sv_hostname "Another Promod ^1LIVE ^7V2.16 ^7Server is Born"
10+
sets sv_hostname "Another Promod ^1LIVE ^7V2.17 ^7Server is Born"
1111

1212
// welcome message, message of the day (motd)
1313
seta scr_motd "Please visit us at www.codpromod.com, also visit our IRC channel #codpromod @ QuakeNet"

server_setup.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This is a sample command-line for starting and using Promod LIVE V2 under Windows:
66

7-
<path to iw3mp.exe> +set dedicated 2 +set net_ip localhost +set net_port 28960 +set sv_punkbuster 1 +set fs_game mods/promodlive216 +exec server.cfg +set rcon_password password +map_rotate
7+
<path to iw3mp.exe> +set dedicated 2 +set net_ip localhost +set net_port 28960 +set sv_punkbuster 1 +set fs_game mods/pml217 +exec server.cfg +set rcon_password password +map_rotate
88

99
dedicated [0-2] (listen, LAN, internet)
1010
net_ip [xxx.xxx.xxx.xxx]
@@ -13,8 +13,8 @@ net_port [1-65535] (standard is 28960)
1313
Make sure you put the server config (server.cfg) in the main-folder or specify correct path to it.
1414
Please note that we also define the rcon password to the server here to prevent someone from downloading your config from server and thus view ("hack") your rcon password.
1515

16-
The dvar fs_game "mods/promodlive216" is forced for match-servers and do not rename any files or modify contents of them.
17-
However custom servers with skins etc. must use something else than "mods/promodlive216" for example "mods/promodlive216_custom", it's not restricted and you are free to modify files as well.
16+
The dvar fs_game "mods/pml217" is forced for match-servers and do not rename any files or modify contents of them.
17+
However custom servers with skins etc. must use something else than "mods/pml217" for example "mods/pml217_custom", it's not restricted and you are free to add additional iwd files or modify existing ones.
1818

1919
Included with Promod is two PunkBuster MD5 configs, "stock_iwd_md5.cfg" and "promod_iwd_md5.cfg" which you can put in the pb-folder on your server, it contains checksums for the stock IWD-files as well as Promod-IWD for use with PunkBuster MD5 facility to prevent custom skins and other forms of cheating and abusing and can be loaded in-game by typing "\rcon pb_sv_load stock_iwd_md5.cfg" and "\rcon pb_sv_load promod_iwd_md5.cfg".
2020

ui_mp/main.menu

+1-16
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
}
142142
itemDef
143143
{
144-
text "Current Promod Version: LIVE V2.16 EU"
144+
text "Current Promod Version: LIVE V2.17 EU"
145145
style 0
146146
textscale 0.25
147147
textstyle 3
@@ -170,21 +170,6 @@
170170
decoration
171171
}
172172
itemDef
173-
{
174-
text "Manager: abhi"
175-
style 0
176-
textscale 0.25
177-
textstyle 3
178-
rect 239 236 95 20
179-
textalign ITEM_ALIGN_LEFT
180-
textalignx 0
181-
textaligny 0
182-
textfont UI_FONT_NORMAL
183-
forecolor 1 1 1 1
184-
visible when( localvarBool( ui_about ) );
185-
decoration
186-
}
187-
itemDef
188173
{
189174
text "Former developers: raf1, MavLP, bulletworm"
190175
style 0

0 commit comments

Comments
 (0)