Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: SSKnight on August 02, 2005, 09:31 PM

Title: Diablo II cd keys' position in memory?
Post by: SSKnight on August 02, 2005, 09:31 PM
I'm sorry if this query is misplaced, but I am new here so please move it if needed.

I was wondering if anyone can tell me how to extract the D2 CD Key from memory after it has been used to validate against Battle.net.

I know it is put in memory, but I am new to working with memory. I have programming experience, but where this is concerned I am very new, so please understand that while attempting an explanation.

I am very happy to be a part of the community and look forward to helping where I can. Thank you in advance for the help.
Title: Re: Diablo II cd keys' position in memory?
Post by: Kp on August 02, 2005, 10:20 PM
How does this relate to bot development?  Diablo II isn't a robot on its own, nor is it stable enough to merit being used as a host for one.
Title: Re: Diablo II cd keys' position in memory?
Post by: Topaz on August 03, 2005, 10:37 AM
I believe it's stored in the mpq.
Title: Re: Diablo II cd keys' position in memory?
Post by: SkullzeD on August 03, 2005, 11:06 AM
it could be usefull to me too

how do i search for cdkey with tsearch? i mean, for what value should i search if i want to know my cd key???
Title: Re: Diablo II cd keys' position in memory?
Post by: LordNevar on August 03, 2005, 11:13 AM
Your cdkey for Diablo II is stored in D2Data.mpg, and the Expansion key is also stored in there as well.
Title: Re: Diablo II cd keys' position in memory?
Post by: SkullzeD on August 03, 2005, 11:43 AM
nice nice, i see a way to fuck up my friends =PPP

hey rok3x check your email i send you a program i programmed in vb!!
rok3x: but it does nothing!!!
uuups, it has a bug, send it back to me to check the log.
rok3x: aight man

and dat could be it. well, ill DO IT =PPP

** are cdkeys for war3 also stored in their mpq's???
Title: Re: Diablo II cd keys' position in memory?
Post by: Falcon[anti-yL] on August 04, 2005, 02:01 AM
Quote from: SkullzeD on August 03, 2005, 11:43 AM
nice nice, i see a way to fuck up my friends =PPP

hey rok3x check your email i send you a program i programmed in vb!!
rok3x: but it does nothing!!!
uuups, it has a bug, send it back to me to check the log.
rok3x: aight man

and dat could be it. well, ill DO IT =PPP

** are cdkeys for war3 also stored in their mpq's???
You'd do that to your friends? Wtf is wrong with you? -_-
Title: Re: Diablo II cd keys' position in memory?
Post by: Archangel on August 04, 2005, 09:59 AM
Wow, we helped an idiot.
Title: Re: Diablo II cd keys' position in memory?
Post by: Topaz on August 04, 2005, 12:04 PM
Nah, I doubt he'll be able to find the offsets. He'll be back :)
Title: Re: Diablo II cd keys' position in memory?
Post by: Explicit on August 04, 2005, 12:32 PM
Quote from: Topaz on August 04, 2005, 12:04 PM
Nah, I doubt he'll be able to find the offsets. He'll be back :)

Of course he'll be back. They always do come back.  :(
Title: Re: Diablo II cd keys' position in memory?
Post by: Tazo on August 05, 2005, 06:44 PM
Since we are talking about diablo II memory:
Does anyone know where the password is stored at in memory? I know for a fact D2 stores it there, or somewhere, because try whispering yourself or anyone else your password.
Title: Re: Diablo II cd keys' position in memory?
Post by: Sorc.Polgara on August 05, 2005, 10:09 PM
This might be kind of off topic, but what program do you guys use to like view the memory and stuff?
Title: Re: Diablo II cd keys' position in memory?
Post by: Kp on August 05, 2005, 10:43 PM
ntsd
Title: Re: Diablo II cd keys' position in memory?
Post by: Warrior on August 05, 2005, 10:53 PM
Quote from: SkullzeD on August 03, 2005, 11:43 AM
nice nice, i see a way to fuck up my friends =PPP

hey rok3x check your email i send you a program i programmed in vb!!
rok3x: but it does nothing!!!
uuups, it has a bug, send it back to me to check the log.
rok3x: aight man

and dat could be it. well, ill DO IT =PPP

** are cdkeys for war3 also stored in their mpq's???

Man, I love you.
Title: Re: Diablo II cd keys' position in memory?
Post by: diabl0 on August 21, 2005, 04:37 PM
i was using artmoney and i found regular cdkey at memory address 01e70100
and i found expansion at 01e701b0

but i know that they are also stored in the .mpq files

and since the topic came up...
it would be nice to know where to get the stored password info. as tazo said in an earlier post its most likely stored in the memory. which seems logical to me since when you try to send your password in a chat channel in diablo 2 it wont send it, so there must be a client-side place the password is being stored, that is checked against what you send in chat... right?

i cant see it using artmoney, unless its encrypted in the memory and i cant make it out..  i found the cdkeys easily and they were clear and not scrambled or encrypted in any way.

anyone interested in persuing this? let us know!

p.s. i was looking at d2data.mpq with an mpq viewer and i see 10851 files but i cant figure out which one has the cdkey info. i just dont see it.

Title: Re: Diablo II cd keys' position in memory?
Post by: iago on August 23, 2005, 08:21 AM
Quote from: SkullzeD on August 03, 2005, 11:06 AM
it could be usefull to me too

how do i search for cdkey with tsearch? i mean, for what value should i search if i want to know my cd key???

If you want to find your cd key in memory, you should search for your cdkey.  You will find it on a sticker on the side of the game's box. 

Title: Re: Diablo II cd keys' position in memory?
Post by: diabl0 on August 24, 2005, 04:49 PM
sorry but im just a beginner.  i dont know how to search for a specific value using artmoney although i DO know my cdkeys so thats not a problem.  and i also tried to play around with ntsd but i have NO clue there...
good suggestion though, now how to apply it.. lol
and i suppose that same method could show me where the pw is stored (if it IS indeed stored in memory and not elsewhere).

hey, by chance would a willing soul care to post any kind of small tutorial (or a link to one) for using ANY memory utility?  i have no preferences as to which utility i should use so anything would be helpful..
im learning! thanks for bearing with me.

p.s. iago... nice name. do you visit the forums at hiddensoft.com (autoit)? your name is familiar.