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

[EXAMPLE] Some CSS Signatures


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
raydan
Senior Member
Join Date: Aug 2006
Old 09-03-2009 , 08:58   [EXAMPLE] Some CSS Signatures
Reply With Quote #1

JUST FOR RECORD
windows only

*Red color which mean the name is not a real function name in server.dll or unknown

SetProgressBarTime - void CCSPlayer::SetProgressBarTime(int)
Code:
\x55\x56\x57\x8B\xF9\x8B\x8F\xAC\x12\x00\x00\x8D\xB7\xAC\x12\x00
SetMaxSpeed - void CCSPlayer::SetMaxSpeed(float)
Code:
\x56\x8D\xB1\x58\x50\x00\x00\x8B\x0E\x8D\x60\x24\x08\x3B\x08
IncrementDeathCount - void CBasePlayer::IncrementDeathCount(int)
Code:
\x8B\x44\x24\x04\x01\x81\xEC\x0B\x00\x00\x8B\x81\xEC\x0B\x00\x00\x89\x81\x54\x09\x00\x00\xC2\x04\x00
ResetDeathCount - void CBasePlayer::ResetDeathCount()
Code:
\x33\xC0\x89\x81\xEC\x0B\x00\x00\x89\x81\x54\x09\x00\x00\xC3
IncrementFragCount - void CBasePlayer::IncrementFragCount(int)
Code:
\x8B\x44\x24\x04\x01\x81\xE8\x0B\x00\x00\x8B\x81\xE8\x0B\x00\x00\x89\x81\x50\x09\x00\x00\xC2\x04\x00
ResetFragCount - void CBasePlayer::ResetFragCount()
Code:
\x33\xC0\x89\x81\xE8\x0B\x00\x00\x89\x81\x50\x09\x00\x00\xC3
BlocckRoundEnd
Code:
\x56\x8B\xF1\x83\xBE\x4C\x02\x00\x00\x00\x74\x09
Code:
void UTIL_DISABLE_ROUND_END()
{
 char *serverdlladdr = NULL;
 if(!GetMemSig("BlockRoundEnd", (void **)&serverdlladdr) || !serverdlladdr)
 {
  META_CONPRINTF("[*] Failed getting Server dll handle\n");
  return;
 }
 const unsigned char ret[] = {0xC2,0x04,0x00};
    void *pfnRoundEnd = reinterpret_cast<void *>(serverdlladdr);
    DWORD oldflags;
    VirtualProtect(pfnRoundEnd, sizeof(unsigned char), PAGE_READWRITE, &oldflags);
    memcpy(pfnRoundEnd, &ret, sizeof(ret));
    VirtualProtect(pfnRoundEnd, sizeof(unsigned char), oldflags, &oldflags);
}
RestartGame(end round without "Counter-Terrorists win" sound) - void CGameRules::RestartGame()
Code:
\x83\xEC\x14\xA1\xA0\x74\x57\x22\x53\x56\x8B\xF1\x8B\x48\x0C\x8B\xD1\x81\xE2\x00\x00\x80\x7F
SetBotEnemy (for bot only) - void ???:SetBotEnemy(CBaseEntity*)
Code:
\x56\x57\x8B\xF9\x8B\x87\xFC\x35\x00\x00\x83\xF8\xFF\x74\x21\x8B\x15\x80\x1D\x51\x22
CalcNearestPoint - void CCollisionProperty::CalcNearestPoint( const Vector &, Vector *) const
Code:
//Computes the nearest point in the OBB to a point specified in world space
\x83\xEC\x18\x56\x8B\xF1\x8B\x4C\x24\x20\x8D\x44\x24\x04\x50\x51\x8B\xCE\xE8\x49

Last edited by raydan; 01-23-2010 at 03:39.
raydan is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 09-03-2009 , 11:02   Re: [EXAMPLE] Some CSS Signatures
Reply With Quote #2

nice how do we find out how we call them?
Sammy-ROCK! is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 09-03-2009 , 13:13   Re: [EXAMPLE] Some CSS Signatures
Reply With Quote #3

Depends on the function's class and prototype, but you can use SDKCall from a plugin to call some. That's another tutorial though!
pheadxdll is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 09-03-2009 , 13:44   Re: [EXAMPLE] Some CSS Signatures
Reply With Quote #4

Would be useful to add them to http://wiki.alliedmods.net/Useful_Si...s_%28Source%29.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 09-03-2009 , 14:02   Re: [EXAMPLE] Some CSS Signatures
Reply With Quote #5

Quote:
Originally Posted by pheadxdll View Post
Depends on the function's class and prototype, but you can use SDKCall from a plugin to call some. That's another tutorial though!
I meant the arguments... Int, float, vector... The hex code is useless without such info on how to use.
Sammy-ROCK! is offline
raydan
Senior Member
Join Date: Aug 2006
Old 09-03-2009 , 21:32   Re: [EXAMPLE] Some CSS Signatures
Reply With Quote #6

Quote:
Originally Posted by Sammy-ROCK! View Post
I meant the arguments... Int, float, vector... The hex code is useless without such info on how to use.
added arguments, but some function still unknown
raydan 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 12:07.


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