D2NG icon indicating copy to clipboard operation
D2NG copied to clipboard

CheckRevisionV4

Open Baaleos opened this issue 3 years ago • 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

Baaleos avatar Mar 28 '21 01:03 Baaleos

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

dkuwahara avatar Apr 05 '21 14:04 dkuwahara