Raised This Month: $51 Target: $400
 12% 

TF2 Ammopacks


Post New Thread Reply   
 
Thread Tools Display Modes
ozgaming
SourceMod Donor
Join Date: Aug 2011
Old 11-13-2011 , 22:06   Re: TF2 Ammopacks
Reply With Quote #81

We have this on saxton hale as a trial atm. Only issue is when the vagineer plays, he keeps dropping metal so he can jump. Is there anyway to disable it in this case only?
ozgaming is offline
Aggamemnon
SourceMod Donor
Join Date: Dec 2011
Location: Australia
Old 04-17-2012 , 20:44   Re: TF2 Ammopacks
Reply With Quote #82

Greetings.

I am just letting up know that this last Update has broken this Plugin. I went into my servers this morning, and found that this Update had broken a number of the Plugins that I am running.

I tried several times with varying amounts of metal as an engineer, but not one ammo pack was dropped?

Best Regards
Aggamemnon.
Aggamemnon is offline
WebNoob
Senior Member
Join Date: Jul 2008
Old 04-28-2012 , 13:14   Re: TF2 Ammopacks
Reply With Quote #83

I'm getting tons of these in the error logs:

Code:
L 04/28/2012 - 01:48:03: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:03: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:13: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:13: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:13: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:23: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:23: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:23: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:33: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:33: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:33: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:43: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:43: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:43: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:54: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:54: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:54: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:04: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:04: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:04: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:14: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:14: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:14: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:24: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:24: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:24: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:34: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:34: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:34: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:44: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:44: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:44: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:50:19: Error log file session closed.
WebNoob is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 04-28-2012 , 14:32   Re: TF2 Ammopacks
Reply With Quote #84

Quote:
Originally Posted by WebNoob View Post
I'm getting tons of these in the error logs:

Code:
L 04/28/2012 - 01:48:03: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:03: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:13: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:13: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:13: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:23: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:23: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:23: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:33: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:33: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:33: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:43: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:43: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:43: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:48:54: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:48:54: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:48:54: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:04: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:04: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:04: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:14: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:14: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:14: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:24: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:24: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:24: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:34: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:34: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:34: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:49:44: [SM] Native "GetArrayCell" reported: Invalid index -2095170179 (count: 2048)
L 04/28/2012 - 01:49:44: [SM] Displaying call stack trace for plugin "ammopacks.smx":
L 04/28/2012 - 01:49:44: [SM]   [0]  Line 354, /home/groups/alliedmodders/forums/files/1/7/5/5/1/42914.attach::Entity_OnPlayerTouch()
L 04/28/2012 - 01:50:19: Error log file session closed.
Considering the first post was last updated in 2009, this most likely broke throughout the years.
Mr. Man is offline
WebNoob
Senior Member
Join Date: Jul 2008
Old 04-29-2012 , 11:52   Re: TF2 Ammopacks
Reply With Quote #85

Quote:
Originally Posted by Mr. Man View Post
Considering the first post was last updated in 2009, this most likely broke throughout the years.
True - but as it is still in an "approved" state, I would assume the author would be required to address any bugs (?)
WebNoob is offline
ZackNAttack
Junior Member
Join Date: Aug 2019
Old 08-05-2019 , 23:17   Re: TF2 Ammopacks
Reply With Quote #86

I fixed an issue where gunslinger engies could not place ammo packs.
Attached Files
File Type: sp Get Plugin or Get Source (ammopacks.sp - 121 views - 16.7 KB)
ZackNAttack is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 12-03-2021 , 06:46   Re: TF2 Ammopacks 1.2.6c
Reply With Quote #87

Converted to new-syntax and fixed a few things. Updated for SM 1.11.
Incorporates the fixes for the gunslinger and the scout's fish kill from both here and here, respectively.

-= Releases =-
Code:
Version 1.2.6c
- Added sm_ammopacks_small_linux. This cvar will be used on Linux servers instead of sm_ammopacks_small, and vice versa.
- Fixed timer issue with potentially targeting the wrong entity.
Version 1.2.6b
- Updated the metal conversion limits to current TF2. Small ammo packs now require 41 metal to drop.
- Incorporates the fixes for the gunslinger and the scout's fish kill from both ZackNAttack and jameless.
- Ammopacks can now be thrown with similar physics to Sandviches. Enabled by default.
Let me know if any problems come up.

-= ConVars/Commands =-
sm_ammopacks_physics 1 - min:0/max:1
^ How the Ammopacks will be dropped.
0 = Spawn on floor.
1 = Throw like Sandvich.

sm_ammopacks_small_linux 40 - min:0
^ (LINUX) Metal required for small Ammopacks
Attached Files
File Type: sp Get Plugin or Get Source (ammopacks.sp - 32 views - 21.6 KB)
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 08-31-2022 at 02:07. Reason: Updated to Version 1.2.6c
Shadowysn is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 12-21-2021 , 05:28   Re: TF2 Ammopacks
Reply With Quote #88

Updated my version to 1.2.6, features sm_ammopacks_physics ConVar for ammo packs to be affected by physics like Sandviches.
Shadowysn is offline
Reply



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 05:52.


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