foamyesque Posted May 17, 2017 Share Posted May 17, 2017 I had the CK crash on me while I was working on a script, leading to a total loss. I nuked the .pex and .psc files and started rebuilding it. This worked for a while, but then I started getting errors on trying to modify properties. Copied the code out into a scratch file, removed the .pex and .psc files again, and now I get: 1. "Cannot open store for class" on opening up the Papyrus manager;2. "Errors in script during load, script not added" for attempting to create a new empty script with the same name. In principle I could rename it, but it's referred to elsewhere and I'd like to avoid that. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted May 17, 2017 Share Posted May 17, 2017 You can't just delete a script file and start all over. Especially when using the CK to create and compile the script. If there is just one record that is referencing the script when you delete it, there will be problems as you have found out. If you can restore the old files then remove the reference to that script from all records in the CK. You can then safely delete it and start over. Your other solution is to use a third party utility like Sublime Text to write and then compile the script. That way you'll have the file in place when you load the CK. Just be sure to check the properties for each record using that script. Property data is stored on the record rather than the script and is one of the reasons that the CK is having a fit about the deleted script files. Link to comment Share on other sites More sharing options...
foamyesque Posted May 17, 2017 Author Share Posted May 17, 2017 It's not stored in any properties as far as I can find, and I removed it from the base object, which should've carried through to all the placed instances, and I've remarked out all references to it in other scripts that I have found. Still no joy. Blegh. Link to comment Share on other sites More sharing options...
TheDungeonDweller Posted May 18, 2017 Share Posted May 18, 2017 Problem is that if you even just load a save with the script, the properties are baked into it, so it's not wise to simply delete it. Changing property values doesn't fix that either. So I hope you are testing on a test save. Link to comment Share on other sites More sharing options...
foamyesque Posted May 29, 2017 Author Share Posted May 29, 2017 I ain't testing on a save at all: ~coc whiterun origin has been my best friend here :v Link to comment Share on other sites More sharing options...
Recommended Posts