Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ChR0NiC on April 20, 2004, 11:50 PM

Title: Free 0x7D For Everyone Who Wants It
Post by: ChR0NiC on April 20, 2004, 11:50 PM
I was recently scammed into giving out my 0x7D code. Since it really doesn't matter any more, here is my 0x7D code.


Public Sub Parse0x7D(Data As String)
Dim Peon1 As Integer, Peon2 As Integer, Grunt As Integer, Shaman As Integer, Cheftain As Integer, ListCount As Integer
Peon1 = 1
Peon2 = 1
Grunt = 1
Shaman = 1
frmMain.W3ClanList.ListItems.Clear
Dim Split0x7D() As String
Split0x7D = Split(Mid(Data, 10), Chr(0))
For i = 0 To UBound(Split0x7D)
If Len(Split0x7D(i)) > 2 Then
Select Case StrToHex(Left(Split0x7D(i + 1), 1))
Case "04"
Shaman = Shaman + 1
Grunt = Grunt + 1
Peon1 = Peon1 + 1
Peon2 = Peon2 + 1
If Split0x7D(i + 1) <> vbNullString Then
frmMain.W3ClanList.ListItems.Add 1, , Split0x7D(i), , GetW3ClanIconCode(Asc(Split0x7D(i + 1)))
If Len(Split0x7D(i + 1)) <> 1 Then frmMain.W3ClanList.ListItems(1).ListSubItems.Add , , , GetW3ClanStatusCode(StrToHex(Split0x7D(i + 1))): frmMain.W3ClanList.ListItems(1).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Online"
If Len(Split0x7D(i + 1)) = 1 Then frmMain.W3ClanList.ListItems(1).ListSubItems.Add , , , 75: frmMain.W3ClanList.ListItems(1).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Offline"
End If
Case "03"
Grunt = Grunt + 1
Peon1 = Peon1 + 1
Peon2 = Peon2 + 1
ListCount = Shaman
If Split0x7D(i + 1) <> vbNullString Then
frmMain.W3ClanList.ListItems.Add ListCount, , Split0x7D(i), , GetW3ClanIconCode(Asc(Split0x7D(i + 1)))
If Len(Split0x7D(i + 1)) <> 1 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , GetW3ClanStatusCode(StrToHex(Split0x7D(i + 1))): frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Online"
If Len(Split0x7D(i + 1)) = 1 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , 75: frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Offline"
End If
Case "02"
Peon1 = Peon1 + 1
Peon2 = Peon2 + 1
ListCount = Grunt
If Split0x7D(i + 1) <> vbNullString Then
frmMain.W3ClanList.ListItems.Add ListCount, , Split0x7D(i), , GetW3ClanIconCode(Asc(Split0x7D(i + 1)))
If Len(Split0x7D(i + 1)) <> 1 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , GetW3ClanStatusCode(StrToHex(Split0x7D(i + 1))): frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Online"
If Len(Split0x7D(i + 1)) = 1 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , 75: frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Offline"
End If
Case "01"
Peon2 = Peon2 + 1
ListCount = Peon1
If Split0x7D(i + 1) <> vbNullString Then
frmMain.W3ClanList.ListItems.Add ListCount, , Split0x7D(i), , GetW3ClanIconCode(Asc(Split0x7D(i + 1)))
If Len(Split0x7D(i + 1)) <> 1 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , GetW3ClanStatusCode(StrToHex(Split0x7D(i + 1))): frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Online"
If Len(Split0x7D(i + 1)) = 1 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , 75: frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Offline"
End If
Case vbNullString
ListCount = Peon2
If Split0x7D(i + 1) = vbNullString Then
frmMain.W3ClanList.ListItems.Add ListCount, , Split0x7D(i), , 80
If Len(Split0x7D(i + 2)) > 0 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , 74: frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Online"
If Len(Split0x7D(i + 2)) = 0 Then frmMain.W3ClanList.ListItems(ListCount).ListSubItems.Add , , , 75: frmMain.W3ClanList.ListItems(ListCount).ToolTipText = MakeLongIconName(StrToHex(Split0x7D(i + 1))) & " Status : Offline"
End If
End Select
End If
Next i
End Sub



Public Function GetW3ClanIconCode(ByVal Flag As String)
   Select Case Left(Flag, 2)
       Case &H4: GetW3ClanIconCode = 76
       Case &H3: GetW3ClanIconCode = 77
       Case &H2: GetW3ClanIconCode = 78
       Case &H1: GetW3ClanIconCode = 79
       Case &H0: GetW3ClanIconCode = 80
       Case Else
           GetW3ClanIconCode = 80
   End Select
