Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.14 compatibility #57

Open
louis030195 opened this issue May 17, 2019 · 5 comments
Open

1.14 compatibility #57

louis030195 opened this issue May 17, 2019 · 5 comments

Comments

@louis030195
Copy link
Collaborator

Need option to choose version

@louis030195
Copy link
Collaborator Author

louis030195 commented May 17, 2019

Dump of login (click on bnet button)

1.14

Start of sid session
sidToServer : Read error for name : undefined
sidToServer : SID_AUTH_INFO {"protocolId":0,"platformCode":1230518326,"productCode":1144150096,"versionByte":14,"languageCode":1718765138,"localIp":251789322,"timeZoneBias":4294967176,"mpqLocaleId":1033,"userLanguageId":1033,"countryAbreviation":"USA","country":"United States"}
sidToClient : SID_PING {"pingValue":479840042}
sidToServer : SID_PING {"pingValue":479840042}
sidToClient : SID_AUTH_INFO {"logonType":0,"serverToken":3834914452,"udpValue":551717,"mpqFiletime":[30736051,2326811904],"mpqFilename":"CheckRevision.mpq","valuestring":"t+emFQAA"}
Start of sid session
End of sid session
sidToServer : SID_AUTH_CHECK {"clientToken":1581777652,"exeVersion":0,"exeHash":1901478743,"numberOfCDKeys":2,"spawnKey":0,"cdKeys":[DONTSTEALMYCDKEY]
sidToClient : SID_AUTH_CHECK {"result":0,"additionalInformation":""}
sidToServer : SID_GETFILETIME {"requestId":2147483652,"unknown":0,"filename":"bnserver-D2DV.ini"}
sidToClient : Read error for name : 76 is not in the mappings value
sidToServer : SID_GETFILETIME {"requestId":2147483654,"unknown":0,"filename":"8F643EB7B81BD40E01827D86D4FC40D9.mpq"}
sidToClient : SID_GETFILETIME {"requestId":2147483652,"unknown":0,"lastUpdateTime":[30737795,423847680],"filename":"bnserver-D2DV.ini"}
sidToClient : SID_GETFILETIME {"requestId":2147483654,"unknown":0,"lastUpdateTime":[30736834,927419136],"filename":"8F643EB7B81BD40E01827D86D4FC40D9.mpq"}
sidToServer : Read error for name : 75 is not in the mappings value
sidToServer : Read error for name : 83 is not in the mappings value
sidToServer : Read error for name : 100 is not in the mappings value
sidToServer : Read error for name : 224 is not in the mappings value

^C

1.13

Start of sid session
sidToServer : Read error for name : undefined
sidToServer : SID_AUTH_INFO {"protocolId":0,"platformCode":1230518326,"productCode":1144150096,"versionByte":13,"languageCode":1718765138,"localIp":251789322,"timeZoneBias":4294967176,"mpqLocaleId":1033,"userLanguageId":1033,"countryAbreviation":"USA","country":"United States"}
sidToClient : SID_PING {"pingValue":3603350022}
sidToServer : SID_PING {"pingValue":3603350022}
sidToClient : SID_AUTH_INFO {"logonType":0,"serverToken":598354008,"udpValue":324,"mpqFiletime":[30698013,3812817152],"mpqFilename":"IX86ver1.mpq","valuestring":"A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B"}
sidToServer : SID_AUTH_CHECK {"clientToken":3161513938,"exeVersion":16780544,"exeHash":1666909528,"numberOfCDKeys":2,"spawnKey":0,"cdKeys":[DONTSTEALMYCDKEY]
sidToClient : SID_AUTH_CHECK {"result":0,"additionalInformation":""}
sidToServer : SID_GETFILETIME {"requestId":2147483652,"unknown":0,"filename":"bnserver-D2DV.ini"}
sidToClient : SID_GETFILETIME {"requestId":2147483652,"unknown":0,"lastUpdateTime":[30698013,3772817152],"filename":"bnserver-D2DV.ini"}
^C

@louis030195
Copy link
Collaborator Author

louis030195 commented May 17, 2019

SID_AUTH_INFO S > C change in 1.14

received packet SID_AUTH_INFO {"ff":255,"name":"SID_AUTH_INFO","size":51,"params":{"logonType":0,"serverToken":3854818528,"udpValue":602213,"mpqFiletime":[30712866,1983569664],"mpqFilename":"CheckRevision.mpq","valuestring":"AMjFoQAA"}}

stealthbot/StealthBot#81
https://github.com/gonzoj/motoko/blob/ae3e0a62357b5951ef47ea37ffbac54d3d399755/src/bncs.c#L168

@rom1504
Copy link
Member

rom1504 commented May 17, 2019 via email

@rom1504
Copy link
Member

rom1504 commented Jun 23, 2019

Almost working (stuck parsing compressed packet after game environment, is there some anti cheat packet the client must answer ? Try to look with sniffer)

@louis030195
Copy link
Collaborator Author

louis030195 commented Jun 27, 2019

Quick dump of beggining of D2GS
LEFT 1.13 - RIGHT 1.14
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants