Skip to content

Commit

Permalink
Merge pull request #111 from Psykotikism/v8.98
Browse files Browse the repository at this point in the history
v8.98
  • Loading branch information
Psykotikism authored Aug 10, 2023
2 parents dbe7d18 + 8394fce commit dde898d
Show file tree
Hide file tree
Showing 21 changed files with 1,018 additions and 160 deletions.
103 changes: 98 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,161 @@
# Changelog

## Version 8.98 (August 10, 2023)

### Bug Fixes

#### Core Plugin
- Fixed the `Health` and `Refill` rewards not rewarding recipients with health properly. (Thanks to `xcd222` for reporting!) [Fixed in `v8.97`.]

#### Config Files
- Fixed custom config Mutant Tank types overlapping with main config Mutant Tank types. (Thanks to `xcd222` for reporting!)

#### Settings
- Fixed the `Reward Visual` setting's limit. (Thanks to `swofleswof` for testing and reporting!)

#### Abilities
- Gunner: Fixed an error that caused the server to crash. (Thanks to `Mi.Cura` for testing and reporting!)
- Item, Kamikaze, Rocket, Smash, Smite: Fixed survivor ragdolls being erased by all Mutant Tank types. (Thanks to `George Rex` for reporting!) [Fixed in `v8.97`.]
- Throw: Fixed Mutant Tank types not being able to throw cars and special infected. (Thanks to `xcd222` for reporting!) [Fixed in `v8.97`.]

### Changes

#### Core Plugin
- The godmode reward now prevents recipients from being pinned by any special infected.

#### ConVars
- Added the `mt_configfile` convar. (Requested by `zonbarbar`.)
- Added a lock mechanism to enforce temporary values across maps for the core plugin's convars. (Thanks to `NgBUCKWANGS` for the code!)
- Use `-l-` in front of the new value to enforce that value for the convar. (Example: `mt_configfile "-l-myconfig.cfg"`)
- Use `-u-` in front of the new value to allow the convar to accept new values. (Example: `mt_configfile "-u-myconfig.cfg"`)

#### Game Data
- Added signatures for the following functions:
- `CTerrorPlayer::GrabVictimWithTongue`
- `CTerrorPlayer::OnLeptOnSurvivor`
- `CTerrorPlayer::OnPouncedOnSurvivor`
- `CTerrorPlayer::OnStartCarryingVictim`
- `CTerrorPlayer::QueuePummelVictim`

#### Settings
- Added the `Prioritize Throws` setting under the `Plugin Settings->Competitive` and `Tank #->Competitive` sections. (Requested by `xcd222`.) [Thanks to `Silvers` for the help!]

### Files

#### General
- The pre-compiled plugins included in the package are:
- Compiled without any of the optional dependencies.
- Compiled with the `SourceMod 1.12.0.6985` compiler.

#### Updates
- Updated config files.
- Updated gamedata file.
- Updated include file.
- Updated translation files.
- Updated updater file.

## Version 8.97 (May 21, 2023)
<details>
<summary>Click to expand!</summary>

### Bug Fixes
<details>
<summary>General</summary>

#### General
- Fixed an issue where some RNG-based events happen too often. (Thanks to `ddd123` for reporting!)
- Fixed an issue where Witches take a long time to die from fires. (Thanks to `ddd123` for reporting!)
- Fixed rare array index errors.
</details>
<details>
<summary>Core Plugin</summary>

#### Core Plugin
- Fixed Tank death messages not appearing when a survivor solos a Tank.
</details>
<details>
<summary>Config Files</summary>

#### Config Files
- Fixed Mutant Tank type settings not being read properly under combined sections.
</details>
<details>
<summary>Abilities</summary>

#### Abilities
- Gunner
- Fixed one of the messages not showing up when the ability activates. (Thanks to `thewintersoldier97` for reporting!)
- Fixed the ability targeting the Tank itself.
- Quiet: Fixed the sound hook blocking other sound hooks.
- Rocket: Fixed an issue where survivor ragdolls will not disappear if the player goes afk and is replaced by a survivor bot. (Thanks to `Slaven555` for testing and reporting!)
</details>

### Changes
<details>
<summary>General</summary>

