EvoEsports / EvoSC

EvoSC is a modern server-controller for TM²/TM2020 running on PHP7.4
https://evoesports.gg
Other
64 stars 20 forks source link

Current map is not set. Exiting... #13

Closed Chris92de closed 5 years ago

Chris92de commented 5 years ago

Hello, I tried setting up evoSC, however I'm encountering the following issue. When I join the server or after a certain amount of time, evoSC will spit this error:

esc\Classes\Log::error(...): Current map is not set. Exiting... Attached is the log file, which seemingly changes the file name for the first map several times? 2019-06-13.txt

hpD-orso commented 5 years ago

I've have this problem since the beginning, too. i have to skip the actual map and after skip i can start the controler :-} my workaround

Chris92de commented 5 years ago

Okay, found the issue. It's due to the controller thinking there's only one map if the \<ident> field isn't filled out in the MatchSettings file.

araszka commented 5 years ago

Is it that there is no map specified in the match-settings or is there an empty entry thats causing it?

Chris92de commented 5 years ago

Basically, maps with an empty ident entry will cause issues, due to the MapController (when it first loads all maps on start of ESC) thinking there's several entries of the same map and just updating the file name for it.

Chris92de commented 5 years ago

Should be fixed with https://github.com/EvoTM/EvoSC/commit/9079c3f452744f481c5535892827571eb3acfb4f