Raised This Month: $ Target: $400
 0% 

[TF2] Advanced Infinite Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Plugin ID:
3105
Plugin Version:
1.5.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    62 
    Plugin Description:
    Infinite usage for just about everything
    Old 07-20-2012 , 10:16   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #1

    How do I restrict infinite sandman and wrap assassin balls to Admins only but able to set everything else for everyone else?
    Horsedick is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 07-20-2012 , 11:45   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #2

    Quote:
    Originally Posted by Horsedick View Post
    How do I restrict infinite sandman and wrap assassin balls to Admins only but able to set everything else for everyone else?
    If you're worried about lag, I released a plugin to fix that a couple days ago: Ball Projectile Limit

    Edit: As of 1.0.2, it's much simpler to do this, just uncomment the if statement, or comment the SetAmmo to disable them altogether.
    Code:
    //Sandman, Wrap Assassin - Ammo
    case 44, 648:
    {
    	//Admin Check(Old Plugin Behavior)
    	//if(!CheckCommandAccess(client, "sm_fia_adminflag", ADMFLAG_GENERIC)) return;
    	SetAmmo(client, iWeapon);
    }
    Old

    Last edited by Tylerst; 07-27-2012 at 15:50.
    Tylerst is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 07-20-2012 , 12:11   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #3

    Quote:
    Originally Posted by Tylerst View Post
    If you're worried about lag, I released a plugin to fix that a couple days ago: Ball Projectile Limit

    Otherwise, I left the code in for the admin check:
    Code:
    //Sandman, Wrap Assassin - Admin Check(Old Plugin Behavior)
    case 44, 648:
    {
        if(!CheckCommandAccess(client, "sm_fia_adminflag", ADMFLAG_SLAY)) return;
        SetAmmo(client, iWeapon);
    }
    Just remove the cases from the Type2 Weapons area and uncomment this(remove the /* */ )
    Ok going to make the edits I did to your code as seen above.... that way only those with SLAY permissions can access unlimited ammo for both sandman and wrap assassin but not someone else I give it to or that can enable it such as thru flag "o" or CUSTOM1 .. correct?
    Horsedick is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 07-20-2012 , 15:17   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #4

    Quote:
    Originally Posted by Horsedick View Post
    Ok going to make the edits I did to your code as seen above.... that way only those with SLAY permissions can access unlimited ammo for both sandman and wrap assassin but not someone else I give it to or that can enable it such as thru flag "o" or CUSTOM1 .. correct?
    Specifically, it will first check for an sm_aia_adminflag override, but if you don't have one set, then yes, it will use the slay flag, and only people with the slay flag will have infinite balls.

    Last edited by Tylerst; 01-22-2013 at 00:42.
    Tylerst is offline
    Raward
    New Member
    Join Date: Sep 2012
    Old 10-13-2013 , 11:24   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #5

    How does one turn off the waitingforplayers effect? I try and try to do it but it stays on! I've tried reinstalling the plugin but to no avail, what should I do?
    Raward is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 10-13-2013 , 12:55   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #6

    Quote:
    Originally Posted by Raward View Post
    How does one turn off the waitingforplayers effect? I try and try to do it but it stays on! I've tried reinstalling the plugin but to no avail, what should I do?
    This plugins has bugs! More than just one and author is not willing to fix them or is inactive... so either you can fix it yourself or you can ask someone skilled in coding to help you...
    __________________
    luki1412 is offline
    WraithTDK
    New Member
    Join Date: Dec 2013
    Old 11-15-2015 , 21:37   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #7

    At the start of every game, I get

    [SM] Round Start - Advanced Infinite Ammo disabled

    Any why and what to do about this?
    WraithTDK is offline
    xXDeathreusXx
    Veteran Member
    Join Date: Mar 2013
    Location: pPlayer->GetOrigin();
    Old 11-16-2015 , 00:06   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #8

    Quote:
    Originally Posted by WraithTDK View Post
    At the start of every game, I get

    [SM] Round Start - Advanced Infinite Ammo disabled

    Any why and what to do about this?
    Change waiting for players aia or setup/roundwin aia cvars to 0
    __________________
    Plugins|Profile
    Requests closed

    I'm a smartass by nature, get used to it

    Last edited by xXDeathreusXx; 11-16-2015 at 00:06.
    xXDeathreusXx is offline
    mal415
    Member
    Join Date: Jan 2012
    Old 07-20-2012 , 17:03   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #9

    I use this plugin as a donator perk (using a custom admin flag). Can this plugin allow players to toggle it on themselves but not allow them to give it to others?

    If you have access to sm_aia you have access to both or is there a way to split them?
    mal415 is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 07-20-2012 , 21:05   Re: [TF2] Advanced Infinite Ammo
    Reply With Quote #10

    Quote:
    Originally Posted by mal415 View Post
    I use this plugin as a donator perk (using a custom admin flag). Can this plugin allow players to toggle it on themselves but not allow them to give it to others?

    If you have access to sm_aia you have access to both or is there a way to split them?
    There is now.
    Just override sm_aia_targetflag and they will only be able to use sm_aia and sm_aia @me 1/sm_aia @me 0


    Update to 1.0.1
    -Added sm_aia_targetflag ovverride to control which admins can target others
    -Fixed a typo in the self-targetting

    Last edited by Tylerst; 01-22-2013 at 00:42.
    Tylerst 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 03:31.


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