Author Topic: Judge.py not working on a bot  (Read 1270 times)

Offline kix

  • RR2 dev
  • *
  • Posts: 3452
  • Rep: -3
  • H
    • View Profile
    • Awards
Judge.py not working on a bot
« on: September 27, 2018, 10:04:58 AM »
So to help a host out, i decided to ai my own entrant. Used Judge.py, and a line from dsl replica
Bot retracts the hammer, but never fires/self-rights it.
What did i do wrong?
AI Line:
    list.append(("Poison Berry","Judge",{'MotorID':85,'StartAngle':math.pi*2,'reload':3,'nose':math.pi*2,'radius':0.5,'topspeed':100,'throttle':100,'turn':60,'turnspeed':2.5,'weapons':(88,)}))
BOT:

Lol, my 2000th post, yay

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 not working on a bot
« Reply #1 on: September 27, 2018, 10:07:54 AM »
Your start angle is probably wrong. Try other values, starting at -math.pi*2
also lol at most toxic guy around calling others out on this sh**
Google Drive with my newer bots

Offline kix

  • RR2 dev
  • *
  • Posts: 3452
  • Rep: -3
  • H
    • View Profile
    • Awards
Re: Judge.py not working on a bot
« Reply #2 on: September 27, 2018, 11:39:21 AM »
Nope, doesnt work. One thing i noticed is that no matter what angle, axe retracts. Also bot works perfectly fine with frenzy/THZ.py

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Judge.py not working on a bot
« Reply #3 on: October 01, 2018, 01:07:16 AM »
Also bot works perfectly fine with frenzy/THZ.py

In that case it's probably a smart zone naming issue.  Frenzy/THZ.py use a smart zone named "whipzone"; Judge uses one named "weapon".

If that's not the problem, try increasing 'tolerance' in Bindings, or 'reload' if it is a slow hammer.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings