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

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #280 on: December 29, 2009, 03:30:03 AM »
if it uses the same controls as normal FBS might pay off to use that python for my 3 SnS robots in NARAI Naryar
 
Hax !

 :p  lol its not python hax like mads toys, it was just designed to cause the glitch the same way I did it when controling myself. 

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #281 on: December 29, 2009, 07:28:42 AM »
Hax !

like you and STW's BFE overuse or HAX LOL DON'T UNDERSTAND LOL?
Put this onto your signature if you were part of this crappy fad in '03.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • 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 #282 on: December 30, 2009, 04:58:33 AM »
PokerPlus - Poker.py with a few tweaks... not really finished.

https://gametechmods.com/uploads/files/PokerPlus.rar

Needs some beta testing and if my additional functions do really work...

Offline mondebankale

  • New Member
  • Posts: 1
  • Rep: 0
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #283 on: December 30, 2009, 06:59:02 PM »
Hi there,
i made a bot  :bigsmile:  but it doesn't work.   :dead:

the bot is an hybrid between a chopper and a flipper so i spent 12 hours straight to do the merge between chopper.py and flipper.py without success.

so here are the thing i know :
my bot works with chopper.py and also it works with flippper.py but it doesn't really suits my needs.

i made 2 smartzones : 1 named flip the other named weapon
I made 2 push buttons on the remote : Flip and Fire.
Then i made a copy of flipper.ai renamed it SuperFlip.ai.

So after several hours i keep failing mostly at the same parts : 2 weapons and 2 smartzones.
I don't know any python or perl so i can't really debugg it myself

also i read your OmniMultiZone, Top_Smasher_2R and Topknot but this is rocket science to me.

Any help please

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #284 on: December 30, 2009, 07:09:13 PM »
I got a nice chuckle from that.

Just use chopper. There isn't much of a differance in the AI for both of them anyway.

Nice try though, good to see some would be AIers.
Put this onto your signature if you were part of this crappy fad in '03.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • 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 #285 on: December 31, 2009, 04:44:11 AM »
Chopper isn't really good due to some self righting glitch.

OmniMultiZone isn't really hard to use. For your design, you just need to use 2 different smartzones called weapon and weapon1, and 2 different buttons for your weapons called Fire and Fire1.

You might want to download NAR AI and have a look at Rabid Grisly Bear.

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #286 on: December 31, 2009, 04:47:00 AM »
OmniMultiZone has a 'spin', right?
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: 23283
  • Rep: 21
  • 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 #287 on: December 31, 2009, 04:48:36 AM »
Yes since it's an Omni.

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #288 on: December 31, 2009, 04:50:35 AM »
Doog. One of my second NAR AI team will work then.
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 G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #289 on: December 31, 2009, 03:14:32 PM »
DP. I've just looked in the .py, and there's no spin in it.
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 JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #290 on: December 31, 2009, 08:32:03 PM »
spin tends to be a little hidden in omni, are you sure its not there ?

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #291 on: January 01, 2010, 03:07:50 AM »
Phew, it is there.
« Last Edit: January 01, 2010, 05:52:46 AM by G.K. »
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 G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #292 on: January 03, 2010, 01:29:44 PM »
DP, I've got a query.

I'm AI'ing a team for NAR AI, but whnever I try to select the team in exhibition, the game crashes.

Here are all the bindings:

Code: [Select]
    #45 - srezinwP
    list.append(("ymgyP","Spinner",{'range':40,'radius':1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(24,25,26,27,28,29,30,31)}))
    list.append(("ecivoN","Rammer",{'invertible':True,'radius':1.5,'range':50,'topspeed':100,'turn':50,'turnspeed':3,'weapons':(10,12,14)}))
    list.append(("75.5 ?iouQ tE","Omni",{'radius':1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(32,33,34,35,36,37,38,39,40,41,48,49)}))
    list.append(("2 pergE","Omni",{'invertible':True,'radius':1.5,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(15,16,17,18,19,20)}))
    list.append(("2 esallikoboR","Rammer",{'invertible':True,'radius':1,'topspeed':100,'throttle':100,'turn':70,'turnspeed':3,'weapons':(10,11,12)}))
    list.append(("SHW - 2 niarT niarreT llA","FBSPlus",{'invertible':True,'direction':1,'spinspeed':20,'radius':0.1,'range':50,'topspeed':100,'turn':70,'turnspeed':5,'weapons':(26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,61,62,63,64)}))
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 somestrangeguy

  • *
  • Posts: 2068
  • Rep: 2
  • If you can read this, your monitor is turned on.
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #293 on: January 03, 2010, 03:54:10 PM »
All seems fine on the bindings, prehaps check the teams.txt? Could be a mispelled team picture or wrong index number.

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #294 on: January 03, 2010, 03:57:27 PM »
Thanks SSG. It must have been the picture.
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 Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #295 on: January 03, 2010, 06:36:12 PM »
maybe try the .bot files and see if any are misspelled. and the picture wouldn't crash the game, the place where the pic would be would be white if it's misspelled.

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #296 on: January 03, 2010, 10:16:54 PM »
double spacing is a annoying and common issue, so is space's after the name. I export the bots and copy and paste the bot file name to be sure


also I will post up THZ.py soon  :mrgreen:

Offline 123savethewhales

  • *
  • Posts: 2923
  • Rep: 30
  • Friendship is Magic
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #297 on: January 03, 2010, 11:01:22 PM »
So I got a crawler that has no trouble move forward/backward, but how do I AI it?

All I need it to do is move toward the guy, start spinning at 3 range, stop spinning when it gets out of 3 range, and move toward the guy again.

I tried Omni, but it wouldn't stop spinning after it get in range, even if the other bot end up outside of range later.  I know it's been done before with bumble bee so thanks if anyone can help.

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #298 on: January 03, 2010, 11:14:46 PM »
you want PillarPlus or WhipperPlus  :mrgreen:

Offline 123savethewhales

  • *
  • Posts: 2923
  • Rep: 30
  • Friendship is Magic
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #299 on: January 04, 2010, 12:36:08 AM »
Thanks.  I tried them, don't really like the way they turn out though, I think I will stick to FBS_1 for now.