Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Tech Support → D2GS drops from D2CS every 5 mins

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 2

1

Topic: D2GS drops from D2CS every 5 mins

Hello all,

Usually I don't do this (asking for help in forum) but after few weeks of installing configuring, changing PCs, compiling, rebooting ... I just have no other options.

Long story short - I have fully working pvpgn server on a Windows PC which I am trying to migrate to Slackware Linux. Pvpgn is version 1.8.5 with d2gs 109d build 8. Wine is version 2.0.1 compiled (many times) with the modified sock.c and without x and opengl (god bless this forum!!!). Now I have bnetd, d2cs and d2dbs running without issues (can log in and create acc and chars). D2GS.exe is starting and connecting to d2cs and d2dbs but can not create game and drops the connection to d2cs every 5 mins.

d2gs.log:

01/13 00:25:08.184 D2GSConnectToD2xS: Connected to D2DBS Successfully
01/13 00:25:08.184 D2GSSendClassToD2DBS: Send connection class packet to D2DBS
01/13 00:25:13.186 D2GSConnectToD2xS: Connected to D2CS Successfully
01/13 00:25:13.187 D2GSSendClassToD2CS: Send connection class packet to D2CS
01/13 00:25:18.188 D2GSNetRecvPacket: CS socket become writable
01/13 00:25:18.189 D2GSNetRecvPacket: DBS socket become writable
01/13 00:31:09.789 CloseConnectionToD2CS: Close Connection to D2CS
01/13 00:31:14.794 CloseConnectionToD2DBS: Close Connection to D2DBS
01/13 00:31:14.796 D2GSConnectToD2xS: Connected to D2DBS Successfully
01/13 00:31:14.796 D2GSSendClassToD2DBS: Send connection class packet to D2DBS
01/13 00:31:19.798 D2GSConnectToD2xS: Connected to D2CS Successfully
01/13 00:31:19.799 D2GSSendClassToD2CS: Send connection class packet to D2CS
01/13 00:31:24.800 D2GSNetRecvPacket: CS socket become writable
01/13 00:31:24.800 D2GSNetRecvPacket: DBS socket become writable

d2cs.log:

Jan 13 00:19:07 [info ] server_accept: accept connection from 192.168.0.100
Jan 13 00:19:07 [info ] d2cs_conn_create: created session=6 socket=4 (3 current connections)
Jan 13 00:19:07 [info ] on_d2gs_initconn: [4] client initiated d2gs connection
Jan 13 00:19:07 [info ] handle_d2gs_init: sent init packet to d2gs 1 (sessionnum=6)
Jan 13 00:25:03 [info ] connlist_check_timeout: server 6 timed out
Jan 13 00:25:03 [warn ] d2gs_deactive: game server 1 is not actived yet
Jan 13 00:25:03 [info ] d2cs_conn_destroy: [4] closed connection 6 (2 left)
Jan 13 00:25:13 [info ] server_accept: accept connection from 192.168.0.100
Jan 13 00:25:13 [info ] d2cs_conn_create: created session=7 socket=4 (3 current connections)
Jan 13 00:25:13 [info ] on_d2gs_initconn: [4] client initiated d2gs connection
Jan 13 00:25:13 [info ] handle_d2gs_init: sent init packet to d2gs 1 (sessionnum=7)
Jan 13 00:31:09 [info ] connlist_check_timeout: server 7 timed out
Jan 13 00:31:09 [warn ] d2gs_deactive: game server 1 is not actived yet
Jan 13 00:31:09 [info ] d2cs_conn_destroy: [4] closed connection 7 (2 left)

d2dbs.log:

Jan 13 00:19:02 [info ] dbs_server_loop: accepted connection from 192.168.0.100:45702 , socket 2 .
Jan 13 00:19:02 [info ] setsockopt_keepalive: set KEEPALIVE option for socket 2
Jan 13 00:19:02 [info ] dbs_verify_ipaddr: ip address 192.168.0.100 is valid
Jan 13 00:19:02 [info ] dbs_packet_handle: set connection type for gs 192.168.0.100(1) on socket 2
Jan 13 00:25:08 [info ] dbs_server_shutdown_connection: unlock all characters on gs 192.168.0.100(1)
Jan 13 00:25:08 [info ] dbs_server_loop: accepted connection from 192.168.0.100:45710 , socket 2 .
Jan 13 00:25:08 [info ] setsockopt_keepalive: set KEEPALIVE option for socket 2
Jan 13 00:25:08 [info ] dbs_verify_ipaddr: ip address 192.168.0.100 is valid
Jan 13 00:25:08 [info ] dbs_packet_handle: set connection type for gs 192.168.0.100(1) on socket 2
Jan 13 00:31:14 [info ] dbs_server_shutdown_connection: unlock all characters on gs 192.168.0.100(1)
Jan 13 00:31:14 [info ] dbs_server_loop: accepted connection from 192.168.0.100:45714 , socket 2 .
Jan 13 00:31:14 [info ] setsockopt_keepalive: set KEEPALIVE option for socket 2
Jan 13 00:31:14 [info ] dbs_verify_ipaddr: ip address 192.168.0.100 is valid

I tried different wine versions and settings, even wiped the entire drive and reinstalled everything very carefully. What is wrong??

2

Re: D2GS drops from D2CS every 5 mins

Maybe someone can help you at https://discord.com/invite/FkFJNBu

From what I can tell, D2CS and D2GS successfully sets up a connection to each other but D2GS never receives data from D2CS.

Posts: 2

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 0 guests, 0 registered users

forums.pvpgn.pro → [EN] Tech Support → D2GS drops from D2CS every 5 mins