gametechmods
Robot Arena => General Support => Topic started by: WhamettNuht on October 04, 2008, 11:29:03 AM
-
Hi All
Im trying to AI my robots for a DSL Robot Wars video i'll be doing on You Tube, but when i've done all of the AI'ing, the game crashes.
I did it all corectly, names, instructions ect.
Can someone please help me!
(P.S., before you send me any guides on how to AI, i know already!)
Any helpers?
Thanks!
Whamett
-
Ah! Ah! It did the same to me yesterday! I lost my LW AI team, but the game works fine.
Just replace your AI folder with a fresh AI one. Just save whatever you can before.
I suppose it has something to do with the bindings.py.
-
Ok, ill try that now.
-
It works, but im not sure if i should ai again
-
It works, but im not sure if i should ai again
Most of the time when, after AIing, the game crashed, it's because of a bad file 'bindings.y'.
Most common errors :
-the kind of bot is not correct ( 'Spinner' not 'spiner' or 'spinner' : beware of case)
-if you use the word intertible, the 'True' which follows must start with 'T', n ot 't'
-bad indentation :To verify this, use a free editor like notepad++ wich understand python grammar and tells you about bad indentation, forgotten parenthesis, and so on.
If you want, send me by private message (if not to big) you file bindings.py, i will have a look during the weekend.
If the games crashed when you start event or exhibition (but start well otherwise), this is because of a misspelled name of bot or a bot you forgot to AIed.
-
I did it all correctly, cases, names, the lot!
-
I bet you didn't.......or it would work!! Check for a missing ' or just one letter out of place or missing will crash it.......if your bot name is "mean (two spaces) bot" and you type in "mean (one space) bot" it will crash. (hehehe......ask Starcore because I am bad about putting 2 spaces in my bot names)
-
I agree with ACAMS and Phil, that's the most likely scenario.
I would just add that you should edit python files with Python, specifically because of the internal checking abilties. It's free and easy to install. Just google it.
Actually W-nut, if you can send me your Bindings.py I'll look at it...
Edit: Phil offered the same...)
-
No, it doesnt crash when i start an exhibition match, it crashes when i start the game up, going through the UI splash screens.
-
W-nut, if certain things in your Binding.py are not right, it WILL crash at start up.
.
.
-
Oh, ok!
I didnt know that, thanks!