Open saffronjam opened 2 weeks ago
Yeah, that sounds like it to me as well, and you're welcome to PR a fix up. I do have some uncommitted code for the websockets side because it is a WIP if you run into errors, compiling.
I wouldn't ask for someone go through setting up the whole modding environment to test 1-2 lines of code. If you don't and don't wish to, I can release a test build to see if that issue is resolved however.
I appreciate you bringing this to my attention though.
Actually, I'll get it... you just told me that getExtractor would be an issue too...
May you please test this build (Google Drive Link) for me and see if that issue clears up? Also, please confirm getExtractor, I would be most appreciated.
Sorry, Github only allows 25MB, and a full release build is ~150MB. https://drive.google.com/drive/folders/1jjzIE8eczElSeoCFCg0weJeJw7fALpnc?usp=sharing
Awesome, thanks for the really quick fix!
I have tried your updated version now and I no longer get the crash on /getProdStats
If you don't mind me asking, what about getExtractor, since it uses just about the same code?
Right sorry, I checked that too just forgot to include that in the reply.
/getExtractor
works great too :)
Hi!
Similar to the issue https://github.com/porisius/FicsitRemoteMonitoring/issues/80, I am getting a crash when accessing a route. For me the game crashes on
/getProdStats
.Here is the stack trace:
Looking through the code, it seems that an "ResourceClass" might be NULL:
The save was created prior to 1.0, so could this be a regression due to that?
Let me know if a simple "if null then continue" check should be sufficient and I can open a PR for it.