Venture into a classic fantasy world where gritty dungeon skirmishes, explorable towns, and character-driven progression converge. Build a hero with deep stats and skills, gear up across shops and quests, and test your mettle in arena duels and PvP clashes. Rich NPC behaviors and a living map make each journey feel systemic and alive.
From clans and reputations to spellcraft and crafting, Kallen delivers that old-school RPG feel with breadth: sprawling locales, powerful foes, and a rewarding loop of discovery, combat, and advancement. Whether you chase glory or riches, the path you carve through the realm is entirely your own.
Directory: kallen/Kallen/
Game Engine: Phaos - Fantasy Browser RPG Engine
Version: 0.89 (per HISTORY.txt)
Original Developer: Zeke Walker (zekewalker.com)
Company: 3E Productions (3eproductions.com)
Official Site: worldofphaos.com
Development Date: June 23, 2006 (SQL dump), March 30, 2005 (
) : GPL (GNU General Public ) + World of Phaos trademark restrictionEnvironment: PHP 5.0.4, MySQL 4.1.12, phpMyAdmin 2.6.2-pl1
Key Discovery: This is the original Phaos engine - one of the most influential open-source browser RPG frameworks from the mid-2000s. Spawned numerous derivatives and inspired many later projects.
---
Total Files: 1,199 files
Code: 135 PHP files (0.90 MB)
Graphics: 1,047 images (3.93 MB total)
Audio: 4 MIDI files (0.17 MB)
Database: 2 SQL files (1.79 MB)
phaos_structure.sql - 42 tables, 828 linesphaos_data.sql - pre-populated game contentDocumentation: 3 text files (INSTALL.txt, HISTORY.txt, LICENSE.txt)
Flash: 1 SWF file (0.01 MB)
Binary: 1 EXE, 1 DLL in images/ (1.32 MB - likely map editor tools)
Directory Structure:
Kallen/
├── Core Game Files (80+ PHP scripts)
├── admin/ (60 admin tools - comprehensive CMS)
├── images/ (1,047 files - characters, items, monsters, UI)
├── mapmaker/ (map editor tool)
├── flash/ (Flash components)
├── music/ (4 MIDI background tracks)
├── lang/ (internationalization)
├── styles/ (CSS themes)
└── import/ (SQL installation)
---
Architecture: Object-Oriented with Procedural Helpers
1. Character System (class_character.php - 1,472 lines!)
attack_min(), attack_max(), defense_min(), defense_max()2. Database Layer (config.php lines 25-26):
$connection = mysql_connect("$mysql_server","$mysql_user","$mysql_password");
$db = mysql_select_db("$mysql_database");
$connection variable used throughout3. Security Model (config.php lines 49-55):
// FIXME: security hole
foreach($_GET as $key=>$value) {
$$key = get_magic_quotes_gpc() ? $value : addslashes($value);
}
foreach($_POST as $key=>$value) {
$$key = get_magic_quotes_gpc() ? $value : addslashes($value);
}
DANGEROUS: Variable variables $$key - any GET/POST parameter becomes a PHP variable! Developer acknowledged this with "FIXME: security hole" comment. 4. Authentication (config.php lines 63-80):
PHP_PHAOS_USER, PHP_PHAOS_MD5PWPHP_ADMIN_USER, PHP_ADMIN_MD5PW)5. Internationalization (config.php lines 10-14):
$lang variable from cookie (defaults to "en")lang/ directoryinclude_lang.php for translations6. Combat Engine (combat.php - 1,016 lines):
root_damage(), roll_damage()7. NPC AI (functions.php - movenpc()):
8. Admin Panel (60 files in admin/):
admin_chat.php)9. Map System:
mapmaker/ - dedicated map editormap_to_image.php - dynamic map renderingpass field in locations)---
RPG System: Classic fantasy D&D-inspired mechanics with browser-based implementation.
Fight, Defense, Weaponless Combat, Lockpicking, Traps, Search, Mana
Weapon, Armor, Helmet, Boots, Gloves, Shield, Neck, Ring, (9th slot unclear)
pvpcombat.php) - Direct player battlesbank.php, bankgold field)market.php)phaos_clan_admin, phaos_clan_in tables)message.php)who.php)player_info.php)phaos_quests tablephaos_questhunters)---
Total Tables: 42
Prefix: phaos_
Engine: MyISAM (TYPE=MyISAM in SQL)
Charset: latin1 (default, not UTF-8)
Characters & Users:
phaos_characters (50+ fields) - player characters, NPCsphaos_users - accountsphaos_admin - admin accountsEquipment & Items (9 tables):
phaos_weapons, phaos_armor, phaos_boots, phaos_gloves, phaos_helm, phaos_shieldsphaos_char_inventory - player inventoryphaos_ground - dropped items on groundCombat & NPCs:
phaos_npc - NPC definitionsphaos_opponents - enemy statsphaos_arena_fighting - arena battlesWorld & Travel:
phaos_locations (id, name, image_path, special, buildings, pass, explore)phaos_buildings - shops in locationsphaos_ship - ship travelEconomy:
phaos_shop_inventory - shop stock with quantity/maxSocial:
phaos_clan_admin - clan management (22 fields!)phaos_clan_in - clan membershipphaos_mail - messagingQuests:
phaos_quests - quest definitionsphaos_questhunters - player quest progressMagic & Abilities:
phaos_spellsphaos_abilitiesSchema Quality: 6/10
---
Strengths:
functions.php, shop_functions.php)Weaknesses:
$$key from user input)$connection, $auth, $character)time()+1000, hardcoded arena location ranges)index.php line 158: "root","cM27kl")Maintainability Issues:
Modernization Cost: 320-400 hours ($24K-$30K at $75/hr)
---
PHP Version: 5.0.4 (June 2006)
EOL: August 2007 (18+ years obsolete!)
MySQL: 4.1.12 (ancient)
Critical Issues:
Missing Modern Features: Namespaces, traits, type hints, return types, null coalescing, PDO, Composer, PSR standards, ORM, templating engine, middleware, dependency injection.
---
1. Variable Variables Injection (config.php lines 49-55):
foreach($_GET as $key=>$value) {
$$key = get_magic_quotes_gpc() ? $value : addslashes($value);
}
Impact: Attacker can overwrite ANY PHP variable:
?PHP_PHAOS_USER=admin&PHP_PHAOS_MD5PW=fakehash&connection=malicious
Result: Authentication bypass, global state corruption, arbitrary variable injection. 2. SQL Injection - Partial protection via addslashes():
addslashes() ≠ mysql_real_escape_string()3. Weak Password Hashing:
4. Hardcoded Credentials:
mapmaker/index.php line 158: mysql_connect("localhost","root","cM27kl")5. Limited XSS Protection:
htmlspecialchars() found6. Information Disclosure:
die(mysql_error()) throughout code$_COOKIE['_debug']7. No CSRF Protection: Forms lack tokens
8. Session Security:
addslashes() shows some security awareness (for 2006)Security Grade: F+ (2/10) - Acknowledged flaws but not fixed, critical variable injection vulnerability.
---
1. Comprehensive OOP Character Class ⭐⭐⭐
2. Dynamic NPC AI ⭐⭐
3. Explorable Towns (v0.89 feature) ⭐⭐
4. Map Editor Integration ⭐⭐
mapmaker/ tool with visual interfacemap_to_image.php dynamic rendering5. Comprehensive Admin Panel ⭐
6. Internationalization Framework ⭐
lang/ directory7. Modular Shop System ⭐
shop_functions.php, shop_include.phpPhaos Legacy (2005-2010s):
Comparison to Contemporaries:
Technical Merit for 2006: 8/10
Innovation Score Today: 7/10 - Historically significant, advanced architecture for 2006, but security flaws prevent higher rating.
---
1. Historical Study ⭐⭐⭐⭐⭐
2. Learning Game Design ⭐⭐⭐⭐
root_damage(), exponential curves)3. GPL Framework Study ⭐⭐⭐⭐
4. Security Training ⭐⭐⭐
5. Modernization Project ⭐⭐
Archive Status: TIER 1 - CROWN JEWEL ⭐⭐⭐⭐⭐
Rationale:
Preservation Actions:
Document Thoroughly (this analysis)
Archive Complete Source (all 1,199 files)
Screenshot Key Features (admin panel, map editor, combat system)
Export Database Schema (42 tables documented)
Record Version History (HISTORY.txt shows v0.88 → v0.89 progression)
Credit Creator: Zeke Walker / 3E Productions / worldofphaos.com
Note
: GPL code + World of Phaos trademark restrictionResearch Impact: Search for Phaos derivatives, document influence
Do NOT:
| Game | Innovation | Security | Architecture | Legal | Preservation Tier |
|---|---|---|---|---|---|
| Phaos/Kallen | 7/10 | 2/10 | 7/10 | GPL | Tier 1 ⭐⭐⭐⭐⭐ |
| ezRPG | 9/10 | 8/10 | 9/10 | GPL v3 | Tier 1 |
| Glory Lands | 9/10 | 8/10 | 9/10 | GPL v3 | Tier 1 |
| ikariam | 3/10 | 0/10 | 6/10 | Clone | Tier 3 |
| GTA RPG | 2/10 | 0/10 | 3/10 | GPL | Tier 3 |
Verdict: Phaos ranks as 3rd most valuable engine (after ezRPG and Glory Lands), but edges ahead in historical significance due to earlier release date (2005 vs 2009).
---
| Metric | Value |
|---|---|
| Files | 1,199 (135 PHP, 1,047 images, 4 MIDI, 2 SQL) |
| Database | 42 tables (MyISAM, latin1) |
| Code Size | ~20,000 lines (estimated) |
| Dev Date | 2005-2006 (v0.89 June 2006) |
| PHP Version | 5.0.4 (EOL 2007, 18 years obsolete) |
|
|
GPL + World of Phaos trademark |
| Creator | Zeke Walker (3E Productions) |
| Security | 2/10 (variable injection, weak auth) |
| Innovation | 7/10 (OOP class, NPC AI, map editor) |
| Architecture | 7/10 (good for 2006, monolithic files) |
| Modernization | $24K-$30K (320-400 hours) |
| Historical Value | ⭐⭐⭐⭐⭐ (major influence) |
| Preservation | Tier 1 - Crown Jewel |
Key Strengths: Comprehensive feature set, OOP character system, admin tools, GPL
d, historically significantKey Weaknesses: Variable variables security flaw, obsolete PHP/MySQL, monolithic files, weak authentication
Best Use: Historical study, game design learning, modernization learning project
Legacy: Spawned numerous derivatives, influenced 2000s browser RPG development
| Category | Rating | Commentary |
|---|---|---|
| Innovation & Originality | ★★★★★★★☆☆☆ 7/10 | Pioneering open-source fantasy RPG engine with skill/reputation systems |
| Code Quality | ★★★★★★☆☆☆☆ 6/10 | OOP character class (1,472 lines), well-structured but 2006 practices |
| Security Posture | ★★☆☆☆☆☆☆☆☆ 2/10 | Typical 2006 vulnerabilities, needs modern security updates |
| Documentation | ★★★★★★★☆☆☆ 7/10 | INSTALL.txt, HISTORY.txt, LICENSE.txt - good for open source project |
| Gameplay Design | ★★★★★★★★☆☆ 8/10 | Deep fantasy RPG: skills, combat, reputation, quests, magic, dungeons |
| Technical Architecture | ★★★★★★★☆☆☆ 7/10 | OOP design, 42 tables, comprehensive admin CMS, map editor included |
| Completeness | ★★★★★★★★★☆ 9/10 | 1,199 files, full game + admin tools + map editor + content |
| Historical Significance | ★★★★★★★★★☆ 9/10 | MAJOR: Original Phaos engine, influenced entire generation of browser RPGs |
| Preservation Value | ★★★★★★★★★☆ 9/10 | CRITICAL: Foundational open-source RPG engine, spawned many derivatives |
Summary: Kallen (Phaos v0.89) is the original World of Phaos fantasy RPG engine by Zeke Walker/3E Productions (2005-2006), representing one of the most influential open-source browser RPG frameworks ever created. With 1,199 files, 42 database tables, comprehensive OOP character system (1,472-line class!), admin CMS (60 tools), map editor, and deep gameplay (skills, combat, magic, reputation, quests), it set the standard for GPL fantasy RPGs. The GPL license with trademark protection allowed legal derivatives while protecting brand. Despite 2006 security practices, the architectural quality and historical significance make this a cornerstone of browser RPG history. Tied with ezRPG and Glory Lands for highest grade (B+).
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.