Solved Getting started with source SDK

  • CSGO recently moved logic from 'client_panorama.dll' to 'client.dll', you must update all code that uses 'client_panorama.dll' and replace it with 'client.dll' or the code will not work.
Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

nb81

Newbie
Full Member
Oct 26, 2013
29
238
0
Hi,

So, after making my incross triggerbot I would really wanna make a raytracing one. I know there are functions needed from the source SDK and since I have absolutely no experience with SDKs I need some help with it:

1. How can I include the SDK to my own project so I could use functions/structures/typedefs/etc that are in it?
2. Should I use the 2013 Source SDK on GitHub?
3. I found myself learn the most from working solutions so if anyone has one for the public please share it with me. No, I won't copy pasta but it's easier for me to understand things from a working project than a source snippet.

Thanks a lot in advance!
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,140
78,998
2,394
Best Answer Necro:

1. How can I include the SDK to my own project so I could use functions/structures/typedefs/etc that are in it?
2. Should I use the 2013 Source SDK on GitHub?
#1 if you don't have the pre-requisite experience coding and hacking, you should not touch any SDK. Get the experience: Guide - START HERE Beginners Guide to Learning Game Hacking

#2 if you don't have adequat experience with source engine please get the experience: CSGO Hacks - GH Video Tutorials

Links:

I recommend instead of jumping into a big SDK, is just creating your own SDK one struct/function at a time as you need it. This will be much less confusing than trying to use a huge SDK. Start with entity and weapon structures and move your way up to using interfaces etc...This is the natural progression of learning and will be the best way for you to learn.
 

squeenie

Hacker
Meme Tier VIP
Dank Tier Donator
Mar 6, 2013
677
5,478
37
If you click my sig you can read through a basic source sdk tutorial. After that I'd have a look around at some of the tutorials on UC. I wish Game deception was still around, that had heaps of good stuff.
 

nb81

Newbie
Full Member
Oct 26, 2013
29
238
0
Hm thanks a lot it helped me understand some basic things.
Anyways how do you do this in code:

Now in your initialization code set the new class pointer to client.dll base + offset and boom away you go.

I have a slight idea like but I'm not sure about it.

Thanks
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,140
78,998
2,394
nb81 said:
Now in your initialization code set the new class pointer to client.dll base + offset and boom away you go.
Ok I don't know anything about source SDK, but this should help you:
https://guidedhacking.com/showthread.php?6570-Warsow-Info-10

I use a reclass generated class to assign a pointer to the localplayer and I assign pointers to the enemy players using my own defined class. This is the same concept as what you would do if you only wanted to use the player class from the source sdk.

and I do the same thing in assault cube:
C++:
class weapon{
public:
    char _0x0000[4];
    BYTE ID; //0x0004 
    char _0x0005[59];
};


class playerent
{
public:
    char _0x0000[4];
    vec vLocationHead; //0x0004 
    char _0x0010[36];
    vec vLocation; //0x0034 
    vec vViewAngle; //0x0040 
    char _0x004C[37];
    BYTE bScoping; //0x0071 
    char _0x0072[134];
    __int32 health; //0x00F8 
    __int32 armor; //0x00FC 
    char _0x0100[292];
    BYTE bAttacking; //0x0224 
    char name[16]; //0x0225 
    char _0x0235[247];
    BYTE team; //0x032C 
    char _0x032D[11];
    BYTE state; //0x0338 
    char _0x0339[59];
    weapon* currentWeapon; //0x0374 
    char _0x0378[520];
};


class PlayerClass
{
public:
    playerent * ent;
    vec vAimbotAngles;
    float dist;
    float fCrosshairToTargetAngle;


    //playerVector constructor
    PlayerClass(DWORD * player)
    {
        ent = (playerent*)*(DWORD*)player;
        dist = 0;
        fCrosshairToTargetAngle = 0;
        vAimbotAngles = {};
    }
};


playerent * localPlayer = (playerent*)*(DWORD*)(0x509B74);
 

squeenie

Hacker
Meme Tier VIP
Dank Tier Donator
Mar 6, 2013
677
5,478
37
Hm thanks a lot it helped me understand some basic things.
Anyways how do you do this in code:

Now in your initialization code set the new class pointer to client.dll base + offset and boom away you go.

I have a slight idea like but I'm not sure about it.

Thanks
You'll want to minus the base address of client.dll from your engine pointer you find in olly. Ano's thread should help you.
https://guidedhacking.com/showthread.php?5781-SpoonFed-Get-Module-Base-Address-10
 
Last edited:

rN'

Jr.Hacker
Meme Tier VIP
Jan 19, 2014
340
5,268
41
You can use the ValveSDK from github for all CS:S\HL2\L4D\L4D2\DOD:S\TF2 but not for CS:GO.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,140
78,998
2,394
You're welcome post any other questions you might have
 
Status
Not open for further replies.
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods