Page 5 of 6 FirstFirst ... 3456 LastLast
Results 61 to 75 of 80
  1. #61
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    Quote Originally Posted by mik334 View Post
    opps in the one i downloaded theres no calculate angle sorry. i recommend to delete the other version on the attached file in original post
    I can't edit the original post.

  2. #62
    Sanctity's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by WasserEsser View Post
    You don't need to know the cores of C++.

    You need to have a basic understanding on how functions work, and how to use certain values logically.

    For example, a function like this:

    Code:
    int GetSum(int a, int b)
    {
           return a + b;
    }
    returns the sum of 2 numbers you passed in.

    So for example, if you use that function like this:

    Code:
    if (GetSum(2, 5) > 5)
    {
            std::cout << "The sum of 2 and 5 ( 2 + 5 ) is above 5!" << std::endl;
    }
    else
    {
           std::cout << "The sum of 2 and 5 ( 2 + 5 ) is not above 5!" << std::endl;
    }
    You need to understand that return works as replacing. If you have an if statement like the above, what it ends up being is nothing else than

    Code:
    if (7 > 5)

    So return is pretty important to understand, and you have to be able to use this.

    For example, you want to know if the LocalPlayer is on the ground (Yourself), you can use the GetFlags() function in the Class LocalPlayer (i removed the word Manager in the next update), and it will return you the specific value in Memory.

    So you can use

    Code:
    if (LocalPlayer::GetFlags() == 1 || LocalPlayer::GetFlags() == 3 || LocalPlayer::GetFlags() == 5 || LocalPlayer::GetFlags() == 7) // I know, FL_ONGROUND would be better in this case, or LocalPlayer::GetFlags() == 1 | 3 | 5 | 7
    {
           // Jump
    }
    so make your own Bunnyhop.

    You have to know the game to a fair amount and how return works.

    If statements and while/for loops execute when a certain condition is met (true), so you also have to understand that

    Code:
    while ('a' != 'b')
    will be nothing else than

    Code:
    while ("Hi Mom" != "Im on TV")
    Code:
    while (true)
    or

    Code:
    while (1)

    These statements above are logically all the same, they are all true.

    A is not B, and Hi Mom" is not "Im on TV", so these statements will be true.

    So you don't have to know the cores of C++, you have to have a basic understanding on how C++ works, how the game works and how to use certain information logically.

    To your second question:

    main.cpp
    Code:
    #include <iostream>
    
    int main()
    {
           std::cout << "Hello, i'm a string!" << std::endl;
    
           return 0;
    }
    has a different signature than

    main.cpp
    Code:
    #include <iostream>
    
    int main()
    {
           std::cout << "Hello, i'm also string!" << std::endl;
    
           return 0;
    }

    Why? Because the code itself is different.

    If someone where to compile the first main.cpp with Visual Studio 2013, and someone else compiles the exact same code with Visual Studio 2013 aswell, with the same Project Settings, the Signature will be the same. If someone else takes a different Compiler and compiles this code, the Signature will be most likely different. Maybe not for such a small project, but for a larger project for sure.

    Now, change things in the code, and the signature is different again.
    This helped me a lot, I got a better understanding how it hangs together now!
    So how much of the code would I have to change for the signature to be different? Like only one little function or more? :S
    I got a guy who has been giving me an easy esp for a while now, but he's not gonna support it anymore, so I asked him if I may get the sourcecode to continue its legacy. Let's say he gives me this. What would I want to change in the code, for the signature to be different, and unique? I will only have this for myself and maybe a friend, so..

  3. #63
    mik334's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    25
    My Mood
    Bashful
    @WasserEsser do you know a function where it checks if scoped or not or possible a function that check weaponID if its awp(all those weapons with scoped) if there is i may getasynckey rightclick mouse, i wanna have a Scope only trigger

  4. #64
    EnlightenedWithin's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Location
    Belgium
    Posts
    202
    Reputation
    44
    Thanks
    38
    Thanks for this contribution! People will appreciate this. How nice of you to give back

  5. #65
    NullPointerEx's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Very interesting ! Thx

  6. #66
    NightDev's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Location
    Behind You
    Posts
    47
    Reputation
    28
    Thanks
    69

    Exclamation Small mistake

    • File: EntityManager.cpp
    • Line: 88
    • Code:
      Code:
      //-------------------------------------------------------
      // Purpose: Returns if a given Entity is alive as bool
      // Usage: int a = Entity::GetAliveState(2);
      //-------------------------------------------------------
      bool Entity::GetAliveState(int Index)
      {
      	if (!Entity::GetDormant(Index) && Entity::GetHealth(Index) < 100 && Entity::GetHealth(Index) > 0){ return true; } else return false;
      }
    • Mistake: Entity::GetHealth(Index) < 100 {{ This would cause the method to return false if the player had full health! }}
    • Fix: Entity::GetHealth(Index) <= 100 {{ Use the 'less-or-equal' operator. }}

    (I hope I didn't mess anything up, i didn't test it, just by taking a quick look I saw it)
    Last edited by NightDev; 11-11-2015 at 08:38 AM.
    My Posts: CS:GO Scams [NEW]
    Don't hesitate to Thanks/Rep me if I helped you !
    2 Overwatch Bans | 0 VAC | 0 FairFight | 0 Punkbuster | 0 EAC | 0 Other

     

  7. #67
    WasserEsser's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    735
    Reputation
    174
    Thanks
    677
    My Mood
    Busy
    Quote Originally Posted by NightDev View Post
    • File: EntityManager.cpp
    • Line: 88
    • Code:
      Code:
      //-------------------------------------------------------
      // Purpose: Returns if a given Entity is alive as bool
      // Usage: int a = Entity::GetAliveState(2);
      //-------------------------------------------------------
      bool Entity::GetAliveState(int Index)
      {
      	if (!Entity::GetDormant(Index) && Entity::GetHealth(Index) < 100 && Entity::GetHealth(Index) > 0){ return true; } else return false;
      }
    • Mistake: Entity::GetHealth(Index) < 100 {{ This would cause the method to return false if the player had full health! }}
    • Fix: Entity::GetHealth(Index) <= 100 {{ Use the 'less-or-equal' operator. }}

    (I hope I didn't mess anything up, i didn't test it, just by taking a quick look I saw it)
    Yea, i noticed that too when i was updating the Library and added the same for LocalPlayer as a define. It's fixed in the next version.

  8. #68
    val3k's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Location
    Ukraine
    Posts
    89
    Reputation
    10
    Thanks
    2
    My Mood
    Hot
    guys how get offsets? mb someone have dumper?

  9. #69
    rajpop565's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    2
    I can't get this to work for the life of me. I keep getting this error

    Code:
    Severity	Code	Description	Project	                       Line
    Error	LNK1120	5 unresolved externals	Project2		1
    Error	LNK2019	unresolved external symbol     		1
    I have tried redoing it by the install instruction
    I tried a different version of visual basic.
    I think I'm just stupid.

    Btw I just pasted the example project in to test it, and changed 2 lines of code.

    pastebin /vJ67dcwL
    Last edited by rajpop565; 11-15-2015 at 09:09 AM.

  10. #70
    xion2_'s Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    6
    Thanks for this! I can finally learn how to code some C++!

  11. #71
    memeweiner's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Can someone tell my why this isnt working, it build successfully but doesn't jump or write to log:

    pastebin . com/V8fSnEEq
    Last edited by memeweiner; 01-30-2016 at 10:44 PM.

  12. #72
    iTzCode's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Location
    idk.dll
    Posts
    72
    Reputation
    10
    Thanks
    29
    My Mood
    Relaxed
    Thanks Dude i Love you Good job

  13. #73
    VzSKILLZ's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    135
    My Mood
    Aggressive
    Quote Originally Posted by memeweiner View Post
    Can someone tell my why this isnt working, it build successfully but doesn't jump or write to log:

    pastebin . com/V8fSnEEq
    Unless you removed them, you dont have offsets, so it cant jump.

  14. #74
    c0bra12's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    93
    Reputation
    38
    Thanks
    11
    My Mood
    Cool
    What of those 2 are for the vs 2015???

    Kill me...

  15. #75
    xghostranger's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    241
    how can i solve this ?

Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. WPE for Beginners (Flash Games)
    By Zededarian in forum Game Hacking Tutorials
    Replies: 9
    Last Post: 03-19-2016, 11:59 AM
  2. [Source Code] Basic External Memory Library for vb.net - ReadProcessMemory & WriteProcessMemory
    By abuckau907 in forum Visual Basic Programming
    Replies: 0
    Last Post: 01-05-2014, 03:45 PM
  3. best c++ tutorial for beginners!
    By WacKer in forum C++/C Programming
    Replies: 31
    Last Post: 12-05-2009, 06:30 AM
  4. C++ Hackers Library ~ For beginners
    By scriptkiddy in forum C++/C Programming
    Replies: 27
    Last Post: 10-22-2009, 04:34 PM
  5. good C++ tutorial for beginner?
    By MaskedFox in forum C++/C Programming
    Replies: 11
    Last Post: 12-05-2007, 04:34 PM

Tags for this Thread