Author Topic: Game crashes after a few seconds of battling  (Read 1226 times)

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Game crashes after a few seconds of battling
« 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.

Offline Mr. AS

  • TheGloriousCarbideArstotzkanIronsideChaosProtocol
  • *
  • Posts: 7557
  • Rep: 19
    • robotarenagtm
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Game crashes after a few seconds of battling
« Reply #1 on: June 09, 2012, 02:48:37 PM »
Could it be that it doesn't like ampersands in names?
try naming black and blue, not black & blue
How you make Alarm Clock Pizza is:
Step 1: You buy an alarm clock from the store, and then you have to break it and put it in the sauce.
Step 2: Fold the sauce in 5 slices and put it in the dough.
Step 3: Paint the eggs with a pitcher of a clock showing what time you want to wake up and eat pizza for breakfast.
Step 4: Put the eggs in the dough.
Step 5: Make it flat into a round shape and draw the time you want on it.
Step 6: Put some old steel to prevent other peple from stealing it.
Step 7: Make it flat and cut into 60 slices 1 for each minute in 1 our.
Step 8: Put in the oven set the timer to 30048813.2884 seconds and put the temperature on 'Volcano' setting.
Step 9: If you think it is take to long, then get yor alarm clock and set it to now so that it will ring and you can take it out.
Step 10: Take it out uv the uvin wen it is redy and go to bed. In the morning eat pizza and also eat yor hands bi mistake.

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Game crashes after a few seconds of battling
« Reply #2 on: June 09, 2012, 02:53:54 PM »
Still crashes

Offline Mr. AS

  • TheGloriousCarbideArstotzkanIronsideChaosProtocol
  • *
  • Posts: 7557
  • Rep: 19
    • robotarenagtm
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Game crashes after a few seconds of battling
« Reply #3 on: June 09, 2012, 02:57:01 PM »
How you make Alarm Clock Pizza is:
Step 1: You buy an alarm clock from the store, and then you have to break it and put it in the sauce.
Step 2: Fold the sauce in 5 slices and put it in the dough.
Step 3: Paint the eggs with a pitcher of a clock showing what time you want to wake up and eat pizza for breakfast.
Step 4: Put the eggs in the dough.
Step 5: Make it flat into a round shape and draw the time you want on it.
Step 6: Put some old steel to prevent other peple from stealing it.
Step 7: Make it flat and cut into 60 slices 1 for each minute in 1 our.
Step 8: Put in the oven set the timer to 30048813.2884 seconds and put the temperature on 'Volcano' setting.
Step 9: If you think it is take to long, then get yor alarm clock and set it to now so that it will ring and you can take it out.
Step 10: Take it out uv the uvin wen it is redy and go to bed. In the morning eat pizza and also eat yor hands bi mistake.

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Game crashes after a few seconds of battling
« Reply #4 on: June 09, 2012, 02:58:54 PM »
Sure.  It's a clusterbot so I made two identicals:


Code: [Select]



    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)}))

Offline Wolfsbane

  • Heavyweight
  • Posts: 583
  • Rep: -5
  • Pokemens.
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: suicideladder
Re: Game crashes after a few seconds of battling
« Reply #5 on: June 09, 2012, 03:00:20 PM »
Sure.  It's a clusterbot so I made two identicals:


Code: [Select]



    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?
Man this needed an update. Anyways, Your local autistic idiot signing out.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Game crashes after a few seconds of battling
« Reply #6 on: June 09, 2012, 03:05:46 PM »
no. Do you have Drum.py?

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Game crashes after a few seconds of battling
« Reply #7 on: June 09, 2012, 03:16:07 PM »
no. Do you have Drum.py?


Yeah, and I've gotten it to work fine on two other bots.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Game crashes after a few seconds of battling
« Reply #8 on: June 09, 2012, 04:04:55 PM »
Redo the bindings maybe?

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Game crashes after a few seconds of battling
« Reply #9 on: June 10, 2012, 06:55:25 AM »
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.