How To edit .dll files using c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fir3Bat
    New Member
    • Oct 2006
    • 19

    How To edit .dll files using c++

    ive been trying to open dll files using c++, but could not, all that opens is a folder. Can someone help me please? Thanks - Fir3bat
  • AdrianH
    Recognized Expert Top Contributor
    • Feb 2007
    • 1251

    #2
    Originally posted by Fir3Bat
    ive been trying to open dll files using c++, but could not, all that opens is a folder. Can someone help me please? Thanks - Fir3bat
    Uh, why would you want to?


    Adrian

    Comment

    • Fir3Bat
      New Member
      • Oct 2006
      • 19

      #3
      i am asking, can you gimme a code that can do that, so i can edit some stuff on it. or Can only ASM do that

      Comment

      • AdrianH
        Recognized Expert Top Contributor
        • Feb 2007
        • 1251

        #4
        Originally posted by Fir3Bat
        i am asking, can you gimme a code that can do that, so i can edit some stuff on it. or Can only ASM do that
        Hey buddy, please be a bit more respectful. We are here to help, not do your bidding.

        If you don't tell me what you need it for, I can't really help. And even if I could, without an apology, there is no reason for me to do so either.


        Adrian

        Comment

        • Fir3Bat
          New Member
          • Oct 2006
          • 19

          #5
          Ok well there is some Game That Requires an Engine
          and you need to inject a dll file to get the CHEAT working

          so what i need is to edit some values, or add more to do more stuff

          If you know what i mean

          Comment

          • RedSon
            Recognized Expert Expert
            • Jan 2007
            • 4980

            #6
            Actually I don't know what you mean. It sounds like you are trying to cheat at WoW or something. If you are looking for a dll injection then why dont you try to google it. Microsoft provides this facility in their libraries. You might be able to find an opensource tool that will allow you to do this but I dont know. Usually I err on the side of good programming practices so I have never needed to inject code into another process.

            Comment

            • AdrianH
              Recognized Expert Top Contributor
              • Feb 2007
              • 1251

              #7
              Originally posted by Fir3Bat
              Ok well there is some Game That Requires an Engine
              and you need to inject a dll file to get the CHEAT working

              so what i need is to edit some values, or add more to do more stuff

              If you know what i mean
              Sorry, if you want to modify a dll, you will need specialised tools as mods of this sort are not usually trivial. So you will have to get at least partially if not fully into an assembler/disassembler. RedSon is correct in that you could probably find this by searching for it. Try finding some hacker sites. But be careful, sometimes they not only hack the programmes on their boards, they just might hack your browser. ;)


              Adrian

              Comment

              • Fir3Bat
                New Member
                • Oct 2006
                • 19

                #8
                k thanks alot

                but cant c++ also edit dll files? and no its not on WOW.
                some online game :D

                Comment

                • Motoma
                  Recognized Expert Specialist
                  • Jan 2007
                  • 3236

                  #9
                  I guess it would help to know what the DLL is you are trying to edit. Is it one that came with the game, or is it a cheat engine that you are trying to modify? Is it a .NET or COM DLL?
                  Does the game use any cheat detection software, such as NProtect or PunkBuster?
                  What tool are you using to "edit" the DLL? You mentioned C++, but what environment? Visual Studio would be the best help in my oppinion, as it gives you a suite of tools for exploring DLL's.
                  I would advise you to play around with OllDbg and see if you can figure things out with that.

                  Comment

                  • RedSon
                    Recognized Expert Expert
                    • Jan 2007
                    • 4980

                    #10
                    Hey guys,

                    I don't think we should be very helpful for people who have admitted that they are trying to do something malicious. Motoma, I think you last post crossed the line. I'm not trying to start a flame war about it, because we are friendly, but I think we should all take a second to consider how much help we can offer to a question like this.

                    Just something to think about for the future.

                    Comment

                    • NeoPa
                      Recognized Expert Moderator MVP
                      • Oct 2006
                      • 32636

                      #11
                      This is a messy area as CHEAT in gaming parlance often refers to power-ups or other similar boosts which are often considered a normal part of the game (and are often built in by the designer).
                      However, this is unlikely (though not impossible) to be the case with online gaming in a situation like this.
                      I think the OP should make a clearer point as to his intentions before expecting any further help.

                      Comment

                      • RedSon
                        Recognized Expert Expert
                        • Jan 2007
                        • 4980

                        #12
                        Right but in my expierence cheating in a game is a feature facilitated by the developer of the game through cheat codes or some combination of special key presses. Not by altering the compiled libraries of the game.

                        Comment

                        • NeoPa
                          Recognized Expert Moderator MVP
                          • Oct 2006
                          • 32636

                          #13
                          Not everyone has your experience though, RedSon.
                          I think you were right to be suspicious of the OP, just maybe expect too much understanding of the issues from other members who may not be so well up on things

                          Comment

                          • AdrianH
                            Recognized Expert Top Contributor
                            • Feb 2007
                            • 1251

                            #14
                            Originally posted by NeoPa
                            Not everyone has your experience though, RedSon.
                            I think you were right to be suspicious of the OP, just maybe expect too much understanding of the issues from other members who may not be so well up on things
                            Yeah, well, it was pretty obvious. He is just some punk kid trying to learn to impress people. :) jk. But seriously, the way the question was worded and how he got uppity when I asked what it was for...

                            But the thing is, if the programme is any good, mucking around with a .dll isn't going to do much. Security is built into these games. At best he would have just probably been booted off, at worst his IP would be band for a while. This is because stuff like he was talking about would (in a good implementation) have the info stored on a server. Once a sync error is found, he would have been kicked. Even on a P2P or 1on1 gaming system, it would have the same effect.

                            He would get nowhere with .dll mods.


                            Adrian

                            Comment

                            • Motoma
                              Recognized Expert Specialist
                              • Jan 2007
                              • 3236

                              #15
                              Originally posted by AdrianH
                              Yeah, well, it was pretty obvious. He is just some punk kid trying to learn to impress people. :) jk. But seriously, the way the question was worded and how he got uppity when I asked what it was for...

                              But the thing is, if the programme is any good, mucking around with a .dll isn't going to do much. Security is built into these games. At best he would have just probably been booted off, at worst his IP would be band for a while. This is because stuff like he was talking about would (in a good implementation) have the info stored on a server. Once a sync error is found, he would have been kicked. Even on a P2P or 1on1 gaming system, it would have the same effect.

                              He would get nowhere with .dll mods.


                              Adrian
                              You are right, and I alluded to this in my initial response to the question.

                              Comment

                              Working...