View Single Post
Kinsi
Senior Member
Join Date: Apr 2013
Old 05-17-2017 , 20:23   Re: [CS:GO] Calling source's internal Lag-Compensation functions using an extension?
Reply With Quote #2

Alright i now have a rough idea how this (might) be possible to do. I've used IDA to get the signatures of said functions and created a gamedata file for them.

I dont see a problem with implementing the FinishLagCompensation as it just requires a CBasePlayer to be passed, which sdkcalls conveniently has pre-implemented, however StartLagCompensation requires a CUserCmd as the second parameter, and i've yet to find out how i am supposed to pass, or even get that correctly.

Edit: Currently trying to work around this by just using BacktrackPlayer and giving it a self-calculated time

Last edited by Kinsi; 05-17-2017 at 20:43.
Kinsi is offline