[SUPPORT] My customized kovan's OgBot

General discussion. Bot errors must be reported at Google Code issue list.

Moderators: rama111, kovan

Re: My customized kovan's OgBot

Postby Loger on Sun Sep 30, 2007 2:15 pm

inactivesAppearanceTime and Pre-mightnight Pause where already here,
inactivesAppearanceTime is the time when the bot will scan galaxies searching for new inactives.
Pre-mightnight Pause is the time when the bot will stop attacking to save slots to be able to spy new inactives.

Thoose two things are useless if enable Rush mode is set to False
In fact if rushmode is deactivated, the bot will attack 24h/24 without researching for new inactives, but you can still research new inactives with the scan gallaxies button when the scan is finish the bot will spy new inactives and re-start attacking ;)
Do NOT send me MP for support
Loger
 
Posts: 178
Joined: Tue Sep 18, 2007 3:50 pm

Re: My customized kovan's OgBot

Postby rama111 on Sun Sep 30, 2007 9:22 pm

OK ,THX...

Now an other Question or info:

When a Inactve hast 160k Ressources, the BOT send only 15 small cargos! I would be better, when the BOT would send 20 Carcos, because 15 Carcos can only take 75k ressources, but it should take 80k ressources...

What do you think?

Cheers Marco
Against OFFICER`s; Long live the BOOOOOT`s :D
rama111
 
Posts: 189
Joined: Tue Jun 12, 2007 7:24 pm

Re: My customized kovan's OgBot

Postby Loger on Sun Sep 30, 2007 10:33 pm

I didn't check the calculations for the number of ships to send but I think it's right

btw if you use the option to introduce errors, randomShipsNumber, it may appen some times
this option is made to trick GOs
Do NOT send me MP for support
Loger
 
Posts: 178
Joined: Tue Sep 18, 2007 3:50 pm

Re: My customized kovan's OgBot

Postby Loger on Mon Oct 01, 2007 10:58 am

Ok here is a litle update to help people with small bandwith :)

Version 0.1.1
Download : http://www.mediafire.com/?4ztcmgi6fnd

Installation
If you already have a previous version of this bot, just replace the files in src directory.
Else :
1/ Upgrade/Install Python / Qt / PyQt with theese :
http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi
http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/qt-win-opensource-4.3.1-mingw.exe
http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/PyQt-Py2.5-gpl-4.3.1-1.exe
2/
If you are on an English / French / German / Portugues ogame you can unzip and launch the bot
else you need to add some strings in your language file (see in languagues directory) :
Code: Select all
# translations for the resources
metal = Métal
crystal = Cristal
deut = Deutérium
# string between coordinates and the date in espionnage reports
the = le


Changelog :
  • Transmissions between ogame and the bot is compressed with gzip to save bandwith
  • Integration of English / French / German / Portugues translations
  • The bot won't add planets with no owner in the database (solve this problem : http://forum.kovansogbot.info/viewtopic.php?f=1&t=143)
Do NOT send me MP for support
Loger
 
Posts: 178
Joined: Tue Sep 18, 2007 3:50 pm

Re: My customized kovan's OgBot

Postby alone on Tue Oct 02, 2007 3:21 am

Hi, I have the same problem than rama111:

"GREAT, now the i can start the BOT, but i have now simply one problem:

When i start runbit.bat, there i can see the BOT windows and not the Options... Then when i want to open the Options, the Error comes n Configurations:(

What i have to to?"

how i can solve it?
alone
 
Posts: 6
Joined: Thu Sep 06, 2007 10:10 pm

Re: My customized kovan's OgBot

Postby Loger on Tue Oct 02, 2007 6:13 am

I made a mistake with the last version here is the good file :

http://www.mediafire.com/?71jo9s91dhm

@alone : Replace the sources files with thoose in this archive and Delete the config.ini file
Do NOT send me MP for support
Loger
 
Posts: 178
Joined: Tue Sep 18, 2007 3:50 pm

Re: My customized kovan's OgBot

Postby Death Squad on Wed Oct 03, 2007 10:18 pm

Doesn't work...

says he's missing a module called ClientForm or so.

Please help :)
Death Squad
 
Posts: 2
Joined: Wed Oct 03, 2007 9:24 pm

Re: My customized kovan's OgBot

Postby Loger on Wed Oct 03, 2007 11:55 pm

check that you've got the ClientForm.py in the lib directory
Do NOT send me MP for support
Loger
 
Posts: 178
Joined: Tue Sep 18, 2007 3:50 pm

Re: My customized kovan's OgBot

Postby crimson on Thu Oct 04, 2007 12:13 pm

got error

extracted in a new folder
delered config
re entered config
login ok

Traceback (most recent call last):
File "src\OGBot.py", line 110, in run
self._start()
File "src\OGBot.py", line 210, in _start
if self.lastInactiveScanTime.date() != serverTime.date() and serverTime.time
() >= self.config.inactivesAppearanceTime and self.config.enableRushMode:
AttributeError: 'Bot' object has no attribute 'lastInactiveScanTime'
10/04/07 13:04:57 Something unexpected occured, see log file. Restarting bot.
10/04/07 13:05:03 Contacting server...
Bot stopped.
crimson
 
Posts: 2
Joined: Tue Sep 04, 2007 1:06 pm

Re: My customized kovan's OgBot

Postby Loger on Thu Oct 04, 2007 1:25 pm

try to make a manual galaxy scan
this sould solve the problem, I'll fix that in the next version ;)
Do NOT send me MP for support
Loger
 
Posts: 178
Joined: Tue Sep 18, 2007 3:50 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: Google [Bot], mrbolonello and 1 guest

cron