Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache issue when using exe command #1

Closed
KSAMissionCtrl opened this issue Feb 1, 2020 · 2 comments
Closed

Cache issue when using exe command #1

KSAMissionCtrl opened this issue Feb 1, 2020 · 2 comments
Labels

Comments

@KSAMissionCtrl
Copy link
Owner

if using exe to run a file once without loading it onto the vessel, the first time you use it for a file it runs as expected. But if you change the contents of the file and send the exe command again the bootscript seems to run the file as it was originally loaded and the changes are not picked up. This behavior using runpath is not seen from the command line.

Need to investigate if it is the same in KSP v1.8.1

AFCS/boot.ks

Line 120 in 20dec96

runpath("0:" + cmd[1] + ".ks").

The code calls directly from the Archive so no idea why it would not pick up the edited file

@KSAMissionCtrl
Copy link
Owner Author

confirmed still an issue even in KSP v1.9.1. Asked for more info on reddit

@KSAMissionCtrl
Copy link
Owner Author

Known issue - see first note on this page.

this also applies to cmd if you load a file of the same name. So key is to change file names as needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant