Name: Voided Alliance
Codename: Revolution
Developer: Auburnflame Games (Raygoe)
Year: 2006-2008
Genre: Space/Fantasy RPG with crafting
Type: Text-based browser RPG with galaxy system
License: Auburnflame GPU (restrictive custom GPL)
---
Total Files: 269
File Breakdown:
Total PHP Lines: 9,432
Database Schema: 747 lines, 21 tables
Average File Size: 214 lines per PHP file
Largest File: index.php (7,321 lines!) - MONOLITHIC
Key Files:
index.php - 7,321 lines (78% of all code!)SQL.sql.txt - 747-line database schemaconnect.php - Database connection with sanitizationregister.php - Registration systeminstaller.php - Installation wizardincludes/functions.php - Utility functionsTechnology Stack:
)---
Voided Alliance uses an extreme single-file architecture:
`
voided_alliance/
├── index.php # 7,321 LINES (78% of codebase!)
├── connect.php # Database + sanitization
├── register.php # Registration
├── login.php # Authentication
├── installer.php # Setup wizard
├── includes/
│ ├── header.php # Page header
│ ├── footer.php # Page footer
│ ├── leftmenu.php # Left navigation
│ ├── rightmenu.php # Right navigation
│ ├── functions.php # Utilities
│ ├── util.php # More utilities
│ └── version.php # Version info
├── addbook.php # Add books
├── addchar.php # Add characters
├── additem.php # Add items
├── addnews.php # Add news
├── changepass.php # Password change
├── donatecredits.php # Donate credits
├── edititem.php # Edit items
├── editstats.php # Edit stats
├── galaxyCP.php # Galaxy control panel
├── joinguild.php # Join guild
├── sellitem.php # Sell items
├── sendmail.php # Send messages
└── spellinfo.php # Spell information
`
Database Connection (connect.php) - GOOD SECURITY:
`php
parse_str("$QUERY_STRING");
include_once('config.php')
$db = mysql_connect("$dbhost", "$dbuser ", "$dbpasswd");
// PROPER INPUT SANITIZATION!
if(!get_magic_quotes_gpc()) {
$_GET = array_map('mysql_real_escape_string', $_GET);
$_POST = array_map('mysql_real_escape_string', $_POST);
$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
} else {
$_GET = array_map('stripslashes', $_GET);
$_POST = array_map('stripslashes', $_POST);
$_COOKIE = array_map('stripslashes', $_COOKIE);
$_GET = array_map('mysql_real_escape_string', $_GET);
$_POST = array_map('mysql_real_escape_string', $_POST);
$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
}
?>
`
Authentication (login.php):
`php
if (strtolower(mysql_result($ec,$i,"user"))==strtolower($_POST['user'])
and mysql_result($ec,$i,"password")==md5($_POST['pass'])) {
// Login successful - MD5 hashing used!
}
`
Session Management:
`php
// Cookie-based sessions
$userSession = $_COOKIE['va_users'];
// Session validation
$query2 = "SELECT * FROM va_session";
for ($i = 0; $i < $num2; $i++) {
if (mysql_result($result2,$i,"session") == $_COOKIE['va_users']) {
$timeLeft = mysql_result($result2,$i,"time");
$usr_N_R = mysql_result($result2,$i,"user");
$foundSes = true;
}
}
if ($foundSes != true) {
setcookie("va_users",FALSE);
header("Location: index.php?page=index");
die();
}
`
The 7,321-Line index.php:
$_GET['page']---
Core System:
va_config - Game configurationva_session - Session managementva_users - Player accounts (MASSIVE!)Galaxy System (Space Theme!):
va_galaxy - Solar systems/galaxiesItems & Crafting:
va_items - Item database (HUGE!)va_recipe - Crafting recipesva_worktable - Player crafting queueva_bank - Item bankingShopping System:
va_shops - Player-owned shopsva_NPCshop - NPC vendor shopsva_NPCstock - NPC inventorySocial Features:
va_guilds - Player guilds/clansva_chat - Global chatva_mailbox - INSANE DESIGN!Content:
va_books - In-game books/libraryva_news - News/announcementsCombat & Competition:
va_buffs - Temporary stat buffsva_bounty - Bounty/hitlist systemva_classes - Character classesAdmin Tools:
va_bans - Ban systemva_ticket - Support tickets---
Multiple Galaxies:
Galaxy Control:
Classes:
Stats:
Equipment Slots:
30 Spell Slots:
Workstations:
Complexity Levels:
Example Recipes (from books):
Fiery Chocolate Goo:
Chocolate Potion:
Chocolate Cupcake:
Thermal Shield:
Currency:
Banking:
Player Shops:
NPC Shops:
Trading:
Guilds:
Mail System:
Chat:
Books/Lore:
16 in-game books including:
PvP:
Buffs:
Bounties:
Access Levels:
Admin Tools:
Support System:
Refresh System:
lastref timestampDefault Password Warning:
`php
$badpass = md5("abcd");
if ($badpass == $pass) {
echo "It is highly recommended that you change your password";
}
`
Mail Notifications:
Installer:
---
1. MD5 PASSWORD HASHING ✓
`php
$query = "INSERT INTO va_users VALUES ('','" . $_POST['user'] . "','"
. md5($_POST['pass']) . "','" . $_POST['email'] . "'...)";
if (mysql_result($ec,$i,"password")==md5($_POST['pass'])) {
// Login successful
}
`
2. INPUT SANITIZATION ✓
`php
// Comprehensive sanitization in connect.php
$_GET = array_map('mysql_real_escape_string', $_GET);
$_POST = array_map('mysql_real_escape_string', $_POST);
$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
`
3. SESSION VALIDATION ✓
`php
// Validates session exists
if ($foundSes != true) {
setcookie("va_users",FALSE);
header("Location: index.php?page=index");
die();
}
`
4. SEPARATE CONFIG FILE ✓
`php
include_once('config.php')
// Database credentials in separate file
`
1. MD5 IS DEPRECATED (MEDIUM)
2. COOKIE-BASED SESSIONS (MEDIUM)
`php
$userSession = $_COOKIE['va_users'];
`
3. SHORT PHP TAGS (LOW)
`php
// Instead of
`
4. DEPRECATED MYSQL FUNCTIONS (MEDIUM)
`php
mysql_connect()
mysql_query()
mysql_result()
mysql_numrows()
`
5. NO CSRF PROTECTION (MEDIUM)
6. PARSE_STR VULNERABILITY (HIGH)
`php
parse_str("$QUERY_STRING");
`
7. EXTRACT() LIKELY USED (HIGH)
8. NO XSS PROTECTION (MEDIUM)
---
Voided Alliance represents amateur game studio development:
Developer: Raygoe (Auburnflame Games)
Release Timeline:
Interesting Details:
Auburnflame GPU (General Public License):
Unusual Clauses:
"The World in There Hands" (Book #9):
This shows significant world-building effort - rare in browser RPGs.
---
FULLY IMPLEMENTED:
Registration system
Login with MD5 hashing
Session management
Character creation (4 classes)
Galaxy system (12 galaxies)
Inventory system (30 slots)
Equipment system (6 slots)
Spell system (30 slots)
Stat system (HP, MP, str, def, AC, luck)
Level/XP progression
Item database (80+ items)
Crafting system with recipes
Workstation types (oven, forge, lab)
Player shops
NPC shops with respawn
Banking system
Guild system
Mail system (30 messages)
Chat system
Book library (16 books!)
News system
Bounty system
Buff system
PvP tracking
Galaxy ownership
Toll/fee system
Admin tools
Ban system
Support tickets
Web installer
UNCLEAR:
⚠️ Combat calculations
⚠️ Spell effects
⚠️ Item drop system
⚠️ Monster battles
MISSING/INCOMPLETE:
Combat interface (no battle.php seen)
Monster/NPC enemies
Quest system
Achievement system
What Works:
What's Unclear:
Code Quality Issues:
---
| Game | Lines | Main File | Organization | Rating |
|---|---|---|---|---|
| Vallheru | 127,307 | Distributed | MVC + Smarty | 10/10 |
| Vice Warz | 7,577 | Various | Procedural | 5/10 |
| Voided Alliance | 9,432 | 7,321-line index.php | Monolithic | 2/10 |
| VA-RPG | 8,903 | 7,277-line index.php | Monolithic | 1/10 |
Voided Alliance vs VA-RPG:
Both use massive single-file designs, but:
Only Game With:
Image Richness:
---
Breakdown:
The Visual Leader:
The World Builder:
The Monolith:
Challenges:
Revival Strategy:
Worth It?
---
Voided Alliance is a paradox:
The Good:
The Bad:
The Pattern:
Like VA-RPG (#68), this game shows:
Raygoe (Auburnflame Games) clearly had big plans:
Evidence:
But...
Lesson:
"Great ideas need great structure. Without architecture, features become chaos."
Both games share identical architectural failure:
| Metric | Voided Alliance | VA-RPG |
|---|---|---|
| Main file lines | 7,321 | 7,277 |
| % of codebase | 78% | 82% |
| Security | 5/10 (MD5 + sanitize) | 4/10 (MD5, weak sanitize) |
| Innovation | Galaxy system | Letter spell crafting |
| Visuals | 203 images (9/10) | Minimal (3/10) |
| Final Rating | 5/10 | 4/10 |
Verdict: Voided Alliance is VA-RPG with better visuals and security, but same terrible architecture.
---
Database Size: 747 lines SQL (21 tables)
PHP Version Required: 5.2-5.6 (short_open_tag, mysql_* functions)
MySQL Version: 4.0-5.7 (MyISAM tables)
Browser Requirements: Cookies, JavaScript
Installation: Web-based installer (installer.php)
Deployment Difficulty: 3/10 (installer makes it easy)
Maintenance Difficulty: 9/10 (7,321-line file nightmare)
Revival Difficulty: 7/10 (major refactoring needed)
Notable:
---
Analysis Date: December 11, 2024
Game #71 of 79 in the Vintage Browser RPG Collection
Status: Feature-complete but architecturally catastrophic
Verdict: Beautiful visuals, ugly code
Nickname: "The Beautiful Monolith" 🖼️📚
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.