RDNWiki: DOWScar/AI/Debugging ...

RDN Wiki Home | Page Index | Recent Changes | Recently Commented | Users | Registration | Login:  Password:  

AI Abilities


Contents

Introduction


This section will explain about debugging the AI's expansive amout of possible errors.

AI-related errors


Definitions, Scenerios, and Solutions for the three types of AI-related errors:

1) Stagnant AI 


Stagnant AI (AI that at game start does nothing)

Files that could cause problem:

Solution(s):

2) AI Execution Error


AI Execution Error (when playing game, all of a sudden game abruptly pauses with the text “AI Execution Error” – game can be unpaused at this point but AI will cease preforming any new operations apart from ones executed before error took place).

Possible scenarios:

a) AI builds a unit and when unit is created from building, AI Execution error occurs.
Files that could cause problem:

Solution(s):

b) Near gamestart, AI Execution error occurs.
Files that could cause problem:

Solution(s):

c) Sometimes during the game, an AI Execution error abruptly occurs. There is no indication from the console what the error is.
Files that could cause problem:

Solution(s):

3) Crash-To-Desktop


Crash-To-Desktop (when playing game, all of a sudden it abruptly drops to desktop with an error. Due to the fact the game dropped to desktop, it may be less apparent what happened.)

Possible scenarios:

a) AI builds a unit and when unit is created from building, game immediately crashes.
Files that could cause problem:

Solution(s):

b) AI builds a unit and when unit engages in combat or activates its own script during combat the game immediately crashes.
Files that could cause problem:

Solution(s):

c) AI builds an upgrade or addon that isn't one and game immediately crashes.
Files that could cause problem:

Solution(s):

d) Game crashes even before you get to play.
Files that could cause problem:

Solution(s):

e) Game crashes but only after the first 1–10 seconds of play.
Files that could cause problem:

Solution(s):

Links


AI Home
SCAR Home
Wiki Home

End of Page


Referring pages: DOWScar/AI

There are no files on this page. [Display files/form]
There is no comment on this page. [Display comments/form]