Raise a thriving medieval city brick by brick. Build farms, barracks, workshops, and fortifications, then balance resource production with military might. Join alliances to coordinate strategy, wage wars, and trade smart as your banner stretches across contested lands.
Turn based pacing lets you plan, execute, and optimize: upgrade 22 buildings, synchronize offensives, and manage logistics to outplay rival lords. Victory belongs to those who shape the economy, rally allies, and strike with precision.
| Attribute | Details | |
|---|---|---|
| Game Title | Civilization: Age of Knights | |
| Tagline | "Check RPGBUNNY.COM for more Full RPG Sources \ | www.rpgbunny.com" (embedded in every PHP file) |
| Version | Unknown (database dated May 13, 2009) | |
| Theme | Medieval civilization-building with three factions | |
| Date/Era | 2007-2009 (copyright 2007, database 2009) | |
| Developer | RPGBUNNY.COM (commercial script seller) | |
| License | Commercial ($30 webgame source) - Pirated by Nulled2.net | |
| Original Source | Likely a Travian/Tribal Wars clone framework | |
| Distribution | Pirated by TEAM SP/Nulled2.net (noted in ReadMe banners) | |
| Language | Multi-language (English, Dutch detected) | |
| Technology Stack | PHP, MySQL, Flash (SWF), JavaScript, CSS | |
| Server Type | Browser-based MMO strategy game |
| File Type | Count | Size (MB) | Purpose |
|---|---|---|---|
| .php | 132 | 0.454 | Game logic, pages, buildings, combat, admin |
| .gif | 83 | 0.324 | Resource icons, UI elements, buildings |
| .png | 68 | 2.080 | Building graphics, cursors, backgrounds |
| .jpg | 32 | 2.804 | City view backgrounds, faction graphics |
| .css | 7 | 0.059 | Stylesheets for different themes |
| .url | 7 | 0.001 | Nulled2.net promotional shortcuts |
| .txt | 6 | 0.012 | ReadMe files (Nulled2.net branding) |
| 1 | 0.111 | Manual/documentation (likely in Manual/ folder) | |
| .sql | 1 | 0.080 | Database schema (3,183 lines) |
| .ttf | 1 | 0.350 | Arial font (for image generation) |
| .js | 1 | 0.007 | func.js (timer/UI functions) |
| .ico | 1 | 0.158 | Favicon |
| Total | 340 | 6.44 |
Key PHP Files:
town.php, towns.php, town_edit.php, town_stats.phphall.php, barracks.php, marketplace.php, granary.php, warehouse.php, wall.php, tower.php, academy.php, blacksmith.php, stable.php, cathedral.php, embassy.php, port.php, forge.php, sshop.php, washop.php, gmill.php, lmill.php, smason.php, ifoundry.php, house.php, cache.php, wwarehouse.phptrain.php, dispatch.php, def_f.php (defense formations)csim.php (combat simulator)trade.php, marketplace.php, npc_trade.php, offers.php, offers_all.phpa_create.php, a_join.php, a_kick.php, a_view.php, alliance_stats.php, pact.phpmessages.php, msg.php, msg_view.php, writemsg.php, reports.phpapanel.php, purge.php, rank_edit.php, delacc.phpmap.php, gen.php (map generation)register.php, login.php, profile_edit.php, profile_view.php, user_stats.phpvipbuy.php, vipcredits.php, vipdone.phpcaptcha.php, chat.php, invite.php, sit.php (sitter/account sharing), abandon.php, aquire.php (acquire new towns), taxes.php, level.php (level system), g_points.php (gold points)Core Technologies:
$_SESSION for authenticationDatabase Structure:
varbinary() for security (prevents charset attacks)int(10) unsigned NOT NULL auto_incrementdatetime fields for all scheduled eventsSecurity Features:
mysql_escape_string() used in code (better than nothing)External Dependencies:
language/ folder| Faction ID | Name | Theme | Buildings Variant |
|---|---|---|---|
| 1 | Knights (default) | Medieval European | Castle, Grain mill, Lumber mill, Stone mason, Barracks |
| 2 | Unknown | Alternate medieval | Palace, Mill, Saw mill, Mercenary camp, Foundry |
| 3 | Unknown | Third faction | Fortress, Rations control, Wood cutters, Training grounds, Mines |
Each faction has 22 unique building types with different names but identical functionality (example: "Grain mill" vs "Mill" vs "Rations control" all produce crop).
1. City Building (22 Building Types):
| Type | Building | Levels | Purpose |
|---|---|---|---|
| 0 | Grain Mill / Farm | 10 | Crop production (20-200/hour) |
| 1 | Lumber Mill / Forest | 10 | Lumber production (10-56/hour) |
| 2 | Stone Mason / Quarry | 10 | Stone production (10-56/hour) |
| 3 | Iron Foundry / Mines | 10 | Iron production (10-56/hour) |
| 4 | Granary / Food Stocks | 10 | Crop storage (800-11,100 capacity) |
| 5 | Warehouse | 10 | Resource storage (600-11,500 for lumber/stone/iron) |
| 6 | Cache / Bunker | 10 | Protected storage (raid-proof 500-7,000) |
| 7 | Town Hall / Castle | 10 | Build speed +% and vault size |
| 8 | House / Lodges | 10 | Population capacity (30-850) |
| 9 | Embassy | 1 | Create/join alliances |
| 10 | Marketplace | 10 | Trade resources (capacity scales with level) |
| 11 | Cathedral | 10 | Morale boost (20-110%) |
| 12 | Port / Docks | 10 | Build ships (faster at higher levels) |
| 13 | Wall / Border | 10 | Defense bonus (10-55%) |
| 14 | Tower / Outpost | 10 | Offense bonus (10-55%) |
| 15 | Barracks | 10 | Train troops (speed +% per level) |
| 16 | Academy | 10 | Upgrade unit HP |
| 17 | Blacksmith | 10 | Upgrade unit weapons/armor |
| 18 | Weapon Shop | 10 | Forge weapons (faster at higher levels) |
| 19 | Stable | 10 | Breed horses for cavalry |
| 20 | Siege Shop | 10 | Build siege weapons (catapults) |
| 21 | Military Storage | 10 | Store weapons (5-250 capacity) |
Construction System:
c_queue table)2. Resource Management:
Four Primary Resources:
Production Mechanics:
3. Military System:
13 Unit Types (example from database):
Unit Stats:
Combat Mechanics:
csim.php): Pre-battle calculatora_queue table): Tracks armies in transit with arrival timesreports table)Unit Upgrades:
4. Town Expansion:
Multi-Town System:
isCapital flag): Special bonusesaquire.php (conquer or settle)abandon.php)ch_capital.php allows changing primary cityLand System:
land field as 0-0-0-0/0-0-0-0/0-0-0-0/0-0-0-0)water field): Enables port construction5. Alliance/Diplomacy:
Alliance Features:
a_create.php): Founder systema_join.php, a_quit.phpa_kick.php (leadership power)alliance_stats.php (ranking/members)pacts table tracks NAP (Non-Aggression Pact), peace treaties6. Map System:
World Map:
gen.php creates procedural terrain7. Trading System:
Marketplace Mechanics:
npc_trade.php for AI merchantt_queue table tracks pending tradesoffers.php lists public tradeso_accept.php completes transactions8. Social Features:
Messaging:
messages table (inbox/outbox/folders)reports table (combat results)delmsg.php, delrep.php, delallmsg.php, delallrep.phpwritemsg.php (WYSIWYG editor likely)Chat:
chat table (public messages)chat_s table (alliance-only channels)Rankings:
user_stats.php (top players by points)town_stats.php (largest cities)alliance_stats.php (strongest alliances)9. Premium System:
VIP Features (bonus table):
ebp: Enhanced building production (30 days)pl: Population limit increase (30 days)pp: Production points boost (30 days)pf: Premium faction bonuses (30 days)vipbuy.php (payment integration)vipcredits.php (virtual currency)Gold Points System (g_points.php):
10. Advanced Features:
Sitter System:
sit.php allows trusted friends to manage your accountReferral System:
invite.php generates referral linksTaxation:
taxes.php allows adjusting town tax ratesLevel System:
level.php handles XP/advancementMap Editor:
gen.php allows admins to regenerate world mapPurge System:
purge.php deletes abandoned accounts11. Flash Town View:
Interactive City Display:
town.php18 Tables Identified:
| Table | Purpose | Rows | Key Features |
|---|---|---|---|
| users | Player accounts | 2 | Admin (21232f297a57a5a743894a0e4a801fc3 = "admin"), Demo |
| towns | Player cities | 2 | "Beach Party" (admin), "Demo Island" (demo user) |
| buildings | Building definitions | 66 | 22 types × 3 factions = 66 variants |
| units | Military units | 39 | 13 types × 3 factions = 39 variants |
| weapons | Craftable weapons | 33 | 11 types × 3 factions = 33 weapons |
| factions | 3 playable races | 3 | Faction 1/2/3 with different building/unit names |
| map | World tiles | 2,500+ | 50x50 grid with terrain types |
| alliances | Player guilds | 0 | Empty (no test alliances created) |
| pacts | Diplomacy treaties | 0 | NAP, peace, war declarations |
| messages | Private mail | 0 | Player-to-player communication |
| reports | Battle results | 0 | Combat logs |
| chat | Global messages | 0 | Public chat system |
| chat_s | Alliance chat | 2 | 2 channels: "english", "ally" |
| bonus | Premium features | 4 | User 2 has 4 active bonuses (all 30 days) |
| config | Game settings | 2 | Server config (title, speed multipliers) |
| calls | Referral tracking | 0 | Invite system conversions |
| a_queue | Attack queue | 0 | Armies in transit |
| c_queue | Construction queue | 0 | Buildings being built |
| d_queue | Defense queue | 0 | Troops being deployed |
| t_queue | Trade queue | 0 | Pending trades |
| u_queue | Unit training queue | 0 | Barracks/stable production |
| uup_queue | Unit upgrade queue | 0 | Academy/blacksmith upgrades |
| w_queue | Weapon forging queue | 0 | Weapon shop production |
Demo Data Discovered:
admin, password admin (MD5 hash: 21232f297a57a5a743894a0e4a801fc3)demo, password demo (MD5 hash: fe01ce2a7fbac8fafaed7c982a04e229)Building Balance Examples:
Unit Balance Examples:
Score: 4/10 (Functional Clone Product)
Positives:
Critical Flaws:
$_GET["town"]=mysql_escape_string($_GET["town"]); (deprecated function, not parameterized)Code Smell Examples:
/** Civilization Age of Knights | Check RPGBUNNY.COM for more Full RPG Sources | www.rpgbunny.com **/
This spam comment appears in EVERY PHP file's first line - 132 files polluted
if ($_SESSION["user"][4]==5) // Level 5 = admin
Magic numbers without constants
$_GET["town"]=mysql_escape_string($_GET["town"]);
Deprecated function, not using PDO/prepared statements
1/5 - Obsolete Technology Stack
This codebase is a commercial Travian clone sold for $30 by RPGBUNNY.COM, then pirated by Nulled2.net's "TEAM SP". It has minimal viability today:
Time: 400-600 hours | Cost: $30,000-$45,000
1. Flash Removal/Replacement (120-180 hours, $9,000-$13,500):
2. Security Overhaul (100-150 hours, $7,500-$11,250):
3. Database Modernization (60-90 hours, $4,500-$6,750):
4. Frontend Modernization (80-120 hours, $6,000-$9,000):
5. Gameplay Balance (40-60 hours, $3,000-$4,500):
6. Backend Refactoring (100-150 hours, $7,500-$11,250):
7. Testing & Polish (40-60 hours, $3,000-$4,500):
Even with full modernization, the core concept is obsolete. Browser MMOs peaked 2005-2010. Players today expect:
4/10 - This is a functional clone sold as a commercial product in 2007-2009. The architecture is decent (queue system, multi-faction, complex tech trees), but execution is poor:
.url shortcuts and ReadMe bannersmysql_escape_string() all deprecatedWhat RPGBUNNY.COM Did Right:
What Went Wrong:
Critical Vulnerabilities:
mysql_escape_string() throughout?town=123 allows viewing any townapanel.php likely has privilege escalation bugsModern deployment = instant compromise. Automated scanners would detect SQL injection within hours. Default admin account would be brute-forced immediately.
DO NOT DEPLOY THIS CODE
This is a pirated Travian clone with Flash dependencies (obsolete since 2020) and critical security vulnerabilities. MD5 password hashing, SQL injection, and default admin credentials make compromise inevitable. Legal risk from Travian Games GmbH is significant.
2/10 - Travian Clone with Zero Originality
What Makes This a Clone:
Minor Differentiations:
Flash Town View (Obsolete Technology)
Game Features:
Historical Context:
2005-2010 saw hundreds of Travian clones after its 2004 success:
RPGBUNNY.COM capitalized on webmaster demand for "turnkey MMO solutions". They cloned Travian's mechanics, added Flash graphics, and sold it as a "full RPG source" to buyers with no coding skills. This is the definition of a clone product - gameplay piracy without original design.
Why This Matters:
What Makes This Interesting Archaeologically:
Verdict:
This is a low-effort Travian clone sold as a commercial product for $30, later pirated by Nulled2.net. It has 2/10 innovation because it copies Travian's gameplay 95% directly. The only "innovation" is packaging Travian mechanics with Flash graphics and selling it to webmasters. This is software piracy of game mechanics, morally equivalent to ripping off board game rules.
Recommendation: Do not use this code. If interested in medieval city-builders:
Using Civilization: Age of Knights invites copyright lawsuits and provides zero competitive advantage - players will always prefer Travian's polished experience over this 2007 clone. The only value here is as a historical artifact of the browser MMO clone era (2005-2010).
| Historical Value | ★★★☆☆ 3/5 - Documents browser MMO clone era |
|---|---|
| Code Quality | ★★★☆☆ 3/10 - Functional but dated |
| Innovation | ★★☆☆☆ 2/10 - 95% Travian clone |
| Security | ☆☆☆☆☆ 0/5 - MD5, SQL injection, defaults |
| Technology Stack | ☆☆☆☆☆ 0/5 - Flash dead, MyISAM deprecated |
| Legal Risk | ☆☆☆☆☆ 0/5 - Copyright infringement risk |
| Commercial Viability | ☆☆☆☆☆ 0/5 - Clone market saturated/dead |
| Overall Grade | D- Obsolete Travian clone - study only |
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.