Raised This Month: $433 Target: $400
 108% 

CCSBot::MoveTo Signature


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 03-23-2020 , 17:48   CCSBot::MoveTo Signature
Reply With Quote #1

Hello modders.
I'm trying to update CSGO CCSBot::MoveTo linux signature, but my plugin keep saying signature not found.
Can someone share the right signature?

Plugin code
PHP Code:
Handle hGameConf INVALID_HANDLE;

Handle hBotMoveTo INVALID_HANDLE;

public 
void OnPluginStart()
{
    
hGameConf LoadGameConfigFile("touchdown.games");
    if (
hGameConf == INVALID_HANDLE)
        
SetFailState("Failed to found touchdown.games game config.");
    
    
StartPrepSDKCall(SDKCall_Player);
    if(!
PrepSDKCall_SetFromConf(hGameConfSDKConf_Signature"MoveTo"))    SetFailState("Signature not found");

    
PrepSDKCall_AddParameter(SDKType_VectorSDKPass_Pointer); // Move Position As Vector, Pointer
    
PrepSDKCall_AddParameter(SDKType_PlainOldDataSDKPass_Plain); // Move Type As Integer
    
hBotMoveTo EndPrepSDKCall();

    if(
hBotMoveTo == INVALID_HANDLE)    SetFailState("Unable to prepare call");
    
    
CreateTimer(2.0Timer_BotMoveThink_TIMER_REPEAT);

Gamdedata
PHP Code:
"Games"
{
    
"csgo"
    
{
        
"Signatures"
        
{
            
"MoveTo"
            
{
                
// 'Checking out where our friend was killed' > 2
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x8B\x2A\x2A\x8B\x02\x2A\x2A\x2A\x2A\x00\x00\x8B\x42\x04\x2A\x2A\x2A\x2A\x00\x00\x8B\x42\x08\x2A\x2A\x2A\x2A\x00\x00\x8B\x45\x0C"
                "linux"        "\x55\x89\xE5\x83\xEC\x08\x89\x1C\x24\x89\x74\x24\x04\x8B\x55\x0C\x8B\x4D\x08"
            
}
        }
    }

__________________

My steam friend list is almost full, please use Discord instead.
I seldom check my plugin threads, you can DM me on Discord.

GitHub | Steam | WARMOD+ | Discord:Kento#2118
rogeraabbccdd is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 03-23-2020 , 19:39   Re: CCSBot::MoveTo Signature
Reply With Quote #2

try this

PHP Code:
\x55\x89\xE5\x8B\x55\x0C\x8B\x45\x08\x8B\x0A\x89\x88\xCC\x3C\x00\x00 
if it works please consider sending a small donation to the forums :p

Last edited by headline; 03-24-2020 at 00:59.
headline is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 03-24-2020 , 06:28   Re: CCSBot::MoveTo Signature
Reply With Quote #3

Quote:
Originally Posted by headline View Post
try this
PHP Code:
\x55\x89\xE5\x8B\x55\x0C\x8B\x45\x08\x8B\x0A\x89\x88\xCC\x3C\x00\x00 
Thanks it's working.
Can you tell me how did you find the signature? I'm wondering why I get wrong signature.
I use IDA Pro 7.2 to open csgo/bin/server_i486.so, and run makesig.idc.
__________________

My steam friend list is almost full, please use Discord instead.
I seldom check my plugin threads, you can DM me on Discord.

GitHub | Steam | WARMOD+ | Discord:Kento#2118
rogeraabbccdd is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 03-24-2020 , 07:26   Re: CCSBot::MoveTo Signature
Reply With Quote #4

Quote:
Originally Posted by rogeraabbccdd View Post
Thanks it's working.
Can you tell me how did you find the signature? I'm wondering why I get wrong signature.
I use IDA Pro 7.2 to open csgo/bin/server_i486.so, and run makesig.idc.
the comment on the gamedata file you supplied provided a string that points directly to where that function is called

just decompiled server.so, searched for the string, found what you wanted and ran the script :p
headline is offline
Reply


Thread Tools
Display Modes

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 13:13.


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