10000 Original Diablo 1.09 Mac Version Check Failed · Issue #397 · pvpgn/pvpgn-server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Original Diablo 1.09 Mac Version Check Failed #397

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

Closed
acolchagoff opened this issue Apr 1, 2020 · 3 comments
Closed

Original Diablo 1.09 Mac Version Check Failed #397

acolchagoff opened this issue Apr 1, 2020 · 3 comments

Comments

@acolchagoff
Copy link

I'm trying to connect using my Power Mac running Original Diablo updated to 1.09 (1.09b is a windows only patch that fixed a bug that didn't apply to Macs)

heres my log file output:

Mar 31 21:43:00 [debug] ipbanlist_check: lastcheck: 1585702944, now: 1585705380, now-lc: 2436.
Mar 31 21:43:00 [debug] ipbanlist_check: checking 192.168.1.8
Mar 31 21:43:00 [info ] sd_accept: [24] accepted connection from 192.168.1.8:2141 on 0.0.0.0:6112
Mar 31 21:43:00 [debug] conn_create: [24][22] sessionkey=0x985174509 sessionnum=0x00000001
Mar 31 21:43:00 [debug] sd_accept: [24] client connected to a bnet listening address
Mar 31 21:43:00 [info ] handle_init_packet: [24] client initiated bnet connection
Mar 31 21:43:00 [trace] conn_shutdown: [24] connection already closed
Mar 31 21:43:00 [debug] conn_set_class: added latency check timer
Mar 31 21:43:00 [debug] _client_countryinfo1: [24] COUNTRYINFO1 packet from tzbias=0x00f0 langstr=ENU countrycode=1 country=USA
Mar 31 21:43:00 [debug] _client_progident: [24] CLIENT_PROGIDENT archtag=0x504d4143 clienttag=0x4452544c versionid=0x0000002a unknown1=0x00000000
Mar 31 21:43:00 [debug] select_checkrevision: Could not find corresponding CheckRevision entry, returning default CheckRevision
Mar 31 21:43:00 [debug] _client_progident: [24] selected "ver-IX86-1.mpq" "A=42 B=42 C=42 4 A=A^S B=B^B C=C^C A=A^S"
Mar 31 21:43:04 [debug] sd_tcpinput: [24] read returned -1 (closing connection)
Mar 31 21:43:04 [info ] conn_destroy: [24] closed bnet connection

I'm poking around in the versioncheck.json, but I can't seem to find a mac section.

@acolchagoff
Copy link
Author

I reverted my mac to 1.08 and grabbed a log dump from that, I'm going to put it here for reference.

Mar 31 22:43:53 [debug] ipbanlist_check: lastcheck: 1585708405, now: 1585709033, now-lc: 628.
Mar 31 22:43:53 [debug] ipbanlist_check: checking 192.168.1.8
Mar 31 22:43:53 [info ] sd_accept: [24] accepted connection from 192.168.1.8:2145 on 0.0.0.0:6112
Mar 31 22:43:53 [debug] conn_create: [24][22] sessionkey=0x985173920 sessionnum=0x00000001
Mar 31 22:43:53 [debug] sd_accept: [24] client connected to a bnet listening address
Mar 31 22:43:53 [info ] handle_init_packet: [24] client initiated bnet connection
Mar 31 22:43:53 [trace] conn_shutdown: [24] connection already closed
Mar 31 22:43:53 [debug] conn_set_class: added latency check timer
Mar 31 22:43:53 [debug] _client_countryinfo1: [24] COUNTRYINFO1 packet from tzbias=0x00f0 langstr=ENU countrycode=1 country=USA
Mar 31 22:43:53 [debug] _client_progident: [24] CLIENT_PROGIDENT archtag=0x504d4143 clienttag=0x4452544c versionid=0x00000028 unknown1=0x00000000
Mar 31 22:43:53 [debug] select_checkrevision: Could not find corresponding CheckRevision entry, returning default CheckRevision
Mar 31 22:43:53 [debug] _client_progident: [24] selected "ver-IX86-1.mpq" "A=42 B=42 C=42 4 A=A^S B=B^B C=C^C A=A^S"
Mar 31 22:43:53 [debug] ipbanlist_check: lastcheck: 1585709033, now: 1585709033, now-lc: 0.
Mar 31 22:43:53 [debug] ipbanlist_check: checking 192.168.1.8
Mar 31 22:43:53 [info ] sd_accept: [25] accepted connection from 192.168.1.8:2146 on 0.0.0.0:6112
Mar 31 22:43:53 [debug] conn_create: [25][22] sessionkey=0x708103064 sessionnum=0x00000002
Mar 31 22:43:53 [debug] sd_accept: [25] client connected to a bnet listening address
Mar 31 22:43:53 [info ] handle_init_packet: [25] client initiated file download connection
Mar 31 22:43:53 [trace] conn_shutdown: [25] connection already closed
Mar 31 22:43:53 [info ] file_send: [25] sending file "ver-IX86-1.mpq" ("/usr/local/var/pvpgn/files/ver-IX86-1.mpq") of length 11931
Mar 31 22:43:53 [debug] sd_tcpinput: [25] read returned -1 (closing connection)
Mar 31 22:43:53 [info ] conn_destroy: [25] closed file connection

