Author Topic: How to remove AI bots and teams?  (Read 1396 times)

Offline krylus

  • Antweight
  • Posts: 24
  • Rep: 0
  • Heh.
    • freebuildkrylus
    • View Profile
    • The most well made server in Minecraft
    • Awards
How to remove AI bots and teams?
« on: September 13, 2010, 05:54:02 PM »
Howdy yall, I was just wondering how to remove AI bots and teams. I have edited them out of the Bindings.py and recompiled it, and the game crashes. I also edited the teams out of the Teams text document, so the teams I selected for deletion I removed from that document. Hmm, I will double check it, but any idea why it is doing that? Could it be the TeamHQ UI League Standings that is referencing to the nonexistent AI teams?

Offline Gigafrost

  • *
  • Posts: 805
  • Rep: 0
  • You'll never know what I'll think of next.
    • View Profile
    • Awards
Re: How to remove AI bots and teams?
« Reply #1 on: September 13, 2010, 06:22:59 PM »
Recompile? Why not just open the Bindings.py file with Notepad ++, delete the unnecessary team entries and save? Remember that you also need to delete the corresponding teams that are in your AI folder (If you delete Team 0 in bindings, delete the Team 0 folder in the AI folder).

Most likely it is RA2 calling to see what teams it needs to load. You may not want to have it so that there are extra bot files without bindings for the game to call, this could be your problem. More helpful though, which game are you trying to edit? Starcore? DSL?

Offline krylus

  • Antweight
  • Posts: 24
  • Rep: 0
  • Heh.
    • freebuildkrylus
    • View Profile
    • The most well made server in Minecraft
    • Awards
Re: How to remove AI bots and teams?
« Reply #2 on: September 14, 2010, 05:47:54 AM »
Just the standard stock bots. I think I might have missed one in that file.... Thx for the help, Ill look into it!

Offline JoeBlo

Re: How to remove AI bots and teams?
« Reply #3 on: September 14, 2010, 06:09:01 AM »
the game needs at least 15 teams of 3 robots to operate without crashing at some point

Offline somestrangeguy

  • *
  • Posts: 2068
  • Rep: 2
  • If you can read this, your monitor is turned on.
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to remove AI bots and teams?
« Reply #4 on: September 14, 2010, 06:55:15 AM »
Also if you mess with the Teams.txt, make sure you keep the Index# in order, staring from 0.

Offline krylus

  • Antweight
  • Posts: 24
  • Rep: 0
  • Heh.
    • freebuildkrylus
    • View Profile
    • The most well made server in Minecraft
    • Awards
Re: How to remove AI bots and teams?
« Reply #5 on: September 16, 2010, 02:40:08 PM »
Oh ok, so if I removed 2 bots, so only bot 2 remains, change that to a zero?

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: How to remove AI bots and teams?
« Reply #6 on: September 16, 2010, 07:28:19 PM »
If Bot2.bot is the only bot left in the Team folder then the Teams.txt file needs to say "Robots: 2" in the proper section.
If Bot2.bot and Bot5.bot are the only bots in the Team folder then the Teams.txt file needs to say "Robots: 2 5" in the proper section (and the 6 bot AI team gib).

As Giga mentioned, Python files are not suppose to be compiled.

What exactly have you done to your AI folder? If you could post your entire Teams.txt file and what Teams folder you have, we might be able to find your error faster.

Offline somestrangeguy

  • *
  • Posts: 2068
  • Rep: 2
  • If you can read this, your monitor is turned on.
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to remove AI bots and teams?
« Reply #7 on: September 17, 2010, 06:27:22 AM »
What exactly have you done to your AI folder? If you could post your entire Teams.txt file and what Teams folder you have, we might be able to find your error faster.
While you do that, use the Spoiler tags, its the Nuclear sign.

Offline krylus

  • Antweight
  • Posts: 24
  • Rep: 0
  • Heh.
    • freebuildkrylus
    • View Profile
    • The most well made server in Minecraft
    • Awards
Re: How to remove AI bots and teams?
« Reply #8 on: September 22, 2010, 01:03:43 PM »
http://www.krylus.webs.com/teams_bindings.zip That right there is the teams.txt and bindings.py files, The error might be in something I missed.