Valhalla Legends Forums Archive | Battle.net Bot Development | BN# issues

AuthorMessageTime
MusicDemon
Hello,

Since 1.26 I have problems with logging in, I keep on getting invalid version, are there any changes needed?
May 17, 2011, 2:27 PM
-MichaeL-
Did you put in the new hashes and verbytes?
May 17, 2011, 4:14 PM
MusicDemon
Yups, I've noticed that W3L (PvPGN loader) had a softwarematic change.... Never found out why but, I think it's because of "that". Btw, I didn't update BN# for quite some time, because of a fix I made to it... Was there a change since Warcraft 1.25?
May 17, 2011, 8:38 PM
-MichaeL-
I am not sure, I know the newest BN# from the SVN works fine.
May 18, 2011, 1:39 AM
MusicDemon
Guess I have to update it... Uhm, and idea how to patch it without having my changes be overwritten?
May 18, 2011, 1:06 PM
Myndfyr
[quote author=MusicDemon link=topic=18287.msg185221#msg185221 date=1305723993]
Guess I have to update it... Uhm, and idea how to patch it without having my changes be overwritten?
[/quote]
Update and merge.
May 19, 2011, 11:54 PM
MusicDemon
I did an update on one of my BN# source directories and still it bugs; File difference. I cannot see the difference...

It seemed that it has problems with checkrevision, for somehow it hashes the wrong data, I had to add that hash/version arrays myself.

P.S.: I created a patch for SendMail at account creation, any need?

EDIT: PvPGN tells me this:

[quote]verstr=1.26.25.1 exeinfo="war3.exe 3/18/11 20:03:55 471040" versionid=0x0000001a gameversion=0x011a1901 checksum=0xf2e7cec2[/quote]The version string is wrong.
May 20, 2011, 6:54 AM
MusicDemon
After nearly a year still no response. Yes, I'm trying it all over again! :P

[code]
int version = ((fvi.FileMajorPart << 24) |
              (fvi.FileMinorPart << 16) |
              (fvi.FileBuildPart << 8) | fvi.FilePrivatePart);
byte[] t1 = BitConverter.GetBytes(version);
/*
* t1[0] = 1
* t1[1] = 25
* t1[2] = 26
* t1[3] = 1
* What should be:
* t1[0] = 1
* t1[1] = 0
* t1[2] = 26
* t1[3] = 1
*/
[/code]
I've seen that it's been updated last October so, I suppose that it can be fixed.

[code]Dump from StealthBot
255 81 141 0 204 127 145 0 1 0 26 1 194 206 231 242 2 0 0 0 0 0 0 0 26 0 0 0 (...)[/code]
October 23, 2011, 1:14 PM
Myndfyr
If you'd like to set up a retainer, I promise I'll get you answers in a more timely manner. :)
October 23, 2011, 10:19 PM

Search