gametechmods
Robot Arena => General Support => Topic started by: TriTon on October 22, 2009, 10:45:12 PM
-
I can finally AI bots now, but when i start a match facing the AIed bot, it crashes the game. Why does this happen?
-
If it crashes right when you start a match, it's probably an error in the bindings; make sure you have no typos or extra spaces.
-
Checked them and everything is fine. But still crashes.
-
If you download Philetbabe's AI chart, there's a list of possible errors that can lead to a RA2 crash while AIing.
I believe it is this:
https://gametechmods.com/uploads/files/AI-Chart-2.3.rar (https://gametechmods.com/uploads/files/AI-Chart-2.3.rar)
-
If it crashes right when you start a match, it's probably an error in the bindings; make sure you have no typos or extra spaces.
Haha no an error like this in the bindings crashes the whole game at start.
Triton it's either that the robot names are not the same (the names in the bot file and the name in Bindings.py) or you didn't wired your bot right.
-
The few things that I know of that leads to crashing while match starts
1. Naming error (different name in binding/actual bot)
2. Component error (using a component that you don't have)
3. You left F12 on
-
- unknown AI (you don't have the corresponding .py)
- open quote never closed in binding (most of the time : early crash)
- unmatched parenthesis (most of the time : early crash)
-(after countdown) undeclared variable or constant (case where you write your own AI)