123fbalp123fb 28 Posted September 20, 2022 Share Posted September 20, 2022 My game was going well. I upgraded the "source" file to gcc9. Successfully created "game" and "db". But it gave such an error while opening channels. ch1 syser SYSERR: Sep 19 11:15:58 :: pid_init: Start of pid: 885 SYSERR: Sep 19 11:15:58 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:01 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:04 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:07 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:10 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:13 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:16 :: socket_connect: HOST localhost:15000, could not connect. CH1 syslog Sep 19 11:25:12 :: SYSTEM: Trying to connect to localhost:15000 SYSERR: Sep 19 11:25:12 :: socket_connect: HOST localhost:15000, could not connect. Sep 19 11:25:12 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected Sep 19 11:25:13 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected SYSERR: Sep 19 11:25:14 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down. Sep 19 11:25:14 :: <shutdown> Starting... Sep 19 11:25:14 :: <shutdown> Destroying CArenaManager... Sep 19 11:25:14 :: ARENA: ArenaMap will be destroy. mapIndex(112) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: <shutdown> Destroying COXEventManager... Sep 19 11:25:14 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected Sep 19 11:25:14 :: <shutdown> Disabling signal timer... Sep 19 11:25:14 :: <shutdown> Shutting down CHARACTER_MANAGER... Sep 19 11:25:14 :: <shutdown> Shutting down ITEM_MANAGER... Sep 19 11:25:14 :: <shutdown> Flushing db_clientdesc... Sep 19 11:25:14 :: <shutdown> Flushing p2p_manager... Sep 19 11:25:14 :: <shutdown> Destroying CShopManager... Sep 19 11:25:14 :: <shutdown> Destroying CHARACTER_MANAGER... Sep 19 11:25:14 :: <shutdown> Destroying ITEM_MANAGER... Sep 19 11:25:14 :: <shutdown> Destroying DESC_MANAGER... Sep 19 11:25:14 :: <shutdown> Destroying quest::CQuestManager... Sep 19 11:25:14 :: <shutdown> Destroying building::CManager... Sep 19 11:25:14 :: <shutdown> Flushing TrafficProfiler... Sep 19 11:25:14 :: <shutdown> Canceling ReloadSpamEvent... Sep 19 11:25:14 :: <shutdown> regen_free()... Sep 19 11:25:14 :: <shutdown> Closing sockets... Sep 19 11:25:14 :: <shutdown> fdwatch_delete()... Sep 19 11:25:14 :: <shutdown> event_destroy()... Sep 19 11:25:14 :: <shutdown> CTextFileLoader::DestroySystem()... Sep 19 11:25:14 :: <shutdown> thecore_destroy()... SYSERR: Sep 19 11:25:14 :: pid_deinit: End of pid DB, syser and not giving syslog and the strange thing is that when I edit the item_name.txt item_proto.txt in the db, the item_proto does not change in mysql Link to comment Share on other sites More sharing options...
Developer1321 32 Posted September 20, 2022 Share Posted September 20, 2022 41 minutes ago, 123fbalp123fb said: My game was going well. I upgraded the "source" file to gcc9. Successfully created "game" and "db". But it gave such an error while opening channels. ch1 syser SYSERR: Sep 19 11:15:58 :: pid_init: Start of pid: 885 SYSERR: Sep 19 11:15:58 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:01 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:04 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:07 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:10 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:13 :: socket_connect: HOST localhost:15000, could not connect. SYSERR: Sep 19 11:16:16 :: socket_connect: HOST localhost:15000, could not connect. CH1 syslog Sep 19 11:25:12 :: SYSTEM: Trying to connect to localhost:15000 SYSERR: Sep 19 11:25:12 :: socket_connect: HOST localhost:15000, could not connect. Sep 19 11:25:12 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected Sep 19 11:25:13 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected SYSERR: Sep 19 11:25:14 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down. Sep 19 11:25:14 :: <shutdown> Starting... Sep 19 11:25:14 :: <shutdown> Destroying CArenaManager... Sep 19 11:25:14 :: ARENA: ArenaMap will be destroy. mapIndex(112) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 19 11:25:14 :: <shutdown> Destroying COXEventManager... Sep 19 11:25:14 :: CLIENT_DESC [db_clientdesc] trying DBPacket() while not connected Sep 19 11:25:14 :: <shutdown> Disabling signal timer... Sep 19 11:25:14 :: <shutdown> Shutting down CHARACTER_MANAGER... Sep 19 11:25:14 :: <shutdown> Shutting down ITEM_MANAGER... Sep 19 11:25:14 :: <shutdown> Flushing db_clientdesc... Sep 19 11:25:14 :: <shutdown> Flushing p2p_manager... Sep 19 11:25:14 :: <shutdown> Destroying CShopManager... Sep 19 11:25:14 :: <shutdown> Destroying CHARACTER_MANAGER... Sep 19 11:25:14 :: <shutdown> Destroying ITEM_MANAGER... Sep 19 11:25:14 :: <shutdown> Destroying DESC_MANAGER... Sep 19 11:25:14 :: <shutdown> Destroying quest::CQuestManager... Sep 19 11:25:14 :: <shutdown> Destroying building::CManager... Sep 19 11:25:14 :: <shutdown> Flushing TrafficProfiler... Sep 19 11:25:14 :: <shutdown> Canceling ReloadSpamEvent... Sep 19 11:25:14 :: <shutdown> regen_free()... Sep 19 11:25:14 :: <shutdown> Closing sockets... Sep 19 11:25:14 :: <shutdown> fdwatch_delete()... Sep 19 11:25:14 :: <shutdown> event_destroy()... Sep 19 11:25:14 :: <shutdown> CTextFileLoader::DestroySystem()... Sep 19 11:25:14 :: <shutdown> thecore_destroy()... SYSERR: Sep 19 11:25:14 :: pid_deinit: End of pid DB, syser and not giving syslog and the strange thing is that when I edit the item_name.txt item_proto.txt in the db, the item_proto does not change in mysql If you compiled the game and it gave you a connection error, the safest thing is that you have to change the ip in the config.cpp In the config.cpp file look for this line "The ip can vary depending on the files, but it almost always starts with 192. if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192 { Then replace the ip with 999.999 "Example" if (!strncmp(netip, "999.999", 7)) // ignore if address is starting with 192 { Save and compile again. This should solve your problem, I hope I helped you. Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 20, 2022 Author Share Posted September 20, 2022 (edited) 6 minutes ago, Developer1321 said: If you compiled the game and it gave you a connection error, the safest thing is that you have to change the ip in the config.cpp In the config.cpp file look for this line "The ip can vary depending on the files, but it almost always starts with 192. if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192 { Then replace the ip with 999.999 "Example" if (!strncmp(netip, "999.999", 7)) // ignore if address is starting with 192 { Save and compile again. This should solve your problem, I hope I helped you. The relevant line in my config.cpp; if (!strncmp(netip, "111.111", 7)) // ignore if address is starting with 192 this (netip, "999,999", 7) I will try as 57 minutes ago, Developer1321 said: If you compiled the game and it gave you a connection error, the safest thing is that you have to change the ip in the config.cpp In the config.cpp file look for this line "The ip can vary depending on the files, but it almost always starts with 192. if (!strncmp(netip, "192.168", 7)) // ignore if address is starting with 192 { Then replace the ip with 999.999 "Example" if (!strncmp(netip, "999.999", 7)) // ignore if address is starting with 192 { Save and compile again. This should solve your problem, I hope I helped you. Unfortunately it still gives the same error. No change Edited September 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Endymion 319 Posted September 20, 2022 Share Posted September 20, 2022 What about db’s syserr and syslog? Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 20, 2022 Author Share Posted September 20, 2022 4 minutes ago, Endymion said: What about db’s syserr and syslog? DB, syser and not giving syslog db.core; This is the hidden content, please Sign In or Sign Up 6 1 1 1 2 Link to comment Share on other sites More sharing options...
Sherer 480 Posted September 20, 2022 Share Posted September 20, 2022 Check if mysql is running. Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 20, 2022 Author Share Posted September 20, 2022 44 dakika önce, Sherer şunları söyledi: MySQL'in çalışıp çalışmadığını kontrol edin. How? Link to comment Share on other sites More sharing options...
Malin 8 Posted September 20, 2022 Share Posted September 20, 2022 service mysql-server status Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 20, 2022 Author Share Posted September 20, 2022 (edited) 13 dakika önce Malin şunları söyledi: hizmet mysql-sunucu durumu Edited September 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Developer1321 32 Posted September 20, 2022 Share Posted September 20, 2022 As you put some system that goes by db by chance? Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 20, 2022 Author Share Posted September 20, 2022 (edited) 14 minutes ago, Developer1321 said: Şans eseri db'den geçen bir sistem koyduğunuzda? No, I didn't add system. just "extern" "cryptopp", I did the "lzo" library upgrade (gcc9). My game was running fine on freebds9.2. After gcc9 upgrade, I switched to Freebds 11.4 and it gave this error. I didn't add any extra system plugins I've looked at other threads on the forum; for example It says change port 15000. I've tried. It didn't happen. I added BIND_IP and PUBLIC_IP to the CONFIGs and it still didn't work. Edited September 20, 2022 by 123fbalp123fb Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 21, 2022 Author Share Posted September 21, 2022 (edited) db.core ; Edited September 21, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Tekanse 532 Posted September 21, 2022 Share Posted September 21, 2022 Type bt full in gdb and show result. Click here to check out my paid services. Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 21, 2022 Author Share Posted September 21, 2022 (edited) 56 minutes ago, Tekanse said: Type bt full in gdb and show result. Edited September 21, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
123fbalp123fb 28 Posted September 22, 2022 Author Share Posted September 22, 2022 (edited) Hey. I did the build process with Freebds 13.0 and opened the game. Gene gave "connection-refused" error. this time db.core like this; Edited September 23, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now