gametechmods
Robot Arena => General Support => Topic started by: Resetti's Replicas on June 09, 2012, 02:40:34 PM
-
My Black & Blue replica causes the game to crash after a few seconds when I try to run it as an AI. It appears to have no problems being human controlled. I've copied its binding from another robot that works fine, so I can't be that. The error I get is the same one when as I try to run an AI bot whose name isn't in the bindings, but I have put its name in and saved the file. Could it be that it doesn't like ampersands in names?
I know this is vague, but I'm hoping it's a common occurrence that I just have never heard about.
-
Could it be that it doesn't like ampersands in names?
try naming black and blue, not black & blue
-
Still crashes
-
Still crashes
can i see the bindings
-
Sure. It's a clusterbot so I made two identicals:
list.append(("Black and Blue Black","Drum",{'nose':math.pi*2,'invertible':True,'range':99,'radius':0.1,'topspeed':150,'throttle':130,'turn':60,'turnspeed':2,'weapons':(11,12,13)}))
list.append(("Black and Blue Blue","Drum",{'nose':math.pi*2,'invertible':True,'range':99,'radius':0.1,'topspeed':150,'throttle':130,'turn':60,'turnspeed':2,'weapons':(11,12,13)}))
-
Sure. It's a clusterbot so I made two identicals:
list.append(("Black and Blue Black","Drum",{'nose':math.pi*2,'invertible':True,'range':99,'radius':0.1,'topspeed':150,'throttle':130,'turn':60,'turnspeed':2,'weapons':(11,12,13)}))
list.append(("Black and Blue Blue","Drum",{'nose':math.pi*2,'invertible':True,'range':99,'radius':0.1,'topspeed':150,'throttle':130,'turn':60,'turnspeed':2,'weapons':(11,12,13)}))
shouldn't there be a space after list.append?
-
no. Do you have Drum.py?
-
no. Do you have Drum.py?
Yeah, and I've gotten it to work fine on two other bots.
-
Redo the bindings maybe?
-
Your bindings should be working. Check if both names (bot file name and bindings name) are exactly the same, including spaces, and check if you wired it correctly.
If it still doesn't work, redo bindings.