MinetestForFun / server-minetestforfun-hungry_games

Repository of the subgame and mods of "MinetestForFun Hunger Games" server
https://www.xorhub.com
3 stars 1 forks source link

Problem with the spawn #105

Open Ataron opened 6 years ago

Ataron commented 6 years ago

I have tried to play on the hunger game server recently, but I couldn't. Indeed, I first spawned in 0 0 instead of spawning in the flying lobby. Then I tried to lauch the game with /vote, but I couldn't the server said : "Spawn position aven't been set yet for arena #0 (0, 0). The game can not be started at the moment." Therefore, it's currently impossible to play on the server since (atleast) some days ago.

Lymkwi commented 6 years ago

Thanks to that error message I should be able to retrace the issue back to where it originates and fix it. I'm investigating it now.

Lymkwi commented 6 years ago

The problem lies within the spawn position file located in the world directory. It seems not to be filled in correctly. Sadly, it's not a file in the repository. Perhaps @Darcidride should add it so we can inspect and fix it? I do not believe it contains sensitive data.

BetterToAutomateTheWorld commented 6 years ago

Hi,

Yes the spawn position file for Hunger games is broken since a long time, I will commit it to the repository...

But well, i can let you know that our repositories will soon move from Github, i guess you know why :) (maybe framagit, or a selfhosted solution when the big boy i've at my home will be done)

EDIT : image Ok, just generated from default options :/

BetterToAutomateTheWorld commented 6 years ago

Done. https://github.com/MinetestForFun/server-minetestforfun-hungry_games/commit/770622bbd12aab2e7d13c0158db47172ed2a6e92

Need to fill it now :) (unfortunately, i don't have in mind the lobby/spawn positions :/)

Lymkwi commented 6 years ago

Alright, I've found the source. Our spawns' list has merely been erased. That's why the recently added spawnings.spawn contains so few entries. I would advise @Darcidride to dig up our save files, or the current world directory, to find a file containing the old spawn locations. Otherwise he'll need to go ingame and set them again using /hg set player_<n>.

BetterToAutomateTheWorld commented 6 years ago

Ok, it's fixed, i need to push the new spawns config file to the repo and it will be good for the future corruption of this file... :)

The HG server is up and running again