dkuwahara/D2NG

CheckRevisionV4

Opened this issue · 1 comments

Describe the bug
Attempting to use this against a 1.14d D2GS server.
I've actually got OmegaBot partially working - but I can't seem to get D2NG to get past the login phase.

It seems to exception out in the CheckRevision(string value) within the CheckRevisionV4 class - it is attempting to perform a base64 conversion when the input is already plaintext.

The formulae string that is being fed into the checkrevision is:
A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B

Which is not a base64 string

To Reproduce
Steps to reproduce the behavior:

  1. Git clone repo
  2. Point realm at 1.14d server
  3. Run console bot in debugger
  4. See error

Private servers and official servers use different checkrevision, OmegaBot was developed against an older version of Battle.Net. You should be able to swap out the check revision code