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

SendProxy Manager


Post New Thread Reply   
 
Thread Tools Display Modes
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 12-31-2013 , 09:16   Re: SendProxy Manager
Reply With Quote #241

Quote:
Originally Posted by Oshizu View Post
Why do you fake m_iItemDefinitionIndex
Just Curious
Super late but whatever
Give yourself a weapon with a bad item index such as -1 (which I use for certain "non-weapon" weapons such as my cruddy Portal Gun), make sure you have a taunt action item equipped, and set cl_hud_playerclass_use_playermodel to 1 if you haven't. ...It gets annoying, to say the least.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

Last edited by MasterOfTheXP; 12-31-2013 at 09:16.
MasterOfTheXP is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-31-2013 , 11:11   Re: SendProxy Manager
Reply With Quote #242

Quote:
Originally Posted by MasterOfTheXP View Post
Super late but whatever
Give yourself a weapon with a bad item index such as -1 (which I use for certain "non-weapon" weapons such as my cruddy Portal Gun), make sure you have a taunt action item equipped, and set cl_hud_playerclass_use_playermodel to 1 if you haven't. ...It gets annoying, to say the least.
Thanks for that. i found it super annoying too with the laughing taunt equipped..
Mitchell is offline
Wozz
BANNED
Join Date: Dec 2013
Location: Sweden
Old 12-31-2013 , 13:36   Re: SendProxy Manager
Reply With Quote #243

Site is no longer active. Does anyone have an alternative download link?
Wozz is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-31-2013 , 13:40   Re: SendProxy Manager
Reply With Quote #244

https://github.com/VoiDeD/sourcemod-sendproxy-manager
__________________
DarthNinja is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 01-01-2014 , 14:33   Re: SendProxy Manager
Reply With Quote #245

Quote:
Originally Posted by MasterOfTheXP View Post
Super late but whatever
Give yourself a weapon with a bad item index such as -1 (which I use for certain "non-weapon" weapons such as my cruddy Portal Gun), make sure you have a taunt action item equipped, and set cl_hud_playerclass_use_playermodel to 1 if you haven't. ...It gets annoying, to say the least.
This happens if you have multi weapons too, like razorback + smg in ff2...
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 01-04-2014 , 15:47   Re: SendProxy Manager
Reply With Quote #246

Hi guys
Got question
How do i proxy string?

PHP Code:
#include <sendproxy>
#include <sdkhooks>
#include <sdktools>

public OnPluginStart()
{
    
HookEvent("teamplay_round_start"event_RoundStartEventHookMode_Post);
}

public 
OnMapStart()
{
    
PrecacheModel("models/props_2fort/frog.mdl")
}

public 
Action:event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
flag = -1;
    while ((
flag FindEntityByClassname(flag"item_teamflag")) != -1)
    {
        
SendProxy_Hook(flag"m_ModelName"Prop_StringCallback_FakeString)
    }
}

public 
Action:Callback_FakeString(entity, const String:PropName[], String:modifiedValue[4096], element)
{
    
Format(modifiedValuesizeof(modifiedValue), "models/props_2fort/frog.mdl")
    return 
Plugin_Changed;

Tried this but crashes server
Help would be userful
- Thanks
__________________
...

Last edited by Oshizu; 01-04-2014 at 16:54.
Oshizu is offline
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 01-04-2014 , 17:05   Re: SendProxy Manager
Reply With Quote #247

Why you even want to send fake string to everyone, and not just use exact model or m_nModelIndex instead?
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 01-04-2014 , 17:34   Re: SendProxy Manager
Reply With Quote #248

Quote:
Originally Posted by Root_ View Post
Why you even want to send fake string to everyone, and not just use exact model or m_nModelIndex instead?
Experimeting with modifying model string
__________________
...
Oshizu is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 01-04-2014 , 17:48   Re: SendProxy Manager
Reply With Quote #249

Quote:
Originally Posted by Oshizu View Post
Experimeting with modifying model string
Stop trying to circumvert the attachables restriction, that code is not going to get around the model check for the simple fact you're sending a different model name, client-side it has the same effect as manually changing it with SetEntPropString...
__________________
napalm00 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 01-04-2014 , 18:19   Re: SendProxy Manager
Reply With Quote #250

Quote:
Originally Posted by napalm00 View Post
Stop trying to circumvert the attachables restriction, that code is not going to get around the model check for the simple fact you're sending a different model name, client-side it has the same effect as manually changing it with SetEntPropString...
It's easier to use sendproxy than DHooks for modifying CBaseEntity::GetModelName callback
You can't blame me for trying

Spoiler
__________________
...

Last edited by Oshizu; 01-04-2014 at 18:22.
Oshizu 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 13:50.


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