The Great Big All-In-One Help Thread
- 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
Narrow down you'r search. Start by putting one debug at the top of every script, find out which script causes it, then go about checking the blocks in that script. Another way to narrow it down, though you probably have tried this, is to look at what the AI is doing before your AI freezes, you might be able to figure out generally where the problem occurs.
-
- Posts: 36
- Joined: Fri May 11, 2007 12:56 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
- 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
-
- Posts: 32
- Joined: Sat Mar 15, 2008 8:50 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
I had to figure that out a short while ago when I wanted to try a game with AI allies, without the random starting locations of Top Vs. Bottom (ironically named, since you can't actually specify top vs bottom on shared base maps etc
). It's a bit of a pain, but doable, though annoying to have to change the map itself when you want to have, say, another human playing instead of one of the AIs.

-
- Posts: 329
- Joined: Wed May 16, 2007 5:57 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
-
- Posts: 2
- Joined: Sun Apr 20, 2008 11:06 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
hey guys I tried your tutorial but i get errors...
(20) Error! Unit identifier 'reaver' found at parameter 2 but undeclared.
I get this error (reaver changes to the proper name) for all the units, buildings, and upgrades. i would really like to get into AI scripting, but can not do so without some help. what am i doing wrong and what should i do to correct this?
(20) Error! Unit identifier 'reaver' found at parameter 2 but undeclared.
I get this error (reaver changes to the proper name) for all the units, buildings, and upgrades. i would really like to get into AI scripting, but can not do so without some help. what am i doing wrong and what should i do to correct this?
[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: No registered users and 1 guest