Raised This Month: $32 Target: $400
 8% 

[TF2] Advanced Infinite Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 07-27-2015 , 19:21   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #461

Quote:
Originally Posted by Tylerst View Post

The big changes for 1.5.0 are:

1. sm_aiamenu- This new command will bring up a menu to choose what AIA features the target has access to. You can enable/disable clip/ammo/extrastuff/metal/sentryammo/cloak/spells per player.
Does the menu save in client prefs? If not can you make it do that if needed?
Horsedick is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-27-2015 , 23:23   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #462

Quote:
Originally Posted by Pala4 View Post
Went lag showered errors

L 07/27/2015 - 23:03:57: [SM] Displaying call stack trace for plugin "AdvancedInfiniteAmmo.smx":
L 07/27/2015 - 23:03:57: [SM] [0] Line 1323, /home/forums/content/files/9/4/3/2/5/146949.attach::SetSniperRifleCharge()
L 07/27/2015 - 23:03:57: [SM] [1] Line 1150, /home/forums/content/files/9/4/3/2/5/146949.attach::GiveInfiniteAmmo()
L 07/27/2015 - 23:03:57: [SM] [2] Line 688, /home/forums/content/files/9/4/3/2/5/146949.attach::SDKHooks_OnPreThink()
L 07/27/2015 - 23:03:58: [SM] Native "SetEntPropFloat" reported: Property "m_flChargedDamage" not found (entity 781/tf_weapon_compound_bow)
Whoops, forgot to separate the bows from the sniper rifles. This'll be an issue in the main plugin as well, I'll upload a fix for both here shortly.
See post below

Quote:
Originally Posted by Horsedick View Post
Does the menu save in client prefs?
No, that's not what it was intended for. Some of the versions posted by others had a separate command that did the opposite of sm_aia_ammonly. I liked the idea, but instead of replicating that I decided to do it this way with more options than just ammo.

More to the point, this is an admin only thing. I feel clientprefs would only make sense if players could set their own flags.

Bottom line, it wasn't meant for permanent changes, just some extra utility when needed.


Quote:
Originally Posted by Horsedick View Post
If not can you make it do that if needed?
I plan to add an AIA_SetAmmoFlags Native, which combined with the current AIA_GetAmmoFlags should allow a third party plugin to do that if you absolutely need that functionality.

Last edited by Tylerst; 07-28-2015 at 00:23.
Tylerst is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-28-2015 , 00:18   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #463

Updated to 1.4.5
-Fixed sniper bow indexes not being separated from the rifles.


Quote:
Originally Posted by Pala4 View Post
Went lag showered errors

L 07/27/2015 - 23:03:57: [SM] Displaying call stack trace for plugin "AdvancedInfiniteAmmo.smx":
L 07/27/2015 - 23:03:57: [SM] [0] Line 1323, /home/forums/content/files/9/4/3/2/5/146949.attach::SetSniperRifleCharge()
L 07/27/2015 - 23:03:57: [SM] [1] Line 1150, /home/forums/content/files/9/4/3/2/5/146949.attach::GiveInfiniteAmmo()
L 07/27/2015 - 23:03:57: [SM] [2] Line 688, /home/forums/content/files/9/4/3/2/5/146949.attach::SDKHooks_OnPreThink()
L 07/27/2015 - 23:03:58: [SM] Native "SetEntPropFloat" reported: Property "m_flChargedDamage" not found (entity 781/tf_weapon_compound_bow)
Should be fixed for beta3

Last edited by Tylerst; 07-28-2015 at 00:23.
Tylerst is offline
Pala4
Senior Member
Join Date: Dec 2007
Old 07-29-2015 , 15:52   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #464

Thank you very much for the hotfix plugin. Two days with no errors. Only no infinite ammo for weapons Loch-n-Load.
.
Pala4 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-29-2015 , 18:06   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #465

Quote:
Originally Posted by Pala4 View Post
Thank you very much for the hotfix plugin. Two days with no errors. Only no infinite ammo for weapons Loch-n-Load.
.
I have the booties/lochnload indexes mixed up. I'll upload a fix for both versions(plus AIA_SetAmmoFlags native for 1.5.0 beta) when I get home.
See below

Last edited by Tylerst; 07-29-2015 at 19:56.
Tylerst is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-29-2015 , 19:56   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #466

Updated to 1.4.6
-Fixed lochnload/booties indexes being switched.

Quote:
Originally Posted by Pala4 View Post
Thank you very much for the hotfix plugin. Two days with no errors. Only no infinite ammo for weapons Loch-n-Load.
Fixed for both versions

Last edited by Tylerst; 07-29-2015 at 19:57.
Tylerst is offline
Hefal
Senior Member
Join Date: Jul 2015
Old 07-30-2015 , 16:11   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #467

Quote:
Originally Posted by Tylerst View Post
Updated to 1.4.6
-Fixed lochnload/booties indexes being switched.


Fixed for both versions
Ehrm, where did the download go?
Hefal is offline
Pala4
Senior Member
Join Date: Dec 2007
Old 07-30-2015 , 16:18   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #468

Quote:
Originally Posted by Hefal View Post
Ehrm, where did the download go?
https://forums.alliedmods.net/showpo...&postcount=459
Pala4 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-30-2015 , 17:50   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #469

Quote:
Originally Posted by Hefal View Post
Ehrm, where did the download go?
Sorry, 1.4.6 is back up on the main post. 1.5.0 will probably be released by the end of this weekend though.
Tylerst is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 08-02-2015 , 19:07   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #470

Updated to 1.5.0
-New sm_aiamenu command to control target AIA flags
-Added natives for other plugins(see include file on main post)
Tylerst 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 04:41.


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