Author Topic: Judge.py issues.  (Read 1372 times)

Offline Hoppin

  • I save GTM
  • *
  • Posts: 2017
  • Rep: 10
  • -rep TheRoboteer. "queermint"
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Discord: Hoppin#0013
Judge.py issues.
« on: March 27, 2019, 12:40:39 PM »
In need of help for 2 axe bots using Judge.py. Assuming it's a StartAngle issue, I just cant get it working.

Here's the ai, along with the bot files

list.append(("Spares","Judge",{'radius':1,'StartAngle':-math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':-math.pi*2,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))

 
 
Things I did & done

Offline Gulden

  • Am I still considered active?
  • Posts: 1330
  • Rep: 7
  • Currently trying to make a Riff in Time and Space.
    • https://www.youtube.com/c
  • Awards Donated money for site hosting 2019 BOTM Winner
    • View Profile
    • Awards
  • Discord: Gulden#1901
Re: Judge.py issues.
« Reply #1 on: March 27, 2019, 01:13:46 PM »
Still working on Silouhete, but here's Spares

Code: [Select]
    list.append(("Spares","Judge",{'radius':1,'StartAngle':+math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
I have several opinions.

Offline Hoppin

  • I save GTM
  • *
  • Posts: 2017
  • Rep: 10
  • -rep TheRoboteer. "queermint"
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Discord: Hoppin#0013
Re: Judge.py issues.
« Reply #2 on: March 27, 2019, 01:27:32 PM »
Still working on Silouhete, but here's Spares

Code: [Select]
    list.append(("Spares","Judge",{'radius':1,'StartAngle':+math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))

tysm dude <3
Things I did & done

Offline Badger

  • Permanent Artifact
  • Giga Heavyweight
  • Posts: 6318
  • Rep: 3
  • I wish to be with my people
  • Awards BOTM Winner Donated money for site hosting 2019
    • View Profile
    • Awards
Re: Judge.py issues.
« Reply #3 on: March 27, 2019, 02:41:00 PM »
Code: [Select]
    list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':math.pi*0.5,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)})) for Sillouhete. For future reference, if you can't get it working just try all the startangles between -math.pi*2 and math.pi*2, in increments of 0.5.

Sillhouette is a really cool bot btw, props to whoever made it. Glad your bot building skills are better than your spelling ability :rolleyes:
« Last Edit: March 27, 2019, 05:28:23 PM by Badger »
also lol at most toxic guy around calling others out on this sh**
Google Drive with my newer bots

Offline KidDelta

  • Treasure Sniper
  • Heavyweight
  • Posts: 557
  • Rep: 3
  • "To Comfort the Disturbed, and Disturb the Comfort
    • View Profile
    • Awards
  • Discord: X Æ A-12#8572
Re: Judge.py issues.
« Reply #4 on: March 27, 2019, 04:23:22 PM »
Code: [Select]
    list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':math.pi*0.5,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)})) for Sillouhete. If you can't get it working, just try all the startangles between -math.pi*2 and math.pi*2, in increments of 0.5.

Sillhouette is a really cool bot btw props to whoever made it. Glad your bot building skills are better than your spelling ability :rolleyes:
*Facepalms* Goddammit I knew I should of checked the Spelling
I shouldn't have come here

Offline Redalert

  • The inventor of Wandering Spinners and invincirammers
  • Ultra Heavyweight
  • Posts: 1349
  • Rep: -48
  • Yes, I’m an outsider.
    • View Profile
    • RedStorm's RA2 website
    • Awards
  • Discord: RedStorm
Re: Judge.py issues.
« Reply #5 on: April 02, 2019, 10:10:47 AM »
In need of help for 2 axe bots using Judge.py. Assuming it's a StartAngle issue, I just cant get it working.

Here's the ai, along with the bot files

list.append(("Spares","Judge",{'radius':1,'StartAngle':-math.pi/2,'MotorID':1,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))
list.append(("Sillouhete 2 X","Judge",{'radius':1,'MotorID':72,'StartAngle':-math.pi*2,'reload':5,'nose':math.pi,'range':99,'invertible':False,'topspeed':100,'throttle':100,'turn':60,'turnspeed':3,'weapons':(9,)}))

  [ Quoting of attachment images from other messages is not allowed ]  
  [ Quoting of attachment images from other messages is not allowed ]

I can't get the judge binding to work, but I remember 090901 mentioning an "electricHammer" binding that will work in its place.