Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

8dcc/source-netvar-dumper

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source NetVar dumper

NetVar offset dumper for source games in Linux.

Description

Uses netvars to get the offsets of classes in a source game. It writes to stdout and to /tmp/source-netvar-dumper.log.

Configuring

You might need to change the following settings depending on your source game:

  • The process name should be changed from the process_name variable in inject.sh
  • Relative location to client.so should be changed from the CLIENT_SO define in src/main.c
  • The vtable index of the GetAllClasses function inside IBaseClientDLL. For black mesa it’s index 10, for csgo it’s index 8 afaik.

Building

$ git clone https://github.com/8dcc/source-netvar-dumper
$ cd source-netvar-dumper
$ make
...

Injecting

Uses the gdb debugger for injecting the library.

$ ./injector.sh
[sudo] password for username:

...

source-netvar-dumper loaded!
Morty Proxy This is a proxified and sanitized view of the page, visit original site.