th3-z / kf2-magicked-admin

:spider: Mutator-free management, statistics, and in-game bot for ranked Killing Floor 2 servers
https://kf2-ma.th3-z.xyz
MIT License
32 stars 7 forks source link

[BUG] #189

Closed OhMoonID closed 3 years ago

OhMoonID commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce run the exe first time

Expected behavior Not working.

Screenshots image

Desktop (please complete the following information):

Server (please complete the following information):

th3-z commented 3 years ago

Are you using custom maps? Try launching kf2-ma while a stock map is loaded.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, July 7th, 2021 at 5:09 AM, OhMoonID @.***> wrote:

Describe the bug A clear and concise description of what the bug is.

To Reproduce run the exe first time

Expected behavior Not working.

Screenshots image

Desktop (please complete the following information):

  • OS: win 10
  • KF2-MA version: 0.1.6
  • Language: en_GB

Server (please complete the following information):

  • Mods: no
  • Web admin resource modifications: no
  • Applied web-admin patches: yes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

OhMoonID commented 3 years ago

no custom maps image

th3-z commented 3 years ago

Looks like the same issue as #184

He fixed it by reinstalling the server and I added a fix to master that never got tested. Validate your server with steamcmd or try running master instead.

OhMoonID commented 3 years ago

after validate image

sorry "run master instead" ? all i see is 0.1.6 binary

th3-z commented 3 years ago

the master branch has a few commits that aren't in 0.1.6, including one that targetted a similar issue. If you download the source code and run it, maybe it will work.

There are some instructions for running the source code here but they are for Linux. I think the only difference on Windows is that to compile the locale files you need to use pybabel compile -d locale -D "magicked_admin" instead of make i18n-compile.

th3-z commented 3 years ago

Maybe you can investigate if I explain to you what exactly is causing the crash here. kf2-ma is trying to read the 'Map' dropdown on the 'change map' page, more specifically it is trying to find which map is selected by default when the page is loaded (should be the currently loaded map). However it isn't finding any map to be selected by default.

For example when I load this page on my server I can see that 'Elysium (kf-elysium)' is selected already. In your case it isn't finding anything to be selected. This is known to happen when the maplists are misconfigured.

Post a screenshot of your 'change map' page with the current map visible at the top right, maybe it will illuminate the issue.

OhMoonID commented 3 years ago

Thank you. That was it. No active maps in list. No idea how this happened. Re-do my configs and all working.

th3-z commented 3 years ago

Okay, good to know. To be clear, is there a possibility that the configuration issue was caused by a past configuration edit you made or was the server 100% stock as far as you know? Since you are the second person to report this without a custom map being the cause I'm wondering if this is a config issue that TW shipped.

OhMoonID commented 3 years ago

Stock settings. Only changed server ports and name.