index 15Test Team"Test"AI\spin.bmpRobots: 0 1 2 3 4 5Robot In Event: -10161600000100000true0false0-10 0 0 0 0 0 0 0 0 0 0 0 0 0 0000
list.append( ("Cobra!'s Robot", "Omni", { 'radius':1.2, 'nose' : math.pi, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (1) }) )list.append( ("Tank", "PusherPlus", { 'radius':1.2, 'nose' : math.pi, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (1) }) )
Robots: 0 1 2 3 4 5
Robots: 0 1
If you have only added 2 robots, then I think you should change the line here:Code: [Select]Robots: 0 1 2 3 4 5to this:Code: [Select]Robots: 0 1.At least, I think that's right. Try it out and see if it works.
Huh. I don't know then. Are there 2 team 15s or something?Can we see the whole teams.txt? It might be that you pasted the new team just slightly wrong or something like that.
http://www.datafilehost.com/d/3474956dhttp://speedy.sh/BXSbx/Robot-Wars-Beta.rarhttp://www.sendspace.com/file/v9hln1Pick your fave.
It's crashing on start up.
When I try to add both robots, the game crashes, so I take out one, it still crashes, so I replace the remaining robot with the robot I took out, and then it works. Which robot is which depends on which one I take out first, it's really strange.
Quote from: Cobra! on March 23, 2014, 04:05:56 PMIt's crashing on start up.What kind of dialog is Windows giving you when it crashes? ("stopped responding," "stopped working," "runtime error," etc.)
When does it crash? (first loading screen, second loading screen, or third loading screen)
Quote from: Cobra! on March 23, 2014, 04:05:56 PMWhen I try to add both robots, the game crashes, so I take out one, it still crashes, so I replace the remaining robot with the robot I took out, and then it works. Which robot is which depends on which one I take out first, it's really strange.What exactly are you doing? Hitting the undo button or manually changing things back?
list.append( ("Cobra!'s Robot", "Omni", { 'radius':1.2, 'nose' : math.pi, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (1,) }) ) list.append( ("Tank", "PusherPlus", { 'radius':1.2, 'nose' : math.pi, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (1,) }) )
The first two questions tell me that you have a syntax error in one of the python files found in the AI folder. The third question tells me that the error is one of the changes made inside of Bindings.py.With that in mind, I looked up at the bindings that you posted and immediately saw the mistake (I didn't see them the first time I scanned this thread). In python, tuples need a comma after the first item so that they are interpreted as more than one item. As such, your bindings should look like this:Code: [Select] list.append( ("Cobra!'s Robot", "Omni", { 'radius':1.2, 'nose' : math.pi, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (1,) }) ) list.append( ("Tank", "PusherPlus", { 'radius':1.2, 'nose' : math.pi, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 110, 'weapons': (1,) }) )