Author Topic: AI-ing (.py files, coding, nose-orienting R+D, and help)  (Read 235634 times)

Offline The Ounce

  • *
  • Posts: 1256
  • Rep: 4
  • Up and about
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #380 on: February 16, 2010, 07:04:24 AM »
It was included in Nar AI v2
Tournament Record: 94 Wins - 50 Losses
Challenge Record: 2 Wins - 2 Losses


Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #381 on: February 16, 2010, 07:05:29 AM »
Was it? *wacks self in face* So it was?
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 Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #382 on: February 16, 2010, 07:25:46 AM »
Is it just me or does it ignore upside down bots?
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #383 on: February 16, 2010, 08:37:29 AM »
You just need to wire the spinner with an analog... CW for upwards spinning and CCW for downwards.

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #384 on: February 16, 2010, 08:43:33 AM »
I've done that and it works fine. But if the bot it's against is upside down it won't attack.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline d-lark

  • Antweight
  • Posts: 115
  • Rep: 0
  • Oh look, no over there, not there! there!
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #385 on: February 16, 2010, 09:48:56 PM »
Alright, so, I am just trying to get into this AI thing, so using a HS and NAR pack, i used the tutorial here on GTM to replace the 6th bot on the prehistoric team which is a HS like mine. As far as I can tell, I did everything right, but everytime I attempt to put it into actuion, the game crashes with a c++ runtime error. What am I doing wrong?

Offline Virus Bomb

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #386 on: February 16, 2010, 10:26:39 PM »
Did you check the bindings?

Offline d-lark

  • Antweight
  • Posts: 115
  • Rep: 0
  • Oh look, no over there, not there! there!
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #387 on: February 17, 2010, 12:04:07 AM »
here's the part where I get confused, I literally have no clue what Im doing, I just followed the tutorials. I have been reading this thread but none of its making sense, is there another tutorial that will help me understand the processes and the bindings and all that good stuff?

Dare I ask if there is someone out there who will take a few minutes to teach me?

Offline The Ounce

  • *
  • Posts: 1256
  • Rep: 4
  • Up and about
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #388 on: February 17, 2010, 12:09:46 AM »
Philetbabe's AI chart.  He has a download of it on page 7 of this thread I believe.
Tournament Record: 94 Wins - 50 Losses
Challenge Record: 2 Wins - 2 Losses


Offline d-lark

  • Antweight
  • Posts: 115
  • Rep: 0
  • Oh look, no over there, not there! there!
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #389 on: February 17, 2010, 03:21:45 AM »
Thanks that helped alot, I must have been making a mistake in the bindings.py but i think I fixed it.

Just a suggestion, why dont we put a link for that on the first page of the thread, it would probably make things easier, like I said I started reading but nothing made sense after the 4th page so I didn't think there would be anything worthwhile for me later on.

Just a thought.

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #390 on: February 17, 2010, 04:50:14 AM »
What nose value should I use for this bot?

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 Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #391 on: February 17, 2010, 04:54:05 AM »
It does look like it's 5/6*pi.

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #392 on: February 17, 2010, 04:55:26 AM »
So I write math.pi*5?
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 Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #393 on: February 17, 2010, 04:58:42 AM »
math.pi*5 equals math.pi, so no. Just write math.pi* 5/6 or math.pi*0.825.

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #394 on: February 17, 2010, 04:59:08 AM »
ok
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 Scrap Daddy

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #395 on: February 17, 2010, 08:11:37 PM »
Has anyone written a guide to AIing with pictures and stuff? I'm willing to do one similar to the picture taking thread(which not a lot of people use).

I was thinking something similar to SC's guide with pics and how to make a new team instead of replacing a bot.

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #396 on: February 17, 2010, 09:54:15 PM »
SC's AI tutorial was cluttered and formatted poorly. Stagfish could do better.
Put this onto your signature if you were part of this crappy fad in '03.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #397 on: February 18, 2010, 07:00:01 AM »
i can AI you know, how do you think i AI'ed the bots for ROBONOVA?

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #398 on: February 18, 2010, 07:00:43 AM »
The point is you are one of the newest AI'ers and some consider you a n00b.
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 Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #399 on: February 18, 2010, 07:02:09 AM »
:(