Author Topic: Ironbot Jr. - Signups (Closed)  (Read 9918 times)

Offline Wolfsbane

  • Heavyweight
  • Posts: 583
  • Rep: -5
  • Pokemens.
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: suicideladder
Re: Ironbot Jr. - Signups
« Reply #40 on: November 06, 2015, 11:01:20 PM »
Hercules's IF and updated DSL bots accepted and AI'd.
I'm thinking about extending signups another week to try and give more people the time to enter. You guys cool with that?

Sure.

Also, I have some pm's from clickbeetle about his ironbot python and ai. I can pm them to you if you want.
Man this needed an update. Anyways, Your local autistic idiot signing out.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #41 on: November 07, 2015, 01:28:16 PM »
Hercules's IF and updated DSL bots accepted and AI'd.
I'm thinking about extending signups another week to try and give more people the time to enter. You guys cool with that?

Sure.

Also, I have some pm's from clickbeetle about his ironbot python and ai. I can pm them to you if you want.
That would be great; please do!

Offline Wolfsbane

  • Heavyweight
  • Posts: 583
  • Rep: -5
  • Pokemens.
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: suicideladder
Re: Ironbot Jr. - Signups
« Reply #42 on: November 07, 2015, 10:29:08 PM »
Before I left, I tried making an ironbot tournament myself, but I ran into too many problems. I DID manage to get the code to work, but it wasn't easy, and it was very complicated. Here's a quote from click via pm.

Look at the Ironbot arena (cube.py).  You'll notice I have a bunch of code commented out, and bracketed by #Ironbot stuff  #/Ironbot stuff.  This code does a few things:

- Reads a couple of txt files (Bot0_comps.txt, Bot1_comps.txt, etc.) which contain a list of component ids, and breaks those components on the corresponding bots.  These txt files are located in the main RA2 directory.
- Removes the floor under the bots (cubefloorpanel.gmf) during the introduction, so the components that break off can fall out of the arena, then puts it back when the match starts.
- Makes immobility warnings not happen by setting plus.practice(1).
- Disables the bots after 30 seconds and makes them invincible, so it's like a 30 second time limit.  You can leave that part commented out if you want a longer time limit.

The second part is in the bot AI.  I used custom AI's for all the bots in Ironbot.  Here's the modified Omni I used:  http://beetlebros.gametechmods.com/files/OmniIB.txt  (make sure to save as .py, not .txt)

There are two important parts in the AI .py.  The first one is at the beginning of def Tick where I say "Import previously broken component IDs".  This reads the txt files so the AI knows what components are already lost.  The second important part is in def LostComponent.  This writes to the txt file whenever a component breaks.  Also, self.LostComps = [] and self.DoThisOnce = 0 have to be in def __init__.

So to run Ironbot, first I cleared Bot0_comps.txt and Bot1_comps.txt so they are blank.  After the battle, DO NOT RUN ANY MORE BATTLES.  Immediately quit RA2, open up the txt files, and copy the broken component IDs into a permanent file that will not get overwritten.  (You will need to remove some duplicate IDs.)  Make sure to keep things organized so you don't forget which broken component IDs go with which bot.

To start a battle with fresh bots, clear the txt files before booting up RA2.  To start with damaged bots, copy the component IDs from your permanent file into the txt file before booting up RA2.  The arena will read these IDs and break them before the match starts.  Then, the AI will add any new broken components to the txt file.

In Ironbot, I had a rule where bots got a few spare wheels.  I used apanx's exporter to find out which IDs were wheels, and then deleted those from the list of broken components.

Also, later on in Ironbot, I started having some lag issues when 90% of a bot got broken off all at once.  When that happened, I went into the bot lab and manually removed components.

It's pretty complicated, but I already did the hard part.  You should be able to get an Ironbot-style tourney going just by using OmniIB.py and un-commenting that code in cube.py.  Of course, I'd appreciate it if you didn't just rip off Ironbot rule for rule.  Put your own twist on it.   ;)

Good luck with it, it's a bit complicated, but with this, you should be able to do it the same way click did it.

If anyone wants to post this someplace where others who may want to see it can see it, feel free.

Edit 1: I see you're using a custom arena. Hopefully you can just copy/paste the ironbot code into your arena.

Edit 2: Got my entries here. This is literally my first ironforge bot, and I suck at dsl realistic, but I tried my best. Here it is. https://gametechmods.com/uploads/files/0298wolf_entry.rar
« Last Edit: November 08, 2015, 02:03:20 AM by Wolfsbane »
Man this needed an update. Anyways, Your local autistic idiot signing out.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #43 on: November 08, 2015, 05:26:57 PM »
Before I left, I tried making an ironbot tournament myself, but I ran into too many problems. I DID manage to get the code to work, but it wasn't easy, and it was very complicated. Here's a quote from click via pm.

Look at the Ironbot arena (cube.py).  You'll notice I have a bunch of code commented out, and bracketed by #Ironbot stuff  #/Ironbot stuff.  This code does a few things:

- Reads a couple of txt files (Bot0_comps.txt, Bot1_comps.txt, etc.) which contain a list of component ids, and breaks those components on the corresponding bots.  These txt files are located in the main RA2 directory.
- Removes the floor under the bots (cubefloorpanel.gmf) during the introduction, so the components that break off can fall out of the arena, then puts it back when the match starts.
- Makes immobility warnings not happen by setting plus.practice(1).
- Disables the bots after 30 seconds and makes them invincible, so it's like a 30 second time limit.  You can leave that part commented out if you want a longer time limit.

