Skip to content

Commit bb82e68

Browse files
IngramzTrivve
authored andcommitted
Promod LIVE V2.14 release
1 parent 2a73a11 commit bb82e68

12 files changed

Lines changed: 68 additions & 26 deletions

File tree

compile.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@echo off
1010

11-
SET mod_name=promodlive213
11+
SET mod_name=promodlive214
1212
SET work_directory=%~dp0
1313
cd %work_directory%
1414

compile_fastfile.bat

Lines changed: 1 addition & 1 deletion
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\promodlive213
28+
cd ..\mods\promodlive214
2929
copy ..\..\zone\english\mod.ff
3030

3131
pause

maps/mp/gametypes/_globallogic.gsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3034,7 +3034,7 @@ Callback_PlayerDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, s
30343034
self.iDFlags = iDFlags;
30353035
self.iDFlagsTime = getTime();
30363036

3037-
if ( isDefined( game["state"] ) && game["state"] == "postgame" || self.sessionteam == "spectator" || isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "strat" && isDefined( self.flying ) && self.flying || isDefined( level.bombDefused ) && level.bombDefused || isDefined( level.bombExploded ) && level.bombExploded && self.pers["team"] == game["attackers"] )
3037+
if ( getDvarInt("g_knockback") != 1000 || isDefined( game["state"] ) && game["state"] == "postgame" || self.sessionteam == "spectator" || isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "strat" && isDefined( self.flying ) && self.flying || isDefined( level.bombDefused ) && level.bombDefused || isDefined( level.bombExploded ) && level.bombExploded && self.pers["team"] == game["attackers"] )
30383038
return;
30393039

30403040
prof_begin( "Callback_PlayerDamage flags/tweaks" );

pb/promod_iwd_md5.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pb_sv_md5tool a "" v mods/promodlive213/promodlive213.iwd SZ276308 AT0 LEN2048 B9ABD1ECBB56A5119EACC754CFD430DC
1+
pb_sv_md5tool a "" v mods/promodlive214/promodlive214.iwd SZ276308 AT0 LEN2048 B9ABD1ECBB56A5119EACC754CFD430DC

