@@ -9,7 +9,7 @@ SIGSCAN_WINDOWS(MatrixBuildRotationAboutAxis, "55 8B EC 51 F3 0F 10 45 ? 0F 5A C
99// stolen from Infra
1010SIGSCAN_WINDOWS(DrawTranslucentRenderables, " 55 8B EC 81 EC 80 00 00 00 53 56 8B F1" )
1111
12- // same as something else but I found myself
12+ // same as something else
1313OFFSET_WINDOWS(HostState_OnClientConnected, 695 )
1414
1515OFFSET_WINDOWS(gamerules, 5 )
@@ -39,14 +39,18 @@ OFFSET_WINDOWS(GetSteamAPIContext, 176)
3939// OFFSET_WINDOWS(HudUpdate, 11) // found, if needed
4040// OFFSET_DEFAULT(IN_ActivateMouse, 15, 15) // verified
4141// OFFSET_DEFAULT(IN_DeactivateMouse, 16, 16) // verified
42- OFFSET_WINDOWS(ApplyMouse, 53 ) // found myself
42+ OFFSET_WINDOWS(ApplyMouse, 53 ) // found
4343OFFSET_EMPTY(SteamControllerMove) // THIS DOES NOT EXIST IN 2011!!!! (because the Steam Controller didn't exist in 2011)
4444// OFFSET_WINDOWS(JoyStickApplyMovement, 60) // found, if needed
4545// OFFSET_DEFAULT(LevelInitPreEntity, 5, 5) // verified
4646
4747// CVEngineServer
4848// all good
4949
50+ // CHudChat/CBaseHudChat
51+ // OFFSET_WINDOWS(MsgFunc_SayText2, 27) // unused, see comment in latest P2 offsets file
52+ // OFFSET_WINDOWS(GetTextColorForClient, 32) // unused but ye
53+
5054// vgui stuff, pretty sure I just stole these from another version, no idea if they are correct,
5155// but the game doesn't crash.
5256OFFSET_WINDOWS(DrawColoredCircle, 158 )
@@ -58,8 +62,8 @@ OFFSET_WINDOWS(UncacheUnusedMaterials, 76) // confirmed
5862OFFSET_WINDOWS(CreateMaterial, 80 ) // confirmed
5963OFFSET_WINDOWS(FindMaterial, 81 ) // confirmed
6064OFFSET_WINDOWS(CreateProceduralTexture, 89 ) // confirmed
61- OFFSET_WINDOWS(GetRenderContext, 111 ) // found myself
62- OFFSET_WINDOWS(RemoveMaterial, 153 ) // found myself
65+ OFFSET_WINDOWS(GetRenderContext, 111 ) // found
66+ OFFSET_WINDOWS(RemoveMaterial, 153 ) // found
6367
6468// CEngineTool
6569// OFFSET_DEFAULT(GetCurrentMap, 25, 26) // good
@@ -77,22 +81,22 @@ OFFSET_WINDOWS(PrecacheModel, 62)
7781SIGSCAN_WINDOWS(ViewPunch, " 55 8B EC A1 ? ? ? ? 83 EC 0C 83 78 ? 00 56 8B F1" ) // this works for 9568 too, maybe shorten that pattern/adjust to match this?
7882
7983// CBasePlayer
80- OFFSET_WINDOWS(m_pShadowStand, 3156 ) // found myself
81- OFFSET_WINDOWS(m_pShadowCrouch, 3160 ) // found myself
84+ OFFSET_WINDOWS(m_pShadowStand, 3156 ) // found
85+ OFFSET_WINDOWS(m_pShadowCrouch, 3160 ) // found
8286
83- OFFSET_WINDOWS(viewangles, 19112 ) // found myself
87+ OFFSET_WINDOWS(viewangles, 19112 ) // found
8488
8589// CBaseEntity
86- OFFSET_WINDOWS(AcceptInput, 39 ) // found myself
87- OFFSET_WINDOWS(IsPlayer, 84 ) // found myself
90+ OFFSET_WINDOWS(AcceptInput, 39 ) // found
91+ OFFSET_WINDOWS(IsPlayer, 84 ) // found
8892
8993// CPortal_Player
9094// OFFSET_WINDOWS(GetPaintPower, 2) // this seems to be fine as is
91- OFFSET_WINDOWS(PlayerRunCommand, 452 ) // found myself
92- OFFSET_WINDOWS(UseSpeedPower, 508 ) // found myself
95+ OFFSET_WINDOWS(PlayerRunCommand, 452 ) // found
96+ OFFSET_WINDOWS(UseSpeedPower, 508 ) // found
9397
9498// CSteam3Client
95- OFFSET_WINDOWS(OnGameOverlayActivated, 92 )
99+ OFFSET_WINDOWS(OnGameOverlayActivated, 92 ) // found
96100
97101// IPhysicsObject
98102// everything (should) be fine.
@@ -105,7 +109,7 @@ OFFSET_EMPTY(interfaceMgrOff)
105109// all same as current P2
106110
107111// CDemoPlayer
108- OFFSET_WINDOWS(SkipToTick, 14 ) // found myself
112+ OFFSET_WINDOWS(SkipToTick, 14 ) // found
109113// rest are good
110114
111115// stolen
@@ -117,13 +121,13 @@ OFFSET_WINDOWS(m_bLoadGame, 440)
117121
118122SIGSCAN_WINDOWS(readConsoleCommandInjectSig, " 8B 45 F4 50 68 ? 04 00 00 68 ? ? ? ? 8D 4D 90 E8 ? ? ? ? 8D 4F 04 E8" ) // needed to mask one byte
119123
120- OFFSET_WINDOWS(net_time, 21 ) // found myself
124+ OFFSET_WINDOWS(net_time, 21 ) // found
121125
122- OFFSET_WINDOWS(PerUserInput_tSize, 212 ) // found myself
123- OFFSET_WINDOWS(m_pCommands, 224 ) // found myself
126+ OFFSET_WINDOWS(PerUserInput_tSize, 212 ) // found
127+ OFFSET_WINDOWS(m_pCommands, 224 ) // found
124128// multiplayer_backup is good
125129
126130// check/refind these
127- OFFSET_WINDOWS(m_pSurfaceData, 4088 ) // found myself but unsure
128- OFFSET_WINDOWS(S_m_surfaceFriction, 4092 ) // found myself
129- OFFSET_WINDOWS(C_m_surfaceFriction, 5532 ) // found myself
131+ OFFSET_WINDOWS(m_pSurfaceData, 4088 ) // found but unsure
132+ OFFSET_WINDOWS(S_m_surfaceFriction, 4092 ) // found
133+ OFFSET_WINDOWS(C_m_surfaceFriction, 5532 ) // found
0 commit comments