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

How to SetParent


Post New Thread Reply   
 
Thread Tools Display Modes
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-17-2017 , 17:52   Re: How to SetParent
Reply With Quote #21

Quote:
Originally Posted by Mitchell View Post
I have a work example in my WeaponAttachementAPI:
https://github.com/MitchDizzle/Weapo...I.sp#L102-L111
I use it to find the end of a player's barrel by parenting the same weapon model as a prop_dynamic to their player model and using setparentattachment on a info_target to get the abs position from.
https://github.com/Pelipoika/The-unf...tGaveMeAids.sp
__________________

Last edited by Chdata; 02-17-2017 at 17:59.
Chdata is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-17-2017 , 18:35   Re: How to SetParent
Reply With Quote #22

Quote:
Originally Posted by Chdata View Post
Interesting, however what about csgo? If i recall they hid everything, at least the offsets, never messed with signatures before.
Mitchell is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 02-17-2017 , 19:11   Re: How to SetParent
Reply With Quote #23

Quote:
Originally Posted by Mitchell View Post
Interesting, however what about csgo? If i recall they hid everything, at least the offsets, never messed with signatures before.
Yeah you're fucked, i don't know how you would find those functions unless there's like some source code leak hidden somewhere
__________________
Pelipoika is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-17-2017 , 19:17   Re: How to SetParent
Reply With Quote #24

Quote:
Originally Posted by Pelipoika View Post
Yeah you're fucked, i don't know how you would find those functions unless there's like some source code leak hidden somewhere
pray that it doesn't happen to tf2
Mitchell is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 02-17-2017 , 19:19   Re: How to SetParent
Reply With Quote #25

Quote:
Originally Posted by Mitchell View Post
pray that it doesn't happen to tf2
It's ok https://github.com/LestaD/SourceEngine2007

EDIT: Actaully i've got the most recent CS:GO server.so with the symbols still there i think i can do this.

EDIT: !

Code:
Signature for CBaseAnimating__GetBonePosition:
55 8B EC 83 E4 F8 83 EC 30 56 57 8B F9 83 BF 9C 04 00 00 00 75 ? A1 ? ? ? ? 8B 30 8B 07 FF 50 18 8B 0D ? ? ? ? 50 FF 56 04 85 C0 74 ? 8B CF E8 ? ? ? ? 8B 87 9C 04 00 00 
\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x30\x56\x57\x8B\xF9\x83\xBF\x9C\x04\x00\x00\x00\x75\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x30\x8B\x07\xFF\x50\x18\x8B\x0D\x2A\x2A\x2A\x2A\x50\xFF\x56\x04\x85\xC0\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x8B\x87\x9C\x04\x00\x00

Signature for CBaseAnimating__LookupBone:
55 8B EC 56 57 8B F9 83 BF 9C 04 00 00 00 75 ? A1 ? ? ? ? 8B 30 8B 07 FF 50 18 8B 0D ? ? ? ? 50 FF 56 04 85 C0 74 ? 8B CF E8 ? ? ? ? 8B 8F 9C 04 00 00 85 C9 0F 84 ? ? ? ? 
\x55\x8B\xEC\x56\x57\x8B\xF9\x83\xBF\x9C\x04\x00\x00\x00\x75\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x30\x8B\x07\xFF\x50\x18\x8B\x0D\x2A\x2A\x2A\x2A\x50\xFF\x56\x04\x85\xC0\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x8B\x8F\x9C\x04\x00\x00\x85\xC9\x0F\x84\x2A\x2A\x2A\x2A
__________________

Last edited by Pelipoika; 03-23-2017 at 20:58.
Pelipoika is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-21-2017 , 17:44   Re: How to SetParent
Reply With Quote #26

Windows had the symbols removed.
__________________
Neuro Toxin is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 02-21-2017 , 19:24   Re: How to SetParent
Reply With Quote #27

Quote:
Originally Posted by Pelipoika View Post
It's ok https://github.com/LestaD/SourceEngine2007

EDIT: Actaully i've got the most recent CS:GO server.so with the symbols still there i think i can do this.

EDIT: OWNED

Code:
Signature for CBaseAnimating__GetBonePosition:
55 8B EC 83 E4 F8 83 EC 30 56 57 8B F9 83 BF 9C 04 00 00 00 75 ? A1 ? ? ? ? 8B 30 8B 07 FF 50 18 8B 0D ? ? ? ? 50 FF 56 04 85 C0 74 ? 8B CF E8 ? ? ? ? 8B 87 9C 04 00 00 
\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x30\x56\x57\x8B\xF9\x83\xBF\x9C\x04\x00\x00\x00\x75\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x30\x8B\x07\xFF\x50\x18\x8B\x0D\x2A\x2A\x2A\x2A\x50\xFF\x56\x04\x85\xC0\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x8B\x87\x9C\x04\x00\x00

Signature for CBaseAnimating__LookupBone:
55 8B EC 56 57 8B F9 83 BF 9C 04 00 00 00 75 ? A1 ? ? ? ? 8B 30 8B 07 FF 50 18 8B 0D ? ? ? ? 50 FF 56 04 85 C0 74 ? 8B CF E8 ? ? ? ? 8B 8F 9C 04 00 00 85 C9 0F 84 ? ? ? ? 
\x55\x8B\xEC\x56\x57\x8B\xF9\x83\xBF\x9C\x04\x00\x00\x00\x75\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x30\x8B\x07\xFF\x50\x18\x8B\x0D\x2A\x2A\x2A\x2A\x50\xFF\x56\x04\x85\xC0\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x8B\x8F\x9C\x04\x00\x00\x85\xC9\x0F\x84\x2A\x2A\x2A\x2A
I asked for these sigs to be added to sm a few times, but paychonic said it is not useful.
Just like equipwearable.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 02-21-2017 , 20:18   Re: How to SetParent
Reply With Quote #28

Quote:
Originally Posted by friagram View Post
I asked for these sigs to be added to sm a few times, but paychonic said it is not useful.
Just like equipwearable.
How and why are bone-related things "not useful"? They'd be useful for someone recreating Gmod sandbox things who may or may not want to make some form of bone manipulation for TF2 (if that's even possible). A bone lookup would be great...but I guess you could just use HLMV to find the bone names. So I guess it makes sense as to why it wouldn't be useful.

Still, I want to mess with bones in a way similar to this:



yknow, like setting the bone position of the scouts arms so he's got like a 20 foot wingspan.

Last edited by 404UserNotFound; 02-21-2017 at 20:19.
404UserNotFound is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-21-2017 , 20:51   Re: How to SetParent
Reply With Quote #29

Quote:
Originally Posted by friagram View Post
I asked for these sigs to be added to sm a few times, but paychonic said it is not useful.
Just like equipwearable.
I don't recall "paychonic" saying that, but it's very possible that it happened. If you want to submit a PR to add those to SDKTools with gamedata for the top few games, I'll be happy to review.
psychonic is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 02-21-2017 , 22:31   Re: How to SetParent
Reply With Quote #30

Is paychonic your evil twin?


Last edited by 404UserNotFound; 02-21-2017 at 22:31.
404UserNotFound 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:04.


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