Valhalla Legends Forums Archive | Battle.net Bot Development | please help me with a task in d2

AuthorMessageTime
diabl0
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!
May 1, 2005, 6:07 PM
laurion
No, the act you are in is not stored locally.
May 1, 2005, 7:47 PM
KkBlazekK
I would think the act would be stored in the characters file.
May 1, 2005, 7:51 PM
diabl0
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!
May 1, 2005, 7:53 PM
KkBlazekK
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.
May 1, 2005, 8:06 PM
diabl0
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
May 1, 2005, 8:07 PM
iago
Are you talking about:
a) 1 player
b) Battle.net open
c) Battle.net realm

Maybe if you answer that, we can proceed.
May 1, 2005, 10:09 PM
laurion
[quote author=iago link=topic=11447.msg110711#msg110711 date=1114985366]
Are you talking about:
a) 1 player
b) Battle.net open
c) Battle.net realm

Maybe if you answer that, we can proceed.
[/quote]
He is referring to Battle.net realm.
May 1, 2005, 10:10 PM

Search