I am running a private server, and I have encountered an issue where the badges on creeps are no longer showing. Every creep has a black circle in the middle, and this makes it impossible to distinguish your creeps from other user's. Is there a way to refresh or regenerate a cache of some sort that might be holding this image data? The badges show on the world map when you select "Owner control level", so the images exist, they are simply missing on the creeps and the spawn and the room controller, etc.
This server is rather new and I've set it up to use mongoDB and Redis instead of the default database. I mostly followed this tutorial: https://docs.screeps.com/contributed/ps_ubuntu.html. I think I may have caused this issue when I renamed db.json
to db.json.old
. Since I am using mongoDB I assumed this file was not used, so I was testing if the server would start without finding the file. The server did not start and a new db.json
was generated. I promptly replaced db.json
with the old one and restarted the server, and now this problem has arisen. Pretty sure my messing with db.json
caused something to go wrong with the images. How can I fix this without regenerating the world?
Also, I found this error in the console SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse () at :15974:45 at () at make (/home/screeps/.npm/_npx/829/lib/node_modules/screeps/node_modules/@screeps/driver/lib/runtime/make.js:142:34)
To clarify
I am using the steam client application when connecting to my server.
This is a screenshot of what my problem looks like: