Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: diabl0 on May 01, 2005, 01:07 PM

Title: please help me with a task in d2
Post by: diabl0 on May 01, 2005, 01:07 PM
well, i am trying to write a bot that will create a game in normal difficulty and go to act 1.

i know i can change the registry key for difficulty

HKEY_CURRENT_USER\Software\Blizzard Entertainment\Diablo II\DIFF_LEVEL

0 is normal difficulty

but is there a way to change the act?

   if the bot was in a game and left that game and was not in act 1.....
it will start out in that act, that it was previously in (on next game join/create).

i did not see anything in the registry for acts, only difficulty level.

im not very good with packets just yet,  otherwise i would probably just send a waypoint packet and send act 1  packet afterwards or something.


i would like your suggestions for successfully completing what i want to do.

or if you are willing to help me write something that will do this with packets, i can give game items or whatever for your help

thanks!
Title: Re: please help me with a task in d2
Post by: Tazo on May 01, 2005, 02:47 PM
No, the act you are in is not stored locally.
Title: Re: please help me with a task in d2
Post by: Blaze on May 01, 2005, 02:51 PM
I would think the act would be stored in the characters file.
Title: Re: please help me with a task in d2
Post by: diabl0 on May 01, 2005, 02:53 PM
yeah thats what i was thinking, i know its not in the registry, but it must be in a character file since depending on the character, it will load you into whatever act that character was last on.

im gunna keep looking, all suggestions welcome!
Title: Re: please help me with a task in d2
Post by: Blaze on May 01, 2005, 03:06 PM
Get a character to just about to go to act2, then save, copy the character file into a different directory, go back int the game, load the character and then go into Act 2. Compare the differences in the files.
Title: Re: please help me with a task in d2
Post by: diabl0 on May 01, 2005, 03:07 PM
well, i emptied my save folder, in diablo ii

as it turns out, as soon as i create/join a game thats when the files are saved.
and i had started out in the same act i was in last time, with no files to go off of so it must be server side.

can you send a packet to go to act one from anywhere? without having to move to the waypoint?

i would like some code that will do this if possible, if anyone has time
thanks
Title: Re: please help me with a task in d2
Post by: iago on May 01, 2005, 05:09 PM
Are you talking about:
a) 1 player
b) Battle.net open
c) Battle.net realm

Maybe if you answer that, we can proceed.
Title: Re: please help me with a task in d2
Post by: Tazo on May 01, 2005, 05:10 PM
Quote from: iago on May 01, 2005, 05:09 PM
Are you talking about:
a) 1 player
b) Battle.net open
c) Battle.net realm

Maybe if you answer that, we can proceed.
He is referring to Battle.net realm.