End Function



Public Function GetW3ClanStatusCode(ByVal Length As String)
   Select Case Mid(Length, 3, 2)
   Case "01": GetW3ClanStatusCode = 74
   Case Else: GetW3ClanStatusCode = 75
   End Select
End Function



Public Function MakeLongIconName(ByVal Icon As String) As String
Select Case Mid(Icon, 1, 2)
   Case "04"
   MakeLongIconName = "Cheftain"
   Case "03"
   MakeLongIconName = "Shaman"
   Case "02"
   MakeLongIconName = "Grunt"
   Case "01"
   MakeLongIconName = "Peon (More Than 1 Week)"
   Case "00"
   MakeLongIconName = "Peon (Less Than 1 Week)"
   Case vbNullString
   MakeLongIconName = "Peon (Less Than 1 Week)"
   Case Else
   MakeLongIconName = "Unknown"
   Exit Function
End Select
End Function


If anyone remembers that jerk asking for free 0x7D code, he is the one who scammed me, he proposed a trade and then as I expected ditched me. Just keep in mind everybody, DON'T EVER MAKE TRADE FOR CODE.

Edit: I was scammed by that snake NyKo who probably tried to pull the same thing over on SPHT but failed, I on the otherhand was too gullible to back down. And I know this isn't the most efficient code, but I have decided to quit bot making and just going to become a programmer of random projects. Thanks and peace out.

Edit2: This packet is no longer much of a secret packet anyways, but I am not going to release any other packets because of hard working programmers like SPHT who have worked hard on them and these packets should stay hidden to those who lack the skills to parse them.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Stealth on April 21, 2004, 12:17 AM
Your Tab key screams for attention. Good God.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Spht on April 21, 2004, 12:35 AM
Quote from: ChR0NiC on April 20, 2004, 11:50 PM
Edit2: This packet is no longer much of a secret packet anyways, but I am not going to release any other packets because of hard working programmers like SPHT who have worked hard on them and these packets should stay hidden to those who lack the skills to parse them.

I didn't know it was ever a secret.  I could post my parsing for everything, but I don't see much point since things it'd display, variables it'd use, or functions it'd call are only specific to the program design it's for, so it might be more confusing than helpful.

Your code is in need of some serious optimizations.

Cookie = dword(Left(Data, 4))
Names = Asc(Mid(Data, 5, 1))
pos = 6
For a = 1 To Names
   Name = Mid(Data, pos, InStr(Mid(Data, pos), vbNullChar) - 1)
   pos = pos + Len(Name) + 1
   Rank = Asc(Mid(Data, pos, 1))
   State = Asc(Mid(Data, pos + 1, 1))
   unknown = Asc(Mid(Data, pos + 2, 1))
   ' Do whatever needs to be done with Name/Rank/State
   pos = pos + 3
Next a
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: effect on April 21, 2004, 01:23 AM
For reference Nyko = Decep7ion@uswest , go and hunt him down =p

Title: Re:Free 0x7D For Everyone Who Wants It
Post by: MyndFyre on April 21, 2004, 01:39 AM
That is quite possible the second-ugliest code I have ever seen.

Only outdone by the Perl Camel.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Yoni on April 21, 2004, 02:47 AM
Nice packet, but I'm really interested in the details of the scam. Post more!
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Soul Taker on April 21, 2004, 04:27 AM
Isn't this documented on BnetDocs?  Where's the big secret?
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Adron on April 21, 2004, 05:40 AM
Quote from: Yoni on April 21, 2004, 02:47 AM
Nice packet, but I'm really interested in the details of the scam. Post more!

Me too! Tell us a good story and make us smile!
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: soccerist on April 21, 2004, 09:10 AM
I'm interested too!  What did you intend to trade?   :o
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: ChR0NiC on April 21, 2004, 05:43 PM
Quote from: Myndfyre on April 21, 2004, 01:39 AM
That is quite possible the second-ugliest code I have ever seen.

Only outdone by the Perl Camel.

I could really care less, as I only spent about 10 minutes writing it.

Quote from: NuLL on April 21, 2004, 01:23 AM
For reference Nyko = Decep7ion@uswest , go and hunt him down =p

Now it all makes sense, he messaged me on AIM a while ago claiming that I have put hidden backdoors in my programs and starting claiming he knew everything about BNET and I was just a script kiddie, but it shows that he can't even parse 0x7D, even by using a newbie method like mine.

Edit:
Quote from: Yoni on April 21, 2004, 02:47 AM
Nice packet, but I'm really interested in the details of the scam. Post more!

Story:

