infinite loop detection
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 327
- Joined: Tue, 9. Dec 03, 00:44
infinite loop detection
i just want to say thanks again to Egosoft, you guys are great!
now that that is out of the way, i noticed the news release stated the newly updated script editor will have an "infinite loop detection". well i went into the editor and havn't found that option. i like several others installed the Station Accountant script that is stuck in an infinite loop and would like a way to turn it off without having to start a new game.
now that that is out of the way, i noticed the news release stated the newly updated script editor will have an "infinite loop detection". well i went into the editor and havn't found that option. i like several others installed the Station Accountant script that is stuck in an infinite loop and would like a way to turn it off without having to start a new game.
Last edited by n0tsane on Sat, 17. Jan 04, 23:57, edited 1 time in total.
-
- EGOSOFT
- Posts: 5116
- Joined: Wed, 6. Nov 02, 20:31
-
- Posts: 327
- Joined: Tue, 9. Dec 03, 00:44
-
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
-
- EGOSOFT
- Posts: 5116
- Joined: Wed, 6. Nov 02, 20:31
-
- Posts: 327
- Joined: Tue, 9. Dec 03, 00:44
well... you see... in an attempt to get rid of the script i was able to delete it from the list of scripts, but its still running. i was told that if i reinstalled the script it would have 2 of them running. i'm worried that if i do install a second one i'll only be able to remove that second one and still have my problem with the first one.
-
- EGOSOFT
- Posts: 5116
- Joined: Wed, 6. Nov 02, 20:31
That's the danger of using unsupported features...
if the script runs on a ship then you can stop it by giving this ship a new command - if it does not I fear your game is screwed - that's unless someone else has a working workaround for this problem...
if the script runs on a ship then you can stop it by giving this ship a new command - if it does not I fear your game is screwed - that's unless someone else has a working workaround for this problem...
BurnIt!
In der Ruhe liegt die Kraft. / In peace lies strength.
In der Ruhe liegt die Kraft. / In peace lies strength.
-
- Posts: 327
- Joined: Tue, 9. Dec 03, 00:44
well i did reinstall the script and i still dont see anything of what your discribing. and it dosn't apear to be running two scripts from what i can see.
thanks for your help. hopefully someone can find a way to stop this script.
again its the StationAccountant v2 found at http://xscripting.com/
thanks for your help. hopefully someone can find a way to stop this script.
again its the StationAccountant v2 found at http://xscripting.com/
-
- Posts: 327
- Joined: Tue, 9. Dec 03, 00:44
-
- Posts: 671
- Joined: Mon, 3. Nov 03, 23:07
Re: infinite loop detection
Thats why I was hesitant to try such an invasive script, especially when so little is known about the editors capabilities.n0tsane wrote: i like several others installed the Station Accountant script that is stuck in an infinite loop and would like a way to turn it off without having to start a new game.
Maybe theres a way to write a "kill script" command that disables a selected running script? run it -> select script/process -> terminated.
I believe there is now a version of the script that runs just once which might be a better option, but for now I'm just going to stick to fine-tuning my factories economy buy/sell prices. Set it up so all the money eventually finds their way into the hands of the Power Plants or something like that. Unfortunatly so far the Crystal Fabs still make a profit as well, due to costing 1200 to make, but a minimum sell of 1432.
-
- Posts: 645
- Joined: Wed, 3. Dec 03, 03:10
To be safe, always run a script on an object that you can safely destroy. I believe there is a script wrapper that uses asteroids for this purpose at www.xscripting.com .
-
- Posts: 17
- Joined: Wed, 6. Nov 02, 20:31
Yes that reminds me to try and destoy the ships that I suspect are running crappy code (causing my game to a crawl of around 10 fps).Mehrunes wrote:To be safe, always run a script on an object that you can safely destroy. I believe there is a script wrapper that uses asteroids for this purpose at www.xscripting.com .