Works with the AI Agents you already use

    Pawn Forge

    by Jal Devecais

    2

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    pawn-forge

    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

    CategoryFindingRecommendation
    SecuritySQL Injection in OnPlayerConnectUse mysql_format with %e or prepared statements.
    StorageLegacy DOF2 usageMigrate to MySQL R41 with threaded queries.
    StabilityBuffer Overflow in OnPlayerCommandTextReplace with Pawn.CMD and sscanf2 for safe parsing.
    ModernizationMissing bcryptUpgrade 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

    1. Configure your mysql.ini with the server credentials.
    2. Run the provided SQL schema in your database manager.
    3. Compile with pawncc to verify the new mysql include 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.txt and CrashDetect output to trace runtime errors back to specific source lines.
    • Storage Modernization replaces legacy .ini file 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_testing on a local open.mp server to verify gameplay logic.

    How it works

    1. Use pawnforge project_info to map the includes, plugins, and entry points of your gamemode.
    2. Run pawnforge compile to trigger pawncc 3.10.x with strict warning flags and fix reported issues.
    3. Invoke pawnforge audit to identify vulnerabilities like weak password hashing or missing bounds checks.
    4. Apply pawnforge migrate_openmp to 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.jsPythonNon MCPGituv (Python tool runner)

    Permissions

    Terminal / Shell
    Read Files
    Network Access
    Write Files
    Environment Variables

    Allowed Hosts

    github.com
    Listed16 days ago

    What's inside

    Frequently Asked Questions

    Pawn-forge is specifically designed for San Andreas Multiplayer (SA-MP) and open.mp environments. It automates security audits, handles complex migrations from legacy versions, and refactors outdated code into modern, performance-oriented YSI-compliant patterns.

    The suite supports any Pawn codebase targeting SA-MP 0.3.7 or open.mp. It is optimized to work alongside the Pawn 3.10.x compiler and common community libraries like YSI 5, Incognito Streamer, and MySQL R41.

    You will receive the full command-line engineering suite, including modules for auditing, migration, and crash triage, along with documentation on integrating it into your existing development workflow.

    Yes, you will need a local installation of the Pawn compiler (pawncc) and the relevant server binaries (SA-MP or open.mp) to use the compilation and headless testing features effectively.

    The tool includes a dedicated 'migrate_openmp' command that automatically updates natives, tags, and callback headers to ensure your legacy scripts are compatible with the modern open.mp architecture.

    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.