PyAI bug hunting
- poiuy_qwert
- Posts: 548
- Joined: Sun Jan 13, 2008 2:14 am [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
- poiuy_qwert
- Posts: 548
- Joined: Sun Jan 13, 2008 2:14 am [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
[quote name='Archon_Wing' post='7898' date='Oct 27 2009, 04:40 PM']I did a little test with the extra info in the newest version; may have found problem.[/quote]
[quote name='JH24' post='8054' date='Nov 8 2009, 02:19 AM']I had the same problem Archon_Wing above described. When I opened my AIscript.bin Friday evening it gave a strange error about information not being supported and being ignored. My labels were gone and the Protoss AI gave the same error as Archon-Wing showed.[/quote]
Ok well I think Im getting close to finding this bug. It seems the problem is either when saving or loading the extra information from the aiscript.bin, and should be easier to find then a problem when generating the extra info. If anyone can supply a smaller code that reproduces this problem it would make everything easier. Thanks!
[quote name='bajadulce' post='8726' date='Dec 28 2009, 05:59 PM']When converting Mesk's wacky script, PyAI reported a warning that some parts of the script were run before town management, but were in fact not the case.[/quote]
Yeah this is because PyAI doesn't actually follow goto's and other jumps it just goes line by line through the file, it just knows it found a command before it found the start_town command. I'll look into making the detection better if i can, though I might just disable the warning when the first command is a goto.
[quote name='JH24' post='8054' date='Nov 8 2009, 02:19 AM']I had the same problem Archon_Wing above described. When I opened my AIscript.bin Friday evening it gave a strange error about information not being supported and being ignored. My labels were gone and the Protoss AI gave the same error as Archon-Wing showed.[/quote]
Ok well I think Im getting close to finding this bug. It seems the problem is either when saving or loading the extra information from the aiscript.bin, and should be easier to find then a problem when generating the extra info. If anyone can supply a smaller code that reproduces this problem it would make everything easier. Thanks!
[quote name='bajadulce' post='8726' date='Dec 28 2009, 05:59 PM']When converting Mesk's wacky script, PyAI reported a warning that some parts of the script were run before town management, but were in fact not the case.[/quote]
Yeah this is because PyAI doesn't actually follow goto's and other jumps it just goes line by line through the file, it just knows it found a command before it found the start_town command. I'll look into making the detection better if i can, though I might just disable the warning when the first command is a goto.
- poiuy_qwert
- Posts: 548
- Joined: Sun Jan 13, 2008 2:14 am [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
What OS?
Is it an error from Window's or PyAI? PyAI would say "has encountered an unknown internal error" and have more info that I would love to have. You can also check in PyMSLibsstdeo.txt after the crash to possibly get more info.
If those don't have anything then Im not sure i'll be able to help unless you download and the source version of PyMS and try that.
Is it an error from Window's or PyAI? PyAI would say "has encountered an unknown internal error" and have more info that I would love to have. You can also check in PyMSLibsstdeo.txt after the crash to possibly get more info.
If those don't have anything then Im not sure i'll be able to help unless you download and the source version of PyMS and try that.
- Taranok
- Posts: 256
- Joined: Tue Sep 07, 2010 9:41 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
Windows XP, using the exe's.
I have since then used it since the last time the error occurred so I don't know if stdeo.txt will help.
I'm not sure but it also seems more likely to crash when the MPQs(BrooDat, StarDat, etc) are being used, like if I'm also running Starcraft or ScmDraft. But it will crash also if they aren't being used.
I have since then used it since the last time the error occurred so I don't know if stdeo.txt will help.
I'm not sure but it also seems more likely to crash when the MPQs(BrooDat, StarDat, etc) are being used, like if I'm also running Starcraft or ScmDraft. But it will crash also if they aren't being used.
- poiuy_qwert
- Posts: 548
- Joined: Sun Jan 13, 2008 2:14 am [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
[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
Return to “PyMS (poiuy_qwert's complete modding suite)”
Who is online
Users browsing this forum: No registered users and 1 guest