Skip to content

retakes.cfg location not installing correctly #261

@wombastisch

Description

@wombastisch

Hey I'm using debian with the joedwards32 docker image to run cs2 servers.
While currently installing a new Server I found a weird bug.

I have the plugin in the plugin/disabled folder and load it up when needed via CustomCommands.
While loading the first time:

cs2womb       | [Retakes 3.0.3 - Server] Retakes configuration executed
cs2womb       | exec: couldn't exec '{*}cfg/cs2-retakes/retakes.cfg', unable to read file

Then checked the folder structure and the full cfg/cs2-retakes/retakes.cfg was placed in the csgo/addons/ folder and not in the csgo/cfg folder so after the first install the tree looked like this:

├── cfg
│   └── cs2-retakes
├── counterstrikesharp
│   ├── api
│   ├── bin
│   ├── configs
│   ├── dotnet
│   ├── gamedata
│   ├── lang
│   ├── logs
│   ├── plugins
│   ├── shared
│   └── source
└── metamod
    └── bin

Moved that folder in the csgo/cfg folder and deleted the old one in addons/ & started the Server up again:

cs2womb       | [Retakes 3.0.3 - Server] Created retakes.cfg file
cs2womb       | [Retakes 3.0.3 - Server] Retakes configuration executed
cs2womb       | execing cs2-retakes/retakes.cfg`

Tada addons/cfg/cs2-retakes is back :D
So the plugin behaved like:

  • the .cfg file is not in the folder addons/cfg
  • recreated it in the addons/cfg/cs2-retakes folder
  • executed the file in the correct path (csgo/cfg/cs2-retakes/retakes.cfg)
  • started up

Is this somehow a problem with the location ? (counterstrikesharp/plugins/disabled)
But for me it seems that the creation of the cfg file is somehow corrupt on my end :s

Hope its detailed enough - can provide more if needed.
Best regards :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions