BNETD disconnecting after startup #476

Open
opened 2023-01-29 12:09:09 -07:00 by ShrekisLyf · 3 comments
ShrekisLyf commented 2023-01-29 12:09:09 -07:00 (Migrated from github.com)

Hello!

I dont know how to describe this issue

I set up a server on Ubuntu 18.04 following the guide on this project
The log shows SQL is working (MYSQL) and lets me boot via /usr/local/pvpgn/sbin/bnetd
As soon as i do that Gateway editor tells me the connection is successful and also lets me connect via WC3 1.21a with the w3l.exe
When i start it lets me log in and then connect but as soon as i entered an email it will say "unable to connect to battle.net" or "connection lost"
Same with the gateway editor :/

This is the log output i get from around that time
Jan 29 19:24:11 [trace] conn_shutdown: [28] connection already closed Jan 29 19:24:11 [info ] handle_init_packet: [26] client initiated file download connection Jan 29 19:24:11 [trace] conn_shutdown: [26] connection already closed Jan 29 19:24:11 [info ] handle_init_packet: [25] client initiated file download connection Jan 29 19:24:11 [trace] conn_shutdown: [25] connection already closed Jan 29 19:24:11 [info ] handle_init_packet: [27] client initiated file download connection Jan 29 19:24:11 [trace] conn_shutdown: [27] connection already closed Jan 29 19:24:11 [info ] file_send: [25] sending file "chathelp-war3-enUS.txt" ("/usr/local/pvpgn/etc/pvpgn/i18n/chathelp-war3.txt") of length 351 Jan 29 19:24:11 [info ] file_send: [26] sending file "icons-WAR3.bni" ("/usr/local/pvpgn/var/pvpgn/files/icons-WAR3.bni") of length 36931 Jan 29 19:24:11 [info ] file_send: [27] sending file "newaccount-enUS.txt" ("/usr/local/pvpgn/etc/pvpgn/i18n/newaccount.txt") of length 1423 Jan 29 19:24:11 [debug] sd_tcpinput: [26] read returned -1 (closing connection) Jan 29 19:24:11 [debug] sd_tcpinput: [25] read returned -1 (closing connection) Jan 29 19:24:11 [info ] conn_destroy: [26] closed file connection Jan 29 19:24:11 [info ] conn_destroy: [25] closed file connection Jan 29 19:24:12 [info ] file_send: [28] sending file "termsofservice-enUS.txt" ("/usr/local/pvpgn/etc/pvpgn/i18n/termsofservice.txt") of length 1402 Jan 29 19:24:12 [debug] sd_tcpinput: [27] read returned -1 (closing connection) Jan 29 19:24:12 [info ] conn_destroy: [27] closed file connection Jan 29 19:24:12 [debug] sd_tcpinput: [28] read returned -1 (closing connection) Jan 29 19:24:12 [info ] conn_destroy: [28] closed file connection Jan 29 19:24:13 [info ] _client_fileinforeq: [24] file requested: "bnserver-WAR3.ini" - type = 0x05 Jan 29 19:24:13 [debug] ipbanlist_check: lastcheck: 1675016649, now: 1675016653, now-lc: 4. Jan 29 19:24:13 [debug] ipbanlist_check: checking 78.132.3.158 Jan 29 19:24:13 [info ] sd_accept: [25] accepted connection from 78.132.3.158:50965 on 0.0.0.0:6112 Jan 29 19:24:13 [debug] conn_create: [25][22] sessionkey=0x1298632799 sessionnum=0x00000006 Jan 29 19:24:13 [debug] sd_accept: [25] client connected to a bnet listening address Jan 29 19:24:13 [info ] handle_init_packet: [25] client initiated file download connection Jan 29 19:24:13 [trace] conn_shutdown: [25] connection already closed Jan 29 19:24:13 [info ] file_send: [25] sending file "bnserver-WAR3.ini" ("/usr/local/pvpgn/var/pvpgn/files/bnserver-WAR3.ini") of length 352 Jan 29 19:24:13 [debug] sd_tcpinput: [25] read returned -1 (closing connection) Jan 29 19:24:13 [info ] conn_destroy: [25] closed file connection Jan 29 19:24:19 [trace] sql_read_account: SELECT uid FROM pvpgn_BNET WHERE username='zergrush' Jan 29 19:24:19 [trace] sql_read_attrs: SELECT * FROM pvpgn_BNET WHERE uid='1' Jan 29 19:24:19 [info ] _client_loginreqw3: [24] (W3) "ZergRush" passed account check (even though account has no salt) Jan 29 19:24:20 [info ] _client_logonproofreq: [24] logon proof requested Jan 29 19:24:20 [trace] sql_read_attrs: SELECT * FROM pvpgn_friend WHERE uid='1' Jan 29 19:24:20 [trace] sql_read_attrs: SELECT * FROM pvpgn_friend WHERE uid='0' Jan 29 19:24:20 [info ] _client_logonproofreq: [24] (W3) "ZergRush" logged in (right password) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x0) tag=(CLIENT_FINDANONGAME_INFOTAG_URL) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x1) tag=(CLIENT_FINDANONGAME_INFOTAG_MAP) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x2) tag=(CLIENT_FINDANONGAME_INFOTAG_TYPE) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x3) tag=(CLIENT_FINDANONGAME_INFOTAG_DESC) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x4) tag=(CLIENT_FINDANONGAME_INFOTAG_LADR) tag_unk=(0x0000) Jan 29 19:24:31 [info ] _client_setemailreply: [24] init account "ZergRush" email to "k.niederl1@gmail.com" Jan 29 19:24:35 [trace] sql_read_attrs: SELECT * FROM pvpgn_Record WHERE uid='1' Jan 29 19:24:35 [trace] sql_read_attrs: SELECT * FROM pvpgn_Record WHERE uid='0' Jan 29 19:24:36 [trace] _client_motdw3: lastnews() 1396069566 news_time 1204002367

