splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

Spawn points not saving #277

Open j4cobgarby opened 4 years ago

j4cobgarby commented 4 years ago

If making a feature request, you should delete all the pre-filled text here. If reporting a bug, fill in the following sections:

Expected behavior

After adding all the spawn points I wanted around the map (making sure to add spawnpoints for CT and T at both bombsites,) those spawnpoints should be usable when the game begins.

Actual behavior

I instead spawn at the map's default spawn point, and the server console says:

L 08/30/2020 - 15:19:16: [retakes.smx] Had to resort to fallback spawn on de_inferno, site=0
L 08/30/2020 - 15:19:16: [retakes.smx] Failed to get any spawn on de_inferno, site=0, team=2

So, it seems that the spawnpoints weren't saved, even though I pressed save in the !edit menu. I followed the installation steps from the Github readme file. Do I need to install some database on the server?

Steps to reproduce

  1. Install the addon by copying the various files where the readme says to put them.
  2. Start the server.
  3. Connect to the server, and type !edit
  4. Fill in lots of spawnpoints, using the edit menu, at both bombsites, for both teams.
  5. Use the edit menu to save the spawnpoints.
  6. Leave the game and rejoin.
  7. Now, I don't spawn at any of the configured spawnpoints, I just spawn at the map's default spawnpoints.
splewis commented 4 years ago

You should check your error logs in addons/sourcemod/logs. There might be an error indicating if the write to the spawn config file failed.

j4cobgarby commented 4 years ago

Thanks for the response. One thing the error log file is saying is that the retakes config file (de_inferno.cfg) doesn't exist. Do I have to manually create this file?

splewis commented 4 years ago

You should not have to. But it's possible your server's file permissions are configured such that the game server doesn't have permissions to write the file - can you post the full log?

j4cobgarby commented 4 years ago

I'll try to send it in a while, for some reason I've just lost connection to my server, shouldn't take long