Relive the golden age of space conquest with a complete OGame private server. Build planets, research technologies, assemble fleets, and wage interstellar wars across vast multi-galaxy maps. Faster progression, a deep tech tree, and alliance warfare bring the classic loop of growth and domination to life.
Designed for enthusiasts and game historians, this preserved clone captures the feel of the 2007 era, complete with alliances, combat reports, rankings, and multi-language support. It’s a faithful sandbox for strategic empire-building and high-stakes raids—showcasing the timeless appeal of OGame.
Title: OGame Server / OgameTr.Net (Turkish localization)
Folder Name: ogame_server
Developer: Perberos /
Website: gameo.exofire.net / OgameTr.Net
Release Date: ~2006-2007 (SQL dump: December 30, 2007)
Language: Multi-language (English default, Turkish text found)
Type: OGame Private Server (clone/emulator)
Database: razio_ogame
Status: Abandoned (test server never launched)
Historical Context: OGame Private Server Scene (2006-2010)
What is OGame?
OGame is a legendary browser-based space strategy MMO (2002-present):
What is This Archive?
A private server emulator created to run unauthorized OGame copies. Part of widespread "private server" scene (2006-2010) when OGame was at peak popularity.
Archive Contains:
Exposed Credentials (config.php):
`php
$dbsettings = Array(
"server" => "localhost",
"user" => "root",
"pass" => "root", // Default password!
"name" => "ogame",
"prefix" => "ugml_",
"secretword" => "secret"); // Weak secret!
`
Copyright Notice:
`php
// Created by Perberos. All rights reversed (C) 2006
`
Note: "reversed" instead of "reserved" - likely intentional (private server legality issues).
Turkish References:
---
Language: PHP 5.2.3 (from SQL header)
Database: MySQL 5.0.45 (MyISAM engine)
Framework: Custom "UGamela" framework
Structure: MVC-style (templates, includes, common functions)
File Statistics:
Multiple Function File Backups!
Developer was paranoid about backups!
Core Files:
`
index.php - Frame launcher
login.php - MD5 authentication (GOOD!)
reg.php - Registration (256 lines)
config.php - Database config
common.php - Core functions (221 lines)
extension.inc - File extensions
includes/functions.php - Main functions (1,589 lines!)
`
Framework Pattern:
`php
define('INSIDE', true); // Security check
$ugamela_root_path = './';
include($ugamela_root_path . 'extension.inc');
include($ugamela_root_path . 'common.'.$phpEx);
`
Database Architecture (719-line SQL):
20 Tables (ugml_ prefix):
`sql
ugml_alliance - Alliance/guild system
ugml_banned - Banned users
ugml_buddy - Friend list
ugml_config - Game configuration
ugml_errors - Error logging
ugml_fleets - Fleet movements
ugml_flota - Fleet data (Spanish: "flota")
ugml_forum_cat - Forum categories
ugml_forum_categories - Forum categories (duplicate?)
ugml_forum_posts - Forum posts
ugml_forum_posts_text - Post content
ugml_forum_topics - Forum topics
ugml_galaxy - Galaxy map
ugml_lunas - Moons (Spanish: "lunas")
ugml_messages - Message system
ugml_notes - Player notes
ugml_planets - Planet data (100+ columns!)
ugml_rw - Battle reports
ugml_themes - UI themes
ugml_users - Player accounts
`
Massive Planet Table:
100+ columns including:
OGame Features Implemented:
---
1. Planet Management (buildings.php - 849 lines)
`
Buildings:
`
2. Research System (infos.php - 892 lines)
`
Technologies (from inv.txt - Polish text!):
`
Polish language evidence! inv.txt contains Polish tech tree.
3. Fleet System (fleet.php, flotten1-3.php)
`
Ships:
`
Fleet Missions:
4. Galaxy View (galaxy.php, galaxy2.php)
5. Alliance System (alliance.php - 956 lines!)
`php
Alliance Features:
`
Sample Data:
`sql
INSERT INTO ugml_alliance VALUES
(131, 'Lolz', 'Lol', 910, 1193687478, NULL, '',
NULL, '', NULL, NULL, 0, 'Kurucu', NULL, 1, 0,
82000, 0, 0, 0, 216500, 1000, 0, 142);
`
Alliance "Lolz" with tag "Lol", owner 910, rank "Kurucu" (Turkish: "Founder").
6. Messages System (messages.php)
7. Combat Reports (rw.php - battle reports)
8. Buddy System (buddy.php)
`sql
CREATE TABLE ugml_buddy (
sender int(11) - Friend request sender
owner int(11) - Request recipient
active tinyint(3) - 0=pending, 1=accepted
text text - Friend message
)
`
Sample: User 910 sent request to user 909 with text "lolz".
9. Notes System (notes.php, notes_es.php)
10. Moon System (moon.php)
11. Scrap Merchant (schrotthaendler.php - German: "scrap dealer")
12. Stats/Rankings (stat.php, rankupdate.php, pointupdate.php)
13. Forum System (forum.php)
`
Tables:
ugml_forum_cat - Categories
ugml_forum_categories - Categories (duplicate?)
ugml_forum_topics - Topics
ugml_forum_posts - Posts
ugml_forum_posts_text - Post content
`
14. Admin Panel (administrator/ directory)
`
administrator/includes/functions.php (1,590 lines)
`
15. Multi-language Support
`
language/en/ - English language files
includeLang('login'); - Load language files
`
16. Other Features
`
chat.php - Chat system
help.php - Help/manual
techtree.php - Technology tree
calc.php - Battle simulator/calculator
search.php - Search players
imperium.php - Empire overview
overview.php - Planet overview
options.php - User settings
screenshot.php - Screenshot gallery
story.php - Game story/lore
rules.php - Game rules
contact.php - Contact form
changelog.php - Version changelog
`
17. Automation
`
check_data.php - Data validation (789 lines!)
check_files.php - File integrity checks (MD5)
check_times.php - Time synchronization
pointupdate.php - Update player points
rankupdate.php - Update rankings
guncelle.php - Turkish: "update"
`
18. Developer Tools
`
phpinfo.php - PHP info (security risk!)
ainfo.php - Admin info
lastversion.php - Version check
check_files.php - MD5 file verification
`
---
STRENGTHS:
1. MD5 PASSWORD HASHING!
`php
// login.php line 18
if($login['password'] == md5($_POST['password']))
`
Passwords hashed with MD5! Better than plaintext (but MD5 weak by modern standards).
2. COOKIE HASHING
`php
// login.php line 36
$cookie = $login["id"] . " " . $login["username"] . " " .
md5($login["password"] . "--" . $dbsettings["secretword"]) .
" " . $rememberme;
`
Cookie tampering protection using secret word + password hash.
3. SQL ESCAPING
`php
// login.php line 13
$login = doquery("SELECT * FROM {{table}}
WHERE username = '".mysql_escape_string($_POST['username'])."'
LIMIT 1","users",true);
`
Uses mysql_escape_string() (better than nothing, but deprecated).
4. INSIDE CONSTANT CHECK
`php
if (!defined('INSIDE')) {
die("Hacking attempt");
}
`
Prevents direct file access (files must be included via index).
5. FILE INTEGRITY CHECKS
`php
// check_files.php - MD5 verification
function md5_checksum($file) {
$fileContents = file_get_contents($file);
return md5($fileContents);
}
`
Detects modified files (anti-tampering).
WEAKNESSES:
1. MD5 IS WEAK
2. WEAK DEFAULT CREDENTIALS
`php
// config.php
"pass" => "root", // Default MySQL password!
"secretword" => "secret" // Weak secret!
`
3. mysql_* FUNCTIONS (DEPRECATED)
`php
mysql_escape_string($_POST['username'])
`
4. NO CSRF PROTECTION
5. EXTRACT() USAGE
`php
// common.php lines 42-44
extract($_POST,EXTR_SKIP);
extract($_GET,EXTR_SKIP);
extract($_COOKIE,EXTR_SKIP);
`
DANGEROUS! Extracts all POST/GET/COOKIE into variables. Can overwrite globals!
6. HARDCODED ADMIN EMAIL
`php
// reg.php
define('ADMINEMAIL',"
define('GAMEURL',"http://".$_SERVER['HTTP_HOST']."/");
`
7. PHPINFO EXPOSED
`php
phpinfo.php // Exposes server configuration!
`
8. ERROR REPORTING
`php
// common.php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
`
Shows errors to users (information disclosure).
9. NO PREPARED STATEMENTS
All queries use string concatenation (SQL injection risk if escaping fails).
---
STRENGTHS:
1. Template System
`php
// Uses .tpl files (Smarty-style)
$page = parsetemplate(gettemplate('login_body'), $parse);
`
Separates logic from presentation! (Good MVC practice)
2. Language System
`php
includeLang('login'); // Loads language files
echo $lang['Login_Error'];
`
Multi-language support built-in.
3. Modular Structure
4. Custom Framework
`php
// UGamela framework
doquery($query, $table, $return_single_row)
parsetemplate($template, $variables)
gettemplate($template_name)
`
Abstraction layer for common operations.
5. File Integrity System
`php
// check_files.php - MD5 verification
`
Anti-tampering protection (detects modified files).
WEAKNESSES:
1. EXTRACT() ANTI-PATTERN
`php
extract($_POST,EXTR_SKIP);
extract($_GET,EXTR_SKIP);
extract($_COOKIE,EXTR_SKIP);
`
Worst practice! Creates variables from user input. Security nightmare!
2. MASSIVE FUNCTION FILES
`
functions.php (1,589 lines!)
functions45.php (1,934 lines)
function31s.php (1,934 lines)
functionsyedek.php (1,934 lines)
`
Should be split into multiple files by feature.
3. EXCESSIVE BACKUPS
8+ backup copies of functions.php with different names. Clutters codebase!
4. MIXED LANGUAGES
`php
flottenversand.php // German: "fleet dispatch"
schrotthaendler.php // German: "scrap dealer"
ugml_lunas // Spanish: "moons"
ugml_flota // Spanish: "fleet"
functionsyedek.php // Turkish: "backup"
guncelle.php // Turkish: "update"
`
File names in 4+ languages! Confusing!
5. NO COMMENTS
6. INCONSISTENT NAMING
`
flotten1.php, flotten2.php, flotten3.php (German)
floten1.php, floten2.php, floten3.php (typo?)
fleet.php, fleet4.php (English)
`
7. DEPRECATED PHP
`php
mysql_connect()
mysql_query()
mysql_escape_string()
set_magic_quotes_runtime(0) // Removed PHP 7.0
`
8. INLINE HTML
Many files mix PHP and HTML (no consistent templating).
---
ugml_users Table (100+ columns!):
`sql
id, username, password (MD5!), email, email_2,
lang, user_lastip, current_planet, id_planet,
register_time, onlinetime, authlevel,
b_building, b_building_id,
b_tech, b_tech_id,
b_hangar, b_hangar_id, b_hangar_plus,
user_fleet_shortcuts,
ally_id, ally_register_time, ally_rank_id,
rpg_geologue, rpg_amiral, rpg_ingenieur,
rpg_technocrate, rpg_constructeur,
rpg_scientifique, rpg_stockeur, rpg_defenseur,
rpg_espion, rpg_commandant,
bana, izin
`
Features:
ugml_planets Table (120+ columns!):
`sql
id, name, id_owner, galaxy, system, planet,
last_update, planet_type, image,
diameter, field_current, field_max,
temp_min, temp_max,
metal, metal_perhour, metal_max,
crystal, crystal_perhour, crystal_max,
deuterium, deuterium_perhour, deuterium_max,
energy_used, energy_max,
-- Buildings (20+ columns)
metal_mine, crystal_mine, deuterium_sintetizer,
solar_plant, fusion_plant, robot_factory,
nano_factory, hangar, metal_store,
crystal_store, deuterium_store, laboratory,
terraformer, ally_deposit, silo,
-- Ships (15+ columns)
small_ship_cargo, big_ship_cargo,
light_hunter, heavy_hunter, crusher,
battle_ship, colonizer, recycler,
spy_sonde, bomber, solar_satelit,
destructor, dearth_star, battleship,
-- Defense (10+ columns)
misil_launcher, small_laser, big_laser,
gauss_canyon, ionic_canyon, buster_canyon,
small_protection_shield, big_protection_shield,
interceptor_misil, interplanetary_misil,
-- Research (in progress)
b_building, b_building_id, b_tech, b_tech_id,
b_hangar, b_hangar_id, b_hangar_plus,
-- Queues
last_jump_time, der_metal, der_crystal
`
Planet Features:
ugml_fleets Table:
`sql
fleet_id, fleet_owner, fleet_mission,
fleet_amount, fleet_array,
fleet_start_time, fleet_start_galaxy,
fleet_start_system, fleet_start_planet,
fleet_start_type,
fleet_end_time, fleet_end_stay,
fleet_end_galaxy, fleet_end_system,
fleet_end_planet, fleet_end_type,
fleet_target_owner, fleet_group,
fleet_mess, fleet_resource_metal,
fleet_resource_crystal, fleet_resource_deuterium,
start_time
`
Fleet Movement:
ugml_alliance Table:
`sql
ally_name, ally_tag, ally_owner,
ally_register_time, ally_description,
ally_web, ally_text, ally_image,
ally_request, ally_request_waiting,
ally_owner_range, ally_ranks,
ally_members, ally_points,
ally_points_builds, ally_points_fleet,
ally_points_tech
`
Alliance System:
---
Context:
This archive is a private server emulator for OGame, the legendary space strategy MMO.
OGame History:
Why Private Servers?
Private Server Ecosystem:
This Archive's Place:
Language Evidence:
`
English: login.php, buildings.php, fleet.php
Turkish: functionsyedek.php ("yedek"=backup),
guncelle.php ("güncelle"=update),
"Kurucu" (founder), "�yeliginiz" (membership)
Polish: inv.txt (full Polish tech tree!)
German: flottenversand.php ("fleet dispatch"),
schrotthaendler.php ("scrap dealer")
Spanish: ugml_lunas (moons), ugml_flota (fleet)
`
Developer was multilingual or copy-pasted from multiple sources!
Why It Failed:
OGame Legacy:
---
Server:
Installation:
Configuration:
`php
// config.php
$dbsettings = Array(
"server" => "localhost",
"user" => "root",
"pass" => "root",
"name" => "ogame",
"prefix" => "ugml_",
"secretword" => "secret");
`
Dependencies:
Blockers:
Would require:
Estimated effort: 500+ hours
Better Alternative: Use modern OGame forks:
---
What's Present:
What's Missing:
Playability:
`
PHP 5.6: YES (with warnings)
PHP 7.0+: NO (mysql_* removed)
Security: ⚠️ WEAK (MD5 passwords, extract() usage)
Legal: NO (OGame copyright)
`
Historical Significance:
Comparative Rarity:
In Wild:
---
RATING BREAKDOWN:
| Category | Score | Reasoning |
|---|---|---|
| Security | 5/10 | MD5 passwords (weak), mysql_* deprecated, extract() dangerous |
| Code Quality | 6/10 | Template system good, extract() bad, 8+ backup files messy |
| Completeness | 7/10 | 177 files, 38,095 lines, templates, images, mostly functional |
| Innovation | 4/10 | Clone of OGame (no original features) |
| Playability | 4/10 | Works PHP 5.6, broken PHP 7+, legal issues |
| Historical Impact | 7/10 | Part of massive private server scene (2006-2010) |
| Preservation Value | 8/10 | 2007 vintage, multi-language, UGamela framework |
1. Complete OGame Clone
2. Template System
`php
// 122 TPL files - MVC separation!
$page = parsetemplate(gettemplate('login_body'), $parse);
`
3. MD5 Password Hashing
`php
if($login['password'] == md5($_POST['password']))
`
Better than plaintext! (Though MD5 weak)
4. Multi-Language Support
5. File Integrity Checks
`php
// check_files.php - MD5 verification
`
Anti-tampering system (detects modified files).
6. Large Image Archive
7. Database Design
1. COPYRIGHT INFRINGEMENT ⚠️
`php
// Created by Perberos. All rights reversed (C) 2006
`
"reversed" instead of "reserved" - intentional (knows it's illegal).
OGame owned by Gameforge AG. This is unauthorized clone. Cannot be deployed legally.
2. extract() ANTI-PATTERN
`php
extract($_POST,EXTR_SKIP);
extract($_GET,EXTR_SKIP);
extract($_COOKIE,EXTR_SKIP);
`
Worst PHP practice! Creates variables from user input. Can overwrite globals!
3. MD5 Passwords (Weak) ⚠️
4. mysql_* DEPRECATED
`php
mysql_escape_string()
mysql_connect()
mysql_query()
`
Removed PHP 7.0. Won't run modern PHP.
5. 8+ Backup Files 🤦
`
functions.php (1,589 lines)
functions45.php (1,934 lines)
function31s.php (1,934 lines)
functionsyedek.php (1,934 lines)
functions456.php (1,933 lines)
functions4.php (1,548 lines)
functions.dk.php (1,268 lines)
Kopyasy functions.php (1,590 lines)
`
Developer paranoid or disorganized!
6. Mixed Languages
File names in 4+ languages (Turkish, Polish, German, Spanish, English). Confusing!
7. Never Launched
Only test data:
Reasons:
If deployed:
Who Should Study:
Teaching Points:
The OGame Private Server Story:
2002: OGame launches (Gameforge AG, Germany)
2003-2005: Explosive growth (100,000+ players)
2006: Private servers appear
2007-2008: OGame peak (500,000+ simultaneous!)
2008-2010: Private server explosion
2010-2015: OGame decline
2015-2025: OGame survives
This Archive:
The Lesson: Copyright vs Innovation
Private servers drove innovation:
But copyright infringement prevented mainstream success. Official OGame survived, private servers chased by lawyers.
Modern parallel: Minecraft private servers, WoW private servers (same legal issues).
In Collection (Games 1-49):
Comparison:
Justification:
Archive Value: High (cultural artifact, complete codebase, historical significance)
---
Archive Status: PRESERVED (OGame Private Server - Historical Artifact)
Analysis Date: December 11, 2025
Game Number: 49 of 79
Analyst Notes: OGame Server by Perberos (2006-2007). Complete OGame clone using UGamela framework. 177 PHP files, 38,095 lines, 719-line SQL, 13.3 MB images! MD5 passwords (better than plaintext but weak by modern standards). Template system (122 TPL files - MVC separation). Multi-language: English default, Turkish (OgameTr.Net), Polish (inv.txt tech tree), German (flottenversand, schrotthaendler), Spanish (lunas, flota). 8+ backup copies of functions.php (developer paranoid!). extract() anti-pattern (dangerous!). Copyright infringement - OGame owned by Gameforge AG. Never launched (test data only: alliance "Lolz", user 910). mysql_* deprecated (won't run PHP 7+). Part of massive private server scene 2006-2010 (100+ servers at peak). OGame still running 2025 (23 years old!). Historical significance HIGH - preserves 2007 private server culture, complete clone of legendary MMO (500,000+ players at peak). Cannot deploy legally but excellent educational artifact (copyright vs innovation, private server culture, MMO architecture). File integrity checks (MD5 verification) unique feature. Worth preserving as cultural artifact despite legal issues.
Running many of the scripts in this archive on a live server presents a serious security risk. These projects were created before modern hardening practices and may contain vulnerabilities that can compromise your system.
We strongly recommend using this code for reference and analysis only, or in isolated local environments. By downloading these files, you accept full responsibility for their use.