d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Informational Progress Blog
12Next
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 24 2013 12:52pm
Changed the setup of the blog.

http://forums.d2jsp.org/topic.php?t=66868328&f=276

Will blog in an uninterrupted blog and this thread can be used for discussions and quesitons about the tutorials/code

This post was edited by AbDuCt on Mar 24 2013 01:19pm
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 24 2013 01:13pm



Upcoming: Tutorial on how to find memory addresses and such for variables and functions via use of CE (cheat engine) and OLLYDBG and basic memory editing from within our DLL

edit:: inb4 closed

2 User(s) are reading this topic (0 Guests and 0 Anonymous): AbDuCt, ShadowFiend


This post was edited by AbDuCt on Mar 24 2013 01:20pm
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 24 2013 03:20pm
update: im not sure how I am going to do the rest of this for you guys.

blogging about my code is one thing but actually showing you step by step how to find the memory addresses and modify them is going to be hard. might have to make a youutube video to go along with it. or some really vague screenshots not sure yet.

its easy enough to show how to find a variable inside cheat engine then chat about the code to change it. but i also want to try to show how to open the game in a disassembler and to write code to change how to works.

will need to think this through. im open for ideas on how i can do this.
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Mar 25 2013 04:09pm
Quote (AbDuCt @ 25 Mar 2013 21:08)
heh. im still trying to figure out how to present the next part. its easy enough commenting code and explaining it over all but the methods of finding what i needed to know in order to create the code (ex grabbing memory addresses/pointers/addresses of machine code) is beyond what screenshots and text and do really.


well i think this step is easy. i don't think that you need to explain cheat engine or getting memory addresss. it's just a matter of debugging and looking at the assembler code.

the problem is using these address and cast it to the right pointer of the actual datatype after calculating the right offsets. also getting those addresses into the dll. do you write these offsets as "#define life 192873" at the start of the dll.c file?
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 25 2013 05:16pm
Quote (Richter @ Mar 25 2013 06:09pm)
well i think this step is easy. i don't think that you need to explain cheat engine or getting memory addresss. it's just a matter of debugging and looking at the assembler code.

the problem is using these address and cast it to the right pointer of the actual datatype after calculating the right offsets. also getting those addresses into the dll. do you write these offsets as "#define life 192873" at the start of the dll.c file?


well FOR ME it's not that i am having trouble finding or modifying the game in any way. I am just having trouble of figuring out how to blog about it. like I COULD just repost my dll with the addresses and such and comment them but I also want to get into how i found those addresses so the reader knows how i got them. i also want to show a bit of game debugging but its really hard to do that via screenshots and text lol. (unless i want like 40+ screenshots)

i think I may just record my screen and make a youtube video. not sure yet.
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Mar 25 2013 05:26pm
so how are the offsets calculated?

assuming i found that the offset (with ollydebug) is 1812
and the start address of the exe is 0
then i attach to the process... look where the exe is at... add 1812 and change this byte? right?

so if i have to code this into a dll, how does the dll know where the start address of the exe is?
adding 1812 would be no problem, and i could code that number into the dll with a "define"
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 25 2013 06:23pm
Quote (Richter @ Mar 25 2013 07:26pm)
so how are the offsets calculated?

assuming i found that the offset (with ollydebug) is 1812
and the start address of the exe is 0
then i attach to the process... look where the exe is at... add 1812 and change this byte? right?

so if i have to code this into a dll, how does the dll know where the start address of the exe is?
adding 1812 would be no problem, and i could code that number into the dll with a "define"


i think were on two different pages right now lol. i said i know how to do this, BUT i dont know how to show others how to do it in a way they would understand (images, video, text)
Member
Posts: 1,358
Joined: Dec 30 2012
Gold: 0.10
Mar 25 2013 07:04pm
Got suspended for a day because I tried posting a link to eon in attempt to give you an example. Rofl. Should have figured since they don't have good history with each other.

I think it would be a lot less inconvenient and annoying for you if you made a video rather than posting a bunch of screenshots but that's up to your really.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 25 2013 07:15pm
Quote (SelfTaught @ Mar 25 2013 09:04pm)
Got suspended for a day because I tried posting a link to eon in attempt to give you an example. Rofl. Should have figured since they don't have good history with each other.

I think it would be a lot less inconvenient and annoying for you if you made a video rather than posting a bunch of screenshots but that's up to your really.


lawl sorry for your suspension. and yea i think i will just do videos. would be faster and easier to follow along.
Member
Posts: 1,358
Joined: Dec 30 2012
Gold: 0.10
Mar 25 2013 08:24pm
Quote (AbDuCt @ Mar 25 2013 05:15pm)
lawl sorry for your suspension. and yea i think i will just do videos. would be faster and easier to follow along.


Np, it was my fault lol.

What games do you plan on using in your future tutorials?

I'd personally like to see some tutorials involving D2 solely for the fact that there is a ton of information about hacking that game.

That being said it'd be a good place to build a foundation and gain some experience for newbies with close to none like myself.

Just a suggestion though. I'll follow the tuts either way.
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll