• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 1 of 1
    1. #1
      Hacker
      Turning to page 394...
       
      Coding
       
      Liduen's Avatar
      Join Date
      May 2013
      Location
      Germany
      Posts
      713
      Thanks (-->)
      161
      Thanks (<--)
      226

      Random game crash (dll reading values)

      Silent VPN
      Hi guys,

      problem: everytime I inject my DLL into my game it randomly crashes after a few seconds at reading a std::string from memory.
      debugging: I set some _cprintf() to see where exactly the last line code was executed before the crash happened. The last line that was printed in the console was either "read out position" or "read out still on server".
      After both of these _cprintf() instructions the DLL should read out and store a std::string into another std::string. I think one can certainly say that this instruction is causing the crash. But why, and why so randomly?

      !!! Problem already fixed - See edit 4 at the end of the post !!!

      //crappy code removed

      Edit 1: Okay I just noticed (after I removed all the code which had something to do with strings) that the game crashes on other variables too... That's just so weird. I get no compiler errors and the game crashes randomly.
      In my old code though I can reproduce this crash problem by reading the exact same address for the funstuff. I now commented out all the funstuff related parts in my new code but the game still crashes.
      It reads out all the information for the first 1~3 players and then it crashes. Does someone have a hunch what possibly could be wrong?

      Edit 2: Posted more source code for better understanding.
      Edit 3: Ah could it be that I totally screwed up all the call-by-references? I never used them before. I just realized that the values stored as final addresses in my DWORDs (which get read out) are all wrong -.-
      Okay I try to fix this first, I come back when I'm done and it won't work nonetheless.

      Edit 4: Okay I fixed it myself ^^ Hack is working fine and no crashes Hack release and source is coming soon! Sorry for those who read all this crappy code I posted...
      Thread can be closed I think



      Liduen
      Last edited by Liduen; 04-28-2014 at 02:39 PM. Reason: information adjusting
      My contributions
      UrbanTerror | OpenGL - ModelLogger | Polymorphic junk code | Tutorial/Article Collection
      Admiring technological singularity
      Donate  

    Similar Game Hacker Threads

    1. Reading Game Mode from Memory
      By [GH]Rake in forum Assault Cube Hacks
      Replies: 2
      Last Post: 02-03-2015, 08:35 AM
    2. [Help] Random Title Name
      By Froze in forum Hacking Help
      Replies: 1
      Last Post: 11-30-2014, 08:37 AM
    3. [Off Topic] Random Pictures :)
      By Nether in forum Off Topic
      Replies: 15
      Last Post: 06-06-2014, 01:14 AM
    4. Does VAC ban for reading one of their game's processes?
      By Father_DeadBytes in forum AntiCheat - AntiDebug
      Replies: 8
      Last Post: 12-30-2013, 05:41 PM
    5. Error with random reason
      By meneadeszz in forum Hacking Help
      Replies: 6
      Last Post: 10-31-2012, 12:47 PM

    Tags for this Thread