I have not changed anything besides the SQL path yet

Where have i gone wrong?

Hello! I dont know how to describe this issue I set up a server on Ubuntu 18.04 following the guide on this project The log shows SQL is working (MYSQL) and lets me boot via /usr/local/pvpgn/sbin/bnetd As soon as i do that Gateway editor tells me the connection is successful and also lets me connect via WC3 1.21a with the w3l.exe When i start it lets me log in and then connect but as soon as i entered an email it will say "unable to connect to battle.net" or "connection lost" Same with the gateway editor :/ This is the log output i get from around that time `Jan 29 19:24:11 [trace] conn_shutdown: [28] connection already closed Jan 29 19:24:11 [info ] handle_init_packet: [26] client initiated file download connection Jan 29 19:24:11 [trace] conn_shutdown: [26] connection already closed Jan 29 19:24:11 [info ] handle_init_packet: [25] client initiated file download connection Jan 29 19:24:11 [trace] conn_shutdown: [25] connection already closed Jan 29 19:24:11 [info ] handle_init_packet: [27] client initiated file download connection Jan 29 19:24:11 [trace] conn_shutdown: [27] connection already closed Jan 29 19:24:11 [info ] file_send: [25] sending file "chathelp-war3-enUS.txt" ("/usr/local/pvpgn/etc/pvpgn/i18n/chathelp-war3.txt") of length 351 Jan 29 19:24:11 [info ] file_send: [26] sending file "icons-WAR3.bni" ("/usr/local/pvpgn/var/pvpgn/files/icons-WAR3.bni") of length 36931 Jan 29 19:24:11 [info ] file_send: [27] sending file "newaccount-enUS.txt" ("/usr/local/pvpgn/etc/pvpgn/i18n/newaccount.txt") of length 1423 Jan 29 19:24:11 [debug] sd_tcpinput: [26] read returned -1 (closing connection) Jan 29 19:24:11 [debug] sd_tcpinput: [25] read returned -1 (closing connection) Jan 29 19:24:11 [info ] conn_destroy: [26] closed file connection Jan 29 19:24:11 [info ] conn_destroy: [25] closed file connection Jan 29 19:24:12 [info ] file_send: [28] sending file "termsofservice-enUS.txt" ("/usr/local/pvpgn/etc/pvpgn/i18n/termsofservice.txt") of length 1402 Jan 29 19:24:12 [debug] sd_tcpinput: [27] read returned -1 (closing connection) Jan 29 19:24:12 [info ] conn_destroy: [27] closed file connection Jan 29 19:24:12 [debug] sd_tcpinput: [28] read returned -1 (closing connection) Jan 29 19:24:12 [info ] conn_destroy: [28] closed file connection Jan 29 19:24:13 [info ] _client_fileinforeq: [24] file requested: "bnserver-WAR3.ini" - type = 0x05 Jan 29 19:24:13 [debug] ipbanlist_check: lastcheck: 1675016649, now: 1675016653, now-lc: 4. Jan 29 19:24:13 [debug] ipbanlist_check: checking 78.132.3.158 Jan 29 19:24:13 [info ] sd_accept: [25] accepted connection from 78.132.3.158:50965 on 0.0.0.0:6112 Jan 29 19:24:13 [debug] conn_create: [25][22] sessionkey=0x1298632799 sessionnum=0x00000006 Jan 29 19:24:13 [debug] sd_accept: [25] client connected to a bnet listening address Jan 29 19:24:13 [info ] handle_init_packet: [25] client initiated file download connection Jan 29 19:24:13 [trace] conn_shutdown: [25] connection already closed Jan 29 19:24:13 [info ] file_send: [25] sending file "bnserver-WAR3.ini" ("/usr/local/pvpgn/var/pvpgn/files/bnserver-WAR3.ini") of length 352 Jan 29 19:24:13 [debug] sd_tcpinput: [25] read returned -1 (closing connection) Jan 29 19:24:13 [info ] conn_destroy: [25] closed file connection Jan 29 19:24:19 [trace] sql_read_account: SELECT uid FROM pvpgn_BNET WHERE username='zergrush' Jan 29 19:24:19 [trace] sql_read_attrs: SELECT * FROM pvpgn_BNET WHERE uid='1' Jan 29 19:24:19 [info ] _client_loginreqw3: [24] (W3) "ZergRush" passed account check (even though account has no salt) Jan 29 19:24:20 [info ] _client_logonproofreq: [24] logon proof requested Jan 29 19:24:20 [trace] sql_read_attrs: SELECT * FROM pvpgn_friend WHERE uid='1' Jan 29 19:24:20 [trace] sql_read_attrs: SELECT * FROM pvpgn_friend WHERE uid='0' Jan 29 19:24:20 [info ] _client_logonproofreq: [24] (W3) "ZergRush" logged in (right password) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x0) tag=(CLIENT_FINDANONGAME_INFOTAG_URL) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x1) tag=(CLIENT_FINDANONGAME_INFOTAG_MAP) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x2) tag=(CLIENT_FINDANONGAME_INFOTAG_TYPE) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x3) tag=(CLIENT_FINDANONGAME_INFOTAG_DESC) tag_unk=(0x0000) Jan 29 19:24:20 [debug] _client_anongame_infos: client_tag request tagid=(0x4) tag=(CLIENT_FINDANONGAME_INFOTAG_LADR) tag_unk=(0x0000) Jan 29 19:24:31 [info ] _client_setemailreply: [24] init account "ZergRush" email to "k.niederl1@gmail.com" Jan 29 19:24:35 [trace] sql_read_attrs: SELECT * FROM pvpgn_Record WHERE uid='1' Jan 29 19:24:35 [trace] sql_read_attrs: SELECT * FROM pvpgn_Record WHERE uid='0' Jan 29 19:24:36 [trace] _client_motdw3: lastnews() 1396069566 news_time 1204002367` I have not changed anything besides the SQL path yet Where have i gone wrong?
kcinickgx commented 2023-04-29 06:45:05 -06:00 (Migrated from github.com)

