kovan / kovans-ogbot

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

KeyError: 'combustionDrive' Something unexpected occured #304

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Bot version: 3.1b
OGame server language: com.es (Spanish)
OGame server version: 0.83
Using admirals or commander (specify)?: No
Operating System: Ubuntu 8.10 Intrepid Ibex

Greetings. I have two problems when starting the bot.

1º I fail to run the bot from the archive "runbot.sh", only works if run it
manually from the console "python -O src/OGBot.py".

2º When start the bot I get the following message:

----------
Tue Mar 10 XX:XX:XX 2009 Contacting server...
Tue Mar 10 XX:XX:XX 2009 Logged in with user XXXXX.
Traceback (most recent call last):
  File "src/OGBot.py", line 106, in run
    self._connect()
  File "src/OGBot.py", line 144, in _connect
    largeCargos.speed =  int(7500 * (1 +
(self.player.research['combustionDrive'] * 0.1)))
KeyError: 'combustionDrive'
Tue Mar 10 XX:XX:XX 2009 Something unexpected occured, see log file.
Stopping bot.
----------

I need help, thank you very much.

Original issue reported on code.google.com by email.ja...@gmail.com on 10 Mar 2009 at 7:25

GoogleCodeExporter commented 9 years ago
When i comment (self.player.research['combustionDrive'] * 0.1)))

There is an identical error on smallCargos.speed =  int(10000 * (1 +
(self.player.research['impulseDrive'] * 0.2)))   

with ['impulseDrive']

Original comment by sap.w...@gmail.com on 13 May 2009 at 11:38

GoogleCodeExporter commented 9 years ago
Thank you, solve this problem, now I have another.

Original comment by email.ja...@gmail.com on 14 May 2009 at 12:58

GoogleCodeExporter commented 9 years ago
How did you solve this?

Original comment by sap.w...@gmail.com on 19 May 2009 at 7:46

GoogleCodeExporter commented 9 years ago
looking this issue http://code.google.com/p/kovans-ogbot/issues/detail?id=287

Original comment by email.ja...@gmail.com on 21 May 2009 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by kovansog...@gmail.com on 2 Apr 2010 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by kovansog...@gmail.com on 2 Apr 2010 at 9:57