Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Inner on May 12, 2004, 09:47 PM

Title: Packet for news
Post by: Inner on May 12, 2004, 09:47 PM
I need to know the packet for news for the type of connection of 0x1E. If anyone can tell me it, i will be most appreicated.
Title: Re:Packet for news
Post by: LordNevar on May 12, 2004, 10:54 PM
I believe it's 0x46, but I could be wrong.
Title: Re:Packet for news
Post by: MyndFyre on May 12, 2004, 11:40 PM
Quote from: Inner on May 12, 2004, 09:47 PM
I need to know the packet for news for the type of connection of 0x1E. If anyone can tell me it, i will be most appreicated.

What kind of connection type is 0x1e?  I've only ever heard of connections of 0x01, 0x02, and 0x03.
Title: Re:Packet for news
Post by: effect on May 13, 2004, 12:45 AM
Quote from: Myndfyre on May 12, 2004, 11:40 PM
Quote from: Inner on May 12, 2004, 09:47 PM
I need to know the packet for news for the type of connection of 0x1E. If anyone can tell me it, i will be most appreicated.

What kind of connection type is 0x1e?  I've only ever heard of connections of 0x01, 0x02, and 0x03.

The older style authentication , used Hash.dll and CheckRevision.dll . where as the newer style use's BnetAuth.dll
Title: Re:Packet for news
Post by: Eric on May 13, 2004, 01:08 AM
Quote from: effect on May 13, 2004, 12:45 AM
Quote from: Myndfyre on May 12, 2004, 11:40 PM
Quote from: Inner on May 12, 2004, 09:47 PM
I need to know the packet for news for the type of connection of 0x1E. If anyone can tell me it, i will be most appreicated.

What kind of connection type is 0x1e?  I've only ever heard of connections of 0x01, 0x02, and 0x03.

The older style authentication , used Hash.dll and CheckRevision.dll . where as the newer style use's BnetAuth.dll

... both connection styles have the same hashing and checkrevision functions.

0x1E is the older form of connecting to Battle.net and I don't believe has any really descriptive name seperating it from 0x50 other than the "old logins".
Title: Re:Packet for news
Post by: effect on May 13, 2004, 01:16 AM
Uh , im getting at the fact 1 style uses 2 DLL's and the other is encaptulated in 1?
Title: Re:Packet for news
Post by: MyndFyre on May 13, 2004, 03:33 AM
Evidently everyone who responded missed the sarcasm in the question.  Connection type 0x1e is still connection type 0x01 -- binary.  It's just another login method.  :P
Title: Re:Packet for news
Post by: Eric on May 13, 2004, 10:18 AM
Quote from: effect on May 13, 2004, 01:16 AM
Uh , im getting at the fact 1 style uses 2 DLL's and the other is encaptulated in 1?
The number of libraries you use has nothing to do with the form in which you connect to bnet.

Quote from: Myndfyre on May 13, 2004, 03:33 AM
Evidently everyone who responded missed the sarcasm in the question.  Connection type 0x1e is still connection type 0x01 -- binary.  It's just another login method.  :P
I got it, but the point I was trying to make is that you shouldn't jump all over him when he was just trying to include which login style he was using.
Title: Re:Packet for news
Post by: Zakath on May 13, 2004, 10:25 AM
The functions in bnetauth.dll are identical to those in hash.dll and checkrevision.dll...

And none of that affects how you logon. My bot uses no DLLs, and yet I have no trouble performing those functions. I must be a genius or something! :o
Title: Re:Packet for news
Post by: Tuberload on May 13, 2004, 02:21 PM
Quote from: Zakath on May 13, 2004, 10:25 AM
The functions in bnetauth.dll are identical to those in hash.dll and checkrevision.dll...

And none of that affects how you logon. My bot uses no DLLs, and yet I have no trouble performing those functions. I must be a genius or something! :o

I'm leaning towards something. :P
Title: Re:Packet for news
Post by: BinaryzL on May 13, 2004, 03:16 PM
Wow...
Title: Re:Packet for news
Post by: Soul Taker on May 13, 2004, 03:23 PM
Quote from: BinaryzL on May 13, 2004, 03:16 PM
Wow...
Best contribution to a thread ever!
Title: Re:Packet for news
Post by: hismajesty on May 13, 2004, 03:50 PM
Quote from: Zakath on May 13, 2004, 10:25 AM
I must be a genius or something! :o

Quote"Zakath, your a ****ing genius" - Jigsaw of Valhalla Legends on 1/7/02 at 7:22:23 PM EST

Well...
Title: Re:Packet for news
Post by: FuzZ on May 13, 2004, 04:27 PM
Back on topic?

