Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: RiZaeL on March 17, 2005, 05:34 PM

Title: Using "this" into Blizzard Games
Post by: RiZaeL on March 17, 2005, 05:34 PM
Hello everyone, this is my first post, I have been browsing http://bnetdocs.valhallalegends.com/content.php for some time, so I decided to register.

I'm new at using memory/offsets into games, I understand it requires a DLL file to do so.

But how would I "inject" these offsets into Diablo to check for/receive the information?

Thanks.

P.S. For C++, not Visual Basic/Other languages.
Title: Re: Using "this" into Blizzard Games
Post by: Kp on March 17, 2005, 06:29 PM
As demonstrated by DHack, there's no need to inject a DLL into the process.  Just use OpenProcess and then WriteProcessMemory.
Title: Re: Using "this" into Blizzard Games
Post by: RiZaeL on March 17, 2005, 09:33 PM
Could I have a link to the demo? I cannot seem to find it, although I only searched 3 minutes..
Title: Re: Using "this" into Blizzard Games
Post by: Kp on March 17, 2005, 11:55 PM
You could, but I don't recall it offhand.  So, since it'll have to be found by searching and you're the one who actually cares to see it, I think it's fitting that you be the one to do the searching. :)
Title: Re: Using "this" into Blizzard Games
Post by: R.a.B.B.i.T on March 19, 2005, 07:59 AM
VB I assume?  I can't find a WriteProcessMemory API call, but I did find the OpenProcess.  clicky (http://www.rabbitsoftware.net/openprocess.txt)
Title: Re: Using "this" into Blizzard Games
Post by: Eric on March 19, 2005, 08:11 AM
QuoteVB I assume?

QuoteP.S. For C++, not Visual Basic/Other languages.

QuoteI can't find a WriteProcessMemory API call

WriteProcessMemory() (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/writeprocessmemory.asp)
Title: Re: Using "this" into Blizzard Games
Post by: R.a.B.B.i.T on March 19, 2005, 08:44 AM
Stupid API-Guide -.-
Title: Re: Using "this" into Blizzard Games
Post by: Kp on March 19, 2005, 10:49 AM
Quote from: rabbit on March 19, 2005, 08:44 AMStupid API-Guide -.-
Stupid responder, too.  I thought it was pretty clear he was supposed to do the work himself; also, he stated C++, so there's no need to assume VB.
Title: Re: Using "this" into Blizzard Games
Post by: R.a.B.B.i.T on March 19, 2005, 11:36 AM
Well don't I suck at reading?
Title: Re: Using "this" into Blizzard Games
Post by: UserLoser. on March 19, 2005, 12:14 PM
Generally first google result is msdn when looking up certain function exports, such as WriteProcessMemory (http://www.google.com/search?hl=en&q=WriteProcessMemory&btnG=Google+Search)
Title: Re: Using "this" into Blizzard Games
Post by: Blaze on March 19, 2005, 01:17 PM
Wow that works like magic. OpenProcess (http://www.google.com/search?hl=en&safe=off&q=Openprocess)