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

Online Hoppin

  • I save GTM
  • *
  • Posts: 1885
  • Rep: 12
  • 1000% more toxic than TheRoboteer
  • 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,)}))

 
 
Ex-Admin, Ex-God :)

Things I did & done

Offline Guldenflame

  • This is very inconsistent
  • Posts: 1118
  • Rep: 7
  • The third most forgettable person here.
    • https://www.facebook.com/
  • Awards Donated money for hosting 2019 BOTM Winner
    • View Profile
    • Everything is too OP
    • Awards
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,)}))

Online Hoppin

  • I save GTM
  • *
  • Posts: 1885
  • Rep: 12
  • 1000% more toxic than TheRoboteer
  • 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
Ex-Admin, Ex-God :)

Things I did & done

Offline Badger

  • Permanent Artifact
  • Giga Heavyweight
  • Posts: 6156
  • Rep: 5
  • Mini golf champion, I got no drive
  • Awards Donated money for hosting 2019
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
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**

Offline KidDelta

  • Board game extraordinaire
  • Middleweight
  • Posts: 279
  • Rep: 2
  • So we back in the mine
    • View Profile
    • Awards
  • Discord: Kerb Stump#9896
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
The Pink Star Kaiser Incarnate of GTM

Offline Redalert

  • The inventor of Wandering Spinners and invincirammers
  • Ultra Heavyweight
  • Posts: 1351
  • Rep: -47
  • 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,)}))

  [ You are not allowed to view attachments ]  
  [ You are not allowed to view attachments ]

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