Discussion of Inner Space
Moderators: Lavish Software Team, Moderators
-
Scoops
- GamingTools Subscriber
- Posts: 1
- Joined: Fri Feb 13, 2009 9:44 pm
Post
by Scoops » Tue Jul 08, 2014 12:05 pm
FYI -- if the script name ends in "iss" then Script:End and "endscript <scriptname>" cannot end the script (no error message, it just says "Ending <scriptname> failed" in the console. Consider this simplified example (save it as "bliss.iss"):
Code: Select all
function main()
{
echo ${Time}: Starting
do
{
echo ${Time}: Waiting 2 seconds, then ending...
wait 20
Script:End
}
while 1
}
function atexit()
{
echo ${Time}: Ending
}
It will run forever, never reaching atexit(). Attempting to use "endscript bliss" results in the message "Ending bliss failed" in the console.
-
Lax
- Owner
- Posts: 6634
- Joined: Fri Jun 18, 2004 6:08 pm
Post
by Lax » Tue Jul 08, 2014 2:22 pm
Thanks for the simple sample.
Inner Space build 6017, now the development build of Inner Space, corrects this issue. Right click IS, select Patcher, tick "Download development (test) patches" and then close and restart Inner Space to let it patch up.