Author Topic: AIing problem  (Read 1312 times)

Offline TriTon

  • Super Heavyweight
  • Posts: 891
  • Rep: 0
  • Deal with it.
    • View Profile
    • Awards
AIing problem
« 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?

Offline The Ounce

  • *
  • Posts: 1256
  • Rep: 4
  • Up and about
    • View Profile
    • Awards
AIing problem
« Reply #1 on: October 22, 2009, 11:37:21 PM »
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.
Tournament Record: 94 Wins - 50 Losses
Challenge Record: 2 Wins - 2 Losses


Offline TriTon

  • Super Heavyweight
  • Posts: 891
  • Rep: 0
  • Deal with it.
    • View Profile
    • Awards
AIing problem
« Reply #2 on: October 22, 2009, 11:51:08 PM »
Checked them and everything is fine. But still crashes.

Offline The Ounce

  • *
  • Posts: 1256
  • Rep: 4
  • Up and about
    • View Profile
    • Awards
AIing problem
« Reply #3 on: October 22, 2009, 11:56:43 PM »
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
Tournament Record: 94 Wins - 50 Losses
Challenge Record: 2 Wins - 2 Losses


Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
AIing problem
« Reply #4 on: October 23, 2009, 02:29:07 AM »
Quote from: The Ounce;74440
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.

Offline 123savethewhales

  • *
  • Posts: 2923
  • Rep: 30
  • Friendship is Magic
  • Awards BOTM Winner
    • View Profile
    • Awards
AIing problem
« Reply #5 on: October 23, 2009, 02:32:45 AM »
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

Offline philetbabe

  • *
  • Posts: 497
  • Rep: 2
  • Drop D
    • View Profile
    • Awards
AIing problem
« Reply #6 on: October 23, 2009, 04:49:54 AM »
- 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)