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

SendProxy Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 10-27-2011 , 11:54   Re: SendProxy Manager
Reply With Quote #31

Seems very interesting. Can someone spitball some ideas about how this would be used? Why would you want to change the client netprops but not on the server?
Thraka is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 10-27-2011 , 12:26   Re: SendProxy Manager
Reply With Quote #32

basically the server calculates with the original values while the clients see faked ones instead.

i didn't test any of those:
make all players think a player is low at health, but really has like 5000.
make a player seem like he's on team blue but he really is red and therefore takes damage inflicted by his seemingly blue teammates.
give a player the uberglow without being ubered and still taking damage.
move entities without moving them.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 10-28-2011 , 22:34   Re: SendProxy Manager
Reply With Quote #33

I think I did something wrong in string/array proxying. Once I get back to a Windows computer I'll be able to get fixes for that compiled and pushed out.

Last edited by Afronanny; 10-28-2011 at 22:34.
Afronanny is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 10-28-2011 , 23:04   Re: SendProxy Manager
Reply With Quote #34

Very useful extension indeed. Thanks!

Quote:
Originally Posted by Thraka View Post
Seems very interesting. Can someone spitball some ideas about how this would be used? Why would you want to change the client netprops but not on the server?
For example right now the m_glow netprops in L4D2 is send to all players with no way to tell the game who should see the glow and who should not.

With this extension I can send glows only to 1 person or only to the infected team.
Mr. Zero is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 10-29-2011 , 00:01   Re: SendProxy Manager
Reply With Quote #35

Quote:
Originally Posted by Mr. Zero View Post
Very useful extension indeed. Thanks!



For example right now the m_glow netprops in L4D2 is send to all players with no way to tell the game who should see the glow and who should not.

With this extension I can send glows only to 1 person or only to the infected team.
No you can't. Proxies are called once for all players per tick. As I mentioned above, you cannot send a modified value to only one client.
Afronanny is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 10-31-2011 , 12:32   Re: SendProxy Manager
Reply With Quote #36

Updated (1.0.8):

Vector and String proxy hooks now copyback correctly

ducksducksducksducks

Last edited by Afronanny; 10-31-2011 at 12:32.
Afronanny is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 10-31-2011 , 21:52   Re: SendProxy Manager
Reply With Quote #37

So for example you could make it appear that your character is sitting in one spot but be in another? lol.
Thraka is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 10-31-2011 , 21:55   Re: SendProxy Manager
Reply With Quote #38

You could, if you wanted to.
ducks
Afronanny is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-13-2011 , 10:00   Re: SendProxy Manager
Reply With Quote #39

Any chance of getting array support? I'd like to do something like this:

Code:
CCSPlayerResource:
 Sub-Class Table (1 Deep): DT_CSPlayerResource
  Sub-Class Table (2 Deep): DT_PlayerResource
   Sub-Class Table (3 Deep): m_iPing
   -Member: 000 (offset 0) (type integer) (bits 10)
   -Member: 001 (offset 4) (type integer) (bits 10)
   -Member: 002 (offset 8) (type integer) (bits 10)
   -Member: 003 (offset 12) (type integer) (bits 10)
   -Member: 004 (offset 16) (type integer) (bits 10)
   -Member: 005 (offset 20) (type integer) (bits 10)
... etc ...
Code:
public OnMapStart() {     new ent = FindEntityByClassname(MaxClients + 1, "cs_player_manager");     SendProxy_Hook(ent, "m_iPing", Prop_Array, ProxyCallback); }
__________________

Last edited by GoD-Tony; 11-13-2011 at 10:04.
GoD-Tony is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 11-17-2011 , 00:30   Re: SendProxy Manager
Reply With Quote #40

Quote:
Originally Posted by GoD-Tony View Post
Any chance of getting array support? I'd like to do something like this:
I'll have to think about the best way to implement this, seeing as array members can consist of any of the other types. Additionally, what if you only wanted to proxy one of the array members?

I shall ponder this and try some things.
ducksducks

Last edited by Afronanny; 11-17-2011 at 00:30.
Afronanny 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 12:12.


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