Raised This Month: $18 Target: $400
 4% 

Signature Request Thread


Post New Thread Reply   
 
Thread Tools Display Modes
W_M134
Junior Member
Join Date: Mar 2016
Old 05-12-2016 , 02:36   What's this signature in Windows?
Reply With Quote #261

PrepSDKCall_SetSignature(SDKLibrary_Server, "@_ZN11CBaseEntity23ApplyAbsVelocityImpulseER K6Vector", 0)

I dont know how to search,so who can tell me?
Sorry for my bad english
W_M134 is offline
golimar
Junior Member
Join Date: May 2016
Old 06-13-2016 , 05:21   Re: Signature Request Thread
Reply With Quote #262

Hello,

I need current signature of L4D2 Windows: CVomit::StopVomitEffect()

Instruction:
Quote:
search for "stopvomit" string in CVomit::StopVomitEffect() + ~0x1A0, xref StopVomitEffect + ~0xE0 (farther than other similar)
Old value and more: https://github.com/mvandorp/l4d2_tic...ter/sigs.h#L46

Here is my server.dll.
Attached Files
File Type: zip server.zip (3.10 MB, 101 views)
golimar is offline
Spriite
Member
Join Date: Aug 2010
Old 06-20-2016 , 16:39   Re: Signature Request Thread
Reply With Quote #263

Code:
CBaseEntity *CGlobalEntityList::FindEntityInSphere(CBaseEntity *pStartEntity, const Vector &vecCenter, float flRadius)
Game: CS:GO.
Spriite is offline
donrevan
AlliedModders Donor
Join Date: Jul 2010
Old 06-21-2016 , 17:27   Re: Signature Request Thread
Reply With Quote #264

Quote:
Originally Posted by Spriite View Post
Code:
CBaseEntity *CGlobalEntityList::FindEntityInSphere(CBaseEntity *pStartEntity, const Vector &vecCenter, float flRadius)
Game: CS:GO.
Not sure why you need this as you should be able to re-create that function easily..
However, here you go:

IDA: 55 8B EC 53 8B 5D 0C 85 DB
Escaped: \x55\x8B\x3C\53\x8B\x5D\x0C\x85\xDB

It is a thiscall, this means you have to pass a CGlobalEntityList instance into ECX (on windows).
SourceMod provides a interface that is able to return one for you.

Last edited by donrevan; 06-21-2016 at 17:29.
donrevan is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 07-18-2016 , 22:23   Re: Signature Request Thread
Reply With Quote #265

TF2 Windows

Code:
"CBaseAnimating::LookupSequence"
{
	"library"	"server"
	"linux"		"@_ZN14CBaseAnimating14LookupSequenceEPKc"
}
EIDT:

here it is if anyone needs it

Code:
\x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x41\x03\x00\x00\x00\x75\x2A\x83\xBE\x2A\x2A\x2A\x2A\x00\x75\x2A\xE8\x23\x21\x02\x00

Last edited by arthurdead; 08-04-2016 at 19:36.
arthurdead is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-04-2016 , 15:13   Re: Signature Request Thread
Reply With Quote #266

Can someone find the windows sigs for these in TF2?

Code:
            "CTFPlayer::GetMaxAmmo"
            {
                "library" "server"
                "linux" "@_ZN9CTFPlayer10GetMaxAmmoEii"
                "mac" "@_ZN9CTFPlayer10GetMaxAmmoEii"
            }
            "CTFWeaponBase::GetMaxClip1"
            {
                "library" "server"
                "linux" "@_ZNK13CTFWeaponBase11GetMaxClip1Ev"
                "mac" "@_ZNK13CTFWeaponBase11GetMaxClip1Ev"
            }
            "CTFWeaponBase::GetDefaultClip1"
            {
                "library" "server"
                "linux" "@_ZNK13CTFWeaponBase15GetDefaultClip1Ev"
                "mac" "@_ZNK13CTFWeaponBase15GetDefaultClip1Ev"
            }
            "CBaseCombatWeapon::GetSlot"
            {
                "library" "server"
                "linux" "@_ZNK17CBaseCombatWeapon7GetSlotEv"
                "mac" "@_ZNK17CBaseCombatWeapon7GetSlotEv"
            }
__________________

Last edited by Chdata; 08-04-2016 at 15:13.
Chdata is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-04-2016 , 16:51   Re: Signature Request Thread
Reply With Quote #267

Quote:
Originally Posted by Chdata View Post
Can someone find the windows sigs for these in TF2?

Code:
            "CTFPlayer::GetMaxAmmo"
            {
                "library" "server"
                "linux" "@_ZN9CTFPlayer10GetMaxAmmoEii"
                "mac" "@_ZN9CTFPlayer10GetMaxAmmoEii"
            }
            "CTFWeaponBase::GetMaxClip1"
            {
                "library" "server"
                "linux" "@_ZNK13CTFWeaponBase11GetMaxClip1Ev"
                "mac" "@_ZNK13CTFWeaponBase11GetMaxClip1Ev"
            }
            "CTFWeaponBase::GetDefaultClip1"
            {
                "library" "server"
                "linux" "@_ZNK13CTFWeaponBase15GetDefaultClip1Ev"
                "mac" "@_ZNK13CTFWeaponBase15GetDefaultClip1Ev"
            }
            "CBaseCombatWeapon::GetSlot"
            {
                "library" "server"
                "linux" "@_ZNK17CBaseCombatWeapon7GetSlotEv"
                "mac" "@_ZNK17CBaseCombatWeapon7GetSlotEv"
            }
Most or all of those are virtual functions. You'd have an easier time just grabbing the virtual offsets and calling/hooking them that way.
psychonic is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 08-04-2016 , 19:33   Re: Signature Request Thread
Reply With Quote #268

Quote:
Originally Posted by Chdata View Post
Can someone find the windows sigs for these in TF2?
use virtuals instead

https://asherkin.github.io/vtable/

Code:
L	W	Function
330	324	CBaseCombatWeapon::GetSlot() const
321	315	CBaseCombatWeapon::GetMaxClip1() const
322	316	CBaseCombatWeapon::GetMaxClip2() const
323	317	CBaseCombatWeapon::GetDefaultClip1() const
324	318	CBaseCombatWeapon::GetDefaultClip2() const
CTFPlayer::GetMaxAmmo is not virtual

Code:
CTFPlayer::GetMaxAmmo
\x55\x8B\xEC\x8B\x45\x0C\x56\x57\x8B\xF9\x83\xF8\xFF
arthurdead is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-05-2016 , 06:21   Re: Signature Request Thread
Reply With Quote #269

Quote:
Originally Posted by psychonic View Post
Most or all of those are virtual functions. You'd have an easier time just grabbing the virtual offsets and calling/hooking them that way.
Having said that, someone (Bacardi?) was saying in the past that these functions return incorrect data on games that use economy items... like TF2 or CS:GO.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-05-2016 , 10:01   Re: Signature Request Thread
Reply With Quote #270

I haven't had problems with their return values yet.

Is finding windows sigs that hard?

I wanted to use them to avoid offset maintenance during updates.
__________________
Chdata 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 01:53.


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