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

[TF2] Advanced Infinite Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
404UserNotFound
BANNED
Join Date: Dec 2011
Old 07-16-2015 , 22:09   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #421

Quote:
Originally Posted by Hefal View Post
Ive been trying to get this to work for admins only for an hour now with no success. Anyone else got this going?

I'm only identifyable as an admin inside the "\server\tf\addons\sourcemod\configs\admins_s imple.ini" -file by my ip.

Thanks!
Try your Steam ID instead.
404UserNotFound is offline
Hefal
Senior Member
Join Date: Jul 2015
Old 07-16-2015 , 22:28   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #422

Quote:
Originally Posted by abrandnewday View Post
Try your Steam ID instead.
Thx for the tip but I updated the .ini and still have access to the sm_admin -menu but no luck

sm_aia_all 0
sm_aia_adminonly 1

Does nothing for me, sm_aia_all 1 works tho.
This plugin seems to be partly broken? Anyone?
Hefal is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 07-16-2015 , 22:31   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #423

Quote:
Originally Posted by Hefal View Post
Thx for the tip but I updated the .ini and still have access to the sm_admin -menu but no luck

sm_aia_all 0
sm_aia_adminonly 1

Does nothing for me, sm_aia_all 1 works tho.
This plugin seems to be partly broken? Anyone?
There's something wrong with your setup then because this plugin works just fine.
404UserNotFound is offline
Hefal
Senior Member
Join Date: Jul 2015
Old 07-16-2015 , 22:55   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #424

Quote:
Originally Posted by abrandnewday View Post
There's something wrong with your setup then because this plugin works just fine.
Allright, can you just help and confirm this for me before i try this with a fresh install:

When you execute the following commands:
sm_aia_all 0
sm_aia_adminonly 1

do you have unlimited ammo as an admin?
Hefal is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-17-2015 , 00:46   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #425

Updated to 1.4.0
-Revamp of code to new syntax system
-Sorted/Updated weapon indexes
-Changed Sentry Infinite Ammo coding for better performance

Hi all. Been a while but I got around to updating this last night for the new syntax and I sorted/updated weapon indexes by class/slot(Thanks to everyone who helps keep the wiki list updated)
Also, a change to how sentries get infinite ammo(it uses the built in spawnflag now rather than forcing it) which should improve performance.

I haven't tested this extensively but I played several maps with bots without any errors so it should be alright.

Last edited by Tylerst; 07-17-2015 at 00:46.
Tylerst is offline
Pala4
Senior Member
Join Date: Dec 2007
Old 07-17-2015 , 00:55   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #426

how to disable infinite balls ? It doesn't work sm_aia_extrastuff "0"
Pala4 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 07-17-2015 , 00:58   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #427

Quote:
Originally Posted by Hefal View Post
Allright, can you just help and confirm this for me before i try this with a fresh install:

When you execute the following commands:
sm_aia_all 0
sm_aia_adminonly 1

do you have unlimited ammo as an admin?
No, sm_aia_adminonly is just a filter for the infinite ammo where 0 = Everyone can have infinite ammo 1 = Completely admin only. and 2 = Same as 1 but the sm_aia/aia2 commands will work on non-admins
You want to set am_aia_all to 1 or use the commands in addition to the adminonly cvar.

Quote:
Originally Posted by Pala4 View Post
how to disable infinite balls ? It doesn't work sm_aia_extrastuff "0"
Set the cvar sm_aia_disabledweapons "44;648"

Last edited by Tylerst; 07-17-2015 at 01:08.
Tylerst is offline
Hefal
Senior Member
Join Date: Jul 2015
Old 07-17-2015 , 16:50   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #428

Quote:
Originally Posted by Tylerst View Post
No, sm_aia_adminonly is just a filter for the infinite ammo where 0 = Everyone can have infinite ammo 1 = Completely admin only. and 2 = Same as 1 but the sm_aia/aia2 commands will work on non-admins
You want to set am_aia_all to 1 or use the commands in addition to the adminonly cvar.


Set the cvar sm_aia_disabledweapons "44;648"
Marry me? You were spot on right, +karma man!
Hefal is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 07-17-2015 , 17:35   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #429

Quote:
Originally Posted by Hefal View Post
Marry me? You were spot on right, +karma man!
Shit man, your easy as hell if only that little bit of info warrants marriage
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Hefal
Senior Member
Join Date: Jul 2015
Old 07-17-2015 , 21:50   Re: [TF2] Advanced Infinite Ammo
Reply With Quote #430

Latest version does not run for me. Tried compiling myself no luck.

Anyhow. Love this plugin but it wont let me set the startup settings. Compiled manually after making the following modification to the .sp -file:
Quote:
public void OnPluginStart()
{
CreateConVar("sm_aia_version", PLUGIN_VERSION, "Advanced Infinite Ammo", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FC VAR_NOTIFY|FCVAR_DONTRECORD);
LoadTranslations("common.phrases");

g_hAllInfiniteAmmo = CreateConVar("sm_aia_all", "1", "Advanced Infinite Ammo for everyone");
g_hAdminOnly = CreateConVar("sm_aia_adminonly", "1", "Advanced Infinite Ammo will work for admins only, 1 = Completely Admin Only, 2 = Admin Only but the commands will work on non-admins");
Even if i edit my server.cfg with sm_aia_all 1 and sm_aia_adminonly 1 i have to enter them manually every time. Anyone else got similar probs?

Thx!

Last edited by Hefal; 07-17-2015 at 21:51.
Hefal 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 23:14.


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