Thread: "THREADSTACK0"

Results 1 to 3 of 3
  1. #1
    bsd_'s Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    "THREADSTACK0"

    So I am currently trying to write a beginner trainer for a game called Stardew valley but I'm having trouble with my pointers I know this might not be the right thread to be posting this but I want to make this trainer in C++. I am able to get a base pointer for both my health and energy in this game but they aren't really pointers.

    Code:
    Energy = "THREADSTACK0"-00000318
    	Offset_1 = 230
    	Offset_2 = 24c
    	Offset_3 = 320
    	Offset_4 = c
    	Offset_5 = 144
    
    ****************************************************************
    Health = "THREADSTACK0"-00000318
    	Offset_1 = 29c
    	Offset_2 = 180
    	Offset_3 = 3ec
    	Offset_4 = 60c
    	Offset_5 = 794
    Those pointers work in cheat engine but in c++ they wont compile.
    Last edited by bsd_; 03-30-2016 at 12:52 PM.

  2. #2
    __readgsqword's Avatar
    Join Date
    Mar 2016
    Gender
    female
    Posts
    39
    Reputation
    10
    Thanks
    13
    Post your full C++ code.

  3. #3
    Sammy's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Vaero
    Posts
    1,102
    Reputation
    224
    Thanks
    228
    From what I can see you are using threadstack0. Apart from it being unreliable, its not a module. It's the processthread (and its stack obv). If you have the option of using a different module I recommend that instead of THREADSTACK0.

    Furthermore I can't see how you exactly initialize your pointer so I can't see whether its right or wrong.

Similar Threads

  1. [Help Request] Help with code. Using quotes within quotes.
    By howl2000 in forum C++/C Programming
    Replies: 1
    Last Post: 09-07-2014, 11:13 PM
  2. MPGH IRC Chat Quote Thread
    By i eat trees in forum Entertainment
    Replies: 746
    Last Post: 07-02-2011, 10:07 PM