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

[TF2] Targeted Crits


Post New Thread Reply   
 
Thread Tools Display Modes
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 03-25-2011 , 18:42   Re: [TF2] Targeted Crits
Reply With Quote #21

Quote:
Originally Posted by natex2012 View Post
hi and thanks wats the best way to add this plugin adminmenu_custom.txt file code http://forums.alliedmods.net/showpos...63&postcount=6
Here you go:
Code:
// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//

"Commands"
{
    "PlayerCommands"
    {
        "Set Infinite Ammo"
        {
            "cmd"        "sm_fia #1 #2"
            "admin"        "sm_slay"
            "execute"    "player"
            "1"
            {
                "type"        "player"
                "title"        "Who?"
            }
            "2"
            {
                "type"        "onoff"
                "title"        "On/Off"
            }
        }
        "Toggle Crits on Player"
        {
            "cmd"    "sm_crits #1 #2"
            "admin"    "sm_slay"
            "1"
            {
                "type"    "player"
                "title"    "Player:"
            }
            "2"
            {
                "type"    "list"
                "title"    "Crit Chance"
                "1"        "0.00"
                "2"        "0.05"
                "3"        "1.00"
            }
        }
    }
    "ServerCommands"
    {
        "Infinite Ammo All"
        {
            "cmd"        "sm_fia_all #1"
            "admin"        "sm_slay"
            "execute"    "server"
            "1"
            {
                "type"        "onoff"
                "title"        "On/Off"
            }
        }
    }
}
Quote:
Originally Posted by natex2012 View Post
i think its Toggle not Toogle lol.
It is ;) it was just a typo
Adjo is offline
JoBarfCreepy
Member
Join Date: Feb 2011
Location: Next to Sweden and Norwa
Old 09-26-2011 , 02:54   Re: [TF2] Targeted Crits
Reply With Quote #22

Screenshots, please?
JoBarfCreepy is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 07-04-2012 , 22:58   Re: [TF2] Targeted Crits
Reply With Quote #23

So it has come to my attention that users can type !sm_crits @me 1.0 in chat and they sometimes get crits given to them when they are not admin. I though to trigger an sm command in chat you needed to drop the sm_ and replace it with the ! but I tested this and it does give you crits. Is there any way to get this fixed?
DeathMaster is offline
EonRider
Junior Member
Join Date: Feb 2012
Old 07-04-2012 , 23:53   Re: [TF2] Targeted Crits
Reply With Quote #24

Quote:
Originally Posted by DeathMaster View Post
So it has come to my attention that users can type !sm_crits @me 1.0 in chat and they sometimes get crits given to them when they are not admin. I though to trigger an sm command in chat you needed to drop the sm_ and replace it with the ! but I tested this and it does give you crits. Is there any way to get this fixed?
Override access to the command?
EonRider is offline
jackliu92
Senior Member
Join Date: Aug 2006
Old 07-05-2012 , 04:28   Re: [TF2] Targeted Crits
Reply With Quote #25

Ummm I dont think this plugin is still workin after the recent update by Value.
__________________
jackliu92 is offline
EonRider
Junior Member
Join Date: Feb 2012
Old 07-05-2012 , 10:12   Re: [TF2] Targeted Crits
Reply With Quote #26

Quote:
Originally Posted by jackliu92 View Post
Ummm I dont think this plugin is still workin after the recent update by Value.
I tried it out today. It seems to be fine. Care to explain what doesn't work?
EonRider is offline
josko
Member
Join Date: Dec 2008
Old 08-22-2012 , 12:12   Re: [TF2] Targeted Crits
Reply With Quote #27

Quote:
Originally Posted by noodleboy347 View Post
Remove this:

PHP Code:
    ShowActivity2(client"[SM] ""Toggled crits chance on target '%s'"target_name); 

I removed this, compiled and ran it, but it still says Admin gave crits. Does it only show for me now?
josko is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 07-08-2013 , 15:52   Re: [TF2] Targeted Crits
Reply With Quote #28

I am getting errors with this plugin now:

L 07/08/2013 - 12:18:21: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/08/2013 - 12:18:21: [SM] Displaying call stack trace for plugin "TargetCrits.smx":
L 07/08/2013 - 12:18:21: [SM] [0] Line 146, /home/groups/alliedmodders/forums/files/3/9/5/5/5/50630.attach::TF2_CalcIsAttackCritical()
DeathMaster is offline
K o T
Senior Member
Join Date: Jan 2011
Old 08-12-2013 , 14:25   Re: [TF2] Targeted Crits
Reply With Quote #29

Quote:
L 08/12/2013 - 21:23:01: SourceMod error session started
L 08/12/2013 - 21:23:01: Info (map "mvm_ghost_town") (file "errors_20130812.log")
L 08/12/2013 - 21:23:01: [TF2] Could not locate CalcCriticalKnife - Disabling detour
L 08/12/2013 - 21:23:01: [TF2] Could not locate CalcCriticalNoCrits - Disabling detour
L 08/12/2013 - 21:23:01: [TF2] Could not locate CalcCriticalNoCritsMelee - Disabling detour
K o T is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 10-04-2013 , 14:46   Re: [TF2] Targeted Crits
Reply With Quote #30

Is anyone using this successfully and can it be set permanent to @all = 100%? Pred's critical modifier is not working for many folk......and if this is the case, are any and all modified crit servers broken now? *sigh*
SmackDaddy 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 08:41.


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