• 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 6 of 6
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      bld01's Avatar
      Join Date
      Dec 2012
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      2

      base adress of a dll process ?

      Silent VPN
      Hello all,

      I'm working on a trainer for Supreme Commander. This one is a little tricky to hack but it's okay, i write a asm code to be injected in the game code wich works perfectly in CE. The trainer is done but it's not work.

      The reason is in cheat engine, when I look the code i want to modify, I see it stays in a dll process (MohoEngine.Moho::Sim::FlattenMapRect+227E7 from MohoEngine.dll i guess) and not inside "supremecommander.exe".

      I try to look if the offset from the base adress of supremecommander.exe to MohoEngine.Moho::Sim::FlattenMapRect is static or not.... unfortunatly it changes verytime I start the game.

      So there's a way to retrieve the base adress of this?


      thanks,

      bld01

    2. #2
      Hacker
      Learning to hack games!
       
      Pawning
       
      Fleep's Avatar
      Join Date
      May 2012
      Posts
      626
      Thanks (-->)
      208
      Thanks (<--)
      742
      Hey there, if I understand your request correctly c5 just answered a similar question.

      I believe you need to get the module address every time the game is started as I said c5 wrote something on that

      https://guidedhacking.com/showthread...LTY-2-10/page4 Check post #40

      Apologies if this is not what your looking for im pretty tired and about to get some sleep.

      Fleep

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      bld01's Avatar
      Join Date
      Dec 2012
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      2
      Quote Originally Posted by Fleep View Post
      Hey there, if I understand your request correctly c5 just answered a similar question.

      I believe you need to get the module address every time the game is started as I said c5 wrote something on that

      https://guidedhacking.com/showthread...LTY-2-10/page4 Check post #40

      Apologies if this is not what your looking for im pretty tired and about to get some sleep.

      Fleep
      rest well and have nice dreams

      and thanks for the link.

      So I found something, a code that returns the base adress of the dll associated with an exe (here : https://forum.cheatengine.org/viewto...deb3d1d869426d). This one found the Supremecommander.exe and the dll associated but NOT the mohoEngine.dll grrrrrr It seems that this dll was hidden or something.....

    4. #4
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      492
      Direct link to my post https://guidedhacking.com/showthread...=8457#post8457

      But if you already tried and couldn't get the address of the .dll, could it be that it wasn't just loaded yet?
      base adress of a dll process ?

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      bld01's Avatar
      Join Date
      Dec 2012
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      2
      Quote Originally Posted by c5 View Post
      Direct link to my post https://guidedhacking.com/showthread...=8457#post8457

      But if you already tried and couldn't get the address of the .dll, could it be that it wasn't just loaded yet?
      Hello c5,

      I check your code but my code is in c# and yours in c ++. Anyway, I check some ways to do it but it seems have abug somewhere, I got only some system dll names but never the good ones.....

      So I remember and old asian wiseman says : "If U cannot take the mainroad, take the dusty little way..." And i found something ^^

      To find the adress of the MohoEngine.dll I check in CE the dll's and the symbols (in menu "view"), i found :

      SupremeCommander.exe : 0x00400000
      MohoEngine.dll : 0xXXXXXXXX

      HOHO! the adress of the dll ^^ so i search inside SupremeCommander.exe a addres who contains the 0xXXXXXXXX and I found directly some static adresse, after restarting the game 3-4 times, i see one static adress contains everytime the adress of the mohoengine.dll, GOT IT ^^

      After that, i simply calculate the offset to go to the MohoEngine.Moho::Sim::FlattenMapRect function and and again the offset to reach the code i want to modify -> successfull ^^

      And after i had to deal with asm but it was ok, the jumps from the original codes to the new memory and the jump back works good... I'm tired but happy the trainer works well, it makes the difference between the player and the ai player, max energy and mass works, it's ass-kicking time!!!!!!

      Check the trainer section ^^

      and thanks

      bld01

    6. #6
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      492
      Silent VPN
      Yeah, I didn't realize you are asking in c#. The code can be ported easily though. Glad you figured it out anyways
      base adress of a dll process ?

    Similar Game Hacker Threads

    1. [Help] Read Process Memory from Process + mono.dll
      By ranseier in forum C#
      Replies: 2
      Last Post: 09-26-2015, 07:26 AM
    2. [Help] Finding adress
      By Internet in forum C/C++
      Replies: 8
      Last Post: 05-06-2015, 12:24 PM
    3. [Help] Base pointer / adress trouble
      By user123 in forum GH Tutorials Help
      Replies: 5
      Last Post: 07-11-2014, 08:12 AM
    4. How to get offset from base to adress
      By Liduen in forum Hacking Help
      Replies: 6
      Last Post: 09-11-2013, 10:55 AM
    5. [Help] I always can't find a static adress..
      By Elertan in forum GH Tutorials Help
      Replies: 15
      Last Post: 04-06-2013, 11:43 AM