OneLife
OneLife copied to clipboard
Windows local server sprite cache issue
Ok, so I created a local Git branch of the newest Steam version of AHAP. I ended up adding like 6 - 7 mods and doing the transitions and tweaking the objects. I removed the original gooseberry bush, cause one of the mods had a new version of the bush included. On the local test server, wrong sprites was showing for the gooseberry bush and the spider tree. I tried deleting the caches, as well as all the .db files, but everything is the same.
So I make a new branch of the fresh game install branch. Here I paste in all of the animations, sprites, sounds, objects and transitions directly from the branch where I was having problems. I choose to overwrite all the current files. When launching this local server, everything works as it is supposed to.
The server terminal printed something about the server invalidating the sprite caches after I switched to this branch. But on the previous first branch, the server did not invalidate the sprite caches, even after work in the editor.
Could you add a launch argument to the OneLifeServer EXE-file that would force the server to invalidate its previous caches on launch? Don't know why it didn't do it after a lot of work in the editor, but it is going to be impossible to be the content leader and testing new submitted mods if the local server refuses to load in new sprites.