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

Solved [TF2] Acquire player's weapon_bone coordinates?


Post New Thread Reply   
 
Thread Tools Display Modes
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 10-19-2019 , 02:51   Re: [TF2] Spawn weapon drop on player's hand coords properly WITHOUT SetParentAttachm
Reply With Quote #11

Quote:
Originally Posted by Shadowysn View Post
F***, I knew I should've worded it more properly to avoid confusion. Then again, I had flu at the time so I wasn't really paying attention.
I want to replicate the effect of dropping a weapon like in a feign death.

Well, thanks. Unsure of whether it'll work in TF2 or not, something tells me it may not.
If it doesn't, then I'm in a bit of a pickle regarding IDA; I don't know how to use it to find signatures.
I'd like to find signatures by myself, but all of the tutorials I found only gave a bit of info at it's best.
Plus, I really don't want to get a VAC ban and I don't have any other PC operating system other than Windows.
I need server_srv.so to find signatures
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 10-19-2019 , 03:06   Re: [TF2] Spawn weapon drop on player's hand coords properly WITHOUT SetParentAttachm
Reply With Quote #12

Quote:
Originally Posted by BHaType View Post
I need server_srv.so to find signatures
After some searching I figured it's the linux binary of the game, but I... don't exactly have it or know where to find it.
I only have Windows.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4
Shadowysn is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 10-19-2019 , 03:33   Re: [TF2] Spawn weapon drop on player's hand coords properly WITHOUT SetParentAttachm
Reply With Quote #13

Quote:
Originally Posted by Shadowysn View Post
After some searching I figured it's the linux binary of the game, but I... don't exactly have it or know where to find it.
I only have Windows.
Such a file is on Linux in tf/bin/server_srv.so
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 10-19-2019 , 04:09   Re: [TF2] Spawn weapon drop on player's hand coords properly WITHOUT SetParentAttachm
Reply With Quote #14

Quote:
Originally Posted by BHaType View Post
Such a file is on Linux in tf/bin/server_srv.so
Welp, I don't have access to the linux files. Searching has not come up with a satisfied result so far.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 10-19-2019 at 04:19.
Shadowysn is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 10-19-2019 , 07:29   Re: [TF2] Acquire player's weapon_bone coordinates?
Reply With Quote #15

I still managed to find server_srv.so.

PHP Code:
To get index of bone

Lin 
- @_ZN14CBaseAnimating10LookupBoneEPKc
Win 
- \x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x41\x03\x00\x00\x00\x75\x2A\x83\xBE\x6C\x04\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x6C\x04\x00\x00\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x08\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x5E

To get bone origin

Lin 
- @_ZN14CBaseAnimating15GetBonePositionEiR6VectorR6QAngle
Win 
- \x55\x8B\xEC\x83\xEC\x30\x56\x8B\xF1\x80\xBE\x41\x03\x00\x00\x00 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 10-19-2019 , 11:53   Re: [TF2] Acquire player's weapon_bone coordinates?
Reply With Quote #16

Quote:
Originally Posted by BHaType View Post
I still managed to find server_srv.so.

PHP Code:
To get index of bone

Lin 
- @_ZN14CBaseAnimating10LookupBoneEPKc
Win 
- \x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x41\x03\x00\x00\x00\x75\x2A\x83\xBE\x6C\x04\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x6C\x04\x00\x00\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x08\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x5E

To get bone origin

Lin 
- @_ZN14CBaseAnimating15GetBonePositionEiR6VectorR6QAngle
Win 
- \x55\x8B\xEC\x83\xEC\x30\x56\x8B\xF1\x80\xBE\x41\x03\x00\x00\x00 
Oh man, thanks dude! They worked like a charm!

I think I've just about given up on making a gamedata-less plugin at this point.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4
Shadowysn 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 22:15.


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