Raised This Month: $85 Target: $400
 21% 

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"
            
}
        }
    }

__________________

Please keep in mind, nobody have responsibility to help you, especially who don't open their eyes and use their brain to find answers.
GitHub | 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.
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't open their eyes and use their brain to find answers.
GitHub | 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
Fujimaru_Astolfo
Junior Member
Join Date: Jan 2020
Old 07-25-2020 , 09:18   Re: CCSBot::MoveTo Signature
Reply With Quote #5

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 
if it works please consider sending a small donation to the forums :p
Not working
Recent updates have changed the linux signature?
Fujimaru_Astolfo is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 07-26-2020 , 21:49   Re: CCSBot::MoveTo Signature
Reply With Quote #6

Quote:
Originally Posted by Fujimaru_Astolfo View Post
Not working
Recent updates have changed the linux signature?
Yes. Recent changes have broken it. Here's the new signature, if it works

Code:
\x55\x89\xE5\x56\x53\x81\xEC\x20\x04\x00\x00
If it does work, consider sending a donation to the community
headline is offline
Fujimaru_Astolfo
Junior Member
Join Date: Jan 2020
Old 08-05-2020 , 09:37   Re: CCSBot::MoveTo Signature
Reply With Quote #7

Quote:
Originally Posted by headline View Post
Yes. Recent changes have broken it. Here's the new signature, if it works

Code:
\x55\x89\xE5\x56\x53\x81\xEC\x20\x04\x00\x00
If it does work, consider sending a donation to the community
Thank you for your reply.
But I tested it and the results were no good.
They didn't crash, but the bots didn't try to head to the point they had specified.
Fujimaru_Astolfo 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 22:00.


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