kovan / kovans-ogbot

Automatically exported from code.google.com/p/kovans-ogbot
1 stars 0 forks source link

Can't use more than 1 planet #293

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ENGLISH ONLY.
IF ANY OF THE INFO BELOW IS MISSING THE BUG REPORT WILL BE DELETED.
Thank you.

Bot version: 3.1b
OGame server language: .com.es
OGame server version: 0.83
Using admirals or commander (specify)?: Geologist
Operating System: Windows XP 32 bits

Description of the problem:

The bot works now in .com.es, then i get the error solved last days of
combustionDrive, i downloaded the new ogbot.py and it worked..
Now i can spy, attack, and do everything, excepting 1 thing... i can't use
more than 1 planet, when i make a list of planets, it use only the one 1
located en G1 (not first planet, just the one in g1)

Original issue reported on code.google.com by NicolasJ...@gmail.com on 2 Feb 2009 at 3:13

GoogleCodeExporter commented 9 years ago
later I will add the option to the config but for now find and modify this line

self.player.raidingColonies.append(self.player.planets[0])

to

#first two planets
self.player.raidingColonies = self.player.planets[0:1]

or

#add them with additional .appends
self.player.raidingColonies.append(self.player.planets[0])
self.player.raidingColonies.append(self.player.planets[2])
...

Original comment by brain...@gmail.com on 2 Feb 2009 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by King.Vash@gmail.com on 2 Feb 2009 at 4:21

GoogleCodeExporter commented 9 years ago

Original comment by King.Vash@gmail.com on 2 Feb 2009 at 4:22

GoogleCodeExporter commented 9 years ago
Is not 

self.player.raidingColonies.append(self.player.planets[0])

is

self.player.raidingColonies.append(self.player.colonies[0])

And it worked, thx :)

Original comment by NicolasJ...@gmail.com on 2 Feb 2009 at 7:39

GoogleCodeExporter commented 9 years ago
sorry that changed in my newest program

Original comment by brain...@gmail.com on 2 Feb 2009 at 2:57

GoogleCodeExporter commented 9 years ago

Original comment by King.Vash@gmail.com on 3 Feb 2009 at 2:48