Raised This Month: $32 Target: $400
 8% 

SendProxy Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Nerus
Senior Member
Join Date: Aug 2010
Location: Poland
Old 01-17-2016 , 15:29   Re: SendProxy Manager
Reply With Quote #311

Code:
PHP Code:
#include <sendproxy>

public void OnClientPutInServer(int client) <-- "Maybe this is a problem ?"
{
   
SendProxy_Hook(client"m_iScore"Prop_IntOnScoreValueChange);
   
SendProxy_Hook(client"m_iFrags"Prop_IntOnKillsValueChange);
   
SendProxy_Hook(client"m_iDeaths"Prop_IntOnDeathsValueChange);
   
SendProxy_Hook(client"m_iAccount"Prop_IntOnMoneyValueChange);
}

public 
Action OnScoreValueChange(int entity, const char[] PropNameint &iValueint element)
{
    
SCORE[element] = iValue;
    
PrintToChat(element"Score changed to: %d"SCORE[element]);
    
    return 
Plugin_Continue;
}

public 
Action OnKillsValueChange(int entity, const char[] PropNameint &iValueint element)
{
    
KILLS[element] = iValue;
    
PrintToChat(element"Kills changed to: %d"KILLS[element]);
    
    return 
Plugin_Continue;
}

public 
Action OnDeathsValueChange(int entity, const char[] PropNameint &iValueint element)
{
    
DEATHS[element] = iValue;
    
PrintToChat(element"Deaths changed to: %d"DEATHS[element]);
    
    return 
Plugin_Continue;
}

public 
Action OnMoneyValueChange(int entity, const char[] PropNameint &iValueint element)
{
    
MONEY[element] = iValue;
    
PrintToChat(element"Money changed to: %d"MONEY[element]);
    
    return 
Plugin_Continue;

Server crash on bot join, what I'm doing wrong ?

Crash: https://crash.limetech.org/wch47n7ihis7

Regards,
Nerus.
Attached Files
File Type: zip c56e86a2-0eab-4f50-bdbb-69d8c54576f6.zip (90.4 KB, 381 views)

Last edited by Nerus; 01-19-2016 at 06:48.
Nerus is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-31-2016 , 21:32   Re: SendProxy Manager
Reply With Quote #312

Is there any way to send different values to each client for a single netprop?

Eg.

Code:
m_iSomeValue -> client 1 == 1
m_iSomeValue -> client 2 == 2
m_iSomeValue -> client 3 == 3
__________________
Neuro Toxin is offline
spumer
Senior Member
Join Date: Aug 2011
Old 01-31-2016 , 23:25   Re: SendProxy Manager
Reply With Quote #313

Quote:
Originally Posted by Neuro Toxin View Post
Is there any way to send different values to each client for a single netprop?

Eg.

Code:
m_iSomeValue -> client 1 == 1
m_iSomeValue -> client 2 == 2
m_iSomeValue -> client 3 == 3
No. But some prop's support filters and this is rare case.
__________________
spumer is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-17-2016 , 12:17   Re: SendProxy Manager
Reply With Quote #314

crashes using windows version from https://forums.alliedmods.net/showpo...&postcount=300
game is CSGO

works after updating to latest SM version
but extension doesn't autoload

update nope extension still crashing server ;(
__________________

Last edited by 8guawong; 08-21-2016 at 22:20.
8guawong is offline
boomix
Senior Member
Join Date: May 2015
Location: Latvia
Old 09-13-2016 , 16:25   Re: SendProxy Manager
Reply With Quote #315

Testing on windows seems not to work fine. Extenstion loads up fine, but as soon as I run any kind of command of it, server crashes.

Anyone have any idea ?
__________________
boomix is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 09-15-2016 , 22:16   Re: SendProxy Manager
Reply With Quote #316

Specifying the game and Sourcemod version helps.

If I had to guess, the extension may need to be recompiled against the latest SDK changes, AND/OR recompiled against the latest Sourcemod version. Don't use SM 1.9 if you are using it currently.

Last edited by Potato Uno; 09-15-2016 at 22:17.
Potato Uno is offline
blaacky
Senior Member
Join Date: Oct 2012
Old 11-19-2016 , 22:36   Re: SendProxy Manager
Reply With Quote #317

The extension isn't loading on my linux CSS server. Is it outdated?
blaacky is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 12-19-2016 , 06:33   Re: SendProxy Manager
Reply With Quote #318

Quote:
Originally Posted by blaacky View Post
The extension isn't loading on my linux CSS server. Is it outdated?
And this version or this?
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 05-05-2017 , 17:38   Re: SendProxy Manager
Reply With Quote #319

Windows and linux build for csgo

Source https://github.com/KissLick/sourcemod-sendproxy-manager
Attached Files
File Type: zip sendproxy.zip (443.6 KB, 374 views)
Despirator is offline
Kinsi
Senior Member
Join Date: Apr 2013
Old 06-06-2017 , 23:35   Re: SendProxy Manager
Reply With Quote #320

Was support for SendProxy_HookArrayProp / Prop_Array ever completed?

Edit: Nevermind im retarded

Last edited by Kinsi; 06-09-2017 at 20:34.
Kinsi 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 19:45.


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