Author Topic: SnS AI not working properly.  (Read 1451 times)

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
SnS AI not working properly.
« on: March 10, 2010, 02:53:48 PM »
i have been getting into AIing and found no trouble AIing flippers and rammers, but when i AI FBS magnet with the whipper.py, it will not spin around when an enemy is in the smartzone.
another bot from a friend, using the same attacking way that arc pounder has, does barely anything. it strangely wobbles towards the other bot to... just go on with being sluggish. it doesn't do anything at all further.

this is all in stock. here are the AI lines:
    list.append( ("FBS Magnet 3", "Whipper", { 'nose' : math.pi, 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':4.5, 'turn':80, 'topspeed':17.0, 'throttle': 110, 'weapons':(14,34,13,85,4,62,58,2,) }) )
    list.append( ("M.A.S.H.E.D. v2", "Whipper", { 'nose' : math.pi, 'invertible': True, 'whip': "around", 'zone': "swing", 'turnspeed':3.5, 'turn':80, 'topspeed':15.0, 'throttle': 110, 'weapons':(14,34,13,8,) }) )

please help me out with this.
"Always be yourself, unless you're a loser"


Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: SnS AI not working properly.
« Reply #1 on: March 10, 2010, 03:16:51 PM »
Use FBS_2.py.

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #2 on: March 10, 2010, 03:19:10 PM »
my stock does not have FBS_2.py
if i know where to get it, it would help.
"Always be yourself, unless you're a loser"


Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: SnS AI not working properly.
« Reply #3 on: March 10, 2010, 03:27:06 PM »
As far as I know, it's somewhere in here:
https://gametechmods.com/forums/index.php/topic,1103.105.html

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #4 on: March 10, 2010, 03:51:12 PM »
got the AI. was in a whole pack with .py files. FBS magnet worked nicely. my friends bot did know how to give a swing at a few points but further remained the same... with the FBS_2.py.
"Always be yourself, unless you're a loser"


Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: SnS AI not working properly.
« Reply #5 on: March 10, 2010, 09:02:17 PM »
Whipper AI needs smartzones to work, sadly...
Put this onto your signature if you were part of this crappy fad in '03.

Offline JoeBlo

Re: SnS AI not working properly.
« Reply #6 on: March 10, 2010, 09:18:13 PM »
did you name it Whipzone ? or something else ?

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: SnS AI not working properly.
« Reply #7 on: March 11, 2010, 08:54:38 AM »
It's "whipzone" with no capitalized letter :P

Anyways, FBS.py pwns all.


Offline JoeBlo

Re: SnS AI not working properly.
« Reply #8 on: March 11, 2010, 10:00:38 AM »
is it even case sensitive ? im sure I always use the caps anyway?

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #9 on: March 11, 2010, 11:06:59 AM »
It's "whipzone" with no capitalized letter :P

Anyways, FBS.py pwns all.
don't have that one.

did you name it Whipzone ? or something else ?
i did call the smartzone whipzone.
"Always be yourself, unless you're a loser"


Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: SnS AI not working properly.
« Reply #10 on: March 11, 2010, 11:10:06 AM »
FBS.py is in NAR AI.

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #11 on: March 11, 2010, 01:03:36 PM »
got, it tried it. been trying different things with it, but all it does now is aimlessly spin around. it won't drive towards my bot or anything, i will just keep spinning, hitting about every wall and hazard from the arena.
maybe i'm doing something wrong with the AI line?
    list.append( ("M.A.S.H.E.D. v2", "FBS", { 'nose' : math.pi, 'invertible': True, 'spinspeed':17, 'direction':1, 'turnspeed':3.5, 'turn':80, 'topspeed':15.0, 'throttle': 110, 'weapons':(14,34,13,8,) }) )
"Always be yourself, unless you're a loser"


Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: SnS AI not working properly.
« Reply #12 on: March 11, 2010, 01:07:00 PM »
What are the controls wired as?
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #13 on: March 11, 2010, 01:14:48 PM »


hope this is what you mean...
"Always be yourself, unless you're a loser"


Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: SnS AI not working properly.
« Reply #14 on: March 11, 2010, 01:21:35 PM »
Looks Alright..... I'm no more help.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: SnS AI not working properly.
« Reply #15 on: March 11, 2010, 01:29:51 PM »
You might need to wire A-D the other way round.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #16 on: March 11, 2010, 01:46:10 PM »
done that. that did give some improvement. the bot now aims to hit me, coming towards me while spinning, taking wide corners. it has become combat effective now, so i'm happy.
when i get any other troubles, i will just ask in this topic.
"Always be yourself, unless you're a loser"


Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: poker AI not working properly.
« Reply #17 on: March 14, 2010, 05:46:33 PM »
new problem. i AIed a poker bot, but the pistons aren't used. i did use a smartzone and had called it fire. here is the AI line:
    list.append(("Loudness Of Lasers","Poker",{'invertible':True,'nose':math.pi,'range':99,'radius':0.5,'topspeed':80,'throttle':130,'turn':60,'turnspeed':3.6,'weapons':(10,11,12,13,14,15,16,17)}))

please help with this. i had this before but didn't think of posting it then.
"Always be yourself, unless you're a loser"


Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: SnS AI not working properly.
« Reply #18 on: March 14, 2010, 07:23:31 PM »
tha smartzone has to be named "weapon".

Offline powerrave

  • Giga Heavyweight
  • Posts: 5372
  • Rep: 2
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: SnS AI not working properly.
« Reply #19 on: March 15, 2010, 12:55:30 PM »
tested and FFFFUUUUUU!!! it worked. tut has been misinforming me there. now to fix some other pokers.
"Always be yourself, unless you're a loser"