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

TF2 Hook local player events to server + medic overheals


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cieniu97
Junior Member
Join Date: Sep 2021
Location: Poland
Old 10-15-2021 , 11:36   TF2 Hook local player events to server + medic overheals
Reply With Quote #1

Hello there!
Still working on Advanced Logger Plugin

Context:
While programming player_healed event i noticed that medic/buffs don't trigger that event.
This is very unlucky since that's a third of heals not being recorded. One idea I figured might work was getting heals info from localplayer_healed which surprisingly does record overheals.
I read somewhere that one can't hook localplayer to be seen by a server but i am not so sure about that.
I have tried hooking it and localplayer events are not being fired.
There just must be some information on the server that player is overhealed. It doesnt drop down from the sky :>

Questions:
Is there a way to hook localplayer events to be recognized by a server?
How to record overheals on player?

Edit: Also when having tftrue on server and turning one "log on" the overheals are being logged properly. hmmm

Last edited by Cieniu97; 10-15-2021 at 16:40.
Cieniu97 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 16:07.


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