Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Yoni on June 01, 2004, 06:00 PM

Title: BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Yoni on June 01, 2004, 06:00 PM
Sorry for the delay, I was asleep. Damn good sleep it was too. Version byte (0xc9) unchanged. Patch.txt on some other post in this forum. Enjoy.
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Eli_1 on June 01, 2004, 06:14 PM
Thanks, Yoni
/me slaps Yoni a high five!
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: tA-Kane on June 01, 2004, 07:23 PM
Quote from: Yoni on June 01, 2004, 06:00 PMDamn good sleep it was too.
You were dreaming that you didn't have to update BNLS ever again?  :-\
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Falcon[anti-yL] on June 01, 2004, 07:24 PM
Yes finally updated :D
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: CrAz3D on June 02, 2004, 12:56 AM
Why doesn't BNLS automatically update itself?...

Just a thought
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Gangz on June 02, 2004, 01:00 AM
How can BNLS update for patches on its own? how would it possible change the verybyte and change the .exe in the hashes
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Yoni on June 02, 2004, 10:25 AM
Quote from: CrAz3D on June 02, 2004, 12:56 AM
Why doesn't BNLS automatically update itself?...

Just a thought
Haven't gotten around to implementing that feature yet and it's prone to unwanted surprises so not sure we will.
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: CrAz3D on June 02, 2004, 11:22 AM
Quote from: Gangz on June 02, 2004, 01:00 AM
How can BNLS update for patches on its own? how would it possible change the verybyte and change the .exe in the hashes
How can the games clients update themseleves?...
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Gangz on June 02, 2004, 02:30 PM
It would have to connected it self on a daily bases to check for updates in the system.
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: CrAz3D on June 02, 2004, 03:05 PM
Quote from: Gangz on June 02, 2004, 02:30 PM
It would have to connected it self on a daily bases to check for updates in the system.
That's not a very hard thing to do.
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: DeTaiLs on June 02, 2004, 03:32 PM
how do u check to see what the new ver byte has changed to?
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Dyndrilliac on June 02, 2004, 03:33 PM
On my hash bot I just download a .ini file I keep uptodate on my server, get the version byte I need, then cleanly delete the file.
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Spht on June 02, 2004, 07:33 PM
Quote from: Twix on June 02, 2004, 03:32 PM
how do u check to see what the new ver byte has changed to?

Use the BNLS_REQUESTVERSIONBYTE message.

QuoteBNLS_REQUESTVERSIONBYTE (0x10)
------------------------------

This message requests the latest version byte for a given product.
The version byte is sent to Battle.net in SID_AUTH_INFO (0x50).

(DWORD) Product ID.*

* Valid product IDs are:

#define PRODUCT_STARCRAFT             (0x01)
#define PRODUCT_BROODWAR              (0x02)
#define PRODUCT_WAR2BNE               (0x03)
#define PRODUCT_DIABLO2               (0x04)
#define PRODUCT_LORDOFDESTRUCTION     (0x05)
#define PRODUCT_JAPANSTARCRAFT        (0x06)
#define PRODUCT_WARCRAFT3             (0x07)
#define PRODUCT_THEFROZENTHRONE       (0x08)
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: PaiD on June 02, 2004, 07:48 PM
I think he is asking ho do you know the new ver byte
Title: Re:BNLS updated for Starcraft and Brood War patch 1.11b
Post by: Spht on June 02, 2004, 08:32 PM
Quote from: MoNeY on June 02, 2004, 07:48 PM
I think he is asking ho do you know the new ver byte

It's fairly easy to guess.  With minor updates the version code usually increments by one (assuming the minor revision increased by one).  Subminor updates do not typically result in a new version code, however.