Build and run your own online underworld. Launch crimes, run drugs, recruit gang members, and grow your influence across a living economy. From street hustler to kingpin, you’ll amass houses, cars, weapons, and clout as you outwit rivals and expand your empire.
Dive deeper with banks and brokerages, a stock market, real estate and vehicles, gambling dens, and a player-to-player item market. Robust gang warfare, prisons, jobs, and staff tools round out a mid-2000s powerhouse—an all-in-one mafia engine ready to host your city of crime.
Game Title: Generic Mafia RPG (GRPG)
Version: Unknown (likely v1.x-2.x)
Developer: ShareMafia.com
Release Date: ~2005-2008 (estimated from code)
Genre: Mafia-themed Browser RPG
Language: PHP 4.x/5.x
License: Commercial/Proprietary
Website: www.sharemafia.com
Documentation: README.pdf (7 KB), INSTALL.txt
Database: 38 tables (grpgtables.sql)
Generic Mafia RPG is a commercial mafia-themed browser RPG engine from the mid-2000s, distributed by ShareMafia.com. The name "Generic" suggests it's a customizable engine/script sold to customers who want to run their own mafia games. With 104 PHP files and 38 database tables, it represents one of the most feature-complete mafia games in the collection.
Key Features (from filenames):
The [database.php](d:_HOUSESOCIALMUDWWW_MUD Gamesunzippedgeneric_mafia_rpgGeneric Mafia RPGdatabase.php) file contains hardcoded production credentials:
function db_connect($server = 'localhost', $username = 'thegrpg3',
$password = 'hc6vwbrf', $database = 'thegrpg3_myneocorp', $link = 'db_link')
---
Authentication & User Management:
Crime & Illegal Activities:
Gang System (12+ files):
Economy & Banking:
Real Estate & Property:
Shopping & Items:
Gambling:
Character Development:
Social & Communication:
Admin & Moderation:
Other Features:
Strengths:
Issues:
---
From grpgtables.sql (25 KB), the game likely includes:
Core Tables (estimated):
Design Philosophy:
dbcon.php (Template):
$conn = mysql_connect("localhost","YOUR_USERNAME","YOUR_PASSWORD");
$db = mysql_select_db("YOUR_DB");
database.php (Production/Test):
function db_connect($server = 'localhost', $username = 'thegrpg3',
$password = 'hc6vwbrf', $database = 'thegrpg3_myneocorp')
Database Abstraction:
// database.php header comments:
// "Database Abstraction file for AJAX Driven Chat tutorial"
// "Code written by Ryan Smith of 345 Technical"
// "Based on osCommerce database abstraction"
// Copyright 2005 Ryan Smith / 345 Technical / DynamicAJAX.com
---
CRITICAL: Hardcoded Production Credentials
// database.php
function db_connect($server = 'localhost', $username = 'thegrpg3',
$password = 'hc6vwbrf', $database = 'thegrpg3_myneocorp')
Other Vulnerabilities:
Commercial Script Security:
---
Strengths:
Critical Issues:
Fatal Blockers:
Modernization Effort:
Estimated Cost: $19,200 - $38,400 USD
---
Standard Mafia Features:
Notable Features (+2 points):
Derivative Elements:
Comprehensive Systems:
Why Not 10/10:
---
Preservation Priority: MEDIUM (5/10)
Why Preserve:
Archive Actions:
⚠️ STUDY CAREFULLY (Features Only)
What to Study:
What NOT to Study:
If Modernizing:
UNSAFE TO PLAY
Summary: Generic Mafia RPG is a commercial mafia-themed browser RPG script from ShareMafia.com (mid-2000s) with 104 PHP files, 38 database tables, and comprehensive features including gangs, drugs, crime, stock market, real estate, and gambling. Despite its extensive feature set (8/10 completeness), it suffers from catastrophic security flaws including hardcoded production credentials (thegrpg3/hc6vwbrf for database thegrpg3_myneocorp, likely a customer's "My Neo Corp" installation) and typical PHP 4-era vulnerabilities.
Key Paradox: Commercial script with professional features but amateur security practices.
Historical Significance: Documents the commercial browser RPG script market circa 2005-2008, when developers sold mafia game engines to customers. The osCommerce-based database abstraction and repurposed AJAX chat code show the copy-paste development culture of the era.
Best Use Cases in 2025:
Comparison to Collection:
Preservation Priority: MEDIUM (5/10) - Commercial script artifact, comprehensive features, but poor security
Epitaph: "They built a stock market but couldn't secure the database."
---
Analysis Completed: December 2025
Confidence Level: 88% (file review, SQL count verified, credentials found, README.pdf not opened)
Recommended Action: Archive with credential redaction, document ShareMafia.com
Security Warning: ⚠️ HARDCODED CREDENTIALS - thegrpg3/hc6vwbrf (MyNeoCorp customer)
Commercial Script: 💼 ShareMafia.com distribution, sold to multiple customers
Next Game: gladiators (27/79 complete - 34.2%)
| Category | Rating | Commentary |
|---|---|---|
| Innovation & Originality | ★★★★☆☆☆☆☆☆ 4/10 | Standard mafia features but comprehensive: drugs, gangs, real estate, stocks |
| Code Quality | ★★★☆☆☆☆☆☆☆ 3/10 | Organized but procedural, 104 files show ambition without architecture |
| Security Posture | ★☆☆☆☆☆☆☆☆☆ 1/10 | SQL injection, hardcoded credentials, gambling = legal + security disaster |
| Documentation | ★★★★★☆☆☆☆☆ 5/10 | README.pdf and INSTALL.txt present - better than most in collection |
| Gameplay Design | ★★★★★★☆☆☆☆ 6/10 | Rich features: gangs, crimes, drugs, stocks, real estate, gambling |
| Technical Architecture | ★★★☆☆☆☆☆☆☆ 3/10 | 38-table schema complex but no MVC, procedural spaghetti |
| Feature Completeness | ★★★★★★★★☆☆ 8/10 | Most complete mafia game: 104 files, 38 tables, all systems implemented |
| Historical Significance | ★★★★★★☆☆☆☆ 6/10 | Commercial script example from ShareMafia.com distribution era |
| Preservation Value | ★★★★★★★☆☆☆ 7/10 | Complete commercial package with docs, demonstrates full mafia game scope |
Summary: Generic Mafia RPG represents a commercial script package from ShareMafia.com, offering one of the most feature-complete mafia games in the collection. With 104 PHP files and 38 database tables, it implements everything from drugs and gangs to stocks and real estate. The inclusion of README.pdf shows professional distribution intent. However, it suffers from typical mid-2000s security disasters: SQL injection, hardcoded credentials, and zero input validation. The gambling features (slots, lottery, 50/50) add legal complexity. Valuable as an example of commercial browser RPG script sales, but absolutely unsafe for deployment.
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.