Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: RockSteady on November 23, 2004, 12:44 AM

Title: Diablo 1 Gamebots
Post by: RockSteady on November 23, 2004, 12:44 AM
Me and a few friends of mine are thinking about making a diablo 1 gamebot that you can load crashs on a join a game. I know there a few made but my question is what tools best fit this project.
Title: Re: Diablo 1 Gamebots
Post by: MyndFyre on November 23, 2004, 08:07 AM
Quote from: RockSteady on November 23, 2004, 12:44 AM
Me and a few friends of mine are thinking about making a diablo 1 gamebot that you can load crashs on a join a game. I know there a few made but my question is what tools best fit this project.

The last time I got onto Diablo 1, it said:

There are 1 users playing Diablo, in 0 games, and xxxxx players on Battle.net.

(or something to that effect).

Also, why do you want to make other people miserable and make something that crashes a game?  Congratulations, you're an ass.
Title: Re: Diablo 1 Gamebots
Post by: Hdx on November 23, 2004, 10:44 AM
Well i was thinking about making a D1 game bot myself, But not a game crasher, if you do that you're an ass -.-
Sofar I've gottin my bot to create/'join' other games, but only PW protected ones and thats no fun,
I can throw out some packet dumps if ya want when I get home.
QuoteThere are 1 users playing Diablo, in 0 games, and xxxxx players on Battle.net.
As for that I know for a fact that more than one person plays diablo, Me an my friends play no other b.net game, But ya we mainly do it to make new hacks an shit :P <3 Diablo in town next to wert :)
~-~(HDX)~-~
Title: Re: Diablo 1 Gamebots
Post by: UserLoser. on November 23, 2004, 01:43 PM
Quote from: MyndFyre on November 23, 2004, 08:07 AM
Also, why do you want to make other people miserable and make something that crashes a game?  Congratulations, you're an ass.

Correct me if I'm wrong, but you're the one telling people to quit flaming?  Way to scare away the new people
Title: Re: Diablo 1 Gamebots
Post by: Warrior on November 23, 2004, 02:26 PM
Also last I checked there was no law about making a hack for battle.net since this is Bot Development discussion and he is discussing the development of a bot that just happens to crash a game.
Title: Re: Diablo 1 Gamebots
Post by: Kp on November 23, 2004, 03:47 PM
Quote from: Warrior on November 23, 2004, 02:26 PMAlso last I checked there was no law about making a hack for battle.net since this is Bot Development discussion and he is discussing the development of a bot that just happens to crash a game.

The forums' rules are set by its moderators, and also influenced by the senior members.  If none of the regulars feel like helping this guy, it doesn't much matter whether his request was within the rules or not, as he won't get anywhere.
Title: Re: Diablo 1 Gamebots
Post by: MyndFyre on November 23, 2004, 06:18 PM
Quote from: HdxBmx27 on November 23, 2004, 10:44 AM
Well i was thinking about making a D1 game bot myself, But not a game crasher, if you do that you're an ass -.-
Sofar I've gottin my bot to create/'join' other games, but only PW protected ones and thats no fun,
Ahhh, my bad.  I got the impression from "load crashs" that you meant causes a game to crash on load.  I think I understand what you're talking about now.

Quote from: UserLoser on November 23, 2004, 01:43 PM
Correct me if I'm wrong, but you're the one telling people to quit flaming?  Way to scare away the new people
See above.  Get over it.
Title: Re: Diablo 1 Gamebots
Post by: Hdx on November 23, 2004, 07:43 PM
That was me, and the 'load crashes' was someone else, I do beleave he ment to say that as in crash the poeple when they join.
~-~(HDX)~-~
Title: Re: Diablo 1 Gamebots
Post by: Soul Taker on November 24, 2004, 03:11 AM
Didn't NBBot have functions to crash a D1 game, and even one to crash every game currently listed by the server?  I don't really see the big problem.  Assuming he can figure out how to get the game to crash on his own, helping him out with the programming aspects doesn't seem like such a big deal.
Title: Re: Diablo 1 Gamebots
Post by: Sorc.Polgara on November 24, 2004, 05:02 AM
People still play D1?!?

Crashing?

Why exactly do you want to make a bot that does it?

I don't get it.

On topic:

I don't know much about actual logging on and/or doing any kind of bot using D1.
I'm making a bot in C++ (trying to) but I might just go back to VB6 and just make other bots since C++ is getting me flustered atm.

My harddrived fked up a few weeks ago and I lost everything, I need to restart over again =\.

Title: Re: Diablo 1 Gamebots
Post by: Kp on November 24, 2004, 04:00 PM
Quote from: Soul Taker on November 24, 2004, 03:11 AMDidn't NBBot have functions to crash a D1 game, and even one to crash every game currently listed by the server?  I don't really see the big problem.  Assuming he can figure out how to get the game to crash on his own, helping him out with the programming aspects doesn't seem like such a big deal.

NBBot did not crash the receiving client.  It exploited a flaw in the UDP thread to cause Diablo to sever all network communications.  The client itself survived, though it would drop out of whatever game it was in.
Title: Re: Diablo 1 Gamebots
Post by: RockSteady on November 24, 2004, 08:43 PM
Im just wanting to make a diablo 1 gamebot that loads hacks and that can create and join games.
Title: Re: Diablo 1 Gamebots
Post by: Soul Taker on November 25, 2004, 01:49 AM
Quote from: Kp on November 24, 2004, 04:00 PM
Quote from: Soul Taker on November 24, 2004, 03:11 AMDidn't NBBot have functions to crash a D1 game, and even one to crash every game currently listed by the server?  I don't really see the big problem.  Assuming he can figure out how to get the game to crash on his own, helping him out with the programming aspects doesn't seem like such a big deal.

