cwtools / cwtools-vscode

A VS Code extension providing language server support for paradox script files using cwtools
Other
88 stars 12 forks source link

v0.10.25 is unable to resolve Stellalris installation path & wrong error message #103

Open David5631 opened 2 months ago

David5631 commented 2 months ago

v0.10.25 is unable to find the installation path for Stellaris. For Context: A while ago I had Stellaris installed on Volume (D:), but I reinstalled it on Volume (C:), I changed the installation path in the extensions options and it worked perfectly fine. Since v0.10.25, which I installed in early April 2024, everything got an error message planet classes, technology etc. I reinstalled CWTools and double checked the installation path, but I was only able to resolve the issue when I downgraded to v0.10.24 (which worked perfectly fine) and then upgrading it back to v0.10.25 (for some reason it worked, although I had to restart the extension because it couldn't finish loading the project). If it helps, I use CWTools for modding Hoi4 too and I had no such issue.

My second issue is that I get this error message: "[eventID] or an event it calls require the event target(s) root_scope but they are not set by this event or by all possible events leading here" at the beginning of a couple of events. This is just wrong, I am defining the event target globally in another event (in another file) which is fired by on_actions at the game start and with the event's trigger statement I am securing that it still exists. Currently, I just ignore it because it works perfectly fine, but the error message annoys me.