• Welcome to Valhalla Legends Archive.
 

please help me with a task in d2

Started by diabl0, May 01, 2005, 01:07 PM

Previous topic - Next topic

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!

Tazo

No, the act you are in is not stored locally.

Blaze

I would think the act would be stored in the characters file.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

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!

Blaze

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.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

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

iago

Are you talking about:
a) 1 player
b) Battle.net open
c) Battle.net realm

Maybe if you answer that, we can proceed.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Tazo

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.