AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Upgrade packs BUG FIX (https://forums.alliedmods.net/showthread.php?t=174797)

V10 12-25-2011 13:36

[L4D2] Upgrade packs BUG FIX
 
2 Attachment(s)
Fix bug with weapon upgrade pack on servers more than 8 players.

Upgrades from upgrade pack can get by all survivor players, upgrade pack on ground item removed after all survivor players get upgrades.

Convars:
l4d2_upgradepackfix_incendammomulti - Multiplier for Incendiary Ammo Pickup Amount, default 2.0
l4d2_upgradepackfix_explosiveammomulti - Multiplier for Explosive Ammo Pickup Amount, default 1.0

Install
Place l4d2_upgradepackfix.smx to the sourcemod/plugins
Place upgradepackfix.txt to the sourcemod/gamedata.

Notice:
If this plugin will use more cpu then recompile plugin with (it's not garantee it will work properly)

PHP Code:
#define HARDCHECKS 0

Changelog:
1.6 (for game patch 2.1.2.5 or later)
- Fixed gamedata signatures and offsets for 2.1.2.5 patch.
1.6
- Fixed error messages
- Fixed crash on linux servers
- Multiplu now in float and can be from 0.01 to 100.00
1.5
- Fix server crash after "The Sacrifice" update.
1.4.update (no version change)
- Updated offsets for Linux servers.
1.4
- Fixed bug when upgrade packs not reseting at every round.
1.3
- Again corrected bug when one player could take upgraded ammo repeatedly. Full fixed.
1.2
- Added cvar to control plugin version
- Changed MAXPLAYERS to MaxClients
1.1
- Added CTerrorPlayer::FindUseEntity function sign to upgradepackfix.txt
- corrected bug when one player could take upgraded ammo repeatedly
1.0
- Initial version

---------------------------------------------------------------------
See also other my extensions and plugins fixes 8+ bugs:
- [L4D2] Infected Fix Spawn
- [L4D2] Defibrillator Bug Fix
- [L4D2] Upgrade packs BUG FIX
- [L4D2] 8+ players Bug Fixes

disawar1 12-25-2011 14:42

Re: [L4D2] Upgrade packs BUG FIX
 
well done! u one of the few ppl who support more than 8++ server. с возвращением

Marcus101RR 12-25-2011 21:18

Re: [L4D2] Upgrade packs BUG FIX
 
http://forums.alliedmods.net/showthread.php?t=141353

McFlurry 12-25-2011 21:55

Re: [L4D2] Upgrade packs BUG FIX
 
Quote:

Originally Posted by Marcus101RR

1. V10 created this plugin originally
2. SilentBr took over when V10 got banned a while ago
3. V10 Re-released the plugin today with a new version, 1.6
4. Your post proves nothing.

mcpan313 12-26-2011 00:32

Re: [L4D2] Upgrade packs BUG FIX
 
thanks

disawar1 12-26-2011 03:31

Re: [L4D2] Upgrade packs BUG FIX
 
McFlurry +1 sry for spawn

jking 04-29-2012 19:19

Re: [L4D2] Upgrade packs BUG FIX
 
Is this fix even applicable given recent Valve updates to the game?

Visual77 04-29-2012 19:39

Re: [L4D2] Upgrade packs BUG FIX
 
a lot of servers are still running it so yes, I'd assume it still works...?

Sev 04-29-2012 20:35

Re: [L4D2] Upgrade packs BUG FIX
 
Haven't update to the one in this thread yet.

What I can say is it seems to work just fine with the server is 8 or more but 8 or less seems to be problematic with for instance say 5 players, only 4 will get the ammo.

SilentBr 07-04-2013 23:20

Re: [L4D2] Upgrade packs BUG FIX
 
This plugins is not working anymore after the latest update:

Code:

L 07/05/2013 - 00:12:48: [SM] Displaying call stack trace for plugin "l4d2_upgradepackfix.smx":
L 07/05/2013 - 00:12:48: [SM]  [0]  Line 61, /home/groups/alliedmodders/forums/files/6/7/2/8/5/64667.attach::OnPluginStart()
L 07/05/2013 - 00:12:48: [SM] Plugin encountered error 25: Call was aborted
L 07/05/2013 - 00:12:48: [SM] Native "SetFailState" reported: [+] S_HGD: Error: Unable to find SetClass signature.



All times are GMT -4. The time now is 19:42.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.