Valhalla Legends Forums Archive | Battle.net Bot Development | Automatic Verbyte updates?

AuthorMessageTime
Topaz
I've heard talk of this, but no one's really taken the initiative to announce it.

I propose that someone reverse engineer starcraft/broodwar and find the specific line that the verbyte is stored in. if possible, you could read from that line in the exe for the verbyte, thus eliminating the need for a verbyte change, so that the user only needs install new hashes.
February 27, 2005, 8:57 AM
Networks
I don't think that's possible but I am sure you can impliment a function to increment the verbyte to a correct one until it logs on. Such as Starcraft, since it increments by two. (IE: C5 to C7 to C9)
February 27, 2005, 9:24 AM
Topaz
And then you have the various skips from C9 to CB. Maybe start in hex, seeing as how C9 was 201, and CB is 203? There could be a conversion function, but blizzard can be unreliable. You'd also have to set options to change the current pattern, or have a mandatory update where it changes.
February 27, 2005, 9:31 AM
tA-Kane
BNLS is perfect for this.

You do not need to login to use BNLS.

You do not need to send your username or password or cd key to get the current version byte for any product.
February 27, 2005, 4:36 PM
CrAz3D
[quote author=tA-Kane link=topic=10742.msg101832#msg101832 date=1109522165]
BNLS is perfect for this.

You do not need to login to use BNLS.

You do not need to send your username or password or cd key to get the current version byte for any product.
[/quote]BNLS isn't the fastest thing that is updated though
February 27, 2005, 4:58 PM
UserLoser.
[quote author=Topaz link=topic=10742.msg101815#msg101815 date=1109494658]
I've heard talk of this, but no one's really taken the initiative to announce it.

I propose that someone reverse engineer starcraft/broodwar and find the specific line that the verbyte is stored in. if possible, you could read from that line in the exe for the verbyte, thus eliminating the need for a verbyte change, so that the user only needs install new hashes.
[/quote]

UserLoser already did that, but never made use of it.  Someone resend me Starcraft.exe/battle.snp
February 27, 2005, 5:10 PM
iago
[quote author=CrAz3D link=topic=10742.msg101835#msg101835 date=1109523526]
[quote author=tA-Kane link=topic=10742.msg101832#msg101832 date=1109522165]
BNLS is perfect for this.

You do not need to login to use BNLS.

You do not need to send your username or password or cd key to get the current version byte for any product.
[/quote]BNLS isn't the fastest thing that is updated though
[/quote]

So far, since I made RCRS (which is a weaker version of BNLS), the score is 1-1 (although I beat them by a day, and then they beat me by a few minutes :()

But yeah, I found that part of Battle.snp a long time ago, but never made use of it :/
February 27, 2005, 6:10 PM
Quarantine
I agree with Networks,  add 2 to the current VerByte if you fail version check in 0x51
February 27, 2005, 8:55 PM
tA-Kane
What if your bot is so old that the bot is outdated by 20 version bytes?
February 28, 2005, 10:15 AM
Myndfyr
[quote author=tA-Kane link=topic=10742.msg101939#msg101939 date=1109585741]
What if your bot is so old that the bot is outdated by 20 version bytes?
[/quote]
Then it'll take a while to log in.  :P
February 28, 2005, 5:13 PM
R.a.B.B.i.T
Or have the user set a version byte in the config, and if it's not there go with the current byte.  If it failes version check, increment.  When it works, save the version byte.
February 28, 2005, 7:42 PM
Topaz
Or just read from battle.snp?
March 1, 2005, 4:22 AM
Newby
What if, by some horrible glitch in the bot that occured only once in a thousand blue moons, you sent the correct version byte but parsed the incoming data as stating it was wrong?

You'd be incrementing forever. ::)
March 1, 2005, 4:27 AM
HdxBmx27
Thats why you set a limit, Blizzard WILL NOT put out  50 patches without you noticing :P and updating your bot.
~-~(HDX)~-~
March 1, 2005, 4:36 AM
Newby
What if the bot producer stopped producing bots? How would it know?
March 1, 2005, 4:40 AM
LoRd
[quote author=UserLoser link=topic=10742.msg101836#msg101836 date=1109524221]
[quote author=Topaz link=topic=10742.msg101815#msg101815 date=1109494658]
I've heard talk of this, but no one's really taken the initiative to announce it.

I propose that someone reverse engineer starcraft/broodwar and find the specific line that the verbyte is stored in. if possible, you could read from that line in the exe for the verbyte, thus eliminating the need for a verbyte change, so that the user only needs install new hashes.
[/quote]
UserLoser already did that, but never made use of it.  Someone resend me Starcraft.exe/battle.snp
[/quote]

Correct me if I'm wrong, but doesn't the offset where the version is stored usally change after a patch?
March 1, 2005, 4:43 AM
kamakazie
[quote author=LoRd[nK] link=topic=10742.msg102048#msg102048 date=1109652204]
Correct me if I'm wrong, but doesn't the offset where the version is stored usally change after a patch?
[/quote]

You could search for a particular sequence of bytes before the actual version byte since those are unlikely to change much.
March 1, 2005, 6:54 AM

Search