Once I posted on the forum that I had parsed 0x7D, Nyko messaged me begging for the code, I then asked him, what was in it for me. He offered me, W3 CDKeys, Illegal Names and Mad Chat 2.11 Source Code. Thinking he was desperate I said I would do it, but would not "go first on the trade".

He then said SPHT was gonna help me him anyways, therefore he did not need my help. I then got messaged later and he said the offer is still up, I said what about SPHT helping you, he replied that SPHT was much too busy to help him. I then decided I'd make a deal with him, so I gave him part of my code. He then said, I will not give you the things unless I get the full code.

I felt, this guy really was serious since he had been trying so hard, so I helped him make it work Not giving him my code, he then starting b**ching that it wouldn't work, so I decided just to give him my code. He then started swearing at me, spamming me and warned me up to 35%. Then blocked me on AIM. He spammed messages such as, A**HOLE I GOT YOU HAHAHHAHAHAHA And such....
That's my story

Not very entertaining but.....enjoy.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Eric on April 21, 2004, 06:02 PM
Quote from: ChR0NiC on April 21, 2004, 05:43 PM
Quote from: Myndfyre on April 21, 2004, 01:39 AM
That is quite possible the second-ugliest code I have ever seen.
Quote from: NuLL on April 21, 2004, 01:23 AM
For reference Nyko = Decep7ion@uswest , go and hunt him down =p

Now it all makes sense, he messaged me on AIM a while ago claiming that I have put hidden backdoors in my programs and starting claiming he knew everything about BNET and I was just a script kiddie, but it shows that he can't even parse 0x7D, even by using a newbie method like mine.

Take your flaming to some other forum.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: ChR0NiC on April 21, 2004, 06:04 PM
Yes my master, my lord, I shall obey your every command.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: soccerist on April 21, 2004, 07:51 PM
Good story with a moral at the end.  :)  Did you learn your lesson?


Quote from: ChR0NiC on April 21, 2004, 05:43 PM
he then starting b**ching that it wouldn't work,
I think I woulda just ignored/blocked him after that.  He obviously didn't appreciate your help.  I don't know why but you said your response to that was you did this:

Quote from: ChR0NiC on April 21, 2004, 05:43 PM
so I decided just to give him my code.



:-X
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Maddox on April 21, 2004, 09:04 PM
That's what you get when trying to trade for stupid things like "illys" and cdkeys. That code isn't anything special and the whole thing is not a big deal.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Yoni on April 23, 2004, 07:44 AM
Thanks for the story. Now, what is this packet?
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Stealth on April 23, 2004, 09:32 AM
Quote from: Yoni on April 23, 2004, 07:44 AM
Thanks for the story. Now, what is this packet?

The packet is the Warcraft III clan member list.

The code that parses it is the antichrist.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: MyndFyre on April 23, 2004, 09:35 AM
Quote from: Stealth on April 23, 2004, 09:32 AM
Quote from: Yoni on April 23, 2004, 07:44 AM
Thanks for the story. Now, what is this packet?

The packet is the Warcraft III clan member list.

The code that parses it is the antichrist.

lmao!!!!!
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: SiMi on April 23, 2004, 08:01 PM
I'm sorry I have to jump in. First of all I couldn't help reading the title "Free 0x7D For Everyone Who Wants It". Shouldn't it be for "anyone who wants it"? Second, ahaha you got scammed for some stuipd shit (illegals, madchat source). Second, I couldn't stop laughing readin your stuipd comments such as "I could really care less, as I only spent about 10 minutes writing it". As for you didnt even code that, you probably traded some W3 keys for it, lol. BTW why would you want the madchat source code for? Maybe you can leach some more shit out of it? Just Maybe...

Edit: Grammer & WooHoo I'm now a "Full Member" of these forums.
Title: Re:Free 0x7D For Everyone Who Wants It
Post by: Soul Taker on April 24, 2004, 04:14 AM
Quote from: Simi on April 23, 2004, 08:01 PM
I'm sorry I have to jump in. First of all I couldn't help reading the title "Free 0x7D For Everyone Who Wants It". Shouldn't it be for "anyone who wants it"? Second, ahaha you got scammed for some stuipd shit (illegals, madchat source). Second, I couldn't stop laughing readin your stuipd comments such as "I could really care less, as I only spent about 10 minutes writing it". As for you didnt even code that, you probably traded some W3 keys for it, lol. BTW why would you want the madchat source code for? Maybe you can leach some more shit out of it? Just Maybe...

Edit: Grammer & WooHoo I'm now a "Full Member" of these forums.
You should really read your post (and mine I guess...) and ask yourself, "is this worthy of the Bot Development forum?".