Posts by kekate5
10 posts total, newest first.
Hooking PaintTraversein Counter-Strike 2 Coding & Resources - [QUOTE=certmemer;12892876]dont check for panel and report the results?[/QUOTE]
Exception thrown at 0x0F9B90A3 (vgui2.dll) in csgo.exe: 0xC0000005: Access violation reading location 0x00000001.Hooking PaintTraversein Counter-Strike 2 Coding & Resources - ive tried all possible ways idk anymore this shit gives me headache..
Hook::PaintTraverse = (PaintTraverseFn)Hook::Panel->dwHookMethod((DWORD)&PaintTraverse::Hooked_PaintTraverse, 41);
Hook::Panel = Hooking PaintTraversein Counter-Strike 2 Coding & Resources - [QUOTE=affe2626;12892750]He shouldn't call the original two times, just once at the bottom of the hook.
- - - Updated - - -
Are you sure that the Surface pointer is correct? And those are methods in the SurfaceHooking PaintTraversein Counter-Strike 2 Coding & Resources - [QUOTE=ZectixV1;12892728]
void __fastcall Hooked_PaintTraverse(void* thishook, unsigned int vguipanel, bool& forcerepaint, bool& allowforce)
{
PaintTraverse(thishook, vguipanel, forcerepaint, allowforceHooking PaintTraversein Counter-Strike 2 Coding & Resources - [QUOTE=ZectixV1;12892719]
void __fastcall PaintTraverse_Hooked(PVOID pPanels, int edx, unsigned int vguiPanel, bool forceRepaint, bool allowForce)
{
oPaintTraverse(pPanels, vguiPanel, forceRepaint, allowForce);[/QUOTE
Showing the 5 most recent posts.