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

Offline 090901

  • alcoholic in denial
  • *
  • Posts: 7006
  • Rep: 22
  • :mrgreen:
  • Awards Donated money for site hosting 2019 GTMCS2 Divison Winner GTMCS Division Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #520 on: May 13, 2010, 09:36:01 PM »
Hey, guys, not stealing SD's idea or anything, but I'd like an AI that does this for a robot for the 128 bot tourney::
The idea is to ram, then start SnSing. Then when the countdown goes off, run away, ram again, and then SnS.
.
Closes thing to that is RamSnS  which Initially rams the opponent, then sit-and-spins continuously.

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #521 on: May 13, 2010, 09:39:39 PM »
or of course SnS AI and using the weapon numbers for the SnS weapon and when it breaks the robot will start ramming.

Offline 090901

  • alcoholic in denial
  • *
  • Posts: 7006
  • Rep: 22
  • :mrgreen:
  • Awards Donated money for site hosting 2019 GTMCS2 Divison Winner GTMCS Division Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #522 on: May 13, 2010, 09:42:17 PM »
I guess it depends if he wants it to SnS first or ram.
Also, I loled at the line in the Octane.py

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #523 on: May 13, 2010, 09:50:57 PM »
which one ?

Nar made a joke in Octane.py and I made one in Octane2.py 

Offline Naryar

  • Posts: 23267
  • 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 #524 on: May 14, 2010, 06:21:32 AM »
I guess it depends if he wants it to SnS first or ram.

Obviously he wants it to ram first...

Anyways, this can be done with Whipper.py and any SnS AI that uses a smartzone if you do it right.

Offline nicsan2009

  • Ultra Heavyweight
  • Posts: 1836
  • Rep: 5
  • Here we go again!
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #525 on: May 14, 2010, 07:56:38 AM »
Hey joe wich AI did you use for super sns in clash cubes 2 because i want to try it out
Hosted 2 Legit 2 Quit tourney Congrats Somebody
Hosted 2 Legit 2 Quit 2 congrats to Plazmic Inferno as well as Somebody (again)
Hosted RA2 World Cup Congrats to Senstro
Hosted TGRR congrats to 090901
ITAT Tournament- Champion
Beetle Bashers- Champion
Father and Son Tournament 2- Champion
GTM All Stars- HW Champion; MW runner up
Father and Son Tournament- Runner up
All Time Record 51-36

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #526 on: May 14, 2010, 09:01:37 AM »
just FBS_1

Offline nicsan2009

  • Ultra Heavyweight
  • Posts: 1836
  • Rep: 5
  • Here we go again!
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #527 on: May 14, 2010, 07:51:11 PM »
where can i dl that
Hosted 2 Legit 2 Quit tourney Congrats Somebody
Hosted 2 Legit 2 Quit 2 congrats to Plazmic Inferno as well as Somebody (again)
Hosted RA2 World Cup Congrats to Senstro
Hosted TGRR congrats to 090901
ITAT Tournament- Champion
Beetle Bashers- Champion
Father and Son Tournament 2- Champion
GTM All Stars- HW Champion; MW runner up
Father and Son Tournament- Runner up
All Time Record 51-36

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #528 on: May 14, 2010, 09:42:46 PM »
memory dont fail me now...

some where in the first few pages of this thread I think

or its in CCAI

Offline Naryar

  • Posts: 23267
  • 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 #529 on: May 15, 2010, 03:34:37 AM »
some where in the first few pages of this thread I think

Yes.

It's in RAW 1 AI and NAR AI as well. If my memory does not fail as well, the first known bot to use it was Pinball.

Offline Bubbleman

  • Heavyweight
  • Posts: 559
  • Rep: 0
  • quit w player
    • FatherSplat
    • View Profile
    • osu! Userpage
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Bubbleman532
  • Discord: Bubbleman#0993
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #530 on: May 15, 2010, 10:25:21 AM »
help!
i have an ai file from gk that doesn't work and i'm looking for someone to make it work. bindings line is:

    list.append(("Fuel","Omni",{'nose':math.pi,'range':99,'radius':1.0,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2,'weapons':(16,17,18)}))

(craaig, it's your bot)
I... I think I've quit. Lurking and posting where I feel it's needed from time to time. I was never particularly good, but I tried. Never really succeeding, but trying all the same.
This is what I spend my time on now
https://twitch.tv/bubbleman

Offline Naryar

  • Posts: 23267
  • 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 #531 on: May 15, 2010, 10:29:00 AM »
It looks correct to me.

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #532 on: May 15, 2010, 10:30:40 AM »
it has 2 range values

Offline Bubbleman

  • Heavyweight
  • Posts: 559
  • Rep: 0
  • quit w player
    • FatherSplat
    • View Profile
    • osu! Userpage
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Bubbleman532
  • Discord: Bubbleman#0993
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #533 on: May 15, 2010, 10:33:21 AM »
it has 2 range values
Why, does it mean anything?
I... I think I've quit. Lurking and posting where I feel it's needed from time to time. I was never particularly good, but I tried. Never really succeeding, but trying all the same.
This is what I spend my time on now
https://twitch.tv/bubbleman

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #534 on: May 15, 2010, 10:35:27 AM »
that would be the most reasonable suggestion why the game rejects it

it should be like this

Code: [Select]
list.append(("Fuel","Omni",{'nose':math.pi,'range':99,'radius':1.0,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2,'weapons':(16,17,18)}))
getting rid of the second 'range':99 value

Offline Bubbleman

  • Heavyweight
  • Posts: 559
  • Rep: 0
  • quit w player
    • FatherSplat
    • View Profile
    • osu! Userpage
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Bubbleman532
  • Discord: Bubbleman#0993
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #535 on: May 15, 2010, 10:42:15 AM »
ok.

Edit:Nope, still don't work.
I... I think I've quit. Lurking and posting where I feel it's needed from time to time. I was never particularly good, but I tried. Never really succeeding, but trying all the same.
This is what I spend my time on now
https://twitch.tv/bubbleman

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17527
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #536 on: May 15, 2010, 10:54:40 AM »
Do you have the 4 spaces in front of the line?

Offline Bubbleman

  • Heavyweight
  • Posts: 559
  • Rep: 0
  • quit w player
    • FatherSplat
    • View Profile
    • osu! Userpage
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Bubbleman532
  • Discord: Bubbleman#0993
Re: AI-ing (.py files, coding, R+D, and help)
« Reply #537 on: May 15, 2010, 10:56:52 AM »
i think so, like all the robot lines in bindings.py.
I... I think I've quit. Lurking and posting where I feel it's needed from time to time. I was never particularly good, but I tried. Never really succeeding, but trying all the same.
This is what I spend my time on now
https://twitch.tv/bubbleman

Offline JoeBlo

Re: AI-ing (.py files, coding, R+D, and help)
« Reply #538 on: May 15, 2010, 11:12:54 AM »
are you using python to edit these ???

Ctrl + X will tell you if you indentations are incorrect

does the robot have 18 components ?

Offline Naryar

  • Posts: 23267
  • 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 #539 on: May 15, 2010, 11:46:02 AM »
Just put 'weapons':(1,) and don't bother about the number of components.