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

Solved Questions about SDKCall


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Paimon
Member
Join Date: Jul 2021
Location: Zootopia
Old 02-05-2024 , 05:06   Questions about SDKCall
Reply With Quote #1

I got this from IDA:
PHP Code:
(*(*debugoverlay 12))(debugoverlay, &v20, &v222550010x41200000); // 0x41200000 = 10.0
// DebugOverlay(debugoverlay, Vector&, Vector&, int, int, int, bool, float) 
And gamedata:
Spoiler

How to make a sdkcall for the function above if I got the address of "debugoverlay" ?
__________________

Last edited by Paimon; 02-06-2024 at 04:56.
Paimon is offline
LinLinLin
Senior Member
Join Date: Sep 2021
Old 02-05-2024 , 09:41   Re: Questions about SDKCall
Reply With Quote #2

not test.
PHP Code:
Address debugoverlay LoadFromAddress(hGameData.GetMemSig("debugoverlay"), NumberType_Int32);
Address debugoverlay_func LoadFromAddress(debugoverlay view_as<Address>(12), NumberType_Int32);

// sdkcall_raw
SDKCall(g_hSDKCall_Debugoverlaydebugoverlay_funcv20v222550010x41200000); 
LinLinLin is offline
Paimon
Member
Join Date: Jul 2021
Location: Zootopia
Old 02-06-2024 , 04:55   Re: Questions about SDKCall
Reply With Quote #3

Quote:
Originally Posted by LinLinLin View Post
not test.
PHP Code:
Address debugoverlay LoadFromAddress(hGameData.GetMemSig("debugoverlay"), NumberType_Int32);
Address debugoverlay_func LoadFromAddress(debugoverlay view_as<Address>(12), NumberType_Int32);

// sdkcall_raw
SDKCall(g_hSDKCall_Debugoverlaydebugoverlay_funcv20v222550010x41200000); 
还是不对,不过不重要了,我确定了这个东西没法在服务器端使用,除了本地服,在本地服还不如直接 用 drawline。

Failed. But not important any more, because I confirm that "debugoverlay" couldn't use on server side except local server. Use "drawline" on local server is enough.
__________________

Last edited by Paimon; 02-06-2024 at 04:56.
Paimon 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:53.


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