Raised This Month: $120 Target: $400
 30% 

[L4D1/2] Infinite Reserve Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
TheSuggestioner
Member
Join Date: Aug 2011
Location: USA, Connecticut
Old 11-20-2011 , 18:22   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #11

Think you could add only a command that makes certain players have reserved ammo? (sm_infinitereserve [name])?
__________________
Roses are Red
Violets are blue,
Not a big surprise
If a Tank kills you!
TheSuggestioner is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 11-27-2011 , 23:46   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #12

Quote:
Originally Posted by TheSuggestioner View Post
Think you could add only a command that makes certain players have reserved ammo? (sm_infinitereserve [name])?
That would make the game quite horrifying lol
Mr. Man is offline
CarnageHeart
Junior Member
Join Date: Jun 2012
Old 06-26-2012 , 05:24   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #13

There is no auto-generated config that I can find. Is it possible for someone to post the variables so i can add them to my server config? Also is the pipebomb disappearing because of this, or is it a bug with this add-on. Thanks in advance.
CarnageHeart is offline
ThatOtherGuy
New Member
Join Date: Feb 2010
Old 03-14-2013 , 22:39   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #14

Quote:
Originally Posted by CarnageHeart View Post
There is no auto-generated config that I can find. Also is the pipebomb disappearing because of this, or is it a bug with this add-on. Thanks in advance.
The auto gen file should be in: steam/steamapps/common/l4d2/l4d2/cfg/sourcemod/l4d_infinite_reserve_ammo.cfg

What I found with the pipebomb disappearing is there is a error on line 144 "SetConVarInt(FindConVar("ammo_pipebomb_max") , -1);" it should be "SetConVarInt(FindConVar("ammo_pipebomb_max") , 1);"
This fixed the problem for me. Download the source .sp, edit the file with notepad or better yet notepad++ (its free) and then go here http://www.sourcemod.net/compiler.php to recompile the file to .smx file.
ThatOtherGuy is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-22-2013 , 00:49   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #15

Quote:
Originally Posted by ThatOtherGuy View Post
The auto gen file should be in: steam/steamapps/common/l4d2/l4d2/cfg/sourcemod/l4d_infinite_reserve_ammo.cfg

What I found with the pipebomb disappearing is there is a error on line 144 "SetConVarInt(FindConVar("ammo_pipebomb_max") , -1);" it should be "SetConVarInt(FindConVar("ammo_pipebomb_max") , 1);"
This fixed the problem for me. Download the source .sp, edit the file with notepad or better yet notepad++ (its free) and then go here http://www.sourcemod.net/compiler.php to recompile the file to .smx file.
Too bad nobody's done it yet. I've attached the revision:
Attached Files
File Type: sp Get Plugin or Get Source (l4d_InfiniteReserveAmmo.sp - 276 views - 12.6 KB)
Mr. Man is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 07-17-2013 , 08:34   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #16

Please put back the health cvars
__________________

Last edited by Munch; 12-01-2013 at 19:23.
Munch is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 07-20-2013 , 11:27   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #17

Does anyone know how to fix the following error:

Code:
L 07/16/2013 - 23:17:29: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 07/16/2013 - 23:17:29: [SM] Displaying call stack trace for plugin "L4D2_infinitereserveammo.smx":
L 07/16/2013 - 23:17:29: [SM]   [0]  Line 286, /home/groups/sourcemod/upload_tmp/phpK8OK6Q.sp::OnPlayerRunCmd()
Mr. Man is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 03-08-2014 , 14:46   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #18

Quote:
Originally Posted by Brian_Zombait View Post
Munch

I know about the no ammo thing. It's a PITA, but recognized for what it is.

For me the one that is consistent is the loss of pipe bombs. You can pick one up but cannot use it. As soon as you try to it disappears. Molly and Vomit work just fine.
I notice your using the Tank Buster 2 menu along with the Points and Gifts
I would of thought one makes the other redundant

as for the pipe bomb issue I had that 2 years ago, unfortunately I cant rem what the fault was at this time, when it come's to me I'll let you know.

Edit:
v1 of "Infinite reserve ammo" gave me that issue and I notice you also use v1 of this plugin
I have v0.8 which works for all items except adrenaline, no option for this, only pills
Notice the file name is different too so be sure to remove your version

There are other differences too no option for m60

Changelog:



  • 0.4 Initial Release
  • 0.5 - 0.7 Fixed Up some Code, added health items, and more Guns
  • 0.8 Instead of just changing the cvars for the health items, I made it use the give command. if the cvar for the item (e.g. medkits) is enabled.
  • 0.9 Removed all the health cvars and added support for l4d1 and the M60.
  • 1.0 Fixed the m60 dropping and disappearing when empty.
If anybody has the .sp file for v0.8 please post here.
Attached Files
File Type: smx [L4D2]_InfiniteReserveAmmo.smx (5.2 KB, 111 views)
__________________

Last edited by Munch; 03-08-2014 at 14:50.
Munch is offline
Brian_Zombait
Junior Member
Join Date: Jan 2014
Old 03-08-2014 , 15:58   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #19

Would really like to have the Shot (Adrenaline) working, but can live without it.
Will swap these out and see how that goes.
Thanks.
__________________
Brian_Zombait is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 03-08-2014 , 18:23   Re: [L4D1/2] Infinite Reserve Ammo
Reply With Quote #20

Haven't used this plugin for a while but if I recall correctly having used the adrenaline shot, you then drop it, If you look straight down you can pick it up again not the best solution but still...
__________________
Munch is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:11.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode