Rally your banners and seize a world on the brink of chaos. Anarchy Wars is a medieval strategy epic where you carve a kingdom, unlock powerful technologies, and marshal up to four armies across a living, turn based world. Field 29 unique unit types—from Paladins and Horse Archers to Trebuchets and Ballistas—then forge clans, declare wars, and outplay rivals with ruthless tactics and smart diplomacy. Every 15 minute turn reshapes the battlefield and your fortunes.
Victory demands brains and bravado. Manage a ruthless economy, research siege craft, coordinate multi‑front offensives, and wield diplomacy as a weapon. From lightning raids and worker captures to week long sieges and clan uprisings, Anarchy Wars rewards smart planning, clever feints, and relentless momentum. Log in for quick tactical moves or stay for sprawling campaigns—the path to the throne is yours to take.
| Game Name | Anarchy Wars |
|---|---|
| Version | 1.0 (presumed from file contents) |
| Files | 368 files |
| Total Size | 4.81 MB |
| Release Date | Unknown (likely 2006-2007 based on technology stack) |
| Last Modified | Multiple dates ranging from 2006 to 2007 |
| Author/Developer | Unknown (no clear author attribution found) |
| License | Commercial/Proprietary (purchased script, redistribution forbidden) |
| Language | PHP |
| Database | MySQL with MyISAM engine |
| Genre | Browser-based Medieval Warfare Strategy Game |
| Platform | Web Browser (LAMP stack) |
| Notable Files | Source files included (PSD, PSP for graphics editing) |
| File Type | Count | Total Size | Purpose |
|---|---|---|---|
| .jpg | 147 | 1.95 MB | Game graphics, unit images, interface elements |
| .php | 140 | 1.96 MB | Game logic, pages, features |
| .gif | 59 | 566 KB | Animated graphics, icons |
| .css | 5 | 86 KB | Multiple theme stylesheets |
| .png | 5 | 28 KB | Transparent graphics |
| .txt | 4 | 10 KB | Documentation, license, installation notes |
| .psd | 3 | 121 KB | Photoshop source files for customization |
| .psp | 1 | 26 KB | PaintShop Pro source file |
| .sql | 1 | 30 KB | Database installation script |
| .htaccess | 1 | 1 KB | Apache configuration |
| .js | 1 | 2 KB | JavaScript functionality |
| .html | 1 | 1 KB | Static page or template |
| TOTAL | 368 files | 4.81 MB | Complete game package with source files |
| Server-Side Language | PHP 4.4.2+ (with PHP 5.x compatibility) |
|---|---|
| Database | MySQL 4.1.21+ with MyISAM engine |
| Web Server | Apache 2.x with mod_rewrite |
| Operating System | Linux/Unix (some paths may be OS-specific) |
| Client-Side | HTML, CSS (5 themes), JavaScript (minimal) |
| Automation | Cron-driven tick system (15-minute intervals) |
Defensive Structures:
Economic Buildings (Training Facilities):
Anarchy Wars is a browser-based medieval warfare strategy game focusing on kingdom building, military conquest, and clan diplomacy. Players build and manage kingdoms, train armies from 29 unique unit types, engage in territorial warfare, and form powerful clan alliances.
The game emphasizes:
The game features an incredibly detailed military system with 29 distinct unit types, each with specific strengths, weaknesses, and strategic roles.
| X Position (xpos) | Horizontal coordinate (up to 12-digit int) |
|---|---|
| Y Position (ypos) | Vertical coordinate (tinyint, 0-255) |
| Z Position (zpos) | Layer/realm coordinate (tinyint, 0-255) |
The game features a sophisticated war declaration system:
Multiple game listing site integrations:
Vote buttons for each site likely provided in-game rewards for voting
The game uses 25 MySQL tables with MyISAM engine:
This appears to be a complete, production-ready game with all major systems fully implemented.
This was clearly a commercial product designed to compete with Travian, Tribal Wars, and similar games in the 2007 browser strategy market. The depth of the military system is exceptional - 29 units with detailed stats, speed, armor, strength, and counter-mechanics is more complex than many standalone strategy games of that era.
The clan diplomacy system with war declarations, time limits, and scoring shows sophisticated multiplayer design. The separation of armies into distinct database tables is an unusual optimization that shows the developer understood scalability concerns.
For 2007 standards, this is typical PHP 4 "script" code. It's functional and feature-complete but lacks any modern development practices. The sheer number of features implemented is impressive, but the code quality would be considered poor by today's standards.
// Example from clans.php:
$result = mysql_query("SELECT attack FROM clandiplo
WHERE ccode='".$userinf['ccode']."'
AND attack='NO1ATM'", $db);
This shows:
Server Requirements:
Installation Steps:
*/15 * * * * php /path/to/pw/ticker.php (every 15 minutes)Critical Issue: Finding a PHP 5.6 environment is increasingly difficult, and running it exposes your server to HUNDREDS of known vulnerabilities.
Total Estimated Modernization Cost: $40,000 - $100,000 at industry rates
Critical Vulnerabilities to Fix:
The game mechanics are solid and feature-rich, but the implementation is so outdated that building from scratch with modern tools would be 40-50% faster than refactoring this codebase. You'd essentially be rewriting 95% of the code anyway.
Top 10 Security Vulnerabilities:
Risk Level: CATASTROPHIC
DO NOT DEPLOY THIS CODE ON ANY INTERNET-ACCESSIBLE SERVER
Groundbreaking Elements:
What Made It Special:
Historical Significance: Represents the peak of the "commercial browser game script" market (2006-2008). This was a premium commercial product with more depth than many competitors.
Market Position: Mid-tier commercial product. Not as polished as the major free games but more feature-rich than most paid scripts.
DO study:
DON'T:
CRITICAL WARNINGS:
Anarchy Wars was an impressive commercial product in 2007 with sophisticated game mechanics, exceptional unit variety, and complete feature implementation. The four-army system and clan war mechanics show genuine innovation. The 29-unit military system with detailed counters is more complex than many standalone strategy games of its era.
However, the codebase is a security catastrophe by modern standards. Every single file contains multiple critical vulnerabilities. The ancient PHP requirements mean running it requires vulnerable, unsupported software. Even examining it locally is risky.
The game design is excellent; the implementation is dangerous.
If you want to recreate this game today, study the mechanics, extract the concepts, appreciate the design depth, and then build it from scratch with modern tools. The estimated 800-1,000 hours to modernize this code would be better spent on 600-700 hours building a new, secure version with Laravel + Vue.js + WebSockets.
This is digital archaeology - fascinating to study, too dangerous to use, valuable for understanding how browser-based strategy games evolved, and a stark reminder of how much web security practices have improved in 17 years.
| Historical Value | ★★★★☆ 4/5 |
|---|---|
| Code Quality | ★☆☆☆☆ 1/5 |
| Game Design | ★★★★☆ 4/5 |
| Security | ☆☆☆☆☆ 0/5 |
| Overall Grade | D+ Functional but dangerous |
changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog changelog
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.