Closed GoogleCodeExporter closed 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
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
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
Original comment by pepillog...@gmail.com
on 6 Jun 2007 at 11:17
Original issue reported on code.google.com by
vietna...@gmail.com
on 5 Jun 2007 at 9:23