[pyogame.net] Free Ogame Bot

06/04/2020 00:59 piecepaper#1
Hi Guys, I am developing a free but Lib in Github called pyogame
After some donations and some people asking me, I developed a Bot for them and hosted it on the Internet.

Now I release it for free for everyone to test it. It is not as advanced yet as NinjaBot but it's free and easy to use.
It routes all its Traffic throughout tor so if the Ogame decides to block all tor traffic everything should be fine.
You can also try it to use it with an trashaccount.

Github Repo
[Only registered and activated users can see links. Click Here To Register...]

Bot Website
[Only registered and activated users can see links. Click Here To Register...]
07/11/2020 21:27 ekTSu1x#2
Nice release :-) I will look at it.

My first Try was to run it and I get errors :-/

I try to figure out, I am not experienced in python than in Golang :-(

Code:
C:\Ogame\Barakis\build\lib\barakis>python __init__.py
PLS input User Info
Universum: Rosalind
Usernameor Email: [Only registered and activated users can see links. Click Here To Register...]
Password: XXXXXXXXXXXXXXXXXX
Visit: http://127.0.0.1:5000
[2020-07-11 16:41:29,732] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "__init__.py", line 51, in index
    response.data = inject_ogame('page=ingame&component=preferences') + load_script.replace('\n', '')
  File "__init__.py", line 28, in inject_ogame
    empire.server_language)
AttributeError: 'OGame' object has no attribute 'server_language'
127.0.0.1 - - [2020-07-11 16:41:29] "GET / HTTP/1.1" 500 426 0.181204
[2020-07-11 16:41:30,204] ERROR in app: Exception on /favicon.ico [GET]
Traceback (most recent call last):
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "__init__.py", line 62, in ogame_pages
    response.data = inject_ogame(ogame_url)
  File "__init__.py", line 28, in inject_ogame
    empire.server_language)
AttributeError: 'OGame' object has no attribute 'server_language'
127.0.0.1 - - [2020-07-11 16:41:30] "GET /favicon.ico HTTP/1.1" 500 426 0.313201
[2020-07-11 16:41:34,870] ERROR in app: Exception on /setup_bot [GET]
Traceback (most recent call last):
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\ogame\AppData\Local\Programs\Python\Python38\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "__init__.py", line 62, in ogame_pages
    response.data = inject_ogame(ogame_url)
  File "__init__.py", line 28, in inject_ogame
    empire.server_language)
AttributeError: 'OGame' object has no attribute 'server_language'
127.0.0.1 - - [2020-07-11 16:41:34] "GET /setup_bot HTTP/1.1" 500 426 0.302227
I never used the Python Wrapper. I do everything in GoLang. My base was the RestAPI Client and I modified it for using Database and added Routines and Scripting with Ankh like OGame Ninja do. Actually I do not have time to clean things up, but if you like I can invite you to my project. Its not public because, the Code is learning stuff and many things aren't all right atm.

I like the Injection of code into the OGame Homepage directly. I developed an HTML Template Set with Golan HTML/Templates for my needs. Its not that hard and its really responsive. :-)


@[Only registered and activated users can see links. Click Here To Register...] Project:
Ogame is monitoring Tor Traffic and if you use Tor for over 30 Days they automatically issue a ban.
If you use Tor sometimes 2-3 times a week they do not ban for this!

@[Only registered and activated users can see links. Click Here To Register...] Relay:
One time a Game Operater suspended my OGame Account because I am running a Tor Relay Server on my Home Network. My IP-Adress is listed on the Tor Server List. After the clarification they lifted the Ban for me and now respects Tor Relays for OGame Users.
09/18/2020 11:02 ekTSu1x#3
I got it to run. :-) Thank you German dude! Best wishes from Reykjavík!
02/21/2021 19:26 Dumasher#4
works?
07/09/2021 19:50 piecepaper#5
Yes I maintain the opensource library and now redeveloped the website. its up right now
pyogame.net

i still developing the website and the bot but its up there for you guys to try out. i use it myself to bot in this game.

Cloud Bot Website: [Only registered and activated users can see links. Click Here To Register...]
Bot Source Code: [Only registered and activated users can see links. Click Here To Register...]
Bot Library that was used to create the Bot: [Only registered and activated users can see links. Click Here To Register...]

Im the maintainer for this software its opensource and is given as is.


yeah tor is easy recognised by cloudflare and ogame itself. so i avoid using it. but it was really cool to have used it in the past. i just use a proxy network or pay for like 100 proxys.