NBBot did not crash the receiving client.  It exploited a flaw in the UDP thread to cause Diablo to sever all network communications.  The client itself survived, though it would drop out of whatever game it was in.
That's even cooler!
Title: Re: Diablo 1 Gamebots
Post by: RockSteady on November 29, 2004, 01:34 AM
Does anyone know if its packet 35 that enters a game thats what i was told. Im thinking thats not right
Title: Re: Diablo 1 Gamebots
Post by: Soul Taker on November 29, 2004, 09:37 AM
Quote from: RockSteady on November 29, 2004, 01:34 AM
Does anyone know if its packet 35 that enters a game thats what i was told. Im thinking thats not right
It can't possibly be that hard to go and see if it is.
Title: Re: Diablo 1 Gamebots
Post by: Hdx on November 29, 2004, 11:15 PM
2  192.168.0.11:2862  63.240.202.130:6112  77  Send 
FF 1C 4D 00 ..M.
01 00 00 00 ....
00 00 00 00 ....
00 00 ..
00 00 ..
0F 00 00 00 ....
00 00 00 00 ....
62 6C 61 00 bla.
70 61 73 73 00 pass.
30 0D 0.
48 64 78 45 76 69 6C 46 69 72 65 31 0D 4C 54 52 44 20 31 20 30 20 30 20 33 30 20 31 30 20 32 30 20 32 35 20 31 30 30 20 30 00 HdxEvilFire1.LTRD 1 0 0 30 10 20 25 100 0.

3  63.240.202.130:6112  192.168.0.11:2862  8  Recv 
FF 1C 08 00 ....
00 00 00 00 ....

4  192.168.0.11:2862  63.240.202.130:6112  4  Send 
0000  FF 10 04 00 ....

A pacet log of Creating a game.
with PBuffer
  .InsertDWORD    &H0   'Open Game
  .IndertDWORD    &H0   'Unknown
  .InsertWORD     &H0   'Unknown
  .InsertWORD     &H0   'Unknown
  .InsertDWORD    &HF   'Unknown (F)
  .InsertDWORD    &H0   'Unknown
  .InsertNTString "Bla" 'Game Name
  .InsertNTString ""    'Game Pass
  .InsertBytes    "30 0D" 'Unknown
  .InsertNONNTString "HdxEvilFire1" 'UserName
  .InsertBYTE "0D" 'Unknown 0.o
  .InsertNTString "LTRD 1 0 0 30 10 20 25 100 0" 'Statstring
  .SendPacket &H1C
end with

Quik sketch 0.o
~-~(HDX)~-~
Title: Re: Diablo 1 Gamebots
Post by: Soul Taker on November 30, 2004, 08:15 AM
Quote from: HdxBmx27 on November 29, 2004, 11:15 PM

  .InsertBYTE "oD" 'Unknown 0.o

I think you'll find that "oD" is not a valid hexadecimal byte.
Title: Re: Diablo 1 Gamebots
Post by: Hdx on November 30, 2004, 09:24 AM
Whops, Make that a 0 not a o
~-~(HDX)~-~
Title: Re: Diablo 1 Gamebots
Post by: led on December 02, 2004, 03:09 PM
 "30 0D" 'Unknown

Byte 30 is game difficulty.
30 = Normal
31 = Nightmare
32 = Hell

=X
Title: Re: Diablo 1 Gamebots
Post by: Hdx on December 02, 2004, 06:37 PM
Public Sub MakeD1Game(GameName as string, Password as string, Username as string, SS as string, Diff as integer)
Dim DifByte as string
Select case Diff
  Case 0,1,2: DiffByte = "3" & Diff
  Case Else: DiffByte = "30"
wnd if

with PBuffer
  .InsertDWORD    iif(Password = "", &H0, &H1)
  .IndertDWORD    &H0   'Unknown
  .InsertWORD     &H0   'Unknown
  .InsertWORD     &H0   'Unknown
  .InsertDWORD    &HF   'Unknown (F)
  .InsertDWORD    &H0   'Unknown
  .InsertNTString GameName
  .InsertNTString Password
  .insertBytes    DiffByte
  .insertBytes    vbCr
  .InsertNONNTString UserName
  .InsertBYTE vbCr
  .InsertNTString SS
  .SendPacket &H1C
end with
End Sub

Try Dat
~-~(HDX)~-~
Title: Re: Diablo 1 Gamebots
Post by: led on December 02, 2004, 11:23 PM
With that same Packet Buffer you're using Blake
---
Exit Game Routine
---
You can leave the Username and Stat string blank if you wanted too.

and hiya Blakey =X


With pbuffer
        .SendPacket &H2
       
        .InsertNTString " "      'Username
        .InsertNTString " "      'Stat String
        .SendPacket &HA
       
        .InsertNonNTString "LTRD"
        .SendPacket &HB
       
        .InsertDWORD &H2
        .InsertNTString "Diablo usa-1"      'Channel to join on exit
        .SendPacket &HC
End With

Should do Diablo Shareware to? Just for the heck of it? ;p
Title: Re: Diablo 1 Gamebots
Post by: Hdx on December 03, 2004, 05:07 AM
Hay jesse, when you sighnup?
Anyways
To exit a game you just have to re-ente chat. 0x0A. And then 0x0C is used if you dont wana be in the void 0.o
0x02 & 0x0B are not needed.
Can somone post some in-game logs?
Have atlease 3 people joining/Leaving
and ya just Join/Leave

~-~(HDX)~-~