DarkflameServer icon indicating copy to clipboard operation
DarkflameServer copied to clipboard

BUG: Disconnecting or Timeout from server leads to not being able to login again

Open Dragonissa opened this issue 4 years ago • 6 comments

  • [X] I have checked that this issue has not already been reported.

  • [X] I have validated that this issue is not a syntax error of either MySQL or SQLite.

  • [X] I have pulled the latest version of the main branch of DarkflameServer and have confirmed that the issue exists there.

Issue Description

If you disconnect or timeout from a server and try to login again it only leads to following error. There is also no error or information in the log saying that something didnt worked.

image

Reproduction steps

  • Connect to server
  • Logout
  • Try to log in again

Expected Behavior

Can log in

Environment

Operating System: Ubuntu 20.04.2 LTS Kernel: Linux 5.4.124-1-pve Architecture: x86-64

Dragonissa avatar Dec 09 '21 18:12 Dragonissa

it changes the login ip to 127.0.0.1 (and im joining a vps, so not localhost) for me but i have the same issue

SilberComic avatar Dec 09 '21 18:12 SilberComic

it changes the login ip to 127.0.0.1 (and im joining a vps, so not localhost) for me but i have the same issue

Youre right, i did noticed that before but thought its been like that the whole time. Guess its a client side issue then, that's bad.

Dragonissa avatar Dec 09 '21 18:12 Dragonissa

This has been a known issue for awhile. We are unsure what courses it; if it is something the server is involved with or not is unknown.

Wincent01 avatar Dec 09 '21 18:12 Wincent01

@Wincent01 any idea what a cause for frequent player timeouts could be?

Pr3roxDLC avatar Dec 09 '21 21:12 Pr3roxDLC

If you’re on a slower connection try disabling the anti-speedhack in your worldconfig.ini file and see if the situation improves. https://github.com/DarkflameUniverse/DarkflameServer/blob/82a1c8a765f73244c88bb088a16db8e57808c69a/resources/worldconfig.ini#L49

Wincent01 avatar Dec 09 '21 21:12 Wincent01

Im having this issue on a 60ms connection with disable_aint_speedhack set to 1

Pr3roxDLC avatar Dec 10 '21 17:12 Pr3roxDLC

Does this persist on main?

EmosewaMC avatar Oct 31 '22 04:10 EmosewaMC

This is due to how the client tries to find boot.cfg after you login. The issue is fixed by either using a packed client or by adding a boot.cfg into the res directory for unpacked clients. Won't fix on our and as this is a client bug.

EmosewaMC avatar Sep 25 '23 02:09 EmosewaMC

This issue is also solved by renaming the folder legouniverse.exe is in to client. This is the recommended fix as this is how the games folder structure was done during live.

EmosewaMC avatar Sep 25 '23 02:09 EmosewaMC