Raised This Month: $ Target: $400
 0% 

Highfive taunt = crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-29-2013 , 20:47   Highfive taunt = crash
Reply With Quote #1

anyone else experiencing this?
gonna block it for now.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
AwesomeX
Member
Join Date: Jul 2013
Old 10-29-2013 , 21:09   Re: Highfive taunt = crash
Reply With Quote #2

YES!

I've been getting this, my whole server is screwed atm because of this.
AwesomeX is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-29-2013 , 21:18   Re: Highfive taunt = crash
Reply With Quote #3

seems you can no longer commandlistener use_action_slot_item_server, therefore, you can't even block the taunt, and you can't remove the item either, so you can't block this afaik.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 10-29-2013 , 21:18   Re: Highfive taunt = crash
Reply With Quote #4

are you getting this after the halloween update?
SilentBr is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-29-2013 , 21:23   Re: Highfive taunt = crash
Reply With Quote #5

This is not nice, but it will save your server from chain crashing from asshats -> may just have to be removed from demo, not sure.
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <sdktools>

#define PLUGIN_NAME     "[TF2] RemoveHighfive"
#define PLUGIN_AUTHOR   "Friagram"
#define PLUGIN_VERSION  "1.0"
#define PLUGIN_DESCRIP  "Oh Valve"
#define PLUGIN_CONTACT  "http://steamcommunity.com/groups/poniponiponi"

public Plugin:myinfo =
{
    
name PLUGIN_NAME,
    
author PLUGIN_AUTHOR,
    
description PLUGIN_DESCRIP,
    
version PLUGIN_VERSION,
    
url PLUGIN_CONTACT
};

public 
OnPluginStart()
{
    
HookEvent("post_inventory_application"post_inventory_application,  EventHookMode_Post);
}

public 
Action:Taunt(clientString:cmd[], args


    
    return 
Plugin_Continue;


public 
post_inventory_application(Handle:hEventString:strName[], bool:bDontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(hEvent"userid"));

    new 
= -1
    while ((
FindEntityByClassname2(i"tf_wearable")) != -1
    { 
        if (
GetEntPropEnt(iProp_Send"m_hOwnerEntity") == client && GetEntProp(iProp_Send"m_iItemDefinitionIndex") == 167)
        {
            
ForcePlayerSuicide(client);
            
PrintToChat(client"Remove your High-Five Taunt");
            
PrintCenterText(client"Remove your High-Five Taunt");
        }      
    }
}

stock FindEntityByClassname2(startEnt, const String:classname[])
{
    while (
startEnt > -&& !IsValidEntity(startEnt)) startEnt--;
    return 
FindEntityByClassname(startEntclassname);

gonna try this for ff2 and crap that respawns people.:
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <tf2_stocks>

#define PLUGIN_NAME     "[TF2] RemoveHighfive"
#define PLUGIN_AUTHOR   "Friagram"
#define PLUGIN_VERSION  "1.0"
#define PLUGIN_DESCRIP  "Oh Valve"
#define PLUGIN_CONTACT  "http://steamcommunity.com/groups/poniponiponi"

public Plugin:myinfo =
{
    
name PLUGIN_NAME,
    
author PLUGIN_AUTHOR,
    
description PLUGIN_DESCRIP,
    
version PLUGIN_VERSION,
    
url PLUGIN_CONTACT
};

public 
OnPluginStart()
{
    
HookEvent("post_inventory_application"post_inventory_application,  EventHookMode_Post);
}

public 
Action:Taunt(clientString:cmd[], args


    
    return 
Plugin_Continue;


public 
post_inventory_application(Handle:hEventString:strName[], bool:bDontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(hEvent"userid"));
    
    new 
= -1
    while ((
FindEntityByClassname2(i"tf_wearable")) != -1
    { 
        if (
GetEntPropEnt(iProp_Send"m_hOwnerEntity") == client && GetEntProp(iProp_Send"m_iItemDefinitionIndex") == 167)
        {
            
ForcePlayerSuicide(client);
            
FakeClientCommandEx(client"Spectate");
            
PrintToChat(client"Remove your High-Five Taunt");
            
PrintCenterText(client"Remove your High-Five Taunt");  
        }
    }
}

stock FindEntityByClassname2(startEnt, const String:classname[])
{
    while (
startEnt > -&& !IsValidEntity(startEnt)) startEnt--;
    return 
FindEntityByClassname(startEntclassname);

__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 10-29-2013 at 23:36.
friagram is offline
Rainicorn
Member
Join Date: Jun 2011
Location: Palo Alto, California
Old 10-29-2013 , 21:28   Re: Highfive taunt = crash
Reply With Quote #6

You're my hero! Thank you so much for coding this fix and sharing it with all of us here. I hope that Valve will come up with a more permanent solution soon in the form of a hotfix.
__________________
=~ s/(.*)/<ditziness>$1<\ditziness>/g if any point you wish();
Rainicorn is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 10-29-2013 , 21:42   Re: Highfive taunt = crash
Reply With Quote #7

High fives still work on my idle server. Is anyone running the high-five enemy plugin, because I'm not.

Someone said something about a new backflip animation with high-fives too...
404UserNotFound is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-29-2013 , 21:55   Re: Highfive taunt = crash
Reply With Quote #8

crashes on other classes too, and even without highfiveenemy. Go have 2 demos highfive, it's 100% failure rate pretty much.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 10-29-2013 , 21:59   Re: Highfive taunt = crash
Reply With Quote #9

I just went as demo and high fived a scout on my team and the other team, no issue.
__________________

Last edited by Dr_Knuckles; 10-29-2013 at 22:03.
Dr_Knuckles is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 10-29-2013 , 21:59   Re: Highfive taunt = crash
Reply With Quote #10

Weird.
404UserNotFound 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 09:48.


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