@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
How to get root of a compiled script?
-
So I compiled a script, and I am using "Path to project directory". This gives me a long path nested in folders from the original .exe, ie:
C:/Users/Administrator/Desktop/CP/appsremote/{ProjectName}/SIDa5fbb57a/engine/project.xmlAre there any baked-in functions to get the root:
C:/Users/Administrator/Desktop/CP/? -
@ev0 said in How to get root of a compiled script?:
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
Yes -

-
@sir-ydroidrrr said in How to get root of a compiled script?:
@ev0 said in How to get root of a compiled script?:
Are there any baked-in functions to get the root: C:/Users/Administrator/Desktop/CP/?
Yes -

Thank you for your response. This function only gives me the path to that xml file, however, when compiled I'm looking for a way to output to the .exe main folder that's generated.
-
-
@ev0, everything works, the screenshots of the compiled script are attached above
@GhostZ said in How to get root of a compiled script?:


-
@GhostZ said in How to get root of a compiled script?:
@ev0, everything works, the screenshots of the compiled script are attached above
@GhostZ said in How to get root of a compiled script?:


So strange, I can't replicate this. Thank you for verifying. I'll continue to try and break things.

