- Home
- Skills
- Game Development
- pawn-forge
Works with the AI Agents you already use
Pawn Forge
by Jal Devecais
Pawn Forge provides a professional engineering suite to audit, build, and modernize Pawn codebases with a real compiler and static analysis in the loop.
$10
pawn-forge
Example session with this skill installed
Audit my gamemode for SQL injection and migrate the account system from DOF2 to MySQL R41.
- Read your context and instructions
- Compiled the pawn-forge
I have analyzed your gamemode and identified several high-risk areas. The current storage logic uses DOF2, which is synchronous and prone to file corruption under high load. I have prepared a migration plan and an audit report.
Security Audit & Storage Migration
| Category | Finding | Recommendation |
|---|---|---|
| Security | SQL Injection in OnPlayerConnect | Use mysql_format with %e or prepared statements. |
| Storage | Legacy DOF2 usage | Migrate to MySQL R41 with threaded queries. |
| Stability | Buffer Overflow in OnPlayerCommandText | Replace with Pawn.CMD and sscanf2 for safe parsing. |
| Modernization | Missing bcrypt | Upgrade plain-text/MD5 hashes to samp-bcrypt. |
MySQL Account Schema
CREATE TABLE IF NOT EXISTS `users` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`username` VARCHAR(24) NOT NULL,
`password` CHAR(60) NOT NULL,
`money` INT DEFAULT 0,
`score` INT DEFAULT 0,
`x` FLOAT DEFAULT 0.0,
`y` FLOAT DEFAULT 0.0,
`z` FLOAT DEFAULT 0.0
) ENGINE=InnoDB;
Modernized Loading Snippet (Pawn)
// Threaded query using MySQL R41
public OnPlayerConnect(playerid)
{
new query[128];
mysql_format(g_Handle, query, sizeof(query), "SELECT * FROM `users` WHERE `username` = '%e' LIMIT 1", ReturnPlayerName(playerid));
mysql_tquery(g_Handle, query, "OnAccountLoad", "d", playerid);
return 1;
}
Next steps
- Configure your
mysql.iniwith the server credentials. - Run the provided SQL schema in your database manager.
- Compile with
pawnccto verify the newmysqlinclude dependencies.
Connects securely to your tools. The creator never sees your data.
About this skill
Pawn scripting for SA-MP and open.mp often suffers from legacy habits like strtok, dini, and unsafe buffer handling that lead to crashes and exploits. Pawn Forge provides a professional engineering suite to audit, build, and modernize Pawn codebases with a real compiler and static analysis in the loop.
What it does
- Security Auditing scans for buffer overflows, SQL injection, and RCON exploits.
- Automated Migration ports SA-MP 0.3.7 scripts to open.mp by updating natives, tags, and callback headers.
- Crash Triage parses
server_log.txtandCrashDetectoutput to trace runtime errors back to specific source lines. - Storage Modernization replaces legacy
.inifile systems with threaded MySQL R41 or SQLite schemas. - TextDraw Scaffolding converts raw editor exports into leak-free, array-based Pawn modules.
- Headless Testing runs unit tests using
y_testingon a local open.mp server to verify gameplay logic.
How it works
- Use
pawnforge project_infoto map the includes, plugins, and entry points of your gamemode. - Run
pawnforge compileto triggerpawncc 3.10.xwith strict warning flags and fix reported issues. - Invoke
pawnforge auditto identify vulnerabilities like weak password hashing or missing bounds checks. - Apply
pawnforge migrate_openmpto upgrade legacy includes and deprecated component signatures.
Frameworks & tools
This skill integrates with the pawncc 3.10.x compiler, YSI 5, Pawn.RakNet, Incognito Streamer, and MySQL R41. It supports both SA-MP 0.3.7 and open.mp server environments.
Why this beats prompting it yourself
Generic AI often suggests outdated strtok patterns or unsafe format() SQL queries that are vulnerable to injection. Pawn Forge enforces modern standards, verifies actual API signatures, and uses a real compiler to ensure code isn't just syntactically correct but actually builds.
Use cases
- Auditing a 10-year-old roleplay gamemode for security vulnerabilities and memory leaks.
- Migrating a production SA-MP server to open.mp without breaking existing player data.
- Debugging a recurring server crash using CrashDetect backtraces and log analysis.
- Scaffolding a complex inventory UI from raw TextDraw coordinates.
Known limitations
Requires a local installation of the Pawn compiler and optionally an open.mp server binary for testing. It cannot fix logical errors in custom plugins written in C++.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
- Accounts
GitHub
- Software
Node.js
PythonNon MCP
Git
uv (Python tool runner)
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Game Development
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Game Development.