promod/modes.gsc

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ validMode( mode )
2727
case "comp_public":
2828
case "comp_public_hc":
2929
case "custom_public":
30+
case "comp_public_lan":
31+
case "comp_public_hc_lan":
32+
case "custom_public_lan":
3033
case "strat":
3134
case "match":
3235
case "knockout":
@@ -115,7 +118,7 @@ monitorMode()
115118
else
116119
{
117120
if ( isDefined( mode ) && mode != "" )
118-
iPrintLN( "Error Changing To Mode: ^1" + mode + "\nSyntax:\nmatch|knockout_lan|pb_hc_knife_1v1|2v2_mr#,\nNormal Modes: comp_public, comp_public_hc, custom_public, strat" );
121+
iPrintLN( "Error Changing To Mode: ^1" + mode + "\nSyntax: match|knockout_lan|pb_hc_knife_1v1|2v2_mr#_#:#,\nNormal Modes: comp_public(_lan), comp_public_hc(_lan), custom_public(_lan), strat" );
119122

120123
setDvar( "promod_mode", o_mode );
121124
}
@@ -170,6 +173,32 @@ setMode( mode )
170173
game["PROMOD_MODE_HUD"] = "^4Custom ^3Public";
171174
game["PROMOD_KNIFEROUND"] = getDvarInt("promod_kniferound");
172175
}
176+
else if ( mode == "comp_public_lan" )
177+
{
178+
promod\comp::main();
179+
game["PROMOD_MATCH_MODE"] = "pub";
180+
game["PROMOD_MODE_HUD"] = "^4Competitive ^3Public";
181+
game["LAN_MODE"] = 1;
182+
pub();
183+
}
184+
else if ( mode == "comp_public_hc_lan" )
185+
{
186+
promod\comp::main();
187+
game["PROMOD_MATCH_MODE"] = "pub";
188+
game["HARDCORE_MODE"] = 1;
189+
game["PROMOD_MODE_HUD"] = "^4Competitive ^3Public ^6HC";
190+
game["LAN_MODE"] = 1;
191+
pub();
192+
}
193+
else if ( mode == "custom_public_lan" )
194+
{
195+
promod_ruleset\custom_public::main();
196+
game["CUSTOM_MODE"] = 1;
197+
game["PROMOD_MATCH_MODE"] = "pub";
198+
game["PROMOD_MODE_HUD"] = "^4Custom ^3Public";
199+
game["PROMOD_KNIFEROUND"] = getDvarInt("promod_kniferound");
200+
game["LAN_MODE"] = 1;
201+
}
173202
else if ( mode == "strat" )
174203
{
175204
promod\comp::main();

promod/scorebot.gsc

Lines changed: 1 addition & 1 deletion
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.13 EU", true );
52+
setDvar( "__promod_version", "Promod LIVE V2.14 EU", true );
5353

5454
for(;;)
5555
{

promod/servercheck.gsc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@ main()
4848

4949
forceDvar(dvar, value)
5050
{
51-
if( getDvar( dvar ) != value )
51+
val = getDvar( dvar );
52+
if( val != value )
53+
{
5254
setDvar( dvar, value );
55+
iprintln("^3"+dvar+" has been changed back to '"+value+"' (was '"+val+"')");
56+
}
5357
}
5458

5559
errorMessage()
@@ -72,9 +76,9 @@ errorMessage()
7276
if ( (antilag && dedicated == "dedicated LAN server") || (!antilag && dedicated == "dedicated internet server" && !game["PROMOD_PB_OFF"]))
7377
iprintlnbold("^1Server Violation^7: Modified Connection");
7478

75-
if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/promodlive213" )
79+
if( isDefined( game["PROMOD_MATCH_MODE"] ) && game["PROMOD_MATCH_MODE"] == "match" || toLower( getDvar( "fs_game" ) ) == "mods/promodlive214" )
7680
{
77-
if( toLower(getDvar("fs_game")) != "mods/promodlive213" )
81+
if( toLower(getDvar("fs_game")) != "mods/promodlive214" )
7882
iprintlnbold("^1Server Violation^7: Invalid fs_game value");
7983

8084
iwdnames = strToK( getDvar( "sv_iwdnames" ), " " );
@@ -105,7 +109,7 @@ errorMessage()
105109
iprintlnbold("^1Server Violation^7: Modified Custom IWD File While In Match Mode");
106110
break;
107111

108-
case "promodlive213":
112+
case "promodlive214":
109113
if( iwdsums[i] != "1491770436" )
110114
iprintlnbold("^1Server Violation^7: Modified Promod IWD Detected");
111115
iwd_loaded = true;

promod/setvariables.gsc

Lines changed: 1 addition & 1 deletion
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.13 EU";
35+
game["PROMOD_VERSION"] = "Promod ^1LIVE ^7V2.14 EU";
3636
}

readme.txt

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Promod LIVE V2.13 EU - README
1+
Promod LIVE V2.14 EU - README
22
http://www.codpromod.com
3-
2011-11-13 <promod [at] codpromod.com>
3+
2011-11-28 <promod [at] codpromod.com>
44
#codpromod @ QuakeNet
55

66
Developers: Trivve & Ingram
@@ -9,27 +9,33 @@ Manager: abhi
99
Sponsored by FragNet
1010
http://www.fragnet.net
1111

12-
Zip-package (promodlive213_eu.zip) contains:
12+
Zip-package (promodlive214_eu.zip) contains:
1313

1414
LICENSE
15-
promodlive213\mod.ff
16-
promodlive213\promodlive213.iwd
17-
promodlive213\z_custom_ruleset.iwd
15+
promodlive214\mod.ff
16+
promodlive214\promodlive214.iwd
17+
promodlive214\z_custom_ruleset.iwd
1818
pb\stock_iwd_md5.cfg
1919
pb\promod_iwd_md5.cfg
2020
pb\pbsvuser.cfg
2121
readme.txt
2222
server_setup.txt
2323
server.cfg
2424

25+
LIVE V2.14:
26+
- Fixed boosting with modified g_knockback value
27+
- Game will message all players if any serverside DVars are being modified
28+
- Added comp_public_lan, comp_public_hc_lan and custom_public_lan modes
29+
- Fixed an issue with scorebot messages being generated incorrectly
30+
2531
LIVE V2.13:
2632

2733
- Implemented MOTD (message of the day), can be set via dvar "scr_motd"
2834
- Various fixes and improvements to the shoutcaster UI
2935
- Fixed problems with loading preserved classes
3036
- Invalid gametypes on custom maps will no longer cause server to crash
3137
- Added possibility to set scores with promod_mode (more info in promod modes section)
32-
- Removed flinching animation when player get shoot
38+
- Removed flinching animation when player get shot
3339
- Removed ability to shoot during strat time
3440
- Improved custom maps compability
3541
- Player is immune to flashbangs in ready up and start mode flying
@@ -113,7 +119,7 @@ Q: What about the hardcore, and support for all gametypes, how do I use them?
113119
A: For a complete list of "promod_modes", see below.
114120

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

118124
Q: Can I use this mod as a movie mod?
119125
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").
@@ -152,8 +158,11 @@ For example "promod_mode match_mr10_knife_pb" will enable knife round and disabl
152158
There are also some other modes, these can not be combined with the tags above.
153159

154160
comp_public - the default mode for competitive public
161+
comp_public_lan - same as above, but for LAN servers
155162
comp_public_hc - competitive public in hardcore mode
163+
comp_public_hc_lan - same as above, but for LAN servers
156164
custom_public - custom public mode reading settings from z_custom_ruleset.iwd
165+
custom_public_lan - same as above, but for LAN servers
157166
strat - strategy mode for practicing
158167

159168
SCOREBOT
@@ -303,8 +312,8 @@ For example map "mp_dahman_b3" contains a file called "mp_dahman_b3.iwd" and the
303312

304313
NOTES FOR SERVER-ADMINS AND SERVER-HOSTING COMPANIES
305314

306-
The dvar fs_game "mods/promodlive213" is forced for match-servers and do not rename any files or modify contents of them.
307-
However custom servers with skins etc. must use something else than "mods/promodlive213" for example "mods/promodlive213_custom", it's not restricted and you are free to modify files as well.
315+
The dvar fs_game "mods/promodlive214" is forced for match-servers and do not rename any files or modify contents of them.
316+
However custom servers with skins etc. must use something else than "mods/promodlive214" for example "mods/promodlive214_custom", it's not restricted and you are free to modify files as well.
308317

309318
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".
310319

server.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sets _Email ""
77
sets _Website ""
88
sets _Location ""
99
sets _Irc ""
10-
sets sv_hostname "Another Promod ^1LIVE ^7V2.13 ^7Server is Born"
10+
sets sv_hostname "Another Promod ^1LIVE ^7V2.14 ^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"

0 commit comments

Comments
 (0)