barolet / kovans-ogbot

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

Beta8 is no lober working #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ENGLISH ONLY. Thank you.

Login make a enless loop-

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system? What
language is the OGame server in?

Linux, Spanish, ogame.es

Please provide any additional information below.

Tue Jun  5 16:19:56 2007 Connecting...
Tue Jun  5 16:19:57 2007 Something unexpected occured, see log file.
Restarting bot.
Tue Jun  5 16:20:03 2007 Connecting...
Tue Jun  5 16:20:03 2007 Something unexpected occured, see log file.
Restarting bot.
Tue Jun  5 16:20:17 2007 Connecting...
Tue Jun  5 16:20:18 2007 Something unexpected occured, see log file.
Restarting bot.

This is not a duplicate issue, it issue is back on BETA8, please fix.
Thanks alot for you time.

Original issue reported on code.google.com by vietna...@gmail.com on 5 Jun 2007 at 9:23

GoogleCodeExporter commented 8 years ago
this is also a new problem for me, It does the same thing as when www.ogame.org 
changed it's homepage, exept nothing has changed, It's probably some Html 
issue, 
think gameforge is on to us? and they just makin little changes to keep us 
thinking.

wish i could code in python, then I could help...

Original comment by RogerLaF...@gmail.com on 6 Jun 2007 at 12:22

GoogleCodeExporter commented 8 years ago
I think you are right but the people working on this project is very smart.
Keep the good job boys !!!

Original comment by vietna...@gmail.com on 6 Jun 2007 at 1:04

GoogleCodeExporter commented 8 years ago
For OGBot_2.2_beta8 open src/WebAdapter.py and on line 74 add + "/home.php". 
That is
the line in the constructor of the WebAdapter class that defines the webpage
variable. Here's how it looked like:

    def __init__(self, config, allTranslations, checkThreadMsgsMethod, gui = None):
        self.server = ''
        self.lastFetchedUrl = ''
        self.serverCharset = ''        
        self.config = config
        self.checkThreadMsgsMethod = checkThreadMsgsMethod
        self._eventMgr = WebAdapter.EventManager(gui)
        self.serverTimeDelta = None

        self.webpage = "http://"+ config.webpage

        if not self.loadState():
            self.session = '000000000000'

        #setup urllib2:
        socket.setdefaulttimeout(10.0)

and here is how it looks after the change

    def __init__(self, config, allTranslations, checkThreadMsgsMethod, gui = None):
        self.server = ''
        self.lastFetchedUrl = ''
        self.serverCharset = ''        
        self.config = config
        self.checkThreadMsgsMethod = checkThreadMsgsMethod
        self._eventMgr = WebAdapter.EventManager(gui)
        self.serverTimeDelta = None

        self.webpage = "http://"+ config.webpage +"/home.php"

        if not self.loadState():
            self.session = '000000000000'

        #setup urllib2:
        socket.setdefaulttimeout(10.0)
        param1 = keepalive.HTTPHandler()

Original comment by marjan3...@gmail.com on 6 Jun 2007 at 11:06

GoogleCodeExporter commented 8 years ago

Original comment by pepillog...@gmail.com on 6 Jun 2007 at 11:17