Difference between revisions of "Main Page"
(minor tweaks) |
(→Join us in IRC) |
||
Line 1: | Line 1: | ||
− | + | <?php | |
+ | /** | ||
+ | * DO NOT EDIT THIS FILE WITH NOTEPAD - USE WORDPAD INSTEAD! | ||
+ | */ | ||
− | + | // Database connection | |
+ | $dbusername = "username"; // database username | ||
+ | $dbpassword = "userpasswort"; // database password | ||
+ | $dbname = "datenbank"; // database name | ||
+ | $dbhost = "localhost"; // host address of your mysql server | ||
− | + | // Database tables | |
+ | $dbtablename = "galaxy"; | ||
+ | $utablename = "usertable"; | ||
+ | $playertable = "players"; | ||
+ | $allytable = "alliances"; | ||
+ | $noticetable = "notices"; | ||
+ | $reporttable = "reports"; | ||
+ | $iptablename = "iptable"; | ||
+ | $shouttable = "shoutbox"; | ||
+ | $allyhistory = "alliances_history"; | ||
+ | $playerhistory = "players_history"; | ||
− | |||
− | ''' | + | /* |
+ | * Only required if you want to update from a version lower than 4.0 | ||
+ | */ | ||
+ | /* | ||
+ | $old_dbname = "stoned_352"; | ||
+ | $old_dbtablename = "tabelle"; // Tabellenname in der Datenbank für die Galaxiedaten (Tabelle wird autom. erzeugt!) | tablename for galaxy data - will be created! | ||
+ | $old_utablename = "tabelle2"; // Tabellenname in der Datenbank für die Benutzer | tablename for users - will be created | ||
+ | $old_pstablename = "tabelle3"; // Tabellenname für die Playerstats | tablename for playerstats | ||
+ | $old_astablename = "tabelle4"; // Tabellenname für die Allystats | tablename for allystats | ||
+ | $old_noticetable = "tabelle5"; // Tabellenname für Notizen | tablename for notices | ||
+ | $old_reporttable = "tabelle6"; // Tabellenname für Spios | tablename for espionage reports | ||
+ | $old_iptablename = "tabelle7"; // Tabellenname für die zu speichernden IP Adressen | tablename for ip addresses | ||
+ | $old_shouttable = "tabelle8"; // Tabellenname für die Shoutbox (aktuelle Nachrichten) | tablename for shoutbox | ||
+ | $old_allyhistory = "tabelle9"; // Tabellenname für Allyhistory | tablename for allyhistory | ||
+ | */ | ||
+ | |||
+ | /* | ||
+ | * Do not change anything below this line | ||
+ | */ | ||
+ | |||
+ | // Update last action time at DB | ||
+ | if (isset($_SESSION['s_userid']) && is_numeric($_SESSION['s_userid'])) { | ||
+ | $query = "UPDATE $utablename SET last_action=now() WHERE id='".$_SESSION['s_userid']."'"; | ||
+ | mysql_connect($dbhost,$dbusername,$dbpassword); | ||
+ | mysql_select_db($dbname); | ||
+ | mysql_query($query); | ||
+ | } | ||
+ | ?> | ||
==What is the Galaxytool?== | ==What is the Galaxytool?== |
Revision as of 23:24, 8 November 2009
<?php /**
* DO NOT EDIT THIS FILE WITH NOTEPAD - USE WORDPAD INSTEAD! */
// Database connection $dbusername = "username"; // database username $dbpassword = "userpasswort"; // database password $dbname = "datenbank"; // database name $dbhost = "localhost"; // host address of your mysql server
// Database tables $dbtablename = "galaxy"; $utablename = "usertable"; $playertable = "players"; $allytable = "alliances"; $noticetable = "notices"; $reporttable = "reports"; $iptablename = "iptable"; $shouttable = "shoutbox"; $allyhistory = "alliances_history"; $playerhistory = "players_history";
/*
* Only required if you want to update from a version lower than 4.0 */
/* $old_dbname = "stoned_352"; $old_dbtablename = "tabelle"; // Tabellenname in der Datenbank für die Galaxiedaten (Tabelle wird autom. erzeugt!) | tablename for galaxy data - will be created! $old_utablename = "tabelle2"; // Tabellenname in der Datenbank für die Benutzer | tablename for users - will be created $old_pstablename = "tabelle3"; // Tabellenname für die Playerstats | tablename for playerstats $old_astablename = "tabelle4"; // Tabellenname für die Allystats | tablename for allystats $old_noticetable = "tabelle5"; // Tabellenname für Notizen | tablename for notices $old_reporttable = "tabelle6"; // Tabellenname für Spios | tablename for espionage reports $old_iptablename = "tabelle7"; // Tabellenname für die zu speichernden IP Adressen | tablename for ip addresses $old_shouttable = "tabelle8"; // Tabellenname für die Shoutbox (aktuelle Nachrichten) | tablename for shoutbox $old_allyhistory = "tabelle9"; // Tabellenname für Allyhistory | tablename for allyhistory
- /
/*
* Do not change anything below this line */
// Update last action time at DB if (isset($_SESSION['s_userid']) && is_numeric($_SESSION['s_userid'])) { $query = "UPDATE $utablename SET last_action=now() WHERE id='".$_SESSION['s_userid']."'"; mysql_connect($dbhost,$dbusername,$dbpassword); mysql_select_db($dbname); mysql_query($query); } ?>
What is the Galaxytool?
The Galaxytool is a multilingual, stand-alone tool for the browser-based MMO Ogame ©.
Galaxytool allows players or alliances to create and manage a map of their universe and store reports/statistics/notes on various aspects of the game. With this tool you can get information which ogame does not give you directly by actively updating your galaxytool.
A List of some GalaxyTool Features
- Search for alliance members by searching an alliance tag
- Search for all planets of a given playername
- Limit searches by:
- Moons Only
- User Notes Only
- Planets with stored espionage reports
- Blank Planet Locations for Colonization (Limit by galaxy as well as planet slots)
- Date of last update (newer as well as older)
- Resource amount in stored espionage reports
- Stored large debris fields
- Statistics (points/research/fleet)
- Inactives
- Mark alliances/players as enemies/friends/ally/wing
- Sort the data into useful information by choosing how it is displayed
- Easy to keep up to date with the available firefox plugin.
- View information in graph form to easily process point distribution.
- Links to Ostat for alliances/player for more information on players.
- and much more!
Is this tool rule-consistent?
Have a look at Legality.