#### General
- Mutant Tanks and its sub-plugins now properly support the [`[L4D & L4D2] Lagged Movement - Plugin Conflict Resolver`](https://forums.alliedmods.net/showthread.php?t=340345) plugin.
</details>
<details>
<summary>Commands</summary>

#### Commands
- Added a 4th parameter for the `sm_tank` command. (Usage: `sm_tank <1-500> <amount: 1-32> <0: spawn on crosshair|1: spawn automatically> <0: not blind|1: blind>`)
</details>
<details>
<summary>Game Data</summary>

#### Game Data
- L4D2: Updated some signatures and offsets for the `2.2.2.7` update.
</details>
<details>
<summary>Settings</summary>

#### Settings
- Added the `Footstep Shake` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. (Thanks to `Silvers` for the code!)
- Added the `Refill Percent Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. (Thanks to `DARG367` for suggesting!)
- Updated the `Stack Limits` setting to accept an `8th` value.
</details>
<details>
<summary>Abilities</summary>

#### Abilities
- Gravity
- Added the `Gravity Radius` setting.
- Added the `Gravity Rock Break` setting. (Thanks to `JustMadMan` for the idea!)
- Added the `Gravity Rock Chance` setting. (Thanks to `JustMadMan` for the idea!)

#### Settings
- Added the `Footstep Shake` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. (Thanks to `Silvers` for the code!)
- Added the `Refill Percent Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. (Thanks to `DARG367` for suggesting!)
- Updated the `Stack Limits` setting to accept an `8th` value.
</details>
<details>
<summary>Translations</summary>

#### Translations
- Updated English translations.
- Updated Simplified Chinese translations.
- Updated Hungarian translations.
- Updated Russian translations.
</details>

### Files
<details>
<summary>General</summary>

#### General
- The pre-compiled plugins included in the package are:
- Compiled without any of the optional dependencies.
- Compiled with the `SourceMod 1.12.0.6985` compiler.
</details>
<details>
<summary>Updates</summary>

#### Updates
- Updated config files.
- Updated gamedata file.
- Updated include file.
- Updated translation files.
- Updated updater file.
</details>
</details>

## Version 8.96 (December 25, 2022)
<details>
Expand Down
47 changes: 34 additions & 13 deletions INFORMATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@
// 32: Item reward
// - Receive up to five items.
// 64: God mode reward (temporary)
// - Automatically kill all special infected attackers.
// - Automatically prevent attacks from and kill all special infected attackers.
// - Immune to all types of damage.
// - Cannot be flung away by Chargers.
// - Cannot be pushed around.
Expand Down Expand Up @@ -733,7 +733,7 @@
// 32: Item reward
// - Receive up to five items.
// 64: God mode reward (temporary)
// - Automatically kill all special infected attackers.
// - Automatically prevent attacks from and kill all special infected attackers.
// - Immune to all types of damage.
// - Cannot be flung away by Chargers.
// - Cannot be pushed around.
Expand Down Expand Up @@ -874,21 +874,22 @@
// Add up numbers together for different results.
// --
// Minimum value for each: 0
// Maximum value for each: 63
// Maximum value for each: 127
// --
// 0: OFF
// 1: Screen color
// 2: Particle effect
// 4: Looping voiceline
// 8: Light color
// 16: Body color
// 32: Glow outline (Only available in Left 4 Dead 2.)
// 8: Voice pitch
// 16: Light color
// 32: Body color
// 64: Glow outline (Only available in Left 4 Dead 2.)
// --
// 1st number = Visual effect for killers.
// 2nd number = Visual effect for assistants.
// 3rd number = Visual effect for teammates.
// 4th number = Visual effect for assistant killers.
"Reward Visual" "63,63,63,63"
"Reward Visual" "127,127,127,127" // Default is "63" on Left 4 Dead 1.

// Enable the "sm_mt_prefs" command and notify players about it.
// Note: This setting can be used for standard Tanks.
Expand Down Expand Up @@ -1896,6 +1897,16 @@
// Maximum: 99999.0
"Force Spawn" "0.0"

// (Co-Op modes only) Mutant Tanks should prioritize throwing rocks.
// Note: Tanks only prioritize throwing rocks on Advanced and Expert modes by default.
// Note: Do not change this setting if you are unsure of how it works.
// Note: This setting can be used for standard Tanks.
// Note: This setting can be overridden for each Mutant Tank under the "Competitive" section of their settings.
// --
// 0/"disabled"/"false"/"off"/"no": OFF, let the game determine Mutant Tanks' attack.
// 1/"enabled"/"true"/"on"/"yes": ON, force Mutant Tanks to prioritize throwing rocks.
"Prioritize Throws" "0"

// The stasis mode of Mutant Tanks when spawning.
// Note: Do not change this setting if you are unsure of how it works.
// Note: This setting can be used for standard Tanks.
Expand Down Expand Up @@ -3013,7 +3024,7 @@
// 32: Item reward
// - Receive up to five items.
// 64: God mode reward (temporary)
// - Automatically kill all special infected attackers.
// - Automatically prevent attacks from and kill all special infected attackers.
// - Immune to all types of damage.
// - Cannot be flung away by Chargers.
// - Cannot be pushed around.
Expand Down Expand Up @@ -3115,7 +3126,7 @@
// 32: Item reward
// - Receive up to five items.
// 64: God mode reward (temporary)
// - Automatically kill all special infected attackers.
// - Automatically prevent attacks from and kill all special infected attackers.
// - Immune to all types of damage.
// - Cannot be flung away by Chargers.
// - Cannot be pushed around.
Expand Down Expand Up @@ -3256,15 +3267,16 @@
// Add up numbers together for different results.
// --
// Minimum value for each: 0
// Maximum value for each: 63
// Maximum value for each: 127
// --
// 0: OFF
// 1: Screen color
// 2: Particle effect
// 4: Looping voiceline
// 8: Light color
// 16: Body color
// 32: Glow outline (Only available in Left 4 Dead 2.)
// 8: Voice pitch
// 16: Light color
// 32: Body color
// 64: Glow outline (Only available in Left 4 Dead 2.)
// --
// 1st number = Visual effect for killers.
// 2nd number = Visual effect for assistants.
Expand Down Expand Up @@ -4260,6 +4272,15 @@
// 0/"disabled"/"false"/"off"/"no": OFF, let the game determine the Mutant Tank's initial behavior.
// 1/"enabled"/"true"/"on"/"yes": ON, force the Mutant Tank to attack immediately.
"Auto Aggravate" "0"

// (Co-Op modes only) The Mutant Tank should prioritize throwing rocks.
// Note: Tanks only prioritize throwing rocks on Advanced and Expert modes by default.
// Note: Do not change this setting if you are unsure of how it works.
// Note: This setting overrides the same setting under the "Plugin Settings/Competitive" section.
// --
// 0/"disabled"/"false"/"off"/"no": OFF, let the game determine Mutant Tanks' attack.
// 1/"enabled"/"true"/"on"/"yes": ON, force Mutant Tanks to prioritize throwing rocks.
"Prioritize Throws" "0"
}
"Glow"
{
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@ sm_mt_zombie - View information about the Zombie ability.
// Maximum: "1.000000"
mt_autoupdate "0"
// The config filename used by Mutant Tanks to read settings from.
// Empty: None
// Not empty: The custom config filename to use.
// -
// Default: "mutant_tanks.cfg"
mt_configfile "mutant_tanks.cfg"
// Disable Mutant Tanks in these game modes.
// Separate by commas.
// Empty: None
Expand Down Expand Up @@ -2754,9 +2761,9 @@ Set the values in `Execute Config Types`.

**ReCreator, SilentBr, Neptunia, Zytheus, huwong, Tank Rush, Tonblader, TheStarRocker, Maku, Shadowart, saberQAQ, Shao, xcd222** - For reporting issues and suggesting ideas.

**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex** - For reporting issues.
**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex, swofleswof** - For reporting issues.

**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367** - For suggesting ideas.
**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367, zonbarbar** - For suggesting ideas.

**Marttt** - For helping with many things and the pull requests.

Expand Down
11 changes: 9 additions & 2 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@ sm_mt_zombie - Просмотр информации о способности
// Максимум: "1.000000"
mt_autoupdate "0"
// Имя файла конфигурации, из которого плагин считывает настройки.
// Пусто: нет
// Не пусто: Имя файла пользовательской конфигурации для использования.
// -
// По умолчанию: "mutant_tanks.cfg"
mt_configfile "mutant_tanks.cfg"
// Отключить Танков-мутантов в этих режимах игры.
// Через запятую.
// Пусто: Нет
Expand Down Expand Up @@ -2754,9 +2761,9 @@ Overrides

**ReCreator, SilentBr, Neptunia, Zytheus, huwong, Tank Rush, Tonblader, TheStarRocker, Maku, Shadowart, saberQAQ, Shao, xcd222** - За сообщения о проблемах и предложения идей.

**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex** - За сообщения о проблемах.
**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex, swofleswof** - За сообщения о проблемах.

**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367** - За предложения идей.
**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367, zonbarbar** - За предложения идей.

**Marttt** - За помощь во многих вещах и pull request'ы.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"Reward Effect" "15,15,15,15"
"Reward Notify" "3,3,3,3"
"Reward Percentage" "10.0,10.0,10.0,10.0"
"Reward Visual" "63,63,63,63"
"Reward Visual" "127,127,127,127"
"Prefs Notify" "1,1,1,1"
"Share Rewards" "0,0,0,0"
"Teammate Limit" "0"
Expand Down Expand Up @@ -117,12 +117,13 @@
"Auto Aggravate" "Enabled"
"Credit Igniters" "True"
"Force Spawn" "Min"
"Stasis Mode" "No"
"Prioritize Throws" "No"
"Stasis Mode" "Off"
"Survival Delay" "Min"
}
"Difficulty"
{
"Scale Damage" "Off"
"Scale Damage" "Disabled"
"Difficulty Damage" "0.0,0.0,0.0,0.0"
}
"Health"
Expand Down Expand Up @@ -165,7 +166,7 @@
"Human Support"
{
"Human Cooldown" "600"
"Master Control" "Disabled"
"Master Control" "False"
"Spawn Mode" "Yes"
}
"Waves"
Expand All @@ -177,7 +178,7 @@
"Regular Interval" "300.0"
"Regular Limit" "99999"
"Regular Type" "1-127"
"Regular Wave" "False"
"Regular Wave" "No"
"Finale Amount" "Min"
"Finale Types" "1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127"
"Finale Waves" "0,0,0,0,0,0,0,0,0,0,0"
Expand All @@ -198,7 +199,7 @@
}
"Custom"
{
"Enable Custom Configs" "No"
"Enable Custom Configs" "Off"
"Create Config Types" "Min"
"Execute Config Delay" "5.0"
"Execute Config Types" "Min"
Expand Down
Loading

0 comments on commit dde898d

Please sign in to comment.