gametechmods

Robot Arena => General Support => Topic started by: madman3 on March 26, 2010, 04:42:46 PM

Title: BBEANS AI Arena Problem
Post by: madman3 on March 26, 2010, 04:42:46 PM
None of the arenas for BBEANS AI show up. I placed them in the folder but no joy. :frown:

Anyone know what I don't?
Title: Re: BBEANS AI Arena Problem
Post by: G.K. on March 26, 2010, 04:46:05 PM
Expand on the problem.
Title: Re: BBEANS AI Arena Problem
Post by: Badnik96 on March 26, 2010, 04:47:10 PM
did you put in the associated.py files?
Title: Re: BBEANS AI Arena Problem
Post by: Madiaba on March 26, 2010, 06:22:56 PM
The arena.py does for arenas, some of what a component.txt does for components; it makes it available for selection 'in-game'.
If you have a txt (but no actual gmf component), it will still make a box for it (even with no preview); but select it and 'crash'.
If you have an arena.py in the 'Arenas' folder, it will also make it show up for an option to choose.  So if the pys were in the right folder, they WILL be displayed for selection.

So what Badnik is suggesting is not bad advice at all to check; in fact probably is (at least part of) the issue.
 
Nice sleuthing, Badnik...
Title: Re: BBEANS AI Arena Problem
Post by: Badnik96 on March 26, 2010, 06:28:32 PM
Thanks, Mad. I learned it while working on the arena pack.
Title: Re: BBEANS AI Arena Problem
Post by: madman3 on March 27, 2010, 01:48:55 AM
I'll look to see if I haven't.

I do. Has all the PY files.
Title: Re: BBEANS AI Arena Problem
Post by: Avalanche on March 27, 2010, 05:38:30 AM
Did you drag them in?I copyed them in and it worked.
Title: Re: BBEANS AI Arena Problem
Post by: Madiaba on March 27, 2010, 07:07:12 AM
If the py is in the 'Arenas' folder, then it WILL display it for selection...(unless there is a bug/defect in the py, then the game will not load it).
Check:
-Is there an error in the py (did you or another edit them)?
-Are you in the right Robot Arena 2 directory (if there are more than one)?
-Are you checking in the right arena Section 'in game' for a specific arena?
Title: Re: BBEANS AI Arena Problem
Post by: Clickbeetle on March 28, 2010, 09:42:42 PM
When I put the AI folder from infiniteinertia AI into my other stock game, none of the arenas showed up even though the inf AI worked on its own, with a clean RA2.


It turned out it was a problem with Bindings.py.  All of the bots with Bee AI had 'whip':around (without quotes) instead of 'whip':"around" (with quotes).  Once I fixed that, the arenas showed up again.


But since none of the BBEANS AI have Bee or Whipper AI, it must be something else.  An easy way to find out whether the problem is with Bindings.py or not: replace the BBEANS Bindings.py with another Bindings.py (such as the stock one).  It doesn't matter if the AI doesn't work with it.  If the arenas show up again with a different Bindings, then you've at least identified the bad file.