Raised This Month: $ Target: $400
 0% 

Solved Orpheu & WeaponBox


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-15-2018 , 05:41   Re: Orpheu & WeaponBox
Reply With Quote #1

Quote:
Originally Posted by HamletEagle View Post
For sure. Even if you don't use regamedll, it helps to see how the game does certain things.

https://asherkin.github.io/vtable/ this works for GoldSource too. Just drag and drop cs.so in that site.
Unfortunately you need to get used to working with IDA if you want to make signatures.
The vtable dumper will only provide you with the offsets for the virtual functions. If it's not virtual you need to use IDA and create a signature.

In virtualFunctions you put any function that's virtual. To properly understand what a virtual function is you would need knowledge of object oriented programming. Without that, what you can do is use the vtable dumper and see if you find a certain function. If you do, it's virtual. If you don't it's a regular function.
Another way is to check RegameDLL in *.h files. For example if you want to know the virtual functions for CBasePlayer you would look in player.h
https://github.com/s1lentq/ReGameDLL.../player.h#L329 inside CBasePlayer class. If it has "virtual" in front then it's virtual.
For example:
PHP Code:
virtual void TraceAttack(entvars_t *pevAttackerfloat flDamageVector vecDirTraceResult *ptrint bitsDamageType); 
is virtual.
PHP Code:
void AddAccount(int amountbool bTrackChange true); 
is not virtual and needs a signature.

Don't bother with types and memory folders for now.
It's giving me 'Failed to find all required ELF sections.' when I upload cs.so

And that's a lot easier, I'm not thinking of making signatures at this time, there's plenty in the forum. So basically I get to know that CWeaponBox:Kill is a non-virtual function and requires a signature from this https://github.com/s1lentq/ReGameDLL...pons.cpp#L1583

Is every single game function inside these files? Does it mean I can find any function that I'm using and see whether it's virtual or not by using ReGameDLL?
__________________
edon1337 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:39.


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