yo, after 3 hours debugging, delete the motd file and try again etc/pvpgn/i18n/w3motd.txt, it's something with the fmt library, why is this happening, is this project dead? last update 5 years ago...

yo, after 3 hours debugging, delete the motd file and try again etc/pvpgn/i18n/w3motd.txt, it's something with the fmt library, why is this happening, is this project dead? last update 5 years ago...
ShrekisLyf commented 2023-04-29 06:55:07 -06:00 (Migrated from github.com)

Looking at their discord it is very well alive but the wc3 parts seems to be underdeveloped while the diablo2 Branche is actively worked on

Looking at their discord it is very well alive but the wc3 parts seems to be underdeveloped while the diablo2 Branche is actively worked on
kcinickgx commented 2023-04-29 07:49:38 -06:00 (Migrated from github.com)

it's seems to be fixed on the [PvPGN-PRO 1.99.8.0.0 RC1] (https://github.com/pvpgn/pvpgn-server/releases/tag/1.99.8.0.0-rc1-PRO) pre-release

it's seems to be fixed on the [PvPGN-PRO 1.99.8.0.0 RC1] (https://github.com/pvpgn/pvpgn-server/releases/tag/1.99.8.0.0-rc1-PRO) pre-release
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Techwizz/pvpgn-server#476
No description provided.