Ogame alarm w/ cheese

By Pimp Trizkit Last update Nov 3, 2009 — Installed 410 times. Daily Installs: 13, 24, 9, 8, 17, 4, 10, 11, 31, 17, 49, 16, 11, 22, 8, 15, 8, 6, 9, 8, 13, 2, 8, 8, 9, 11, 8, 5, 7, 7, 5, 7
Script Summary:
OGame Alarm with email, colors, arrival times, mute, autologin, fleet counts and yes.. cheese. (credits to Laymain - Karamba)
Version: 1.05
Recently Updated TopicsPosts
is there a version that wor...3
Issues28
Cmon Peoples!1
Tested Configurations1

this script has 4 topics, 33 posts

This script has no reviews.

Authors Notes:
--- NOT FOR REDESIGN SORRY --- (yet)
A Great Thanks to Laymain - Karamba. I dont really know where this all started but this script has been
quite useful for many of us im sure. This is just my modification of an already great script.
Im still learning JavaScript so I'm sure I did a bunch of stuff i wasnt supposed to. Sorry for all the
innerHTML uses.

TO GET EMAILER WORKING:

Goto -> http://formtoemail.com/
(Click Free Version, then Download, you will need to unzip it, make some text edits and then
copy it to your webhost)

FormToEmail.php is needed. (On my webhost I had to rename it to FormToEmail.php5).
This file must be hosted by a server of your choosing. Im sure you can find a free one that
supports PHP somewhere. You will need to make a few changes to that file with a text editor
then copy that file to your webhost.

1) Download and unzip FormToEmail.php

2) Open FormToEmail.php in some text editor and :
a) goto the line that starts with "$my_email =" (i think its line 101)... to enter the email address you wish to recieve the ogame messages. In server-side PHP, your email address is much safer, and invisible on the internet.
b) Comment out line 152 ( goto line 152 and put // in the beginning)
(its the line that starts with if(!(isset($_SERVER['HTTP_REFERER'])

3) Upload edited FormToEmail.php to webhost server (I had to rename to FormToEmail.php5).

4) Put URL of your new PHP email server in script. (at the beginning where it says var EmailURL = "delete this";

5) Click "Emailer" in OGame to turn On and Off.

6) Enjoy!

7) Become a fan!

8) Post in the discussions!

9) Fix the WIKIs!

10) Enjoy More!

11) Goto 8

12) Easter Egg

____________________________________________________________________________

Features :

- Colors > Colors fleet movements and players names in the galaxy screen.

- Arrival Time > Writes the arrival time of fleet movements in front of the fleet detail.

- Fleet Counts > Writes the fleet counts in the fleet detail in the Overview screen as well as the phalanx reports.

- Emailer > With proper PHP server setup (discussed above). The Emailer can be turned on and off. This Emailer triggers only on normal Attack Missions and Moon Destruction Missions.

- Mute All > All sounds will be Muted including messages.

- Mute Attack > All incoming normal Attack Missions will be muted.

- Mute RIP > All incoming Moon Destruction Missions will be muted.

- AutoLogIn > After first login you can turn it on. This option assumes your browser has saved the username and password and has auto-filled those fields.

- ReLoad > Normally its on and the script will recycle to Overview screen no matter what screen its on (after timer). You can turn it off for this window(tab) only.

______________________________________________________________________________

Version 1.01 :
- AutoLogIn now has a slight random delay.
- AutoReload now works nicely with more servers (all of them hopefully.. needs testing)
- Fix Includes to work with more servers (all of them hopefully.. needs testing)

Version 1.02 :
- disable AutoLogIn until the script has seen a login
- Add ReLoad Button. This Button only turns off reload for this window (or tab). This value is not saved. All new windows (or tabs) start with ReLoad ON. This allows you to have several windows (or tabs) open that wont recycle to overview after the timer.

Version 1.03 :
- Fixed Holding color (when fleet is exploring)
- Changed most variable names to english
- Fixed Volume, the Attack sound plays at 100%, Probe sound plays at 75%, all other sounds play at Message volume of 50%. Needs Testing. Change variables to adjust volume. (volAttacks,volProbes,volMessages).
- Made a User Variables section of code (at beginning). So its a littler clearer what settings there are for the user to adjust.
- Changed the way the AutoLogIn works a little. Now you can make changes to the about:config screen and the AutoLogIn button doesnt bug out. But basically, if you reset the AUTOLOGINUNI variable in about:config, the script will only allow you to turn off AutoLogIn until it sees a login again or until you change the AUTOLOGINUNI variable in about:config to something (useful... hopefully, it doesnt check)

Version 1.04 :
- Twiddled with AutoLogIn again. It now checks the about:config variable AUTOLOGINUNI before each login. Resetting the variable AUTOLOGINUNI from about:config at anytime now basically turns off AutoLogIn
- Changed how the reload works. Now, it checks for the word overview in the href instead of innerHTML. Hopefully, this will be nicer for other languages. Needs testing.

Version 1.05 :
- Changed the AutoLogin. Now it checks for just a short URI instead of a
specific sized URI. Should work on more (all?) servers now.

______________________________________________________________________________

Fix the WIKIs:
WIKI : Make Right-Click Emailer button open a window or something to set the URL of the PHP page.
WIKI : Make Mute/Unmute buttons for each attack. So specified attacks dont keep triggering the alarm.
So you can make it trigger the alarm only on new attacks.
WIKI : get rid of all innerHTML usages. I suspect this whole thing could be done with some cool GM_Styling. anyone?
WIKI : Move arrival time to first column.
WIKI : Pick out Exploration mission (which looks like a transport mission to the script) and color it differently.
WIKI : Find reliable free webhoster. And/Or if someone who wants to donate an anonymous server. And we
can change the script to send the destination email address as well.
WIKI : Make configuration screens to change all sorts of options like volume and URLs, colors, etc...
WIKI : Save the cheerleader save the world.

______________________________________________________________________________

Configurations Tested:

FF 3.0.14 with GM 0.8.20090920.2
FF 3.5.4 with GM 0.8.20090920.2

Please Send in tested configurations!