ExpireServerInfo()
would be called, e.g. when someone else joins.
grep ^exp_ ~/.local/share/ddnet
we just tell them we can't helpIRunner
. It would probably be more readable without the templates, using a factory function to create runners at runtime.IRunner
. It would probably be more readable without the templates, using a factory function to create runners at runtime. IRunner
interface with the correct implementation?IJob
sskins.cpp
in 5092 for that, it requires touching every single place a http job is currently usedCHttp
pointer to anywhere that was using the engine to currently dispatch the jobIJob
interface, but achieves the dispatch without template magic, though that means dynamically assigned ids in that case#else
doing at the end btw?#else
doing at the end btw? (gdb) where
#0 __GI___libc_write (nbytes=24, buf=0x7fffe00159c3, fd=13) at ../sysdeps/unix/sysv/linux/write.c:26
#1 __GI___libc_write (fd=13, buf=0x7fffe00159c3, nbytes=24) at ../sysdeps/unix/sysv/linux/write.c:24
#2 0x00007ffff7c4f663 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.3
#3 0x00007ffff7c3f2fb in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.3
#4 0x00007ffff7c42c06 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.3
#5 0x00007ffff7c42d37 in BIO_write () from /lib/x86_64-linux-gnu/libcrypto.so.3
#6 0x00007ffff7288e5e in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#7 0x00007ffff728b69b in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#8 0x00007ffff725f32f in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#9 0x00007ffff7299508 in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#10 0x00007ffff728c57b in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#11 0x00007ffff728df19 in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#12 0x00007ffff72683fc in ?? () from /lib/x86_64-linux-gnu/libssl.so.3
#13 0x00007ffff726ecb7 in SSL_read () from /lib/x86_64-linux-gnu/libssl.so.3
#14 0x00007ffff7b412bf in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
#15 0x00007ffff7b2ecf6 in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
#16 0x00007ffff7b24dfa in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
#17 0x00007ffff7b08e28 in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
#18 0x00007ffff7b0d6b8 in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
#19 0x00007ffff7b0f3be in curl_multi_perform () from /lib/x86_64-linux-gnu/libcurl.so.4
#20 0x00007ffff7aebe53 in curl_easy_perform () from /lib/x86_64-linux-gnu/libcurl.so.4
#21 0x0000555555693b15 in CHttpRequest::RunImpl (this=0x555555bd5410, pUser=0x7fffe000b0f0) at /media/server/gameserver/src/engine/shared/http.cpp:270
#22 0x000055555569342b in CHttpRequest::Run (this=0x555555bd5410) at /media/server/gameserver/src/engine/shared/http.cpp:154
#23 0x0000555555697e77 in CJobPool::RunBlocking (pJob=0x555555bd5410) at /media/server/gameserver/src/engine/shared/jobs.cpp:118
#24 0x000055555568fc9d in IEngine::RunJobBlocking (pJob=0x555555bd5410) at /media/server/gameserver/src/engine/shared/engine.cpp:118
#25 0x000055555558437e in CRegister::CProtocol::CJob::Run (this=0x555555bb0300) at /media/server/gameserver/src/engine/server/register.cpp:414
#26 0x0000555555697e77 in CJobPool::RunBlocking (pJob=0x555555bb0300) at /media/server/gameserver/src/engine/shared/jobs.cpp:118
#27 0x0000555555697b78 in CJobPool::WorkerThread (pUser=0x5555558a3dc0) at /media/server/gameserver/src/engine/shared/jobs.cpp:73
#28 0x00005555556be99e in thread_run (user=0x5555558a57d0) at /media/server/gameserver/src/base/system.cpp:725
#29 0x00007ffff7461b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#30 0x00007ffff74f3a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)
logs:
2023-08-26 07:10:37 I chat: *** 'wail' has left the game
2023-08-26 07:10:37 I game: leave player='0:wail'
2023-08-26 08:38:27 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error: The requested URL returned error: 502
2023-08-26 08:38:27 E register/6/ipv4: error response from master
2023-08-26 09:42:44 I server: player has entered the game. ClientID=0 addr=<{[hidden]}> sixup=0
2023-08-26 09:42:44 I chat: *** 'Aesir' entered and joined the game
2023-08-26 09:42:44 I ddnet: cid=0 version=17021
2023-08-26 09:42:44 I sql: load player data done on read database 0
2023-08-26 09:42:44 I sql: get points done on write database 0
2023-08-26 09:45:18 I chat: *** 'Aesir' has left the game
2023-08-26 09:45:18 I game: leave player='0:Aesir'
common error?