The second part is in the bot AI.  I used custom AI's for all the bots in Ironbot.  Here's the modified Omni I used:  http://beetlebros.gametechmods.com/files/OmniIB.txt  (make sure to save as .py, not .txt)

There are two important parts in the AI .py.  The first one is at the beginning of def Tick where I say "Import previously broken component IDs".  This reads the txt files so the AI knows what components are already lost.  The second important part is in def LostComponent.  This writes to the txt file whenever a component breaks.  Also, self.LostComps = [] and self.DoThisOnce = 0 have to be in def __init__.

So to run Ironbot, first I cleared Bot0_comps.txt and Bot1_comps.txt so they are blank.  After the battle, DO NOT RUN ANY MORE BATTLES.  Immediately quit RA2, open up the txt files, and copy the broken component IDs into a permanent file that will not get overwritten.  (You will need to remove some duplicate IDs.)  Make sure to keep things organized so you don't forget which broken component IDs go with which bot.

To start a battle with fresh bots, clear the txt files before booting up RA2.  To start with damaged bots, copy the component IDs from your permanent file into the txt file before booting up RA2.  The arena will read these IDs and break them before the match starts.  Then, the AI will add any new broken components to the txt file.

In Ironbot, I had a rule where bots got a few spare wheels.  I used apanx's exporter to find out which IDs were wheels, and then deleted those from the list of broken components.

Also, later on in Ironbot, I started having some lag issues when 90% of a bot got broken off all at once.  When that happened, I went into the bot lab and manually removed components.

It's pretty complicated, but I already did the hard part.  You should be able to get an Ironbot-style tourney going just by using OmniIB.py and un-commenting that code in cube.py.  Of course, I'd appreciate it if you didn't just rip off Ironbot rule for rule.  Put your own twist on it.   ;)

Good luck with it, it's a bit complicated, but with this, you should be able to do it the same way click did it.

If anyone wants to post this someplace where others who may want to see it can see it, feel free.

Edit 1: I see you're using a custom arena. Hopefully you can just copy/paste the ironbot code into your arena.

Edit 2: Got my entries here. This is literally my first ironforge bot, and I suck at dsl realistic, but I tried my best. Here it is. https://gametechmods.com/uploads/files/0298wolf_entry.rar
Tried using it and it didn't work, nor do I have any idea of how to get it to. Thanks anyway though.

Wolfsbane's entries accepted and AI'd. Unfortunately, I'm having some problems with some other bots, but hopefully that'll get cleared up soon. In other news, I've decided to go on with adding a week to signups to encourage more people to enter.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #44 on: November 08, 2015, 06:15:16 PM »
DP
KupaRizu's entry accepted and AI'd.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #45 on: November 12, 2015, 12:15:51 AM »
No update on entries here, but something a bit more interesting instead.

First, huge thanks to Larrain for messing with the .py of the arena and getting fights to stop after 30 seconds so that I don't have to put "TIME" at the end of every single fight!

Second, I made a sample fight viewable here:
The actual tournament videos are going to be as close to this as possible (with transitions, graphics, music, etc.) so if anyone has any criticism/advice on it, now is the time to give it.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #46 on: November 14, 2015, 01:31:56 PM »
Ironforge entry of Mr.AS accepted and AI'd. Having some AI problems with Scorpion's DSL bot, but hopefully that'll get sorted out soon.

Signups are closing soon and I know there a at least a few great builders who haven't entered anything yet. I only need one more robot in each division (except DSL; see above) for this to get rolling.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #47 on: November 14, 2015, 09:42:44 PM »
Scorpion's bot working and good to go, as well as 090901's bots being accepted and AI'd.
Only need one more Ironforge bot to start this, but I'll still take all the entries I can get!

Offline Silverfish

  • The Hardest Part of Ending is Starting Again
  • Super Heavyweight
  • Posts: 844
  • Rep: 3
  • Welcome to the quiet before the storm hits...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #48 on: November 14, 2015, 09:52:49 PM »
can i enter IF twice? XD
Tourney stuffs:

"We need a new way to defeat them... Something they haven't seen. Something... no one... has ever seen..."
-Gelorum, Acceleracers: Ignition

Youtube(cuz I can't use the normal link): https://www.youtube.com/channel/UCZ8zJZecbrpqiZK2eLnKLAA

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #49 on: November 15, 2015, 01:03:00 PM »
Bobyasianboy's entries accepted and AI'd, which means that I now have at least 8 robots per division and will not extend signups any further. If you want to enter, today is your last chance!

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #50 on: November 15, 2015, 03:07:45 PM »
TheRoyalBadger's bot accepted and AI'd

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #51 on: November 15, 2015, 05:52:28 PM »
Sircreepalot2's entry accepted and AI'd. Keep 'em coming!

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #52 on: November 16, 2015, 12:20:03 AM »
Mechadino's DSL bot accepted and AI'd. Thanks to Mr.AS for getting it to me.
Less than two hours left to enter. Last-minute extra entries are better than no extra entries!

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups
« Reply #53 on: November 16, 2015, 01:34:28 AM »
Stock bot of Mr.AS accepted and AI'd.
Less than half an hour left to send something for anyone who might be interested.

Offline Lightning S.

  • Heavyweight
  • Posts: 439
  • Rep: 6
  • no one knows except the nose
    • https://www.youtube.com/c
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Ironbot Jr. - Signups (Closed)
« Reply #54 on: November 16, 2015, 05:38:59 PM »
Signups are now closed. SBV thread will be up later this week.