Build the 2D online world you’ve always imagined. cloudRealms is a flexible web MMORPG engine where you design maps, place NPCs and enemies, script multi stage quests, and craft fast, satisfying battles—all wrapped in a modern, canvas driven interface. From character creation and inventory to party chat, bazaars, and housing, it gives you the tools to shape a living game.
Made for creators, tuned for players. Drop in locations with music and ambience, wire portals across a grid based world, author spell and item systems, and balance enemy encounters with rich drops and battle logs. With a clean UI layer and modular handlers for combat, quests, and trading, cloudRealms helps you move from concept to playable in record time.
| Attribute | Details |
|---|---|
| Game Title | cloudRealms Web MMORPG Game Engine |
| Version | 1.0.1 (June 30, 2011) |
| Theme | Generic 2D MMORPG engine (customizable fantasy setting) |
| Date/Era | 2011 (last update June 30, 2011) |
| Developer | Ronald A. Richardson |
| Developer Email | |
| Developer Website | www.ronaldarichardson.com |
| Distributor | Verdis Technologies (www.verdisx.com) |
| License | GNU Affero General Public License v3 (AGPLv3) - Open Source |
| Database | verdiste_cloudRealms (phpMyAdmin 3.3.9.2) |
| Language | PHP (5.2.9), MySQL (5.1.52) |
| Technology Stack | PHP, MySQL, JavaScript/jQuery, HTML5, CSS3, HTML5 Audio |
| Type | Game Engine Framework (not a complete game, but development platform) |
| File Type | Count | Size (MB) | Purpose |
|---|---|---|---|
| .png | 594 | 3.085 | Game sprites, avatars, UI elements, tiles, items |
| .js | 167 | 1.582 | JavaScript libraries, game logic, UI handlers |
| .php | 116 | 0.541 | Backend logic, classes, handlers, pages |
| .css | 52 | 0.194 | Stylesheets, themes, UI styling |
| .gif | 24 | 0.137 | Animated sprites, icons |
| .jpg | 14 | 2.855 | Backgrounds, location images |
| .txt | 6 | 0.063 | README, LICENSE, UPDATES documentation |
| .html | 4 | 0.003 | Static pages |
| .ogg | 3 | 0.069 | Audio files (HTML5 audio - Ogg Vorbis format) |
| .mp3 | 3 | 0.046 | Audio files (HTML5 audio - MP3 format) |
| .sql | 1 | 0.024 | Database schema (895 lines) |
| .md | 1 | 0.002 | Markdown documentation |
| .swf | 1 | 0.018 | Flash component (legacy) |
| .xap | 1 | 0.041 | Silverlight component (obsolete) |
| .psd | 1 | 0.537 | Photoshop source file (design asset) |
| .aiff | 1 | 0.001 | Audio file (AIFF format) |
| .setup | 1 | 0.004 | Setup configuration |
| (no ext) | 1 | 0.009 | Configuration file |
| Total | 991 | 9.21 |
Key PHP Files:
index.php (main game loop), classes/mmorpg.class.php (core engine class)characterCreation.php, create_character.php, create_character2.php, playerStats.php, upgradeSkills.phpengageEnemy.php, interface/battle.phpchat.php, getChat.php, messages.php, im.php (instant messaging), socialHub.php, partyFinder.phptradeWithUser.php, manager/ (shop management)questFromNPC.php, questCondition.php, talkToNPC.phpmanageItem.php, setup_inventory.phpmapViewer.php, viewer/ (map viewer component)login.php, register.php, forgotpassword.php, changepassword.php, update_email.phpsetupHome.php (customizable player housing)database.php (DB abstraction), includes/connect.php, includes/close_db.phpincludes/post_handler.php, includes/location_handler.php, includes/battle_handler.php, includes/quest_handler.phptest.php, checkRequests.phpFrontend Structure:
Asset Folders:
Core Technologies:
<? used - old style)$_SESSION for user stateDesign Pattern:
classes/ folder with OOP architecturemmorpg.class.php)character.class.php referenced)Database Architecture:
utf8_unicode_ci collation for international supportTIMESTAMP with ON UPDATE CURRENT_TIMESTAMPSecurity Features:
password field (hashing method not visible in schema)is_logged_in session variableadmin field in users tablemysql_* functions (not parameterized)External Dependencies:
mmorpg.class.php)cloudRealms is a game engine framework, not a complete game. It provides the infrastructure for developers to build their own 2D browser MMORPGs. The database schema is empty (no default content), requiring developers to populate:
1. Character System:
characterCreation.php → create_character2.php)name (unique)level (progression system)money (currency)skill_points (unspent skill points)exp / max_exp (experience tracking)max_hp / hp (health)max_mp / mp (magic/mana)tp (tech points or similar)attack / defense (combat stats)age (character age in years)zodiac (astrological sign)gender (male/female/other)martial (martial arts style or combat specialty)class (character class ID)avatar (profile image)combat_avatar (battle sprite)slot0 through slot11)row, col, location (grid-based positioning)2. Combat System:
Turn-Based Battle Engine:
engageEnemy.php initiates combatbattle_logs table tracks 5-enemy battlesenemy1_hp through enemy5_hp fieldscurrent_battle and current_target fields?mode=battle displays battle interfaceEnemy System:
enemy_types table)drop1 through drop4)3. Map/Location System:
Grid-Based World:
Map Viewer Component:
viewer/ and mapViewer.phptile_width, tile_height)canvas_width, canvas_height)4. Quest System:
Sophisticated Quest Engine:
condition1 through condition5)mediumtext fields for scripted quest logicscene1 through scene5)completed_quests table logs finished questscompletion_time and start_time trackingQuest Conditions Handler:
questCondition.php evaluates quest progressquestFromNPC.php, talkToNPC.php)5. Item System:
Inventory Management:
manageItem.php for use/equip/dropsetup_inventory.php initializes inventoryBazaar/Trading:
tradeWithUser.phpshop table links NPCs to locations as merchants6. Spell/Skill System:
Magic System:
class1, class2, class3)spells table links scrolls to usersaffect field)plus field for stat modificationsSkill System:
skills table links skills to charactersupgradeSkills.php for point allocation7. Social Features:
Friendship System:
friend_a, friend_b)Romantic Relationships:
partner_a, partner_b fieldsParty System:
partyFinder.php for group matchmakingbattleid field links party to battleMessaging:
pm table)im table for real-time chatchat and message tableschat_id links messages to rooms)Requests System:
status field (pending, accepted, declined)checkRequests.php polls for new requestsStatus Updates:
statuses table for user status updates8. Home/Housing System:
Customizable Player Homes:
setup field tracks home initialization9. Character Classes:
Class System:
classes table defines available classes10. Admin/Management:
Admin Tools:
admin field in users tablemanager/Game Configuration:
11. Notifications System:
In-Game Alerts:
notifications tableinterface/notifications.php renders notifications12. Online Tracking:
Active Users:
13. Battle Logs:
Combat History:
logs table for detailed battle messages31 Tables Identified:
| Table | Engine | Purpose | Key Features |
|---|---|---|---|
| users | MyISAM | Player accounts | Username, password, email, avatar, admin flag |
| characters | MyISAM | Player characters | Stats, position, inventory link, quest link |
| classes | MyISAM | Character classes | Class definitions, descriptions |
| inventory | MyISAM | 12-slot inventories | One per character (UNIQUE char_name) |
| items | MyISAM | Item definitions | Stats, effects, spells, values |
| battle_logs | MyISAM | Combat history | 5-enemy battles, HP tracking |
| enemy | MyISAM | Enemy instances | Placed enemies on map |
| enemy_types | MyISAM | Enemy classifications | Species, class, emblem |
| locations | MyISAM | World zones | North/south/east/west links, audio |
| tiles | MyISAM | Map grid cells | Background, portal links |
| objects | MyISAM | Map objects | Decorations, obstacles |
| npc | MyISAM | Non-player characters | Bust, avatar, greetings, position |
| quests | MyISAM | Quest definitions | 5-stage quests, complex conditions |
| quest_panel | MyISAM | Active quests | 4 quest slots, completion tracking |
| completed_quests | MyISAM | Quest history | Finished quests log |
| scrolls | MyISAM | Spell definitions | Damage, MP cost, class restrictions |
| scroll_types | MyISAM | Spell categories | Classification system |
| spells | MyISAM | Learned spells | Links scrolls to users |
| skills | MyISAM | Character skills | Skill points allocation |
| skill_sets | MyISAM | Skill categories | Skill tree definitions |
| party | MyISAM | Player groups | Leader + 4 members, party battles |
| pm | MyISAM | Private messages | Subject/message, read status |
| im | InnoDB | Instant messages | Real-time chat (ACID compliance) |
| chat | InnoDB | Chat rooms | Multi-room chat system |
| message | InnoDB | Chat messages | Posted messages with timestamps |
| friendships | MyISAM | Social graph | Friend relationships |
| relationships | MyISAM | Dating system | In-game romance |
| requests | MyISAM | Social requests | Friend/party requests |
| statuses | MyISAM | Status updates | Social feed |
| bazaar | MyISAM | Player market | Item selling |
| trading_queue | MyISAM | Active trades | Trade-in-progress items |
| shop | MyISAM | NPC merchants | Shop locations |
| homes | MyISAM | Player housing | Custom backgrounds |
| game | MyISAM | Global config | Game settings |
| notifications | MyISAM | Alert queue | In-game notifications |
| useronline | MyISAM | Active sessions | Online user tracking |
| logs | MyISAM | System logs | Battle messages, events |
Database Characteristics:
ON UPDATE CURRENT_TIMESTAMPDesign Observations:
Score: 6/10 (Functional Framework, Amateur Execution)
Positives:
mmorpg.class.php central engine classCritical Flaws:
<? instead of <?php (deprecated, not portable)mysql_* functions (deprecated since PHP 5.5, removed in PHP 7.0)mysql_query("SELECT * FROM characters WHERE userID = '$id'") - no parameterizationpassword field but no indication of bcrypt/Argon2*.swf file (obsolete technology)*.xap file (Microsoft discontinued 2021)Code Smell Examples:
$mode=$_GET[mode]; // Unquoted array key (deprecated)
session_start();
if(!isset($_SESSION['is_logged_in']))
{
Header('location: login.php'); // Capital H in Header()
}
Mixing styles, potential code injection
$grabCharacterData = mysql_query("SELECT * FROM characters WHERE userID = '$id'");
Direct SQL injection vulnerability
int(250) NOT NULL // Way too large for any reasonable game value
Shows inexperience with database design
3/5 - Functional Framework Requiring Major Updates
cloudRealms is a legitimate open-source game engine (AGPLv3), not a clone product. However, it suffers from 2011-era technology debt:
Positives:
Blockers:
mysql_* to PDO/MySQLiTime: 250-350 hours | Cost: $18,750-$26,250
1. Database API Migration (60-80 hours, $4,500-$6,000):
mysql_query() with PDO prepared statements2. Security Overhaul (50-70 hours, $3,750-$5,250):
3. PHP Modernization (40-60 hours, $3,000-$4,500):
<? with <?php4. Remove Obsolete Components (15-20 hours, $1,125-$1,500):
.swf file and dependencies.xap file5. Frontend Modernization (60-80 hours, $4,500-$6,000):
6. Battle System Enhancement (30-40 hours, $2,250-$3,000):
7. Testing & Documentation (40-60 hours, $3,000-$4,500):
Even with modernization, the engine faces fundamental challenges:
6/10 - This is a legitimate passion project by an individual developer in 2011. The architecture shows ambition:
What Went Right:
What Went Wrong:
CRITICAL - Severe Vulnerabilities
uploads/ folder with no validation visibleuserID in URLs exposes all accountsModern deployment = guaranteed compromise within hours. This code was insecure even in 2011 but has become exponentially more dangerous as exploitation tools improved.
DO NOT DEPLOY THIS CODE
cloudRealms uses deprecated mysql_* functions (removed PHP 7.0), has SQL injection vulnerabilities throughout, includes Flash/Silverlight components (obsolete and dangerous), and lacks modern security practices. While it's an original framework (not a clone), it requires complete security overhaul before any deployment. Flash died in 2020; Silverlight in 2021.
7/10 - Ambitious Open-Source Engine
Why This Rates Higher Than Clones:
cloudRealms is NOT a clone - it's an original game engine framework. Key innovations:
Innovative Quest System - Advanced for 2011
Unique Social Features
Additional Innovations:
Comparisons:
Historical Context:
2011 was the golden age of browser MMOs before mobile killed the market:
Why It Failed:
What Makes This Interesting:
Verdict:
cloudRealms is a 7/10 innovation - an ambitious, original game engine framework that failed due to technology shifts and abandonment, not lack of vision. It represents the tail end of the browser MMO era (2005-2012) when passionate developers believed PHP/MySQL could power the next Runescape.
Recommendation:
Do not use this code as-is - it's dangerously insecure and PHP 7.0+ incompatible. However, it has educational value:
If you want to build a browser MMO today:
cloudRealms' legacy is showing what was possible in 2011 before the mobile apocalypse. It's a well-intentioned failure that deserves respect for its ambition, even as it serves as a cautionary tale about technology debt and abandonment.
| Historical Value | ★★★★☆ 4/5 - Peak browser MMO era (2011) |
|---|---|
| Code Quality | ★★★☆☆ 3/10 - Functional but insecure |
| Innovation | ★★★★★★★☆☆☆ 7/10 - Original engine, not clone |
| Quest System | ★★★★☆ 4/5 - Advanced 5-stage design |
| Social Features | ★★★★☆ 4/5 - Friends + romance unique |
| Security | ☆☆☆☆☆ 0/5 - SQL injection, Flash, deprecated APIs |
| Technology Stack | ☆☆☆☆☆ 0/5 - Flash/Silverlight dead, PHP 7+ incompatible |
| Modern Viability | ★★★☆☆ 3/5 - Needs major updates but salvageable |
| Overall Grade | C+ Ambitious framework with good ideas, killed by tech debt |
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.