If you check SoupBot source you'll find 0x46 C->S and C->S. (Since BnetDocs, AFAIK, is down and doesn't have a reference for this packet)
I've had some trouble while using it when using MCP (Realms) to connect.
Title: Re:Packet for news
Post by: LordNevar on May 13, 2004, 05:24 PM
I believe you have to call for it on login, or else WC3 and TFT will be the only clients to display it without asking for it. Atleast that's what I had to do. Not sure if anyone else has that problem, but it works fine for me, I request it for all clients but WC3 and TFT, if I do it calls it twice.
Title: Re:Packet for news
Post by: MyndFyre on May 13, 2004, 06:15 PM
Quote from: LordNevar on May 13, 2004, 05:24 PM
I believe you have to call for it on login, or else WC3 and TFT will be the only clients to display it without asking for it. Atleast that's what I had to do. Not sure if anyone else has that problem, but it works fine for me, I request it for all clients but WC3 and TFT, if I do it calls it twice.

You can do this at any point for any connection.  (I haven't kept track of what news items have been seen or not at this point -- I just send 0 as the UNIXTIME, and it returns all of them).  For Brood War, I got back one record, that had a zero-length string.
Title: Re:Packet for news
Post by: Inner on May 13, 2004, 07:53 PM
LordNevar, i tried 0x46 and it didn't work. So then i didn't know what packet it was, so that's why im asking :p
Title: Re:Packet for news
Post by: ChR0NiC on May 14, 2004, 07:01 PM
Why not packet log the client and see which packet returns the news?
Title: Re:Packet for news
Post by: UserLoser. on May 14, 2004, 07:04 PM
Quote from: Inner on May 13, 2004, 07:53 PM
LordNevar, i tried 0x46 and it didn't work. So then i didn't know what packet it was, so that's why im asking :p


If you didn't get a response from Battle.net, then it probably means there is no news available for that product.
Title: Re:Packet for news
Post by: Eric on May 14, 2004, 08:03 PM
Quote from: UserLoser. on May 14, 2004, 07:04 PM
Quote from: Inner on May 13, 2004, 07:53 PM
LordNevar, i tried 0x46 and it didn't work. So then i didn't know what packet it was, so that's why im asking :p


If you didn't get a response from Battle.net, then it probably means there is no news available for that product.

Or perhaps an invalid last requested time was inputted? Just a guess. :p
Title: Re:Packet for news
Post by: Inner on May 17, 2004, 05:44 PM
I found why, i had to join my product specific channel before i joined homechannel, so i made it custom, you can either join home channel, or product specific channel. Thanks for your support everyone.
Title: Re:Packet for news
Post by: FuzZ on May 17, 2004, 05:53 PM
I can request on War3 and TFT and it only displays once.

However, if I use it when using realms I get some serious problems with my DataArrival buffer (Sometimes).
Title: Re:Packet for news
Post by: MyndFyre on May 17, 2004, 05:56 PM
Quote from: Inner on May 17, 2004, 05:44 PM
I found why, i had to join my product specific channel before i joined homechannel, so i made it custom, you can either join home channel, or product specific channel. Thanks for your support everyone.

What in God's name does this have to do with the news request 0x46 packet?
Title: Re:Packet for news
Post by: Zakath on May 17, 2004, 09:34 PM
You receive news automatically if you join a product-specific channel when you log on, that's all...

It doesn't affect the fact that you can request the news at any time, of course, but it is worth noting.
Title: Re:Packet for news
Post by: Eric on May 17, 2004, 10:11 PM
Quote from: Zakath on May 17, 2004, 09:34 PM
You receive news automatically if you join a product-specific channel when you log on, that's all...

Actually, all you receive is the welcome message and it's not via 0x46.
Title: Re:Packet for news
Post by: Zakath on May 17, 2004, 10:54 PM
Hmm, I'm pretty sure you USED to get news, too. I could be wrong.
Title: Re:Packet for news
Post by: MyndFyre on May 18, 2004, 12:44 PM
Quote from: Zakath on May 17, 2004, 10:54 PM
Hmm, I'm pretty sure you USED to get news, too. I could be wrong.

I have never received news when joining a product-specific channel.
Title: Re:Packet for news
Post by: Eric on May 18, 2004, 01:03 PM
Quote from: Myndfyre on May 18, 2004, 12:44 PM
Quote from: Zakath on May 17, 2004, 10:54 PM
Hmm, I'm pretty sure you USED to get news, too. I could be wrong.

I have never received news when joining a product-specific channel.

Quote[11:02:35] Joining public, product-specific channel: Diablo II useast-usa-8
blah blah blah...
[11:02:35] LoRd[nK]:78:0 is here using Diablo II: Lord of Destruction (Open Character).
[11:02:35] Battle.net: Welcome to Battle.net!
[11:02:35] Battle.net: This server is hosted by AT&T.
[11:02:35] Battle.net: There are currently 153154 users playing 34337 games of Diablo II Lord of Destruction, and 120180 users playing 43012 games on Battle.net.
[11:02:35] Battle.net: Last logon: Mon May 17  9:56 PM
Title: Re:Packet for news
Post by: UserLoser. on May 18, 2004, 07:13 PM
Quote from: LoRd[nK] on May 18, 2004, 01:03 PM
Quote from: Myndfyre on May 18, 2004, 12:44 PM
Quote from: Zakath on May 17, 2004, 10:54 PM
Hmm, I'm pretty sure you USED to get news, too. I could be wrong.

I have never received news when joining a product-specific channel.

Quote[11:02:35] Joining public, product-specific channel: Diablo II useast-usa-8
blah blah blah...
[11:02:35] LoRd[nK]:78:0 is here using Diablo II: Lord of Destruction (Open Character).
[11:02:35] Battle.net: Welcome to Battle.net!
[11:02:35] Battle.net: This server is hosted by AT&T.
[11:02:35] Battle.net: There are currently 153154 users playing 34337 games of Diablo II Lord of Destruction, and 120180 users playing 43012 games on Battle.net.
[11:02:35] Battle.net: Last logon: Mon May 17  9:56 PM

That's not news, that's the message of the day.

Here's some news and message of the day (News requested via 0x46):

[19:12:01] Joining public product-specific channel WarCraft III USA-1.
[19:12:01] Logged on to Battle.net as UserLoser. (session #1327968, 78ms ping).
[19:12:02] Welcome to Battle.net!
[19:12:02] This server is hosted by AT&T.
[19:12:02] There are currently 9439 users playing 474 games of Warcraft III, and 136367 users playing 46789 games on Battle.net.
[19:12:02] Last logon: Mon May 17  7:54 PM
[19:12:02] Battle.net news from Tuesday May, 4 2004: Warcraft III Beta Patch Testing Concludes! The beta testing of the upcoming Warcraft III 1.15 patch concluded this evening, Monday, May 03, 2004 at 6:00 PM Pacific Daylight Time (PDT). Thanks to everyone for participating in the beta and in providing feedback on the balance changes, the new Goblin Tinker, and especially the new clan ladder and matchmaking functionality. Winners of the Beta Competition will be notified via email within the next few weeks. We expect the public version of the patch to be available within the next few days. Thanks again for everyone's help and continued support.
[19:12:02] Battle.net news from Saturday April, 17 2004: A beta version of the upcoming Warcraft III patch is now available on Westfall, the new Beta Patch gateway. Further details about how you can participate in testing the Beta Patch and how you could win a spot in the World of Warcraft Beta can be found here http://www.battle.net/war3/ladder/w3xp-ladder-competition.aspx?Gateway=Westfall. We hope you will stop by and join in the competition!
[19:12:02] Battle.net news from Thursday December, 18 2003: Friend and Clan Mail are available in Warcraft III Patch 1.13 to players who have registered their e-mail address. Battle.net's Friend and Clan Mail feature allows you to talk to your friends and fellow clan members, whether they are online or not.  Check out http://www.battle.net/mail/ for more information.
[19:12:02] Battle.net news from Thursday December, 18 2003: The 1.13 patch for Warcraft III Reign of Chaos and The Frozen Throne has been released! 1.13 possesses the Orc Campaign Acts II and III for The Frozen Throne, and for both Reign of Chaos and Frozen Throne 1.13 supports binding your email address to your Battle.net account so you can recover your password.
[19:12:02] Battle.net news from Wednesday July, 23 2003: Note: custom maps with altered ability data created prior to Patch 1.10 will no longer load.
[19:12:02] Battle.net news from Wednesday July, 23 2003: Clans are now in WarCraft III Classic and Expansion. When playing WarCraft III: Reign of Chaos or The Frozen Throne on Battle.net, you will be able to form Clans. For information on Clans, please go to www.battle.net.
[19:12:02] Battle.net news from Wednesday October, 29 2003: The much anticipated 1.10 patch for Diablo II has been released! A host of changes have been made within this patch, such as seasonal ladder characters, more challenging game play, new items, a new game-world event, and much much more!  So relive the adventure once again within the fantastic world of Diablo II!
Title: Re:Packet for news
Post by: Eric on May 18, 2004, 07:23 PM
Quote from: UserLoser. on May 18, 2004, 07:13 PM
Quote from: LoRd[nK] on May 18, 2004, 01:03 PM
Quote from: Myndfyre on May 18, 2004, 12:44 PM
Quote from: Zakath on May 17, 2004, 10:54 PM
Hmm, I'm pretty sure you USED to get news, too. I could be wrong.

I have never received news when joining a product-specific channel.

Quote[11:02:35] Joining public, product-specific channel: Diablo II useast-usa-8
blah blah blah...
[11:02:35] LoRd[nK]:78:0 is here using Diablo II: Lord of Destruction (Open Character).
[11:02:35] Battle.net: Welcome to Battle.net!
[11:02:35] Battle.net: This server is hosted by AT&T.
[11:02:35] Battle.net: There are currently 153154 users playing 34337 games of Diablo II Lord of Destruction, and 120180 users playing 43012 games on Battle.net.
[11:02:35] Battle.net: Last logon: Mon May 17  9:56 PM

That's not news, that's the message of the day.

Here's some news and message of the day (News requested via 0x46):

[19:12:01] Joining public product-specific channel WarCraft III USA-1.
[19:12:01] Logged on to Battle.net as UserLoser. (session #1327968, 78ms ping).
[19:12:02] Welcome to Battle.net!
[19:12:02] This server is hosted by AT&T.
[19:12:02] There are currently 9439 users playing 474 games of Warcraft III, and 136367 users playing 46789 games on Battle.net.
[19:12:02] Last logon: Mon May 17  7:54 PM
[19:12:02] Battle.net news from Tuesday May, 4 2004: Warcraft III Beta Patch Testing Concludes! The beta testing of the upcoming Warcraft III 1.15 patch concluded this evening, Monday, May 03, 2004 at 6:00 PM Pacific Daylight Time (PDT). Thanks to everyone for participating in the beta and in providing feedback on the balance changes, the new Goblin Tinker, and especially the new clan ladder and matchmaking functionality. Winners of the Beta Competition will be notified via email within the next few weeks. We expect the public version of the patch to be available within the next few days. Thanks again for everyone's help and continued support.
[19:12:02] Battle.net news from Saturday April, 17 2004: A beta version of the upcoming Warcraft III patch is now available on Westfall, the new Beta Patch gateway. Further details about how you can participate in testing the Beta Patch and how you could win a spot in the World of Warcraft Beta can be found here http://www.battle.net/war3/ladder/w3xp-ladder-competition.aspx?Gateway=Westfall. We hope you will stop by and join in the competition!
[19:12:02] Battle.net news from Thursday December, 18 2003: Friend and Clan Mail are available in Warcraft III Patch 1.13 to players who have registered their e-mail address. Battle.net's Friend and Clan Mail feature allows you to talk to your friends and fellow clan members, whether they are online or not.  Check out http://www.battle.net/mail/ for more information.
[19:12:02] Battle.net news from Thursday December, 18 2003: The 1.13 patch for Warcraft III Reign of Chaos and The Frozen Throne has been released! 1.13 possesses the Orc Campaign Acts II and III for The Frozen Throne, and for both Reign of Chaos and Frozen Throne 1.13 supports binding your email address to your Battle.net account so you can recover your password.
[19:12:02] Battle.net news from Wednesday July, 23 2003: Note: custom maps with altered ability data created prior to Patch 1.10 will no longer load.
[19:12:02] Battle.net news from Wednesday July, 23 2003: Clans are now in WarCraft III Classic and Expansion. When playing WarCraft III: Reign of Chaos or The Frozen Throne on Battle.net, you will be able to form Clans. For information on Clans, please go to www.battle.net.
[19:12:02] Battle.net news from Wednesday October, 29 2003: The much anticipated 1.10 patch for Diablo II has been released! A host of changes have been made within this patch, such as seasonal ladder characters, more challenging game play, new items, a new game-world event, and much much more!  So relive the adventure once again within the fantastic world of Diablo II!
Yes, but most Blizzard clients don't request the news via 0x46 when logging on.
Title: Re:Packet for news
Post by: MyndFyre on May 18, 2004, 07:42 PM
Quote from: LoRd[nK] on May 18, 2004, 07:23 PM
Yes, but most Blizzard clients don't request the news via 0x46 when logging on.

Oh glorious and intelligent one, we're TALKING about the 0x46 news packet!!!!!  My point was, I don't receive 0x46 news when joining a product-specific channel!!!!!  You have to request it!
Title: Re:Packet for news
Post by: Eric on May 18, 2004, 07:45 PM
Quote from: Myndfyre on May 18, 2004, 07:42 PM
Quote from: LoRd[nK] on May 18, 2004, 07:23 PM
Yes, but most Blizzard clients don't request the news via 0x46 when logging on.

Oh glorious and intelligent one, we're TALKING about the 0x46 news packet!!!!!  My point was, I don't receive 0x46 news when joining a product-specific channel!!!!!  You have to request it!
... I was merely replying to Zakath's post, and if you actually read my post rather than just dismissing it because you think it's off-topic, you'd see that I agree with what you just said.