Another question... I hope I am not getting annoying.
When reading through some threads I get the idea that there is a limit to the length of a script. How many lines is the maximum? Do blank lines count? I ask cause on my new script I have over 1800 lines (including blank lines) and can easily go much higher. I just want to know how much more room I have to play with.
Thanks,
Kryose
Kryose's AI question(s) - ongoing
- ashara
- Posts: 170
- Joined: Wed Feb 06, 2008 11:12 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
I have no real clue about that, my biggest scripts are around 2000 lines. If you're using ScAIEdit there seems to be a size limitation, you will probably get some weird error messages when compiling once you reach that limit.
For PyAI Edit, the limit seems to be quite higher and the use of external scripts can help, bajadulce had some issues when making Entropy2, I don't know if it was a size limitation problem. He was able to put together 5 scripts for a race using external scripts.
For PyAI Edit, the limit seems to be quite higher and the use of external scripts can help, bajadulce had some issues when making Entropy2, I don't know if it was a size limitation problem. He was able to put together 5 scripts for a race using external scripts.
-
- Posts: 49
- Joined: Fri Apr 25, 2008 4:26 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Putting the kill_thread after the send_suicide 0 would have the same problems as my original question. The only difference would be that it would be able to run the send_suicide command before the thread is killed (both the end_suicide_loop and the train_units thread). Since it is killing the end_suicide_loop, it will never get to the goto end_suicide_loop and the AI will never do another suicide. This is what I can tell.
I have not yet had the opportunity to test my revision, but I will try to find some time tonight.
Thanks for your input.
I have not yet had the opportunity to test my revision, but I will try to find some time tonight.
Thanks for your input.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Who is online
Users browsing this forum: Bing [Bot] and 11 guests