AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D(2)] Survivor Upgrades Reloaded (https://forums.alliedmods.net/showthread.php?t=176104)

Marcus101RR 01-13-2012 19:57

[L4D(2)] Survivor Upgrades Reloaded
 
2 Attachment(s)
[L4D(2)] Survivor Upgrades Reloaded
Survivor Upgrades returns, now with new upgrades within game-code.
Author(s): Marcus101RR, Whosat & Jerrith
Special Thanks: thetwistedpanda (SQLite Idea)


Game Type: Left 4 Dead / Left 4 Dead 2
Game Version: 1.0.2.9 / 2.1.4.6
Plugin Version: 1.7.2 / 1.7.5
Difficulty: ★★☆☆☆

NOTICE
Initial Version Public Release was on February 1st, 2012.
Left 4 Dead 2 Version Release Date scheduled for March 15th, 2012.
Left 4 Dead 2 Version was discontinued on August 4, 2013. Due to Valve's initial updates.
Left 4 Dead 2 Version was re-instated on December 27, 2013.


Servers Using This Plugin
Left 6 Dead 2: Official Server

Incompatible Plugin List


Show/Hide Command List


Survivor Upgrades Database
Show/Hide Upgrade List


Configuration Variables & Information
Left 4 Dead Hide/Show Variables

Hide/Show Official Command Variables

Left 4 Dead 2 Hide/Show Variables

Hide/Show Official Command Variables


Introduction
Survivor Upgrades Reloaded brings back the original upgrades from Valve's Incomplete Designed Configuration Variable. Now also, includes even more upgrades found within the hidden code of Left 4 Dead! Introducing the new Upgrades: Ammo Backpack, Smoker Neutralizer, Marathon, Suppressor Silencer, Sniper Scope, Sniper Scope (Accuracy Increase)

Reloaded
Why is this "Reloaded"? The answer to this question is simple: The plugin no longer uses SDKCall or SDKHooks to obtain the upgrades. The Upgrades are originally stored in a NetProp data for each client, thus making it alot easier to store the upgrades there. However, due to network issues, they cannot be stored during map transitions.

Original & KrX Version
What is so different between the Original Release and KrX Version? There is a big difference, beginning with the fact that no longer SDK is being used to initialize the upgrades. Be advised, that this plugin does not inherit KrX or Original Version features, such as but not limited to: Limited Hollow/Incendiary, Multi-Upgrade Earning, Stacking of Upgrades, Laser-On-The-Spot Command. If you do not like this, you can use "Survivor_Upgrades 1" in the console instead, or use the other plugins in an older version of Left 4 Dead. You can now store, keep, and add upgrades using the simple of methods via NetProps. In addition, 6 New Upgrades, with the loss of 1 Non-Existing Upgrade (Incendiary Ammo) have been added to the this version.

The original version was simplified and update by Whosat , which added additional features and cleaner representation of the upgrades. Do not forget, neither of the remaining plugins for Survivor Upgrades is supported by the Authors, and none of the user-base have attempted to support it in their own terms as the coding is not theirs and may be hard to re-establish.

Left 4 Dead 2 Version Questioned
There has been many speculations that Left 4 Dead 2 can be done. This is correct, it can be done with proper coding and optimized scripting to ensure less intensive server usage. The version is currently under heavy development, and will not interfere with updates for the original. Left 4 Dead 2 is also getting exclusive upgrades to itself, that may in the future be released on Left 4 Dead. The users can petition this if they like to increase chances of having any specific upgrade, or custom-upgrades be ported to Left 4 Dead. No guarantees are made. The Left 4 Dead 2 version is Closed-Beta only, and is only available on the public server above, simply join it and try it out.

Survivor Upgrade Types
The Survivor Upgrades come in 2-Types (Constants & 1-Use), rather than just all being Permanent. All upgrades, however, are permanently stored in the user's inventory. They will be restored to full by the next transition:
  • Boomer Neutralizer (Boomer Special Attack)
  • Smoker Neutralizer (Smoker Special Attack)(New)
  • Climbing Chalk (Self-Ledge Save)
  • Second Wind (Self-Revive Save)
  • Knife (Self-Save Pinned)

New Survivor Upgrades in Game Code
There are new Survivor Upgrades now available from the game:
  • Ammo Backpack(Increased Ammo Reserve)(New)
  • Morphine (Increased Limping Speed)(New)
  • Adrenaline Implant (Increased Running Speed)(New)
  • Smoker Neutralizer (Smoker Special Attack)(New)
  • Climbing Chalk (Self-Ledge Save)
  • Second Wind (Self-Revive Save)
  • Knife (Self-Save Pinned)

Configuration File, Variables, & Save System
You can enable, disable, change, and save data as you wish to customize the plugins features just as you were able to do so in the original one. However, the plugin will be closely functional to the original intend of the developers as to what users are use to from previous versions.

Database Config:
PHP Code:

    "SurvivorUpgradesReloaded"
    
{
        
"driver"            "sqlite"
        "host"                "localhost"
        "database"            "SurvivorUpgradesReloaded"
        "user"                "root"
        "pass"                ""
        
//"timeout"            "0"
        //"port"            "0"
    


To Be Announced & Planned
  • Save System (Complete)
  • Lose Upgrades Upon Death (With Configurations) (Complete)
  • Enable/Disable Specific Type Upgrades (Complete)
  • Enable/Disable Client Specific Type Upgrade (Complete)
  • New Mode Type: Perk Mode (Depreciated)
  • New Mode Type: RPG Mode (Depreciated)

Video, Screenshots, & Visuals
YouTube - Allied Modders Plugins: Left 4 Dead - Survivor Upgrades Reloaded
---
[IMG]http://desmond.**************/Himg638/scaled.php?server=638&filename=l4dscreenshot1 .png&res=gal[/IMG] - [IMG]http://desmond.**************/Himg201/scaled.php?server=201&filename=l4dscreenshot2 .png&res=gal[/IMG] - [IMG]http://desmond.**************/Himg443/scaled.php?server=443&filename=l4dscreenshot3 .png&res=gal[/IMG] [IMG]http://desmond.**************/Himg824/scaled.php?server=824&filename=l4dscreenshot4 .png&res=gal[/IMG] [IMG]http://desmond.**************/Himg819/scaled.php?server=819&filename=l4dscreenshot5 .png&res=gal[/IMG]

Changelog


Frequently Asked Questions & Solutions
Q: I do not want the game to Save Data.
A: The Save Feature included in this plugin won't fix this issue, all players joining within the game will have a UserID, sometimes once the UserID has been flushed other users will be getting the same UserID from the last player joined, thus, they will obtain someone's elses Upgrades. This is a issue from the game, not the plugin, the Save Feature ensures that the player joining doesn't receive someone else's profile.

disawar1 01-14-2012 05:01

Re: [L4D] Survivor Upgrades Reloaded
 
These upgrades was in the game uhmm very interesting.

Marcus101RR 01-15-2012 13:35

Re: [L4D] Survivor Upgrades Reloaded
 
PHP Code:

L 01/15/2012 04:27:04Info (map "c1m4_atrium") (file "errors_20120115.log"

Release wasn't rushed, you are experiencing this issue because you are running this plugin in Left 4 Dead 2. I will be disabling this plugin to work on left 4 dead 2, you should not be using this on it. As far as testing goes, Left 4 Dead 2 doesn't have any of these upgrades.

noctua 01-15-2012 14:18

Re: [L4D] Survivor Upgrades Reloaded
 
Hi,
first my english is very bad, i have problems to understand all.

After installing this plugin, nothing happens, no laser etc.
Here is the logfile:
Code:

L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:58:35: [SM] Native "SetEntProp" reported: Entity 2 (2) is invalid
L 01/15/2012 - 19:58:35: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:58:35: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:59:53: [SM] Native "SetEntProp" reported: Entity 3 (3) is invalid
L 01/15/2012 - 19:59:53: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:59:53: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:59:55: [SM] Native "SetEntProp" reported: Entity 4 (4) is invalid
L 01/15/2012 - 19:59:55: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:59:55: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:49: [countrynick.smx] [Country Nick] Warning : [--]Cephei`A uses 192.168.2.100 that is not listed in GEOIP database
L 01/15/2012 - 20:08:54: [SM] Native "SetEntProp" reported: Entity 11 (11) is invalid
L 01/15/2012 - 20:08:54: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:54: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:54: [SM] Native "SetEntProp" reported: Entity 11 (11) is invalid
L 01/15/2012 - 20:08:54: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:54: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:55: [SM] Native "SetEntProp" reported: Entity 12 (12) is invalid
L 01/15/2012 - 20:08:55: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:55: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:56: [SM] Native "SetEntProp" reported: Entity 12 (12) is invalid
L 01/15/2012 - 20:08:56: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:56: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:09:52: [SM] Native "SetEntProp" reported: Entity 11 (11) is invalid
L 01/15/2012 - 20:09:52: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:09:52: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:10:49: [SM] Native "SetEntProp" reported: Entity 10 (10) is invalid
L 01/15/2012 - 20:10:49: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:10:49: [SM]  [0]  Line 394, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::round_end()
L 01/15/2012 - 20:13:03: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 01/15/2012 - 20:13:03: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:13:03: [SM]  [0]  Line 287, /groups/sourcemod/compiler-1.4/include/halflife.inc::PrintToChatAll()
L 01/15/2012 - 20:13:03: [SM]  [1]  Line 151, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SayTextHook()


Marcus101RR 01-15-2012 17:07

Re: [L4D] Survivor Upgrades Reloaded
 
Quote:

Originally Posted by noctua (Post 1632433)
Hi,
first my english is very bad, i have problems to understand all.

After installing this plugin, nothing happens, no laser etc.
Here is the logfile:
Code:

L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:56:26: [SM] Native "SetEntProp" reported: Entity 5 (5) is invalid
L 01/15/2012 - 19:56:26: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:56:26: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:58:35: [SM] Native "SetEntProp" reported: Entity 2 (2) is invalid
L 01/15/2012 - 19:58:35: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:58:35: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:59:53: [SM] Native "SetEntProp" reported: Entity 3 (3) is invalid
L 01/15/2012 - 19:59:53: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:59:53: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 19:59:55: [SM] Native "SetEntProp" reported: Entity 4 (4) is invalid
L 01/15/2012 - 19:59:55: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 19:59:55: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:49: [countrynick.smx] [Country Nick] Warning : [--]Cephei`A uses 192.168.2.100 that is not listed in GEOIP database
L 01/15/2012 - 20:08:54: [SM] Native "SetEntProp" reported: Entity 11 (11) is invalid
L 01/15/2012 - 20:08:54: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:54: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:54: [SM] Native "SetEntProp" reported: Entity 11 (11) is invalid
L 01/15/2012 - 20:08:54: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:54: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:55: [SM] Native "SetEntProp" reported: Entity 12 (12) is invalid
L 01/15/2012 - 20:08:55: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:55: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:08:56: [SM] Native "SetEntProp" reported: Entity 12 (12) is invalid
L 01/15/2012 - 20:08:56: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:08:56: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:09:52: [SM] Native "SetEntProp" reported: Entity 11 (11) is invalid
L 01/15/2012 - 20:09:52: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:09:52: [SM]  [0]  Line 258, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SetSurvivorUpgrades()
L 01/15/2012 - 20:10:49: [SM] Native "SetEntProp" reported: Entity 10 (10) is invalid
L 01/15/2012 - 20:10:49: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:10:49: [SM]  [0]  Line 394, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::round_end()
L 01/15/2012 - 20:13:03: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 01/15/2012 - 20:13:03: [SM] Displaying call stack trace for plugin "l4d_upgradesreloaded.smx":
L 01/15/2012 - 20:13:03: [SM]  [0]  Line 287, /groups/sourcemod/compiler-1.4/include/halflife.inc::PrintToChatAll()
L 01/15/2012 - 20:13:03: [SM]  [1]  Line 151, /home/groups/alliedmodders/forums/files/5/8/4/6/9/98224.attach::SayTextHook()


We're sorry, we cannot support you if you are using Left 4 Dead 2. Please use Left 4 Dead before reporting bugs/errors.

noctua 01-15-2012 17:29

Re: [L4D] Survivor Upgrades Reloaded
 
Hi again.
It is a Left 4 Dead 1 Server!

Tested this plugin for an hour, it works now but with problems.

survivor_upgrade_silencer_enable "0" -> no weapon sound
survivor_upgrade_marathon_enable "0" -> always running fast
survivor_upgrade_hollow_point_enable "0" -> zombies explode
survivor_upgrade_scope_enable "0" -> scope works for all weapons


it seems that the setting in the cfg have no effect.
greetz

noctua 01-15-2012 18:09

Re: [L4D] Survivor Upgrades Reloaded
 
cant edit my last post

l4d_upgradesreloaded.txt
Code:

"SurvivorUpgradesReloaded"
{
    "STEAM_xxxxxxxxxxxxx"
    {
        "iUpgradeBits"        "1061141376"
        "Upgrade #0"        "128"
        "Upgrade #1"        "256"
        "Upgrade #2"        "512"
        "Upgrade #3"        "2048"
        "Upgrade #4"        "4096"
        "Upgrade #5"        "8192"
        "Upgrade #6"        "32768"
        "Upgrade #7"        "65536"
        "Upgrade #8"        "131072"
        "Upgrade #9"        "262144"
        "Upgrade #10"        "524288"
        "Upgrade #11"        "1048576"
        "Upgrade #12"        "2097152"
        "Upgrade #13"        "16777216"
        "Upgrade #14"        "33554432"
        "Upgrade #15"        "67108864"
        "Upgrade #16"        "134217728"
        "Upgrade #17"        "268435456"
        "Upgrade #18"        "536870912"
    }

why are these values saved for each steamid?
Can you do a version without these? And like the old version, a command that simply deactivates lasersight? (like !laseron/laseroff/laser) Not everyone like to play with laser.

best regards

Marcus101RR 01-15-2012 20:06

Re: [L4D] Survivor Upgrades Reloaded
 
Dear noctua,

Your requested to fix the following cvars for disabling the upgrades has been installed. You can now disable any upgrade from appearing. Each player that joins your game has to have their upgrades stored and saved. You lose them as you kill other survivors or incap your teammates. The old style was no different, USERID's were stored in the memory of the server, thus creating SRCDS files that would reach 500,000 KB Memory usage. This reduces the problem and only loads the USERIDs that are in the game. This was not to change game-play, but to fix an important issue regarding server performance. If you do not like your data saved, I will plan on adding a cvar for removal of upgrades upon next game.

The Data file stored all client STEAMID players, that way, if they come back to your server, their upgrades are restored..

Also, notice you are using the older version of this mod, and it has been updated. You should remove the data file and reload the new plugin. I remind you, this plugin is in BETA STAGES. The plugin is not worth much yet, and right now the users using this plugin should report every detailed error and problem that persists in order to make this plugin work successfully.

Laser Sight Command will be installed in future versions, at this time, you can disable the laser sight or enable it via CVAR.

disawar1 01-16-2012 15:37

Re: [L4D] Survivor Upgrades Reloaded
 
Dear Marcus101RR

ops I am rushed to conclusions sorry, only l4d Okay ;)

noctua 01-16-2012 17:56

Re: [L4D] Survivor Upgrades Reloaded
 
Thanks Marcus!
I've a test Server and will test every new version ;)

The newer version can not be compiled, here and with Sourcemod.

bye


All times are GMT -4. The time now is 14:56.

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