OGame Automizer Development Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Make a Donation for OGame Automizer Development by PayPal, Visa or MasterCard



Author Topic: Ability to use or see OA GUI over HTTP  (Read 384 times)

0 Members and 1 Guest are viewing this topic.

Memnoch

  • Full Member
  • ***
  • Offline Offline
  • Posts: 228
    • View Profile
Ability to use or see OA GUI over HTTP
« on: November 03, 2009, 10:39:46 PM »

I currently have OA running on my home PC, and while at work I use SSH/Socks5 tunnel to route all my browser traffic through my home PC. This gives me the ability to look at game sites that would otherwise be blocked by my employer. It also lets me look at http://localhost:OA_Port/game/index.php?page=movement&session=XXXXXXXXXX and monitor and play around with OGame while the bot is running on my home PC.

The only problems are, in order to know it it is okay to use the browser to play around with ogame (Red/Blue when it's updating stuff), I need to use remote desktop to login to my home pc to check the OA GUI periodically to see if it is okay to use the browser.

Is there anyway to add some kind of status on the http://localhost:OA_Port/game/index.php?page=movement&session=XXXXXXXXXX  page to show when the OA GUI is changing from Blue to Red and vise versa?

Or someway to view the GUI over HTTP would also help, but I imagine that it would be a lot harder to implement.
Logged

Devil's Hand

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1,427
    • View Profile
Re: Ability to use or see OA GUI over HTTP
« Reply #1 on: November 04, 2009, 12:03:58 AM »

Yes it can be done by placing a tag in OGame pages just after
Code: [Select]
<body id="XXXXXXXX">The code have to request the information via AJAX from OA proxy every second. But I don't know very well AJAX so it can take some time before being implemented.
Logged
 

Page created in 0.032 seconds with 15 queries.