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

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 #260 on: December 25, 2009, 12:38:40 AM »
I been thinking about how to AI this thing

http://s895.photobucket.com/albums/ac159/123savethewhales/bait0.jpg

I think I need
front back invertible (maybe one involving smart zone and alternating the radius back and forth?).
Fire weapon (another smart zone), by alternating between left and right on half second interval (probably using analog), so the flails moves back and forth dealing damage.

The problem is I am not sure how to do any of those things.

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 #261 on: December 25, 2009, 01:09:11 AM »
@Mad: Into python itself?
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 #262 on: December 25, 2009, 04:26:25 AM »
I been thinking about how to AI this thing

http://s895.photobucket.com/albums/ac159/123savethewhales/bait0.jpg

I think I need
front back invertible (maybe one involving smart zone and alternating the radius back and forth?).
Fire weapon (another smart zone), by alternating between left and right on half second interval (probably using analog), so the flails moves back and forth dealing damage.

The problem is I am not sure how to do any of those things.

Whipper.py ?

Offline Madiaba

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #263 on: December 25, 2009, 06:27:24 AM »
Yea, GK.
Can you select some posted text and then simply paste it into a py doc (preserving the formatting)?  Might be a prob on my end,... though I can't see how.
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

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 #264 on: December 25, 2009, 06:53:31 AM »
Give me a minute...
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 #265 on: December 25, 2009, 06:57:20 AM »
I've copied S32's cheap popup stuff. It seems to be formatted fine, but i'll test it out now on the game.
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 #266 on: December 25, 2009, 07:01:30 AM »
It works fine ingame. Must be something your end Mad.
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 Madiaba

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #267 on: December 25, 2009, 07:07:32 AM »
Huh.  Thanks for help isolating the issue, GK.
In the mean time, just PM me your py and I'll look at it in an open slot.
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

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 #268 on: December 25, 2009, 07:11:36 AM »
No problem.
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 Reier

  • Rieir
  • *
  • Posts: 8579
  • Rep: 8
  • I GOT 3RD IN RAW1
    • https://www.youtube.com/c
  • Awards old BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #269 on: December 25, 2009, 01:34:37 PM »
I have a SnS that uses FBS_1. It usually works fine, but every so often it just stops and spins the other direction for a second or 2. It's very annoying because 1. It only works when spinning CW, and 2. because it slows the spinning down obviously.
Any ideas to make it spin CW all the time without it turning CCW at random moments?
ALERT- Another WS coming up...
voted best bot builder two times and counting babayy. the best ra2 builder who has never won an actual tournament match
ReiAI pack for Ironforge
My drawings, and my webcomics
Why online PVP will save RA2
The problem with competitive IRL in RA2
I'm fine with hugging reier

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 #270 on: December 25, 2009, 01:42:28 PM »
I had a few similar issues with Cataclysm when it was using FBS_1 as well.

Just use PillarPlus or my beloved FBS.py with a high 'spinspeed' value.

Offline Madiaba

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #271 on: December 26, 2009, 09:36:51 AM »
FBS_1 has a very efficient 'immobile' detector that will sometimes stop the bot before you see the immobile countdown start.  IF this is the case then it's just doing what it is supposed to.  I've not seen any other behaviors in it for it is a basically a simple FBS AI.py with the first bullet-proof immobility solver, that was sometimes a problem in the Pillar.pys. 

IMHO: I think Apanx's FBS is the best FBS AI.py I've seen so far, because, while it doesn't eliminate totally the chance of immobility, it almost does in proactively seeking the enemy bot.
Yet for only a few FBSs, one of the 'Pillar', my 'FBS_1' or CB's 'FBS_2' might still be the best option.

Nar, I've not looked through your mod of FBS, yet...


Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

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 #272 on: December 26, 2009, 09:51:58 AM »
Of course FBS.py is the best :mrgreen:

Nar, I've not looked through your mod of FBS, yet...

Well, i've done 2 mods of FBS.

First is FBSPlus (FBS.py with incorporated spinning weapon support, now used by a few of my NAR AI HS). I just copypast'd a part of Spinner.py in FBS.py and made the necessary additions for it to work.

And the other one is just a slightly modded FBS.py that changes spinning direction when inverted - i think i posted in in the RAW 2 thread (since i made it for Iron Storm 5 so the maces spin the right way). I just removed a line that handles the spinning direction if the bot is inverted.

Now the next logical step would be implementing both setups in a single .py, so FBSPlus with an optional bindings entry that makes it spin one way or another when inverted .

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #273 on: December 26, 2009, 10:07:00 AM »
I made a verson of FBS_1 that was designed to help Gyratory Reborn preform its second glitch when being counted out as a means of moving to break count.  :mrgreen:

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 #274 on: December 26, 2009, 10:31:02 AM »
Hax !

Offline Virus Bomb

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #275 on: December 28, 2009, 08:50:22 PM »
Nary, can I see your FBSPlus.py?

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar

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 #277 on: December 29, 2009, 03:00:58 AM »
And the other one is just a slightly modded FBS.py that changes spinning direction when inverted - i think i posted in in the RAW 2 thread (since i made it for Iron Storm 5 so the maces spin the right way). I just removed a line that handles the spinning direction if the bot is inverted.
Can you send me a copy of this version?  I think my SnS can benefit from always spinning at the razor side.

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 #278 on: December 29, 2009, 03:12:47 AM »
FBSInvertDir? It's in this RAR i sent to Sage.

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

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 #279 on: December 29, 2009, 03:23:44 AM »
Thanks.  I will send you the update for my second team as well as my third team after some testing (FPSInvertDir instantly made all my SnS better).