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

[TF2|LINUX] proxysend


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
arthurdead
Senior Member
Join Date: Jul 2013
Old 09-23-2022 , 08:29   [TF2|LINUX] proxysend
Reply With Quote #1

remade sendproxy from scratch

https://github.com/arthurdead/proxysend

do not report issues on this thread use github

theoretically should be more performant

keep in mind this is not SDKHooks

don't do this:
Code:
change_player_variable(int client, bool value)
  variable[client] = value;

OnClientPutInServer(int client)
  proxysend_hook(client, "m_iNetVar", variable_callback):

variable_callback(int entity):
  if(variable[entity])
     result = 2
     return Pl_Changed
  return Pl_Continue
do this instead:
Code:
change_player_variable(int client, bool value)
  if(value)
    proxysend_hook(client, "m_iNetVar", variable_callback):
  else
    proxysend_unhook(client, "m_iNetVar", variable_callback):

variable_callback(int entity):
  result = 2
  return Pl_Changed
or do it the first way idk your code your rules

Last edited by arthurdead; 09-23-2022 at 09:50.
arthurdead 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:25.


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