Valhalla Legends Forums Archive | Battle.net Bot Development | War3 verbyte chanegd again?

AuthorMessageTime
Gangz
Im not sure but last night i logged my bot on war3 and it worked correct. When I got home today i reconnected and got a game version unrecognized. Did something happen i have yet to know about?
[code]
Case "3RAW", "PX3W"
GetVerByte = "0D"[/code]
January 7, 2004, 10:36 PM
Kp
[quote author=Gangz link=board=17;threadid=4638;start=0#msg38747 date=1073515012]
Im not sure but last night i logged my bot on war3 and it worked correct. When I got home today i reconnected and got a game version unrecognized. Did something happen i have yet to know about?
[code]
Case "3RAW", "PX3W"
GetVerByte = "0D"[/code][/quote]

Yes. You coded your client in an inferior manner. You should instead request the latest version byte from BNLS, which was updated for the patch several hours ago.
January 8, 2004, 12:05 AM
Null
or you could just find out the new version byte by yourself...
January 8, 2004, 12:20 AM
UserLoser.
Usually when there's a new patch, the version byte increments by one, so take a guess at it or keep trying until it works
January 8, 2004, 12:28 AM
Spht
Safer/quicker to just ask BNLS so you don't have to keep making guesses.
January 8, 2004, 12:35 AM
MesiaH
Just as safe, and even quicker if you just program your bot to do it for you.
January 9, 2004, 6:46 PM
dRAgoN
[quote author=MesiaH link=board=17;threadid=4638;start=0#msg39028 date=1073673990]
Just as safe, and even quicker if you just program your bot to do it for you.
[/quote]

Good call.
Perhaps pulling the version byte from the game itself.
self updateing bot anyone?
January 12, 2004, 10:34 AM
Skywing
[quote author=dRAgoN link=board=17;threadid=4638;start=0#msg39372 date=1073903661]
[quote author=MesiaH link=board=17;threadid=4638;start=0#msg39028 date=1073673990]
Just as safe, and even quicker if you just program your bot to do it for you.
[/quote]

Good call.
Perhaps pulling the version byte from the game itself.
self updateing bot anyone?
[/quote]
There is no easy way to do this automatically. BC runs the patch and then starts trying new version codes starting with the current version code, and remembers whichever one succeeds first.
January 12, 2004, 12:53 PM
UserLoser.
[quote author=Skywing link=board=17;threadid=4638;start=0#msg39377 date=1073912011]
[quote author=dRAgoN link=board=17;threadid=4638;start=0#msg39372 date=1073903661]
[quote author=MesiaH link=board=17;threadid=4638;start=0#msg39028 date=1073673990]
Just as safe, and even quicker if you just program your bot to do it for you.
[/quote]

Good call.
Perhaps pulling the version byte from the game itself.
self updateing bot anyone?
[/quote]
There is no easy way to do this automatically. BC runs the patch and then starts trying new version codes starting with the current version code, and remembers whichever one succeeds first.
[/quote]


What do you mean by runs the patch? BC extracts the MPQ, or uses Bnupdate somehow?
January 12, 2004, 9:28 PM
Skywing
[quote author=UserLoser. link=board=17;threadid=4638;start=0#msg39423 date=1073942886]
[quote author=Skywing link=board=17;threadid=4638;start=0#msg39377 date=1073912011]
[quote author=dRAgoN link=board=17;threadid=4638;start=0#msg39372 date=1073903661]
[quote author=MesiaH link=board=17;threadid=4638;start=0#msg39028 date=1073673990]
Just as safe, and even quicker if you just program your bot to do it for you.
[/quote]

Good call.
Perhaps pulling the version byte from the game itself.
self updateing bot anyone?
[/quote]
There is no easy way to do this automatically. BC runs the patch and then starts trying new version codes starting with the current version code, and remembers whichever one succeeds first.
[/quote]


What do you mean by runs the patch? BC extracts the MPQ, or uses Bnupdate somehow?
[/quote]
No. BC has my implementation of the patching algorithm Blizzard uses.
January 13, 2004, 1:12 PM
MesiaH
Now that, is a good call. :P
January 13, 2004, 8:32 PM

Search