@acolchagoff
Copy link
Author

I've made some more progress, here's my latest logfile and my changes to versioncheck.json:
LOGFILE:

Mar 31 23:14:47 [debug] ipbanlist_check: lastcheck: 0, now: 1585710887, now-lc: 1585710887.
Mar 31 23:14:47 [debug] ipbanlist_check: checking 192.168.1.8
Mar 31 23:14:47 [info ] sd_accept: [24] accepted connection from 192.168.1.8:2170 on 0.0.0.0:6112
Mar 31 23:14:47 [debug] conn_create: [24][22] sessionkey=0x890198624 sessionnum=0x00000000
Mar 31 23:14:47 [debug] sd_accept: [24] client connected to a bnet listening address
Mar 31 23:14:47 [info ] handle_init_packet: [24] client initiated bnet connection
Mar 31 23:14:47 [trace] conn_shutdown: [24] connection already closed
Mar 31 23:14:47 [debug] conn_set_class: added latency check timer
Mar 31 23:14:47 [debug] _client_countryinfo1: [24] COUNTRYINFO1 packet from tzbias=0x00f0 langstr=ENU countrycode=1 country=USA
Mar 31 23:14:47 [debug] _client_progident: [24] CLIENT_PROGIDENT archtag=0x504d4143 clienttag=0x4452544c versionid=0x0000002a unknown1=0x00000000
Mar 31 23:14:47 [debug] _client_progident: [24] selected "PMACver1.mpq" "A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B"
Mar 31 23:14:48 [trace] _client_authreq1: [24] received AUTHREQ1(0x07) packet
Mar 31 23:14:48 [info ] _client_authreq1: [24] CLIENT_AUTHREQ1 archtag=0x504d4143 clienttag=0x4452544c verstr=1.0.9.2 exeinfo="Diablo 05/12/101 15:42:00 1160990" versionid=0x0000002a gameversion=0x00000000 checksum=0x00000000
Mar 31 23:14:48 [info ] _client_authreq1: [24] client failed versioncheck
Mar 31 23:14:51 [debug] sd_tcpinput: [24] read returned -1 (closing connection)
Mar 31 23:14:51 [info ] conn_destroy: [24] closed bnet connection

versioncheck.json

    "PMAC": {
            "0x2a": {
                "checkRevisionFile": "PMACver1.mpq",
                "equation": "A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B",
                "entries": [
                    {
                        "title": "Diablo 109b",
                        "version": "1.0.9.2",
                        "hash": "0x504d4143",
                        "fileMetadata": "Diablo 05/12/101 15:42:00 1160990",
                        "versionTag": "DRTL_109B"
                    },
                    {
                        "title": "Diablo 109",
                        "version": "1.0.9.1",
                        "hash": "0x4452544c",
                        "fileMetadata": "Diablo 05/12/01 15:42:00 000000",
                        "versionTag": "DRTL_109"
                    }
                ]
            },
            "0x28": {
                "checkRevisionFile": "PMACver1.mpq",
                "equation": "A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B",
                "entries": [
                    {
                        "title": "Diablo 108",
                        "version": "1.0.8.1",
                        "hash": "0x4452544c",
                        "fileMetadata": "Diablo 07/13/00 12:00:00 000000",
                        "versionTag": "DRTL_108"
                    }
                ]
            }
        }

@acolchagoff
Copy link
Author

I've got it all figured out now.

RElesgoe added a commit that referenced this issue Apr 7, 2020
#397 Add PMAC versioncheck entries for WC2 2.02, SC: BW (SC mode) 1.15.0, SC: BW (BW mode) 1.15.0, D1 1.08, and D1 1.09
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

1 participant
0