gametechmods
Robot Arena => General Support => Topic started by: GarvinTheGreat on June 09, 2011, 04:17:38 PM
-
So ive decided to take on AIing(I bet youre all shivering right now) Ive followed all the steps and my bot is in Starcore, but when I go to Exibition and I click the AI button(The computer looking thingy) the game crashes. Please help.
-
Could you show us the AI code, bot wiring, frontal position, smartzone, the bot you're trying to replace, and other important stuff like that?
I'm no expert, but I just might be able to help you out.
-
What guide to AI'ing did you follow? Also, provide the information WB asked for.
-
What guide to AI'ing did you follow? Also, provide the information WB asked for.
The one in the main page.
-
Post what wacky bob said, certainloy the bindings line as i imagine that will be what's wrong.
-
(https://gametechmods.com/uploads/images/53318AI.JPG)
This is the smartzone.
(https://gametechmods.com/uploads/images/86858AI 2.JPG)
The wiring. Everything is spelled right.
After that I exported it as Bot2. I went in the Robot Designs and copyed Bot2 and replaced it with Maelstrom(Since that was the exaple the tutorial gave) Then I renamed Bot2,Bot2.Maelstrom(As the tutorial said.)
Here is the folder.
(https://gametechmods.com/uploads/images/73922AI 3.JPG)
-
2 things.
- Maelstrom isn't anything like Walrus. Replace another Poker instead.
- The .Maelstrom at the end is probably the problem.
-
You're supposed to export your bot, and delete maelstrom and copy your bot in that folder and rename your bot's file to Bot 2 there.
Basically you are replacing the slot that bot took, with your bot.
And have you actually edited the bindings file? If you haven't, that would be another reason why it's crashing.
-
2 things.
- Maelstrom isn't anything like Walrus. Replace another Poker instead.
- The .Maelstrom at the end is probably the problem.
O.K. I got rid of the .Maelstrom and now I can click the computer thingy without the game crashing. BUT now when I try to fight Walrus and I click Start Game, The window Abnormal Runtime Error pops up.
-
Like Scorpion said, have you even edited the bindings? If you have, show us them. There's probably an unnecessary comma or something in there.
-
Like Scorpion said, have you even edited the bindings? If you have, show us them. There's probably an unnecessary comma or something in there.
What?
-
Besides renaming it, I guess that would only matter if you were putting the bots in a new team...
But anyway, Maelstrom doesn't have a smartzone. That could be messing it up. Try replacing Kraken or another Poker.
-
(https://gametechmods.com/uploads/images/76761Oops.JPG)
I grabbed Bot2 and replaced it with Kracken. Same thing. Should I delete or replace Maelstrom. Bot2 is still in Maelstroms spot.
-
Fight a normal AI robot that you haven't messed with yet. Does it still crash?
-
I applaud your patience Wacky Bob
-
You need to change the 'bindings' file in the AI folder. Open it and you'll see a load of nasty code. You need to replace the bot you've taken out with the bot you're putting in.
-
Where is the Bindings file and what do I do with it?
-
In the AI Folder. That's where the AI code is.
-
Windows cant open the file.
-
You open it with notepad. Its in the right click menu.
-
You open it with notepad. Its in the right click menu.
How do I bring it to notepad. Copy and paste didnt work.
-
This is how to find the Bindings:
Infogrames-Robot Arena 2-AI-Bindings.py. Make sure to right click it then it will say file opens with. Click Notepad.
-
This is how to find the Bindings:
Infogrames-Robot Arena 2-AI-Bindings.py. Make sure to right click it then it will say file opens with. Click Notepad.
Or wherever you have RA2 saved - AI - Bindings.py (Not everyone uses the disc version)
-
Windows cant open the file.
It's like trying to explain Final Fantasy 8... to a lemon.
-
Windows cant open the file.
It's like trying to explain Final Fantasy 8... to a lemon.
Ima be Tony the Tiger next.:)
-
Windows cant open the file.
It's like trying to explain Final Fantasy 8... to a lemon.
Well based on his avatar, we are
-
So how do I bring it to notepad.
-
right click on it and press 'open with Notepad++' or whatever...
-
right click on it and press 'open with Notepad++' or whatever...
If he can't understand this, we should just give up.
-
I right click it but open with notepad dosnt show up.
-
Do you even have notepad then.
Either try 'Edit with notepad++' or 'Open with...'
If not, yu is stoopid.
-
I have notepad.
-
I have notepad.
We're getting somewhere :D
Now try what i said.
-
RA2 directory - AI - Bindings.py (Right click it) - Open with - Browse - Look for Notepad and double click it - Press ok and voila! It's open, wow!
-
(https://gametechmods.com/uploads/images/7870AI 5.JPG)
What do I do to make it so that the game dosnt crash.
-
I cleaned this up a bit
YOU EITHER PROVIDE HELP OR DONT POST IN THIS SECTION AT ALL
-----------------------------------
Those Bindings are really messy and will give you a bit of a hard time..
You need to find the name of what robot you replaced inside that Bindings text file
Then replace that name (just the name) with the name of your robot
Then test..
If it works thats the first part done and we can move onto step 2 when you fix up your robots direction and strategy