SM-TFUtils icon indicating copy to clipboard operation
SM-TFUtils copied to clipboard

[Windows] GetPlayerObjectCount returning incorrect values and GetPlayerObject crashing the server

Open naydef opened this issue 1 year ago • 0 comments

Cause is wrong CTFPlayer::m_aObjects offset.

Diff:

@@ -41,7 +41,7 @@
 				"windows"
 				{
 					"signature"		"CTFPlayer::AddObject()"
-					"offset"		"37"
+					"offset"		"53"
 				}
 			}
 			"offsetof(CTFPlayer::m_flRespawnTimeOverride)"

naydef avatar May 12 '24 12:05 naydef