Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
241 stars 33 forks source link

Can't sampctl package run #464

Closed AsherSmithh closed 2 years ago

AsherSmithh commented 2 years ago

When I try to run the package I got this error. failed to prepare package for running: failed to prepare temporary runtime area: failed to get server package: failed to get package 0.3.7 from net: server binary does not match checksum for version 0.3.7.

I've tried to fix in many ways but I can't. Thanks

ADRFranklin commented 2 years ago

Which version of sampctl are you running?

AsherSmithh commented 2 years ago

Am using latest version of sampctl. 1.10.10 sir

ADRFranklin commented 2 years ago

Please paste your pawn.json file.

AsherSmithh commented 2 years ago
{
    "user": "asher",
    "repo": "gtafc",
    "entry": "gamemodes/gtafc.pwn",
    "output": "gamemodes/gtafc.amx",
    "dependencies": [
        "Zeex/samp-plugin-crashdetect:v4.20",
        "samp-incognito/samp-streamer-plugin:v2.9.4",
        "urShadow/Pawn.CMD:3.2.0",
        "sampctl/samp-stdlib",
        "Southclaws/progress2",
        "Southclaws/samp-logger:1.3.1",
        "maddinat0r/sscanf:v2.8.3",
        "pBlueG/SA-MP-MySQL:R41-4",
        "MichaelBelgium/MV_Youtube:^4.x",
        "Pottus/ColAndreas:1.5.0",
        "pawn-lang/YSI-Includes@5.x",
        "PatrickGTR/MySQL-Prepared-Statements",

        "pawn-lang/sa-mp-fixes"
    ],
    "local": true,
    "runtime": {
        "version": "0.3.7",
        "mode": "server",
        "echo": "-",
        "gamemodes": [
            "gtafc"
        ],
        "filterscripts": [
        ],
        "plugins": [
            "sampcac_server"
        ],
        "rcon_password": "Rk4?2dVXzFY^e%k%",
        "port": 7777,
        "hostname": "WELCOME",
        "maxplayers": 150,
        "language": "Vietnamese",
        "mapname": "LS/LV",
        "weburl": "gtafc.net",
        "gamemodetext": "Unknown",
        "announce": false,
        "lanmode": false,
        "query": true,
        "rcon": false,
        "logqueries": false,
        "sleep": 5,
        "maxnpc": 0,
        "stream_rate": 1000,
        "stream_distance": 300,
        "onfoot_rate": 30,
        "incar_rate": 30,
        "weapon_rate": 30,
        "chatlogging": true,
        "timestamp": true,
        "messageholelimit": 3000,
        "messageslimit": 1000,
        "ackslimit": 9000,
        "playertimeout": 10000,
        "minconnectiontime": 0,
        "lagcompmode": 1,
        "connseedtime": 300000,
        "db_logging": false,
        "db_log_queries": false,
        "conncookies": true,
        "cookielogging": false,
        "output": true
    },
    "builds": [
        {
            "name": "dev",
            "version": "3.10.10",
            "args": [
                "-d3",
                "-;+",
                "-(+",
                "-Z+",
                "-\\+"
            ],
            "constants": {
                "MAX_PLAYERS": "200"
            }
        }
    ]
}

here we go

ADRFranklin commented 2 years ago

Now can you give me the full output of the command with --verbose flag added to the end of the command

ADRFranklin commented 2 years ago

What I am suspecting is that sampctl is failing to pull the server binaries or somehow it has downloaded an incomplete archive as the connection could of dropped while it was downloading. However the problem here is that it is trying to check the binaries inside the archive for 0.3.7, but the files do not match a checksum (which is designed to help check files have not been tempered with).

ADRFranklin commented 2 years ago

This has been fixed now by changing the place the server binaries are pulled from.

AsherSmithh commented 1 year ago

Vào CN, 20 thg 3, 2022 lúc 23:14 JustMichael @.***> đã viết:

Which version of sampctl are you running?

— Reply to this email directly, view it on GitHub https://github.com/Southclaws/sampctl/issues/464#issuecomment-1073283567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIJAAXSFHNYOLBOGEFVIVTVA5FHLANCNFSM5REGAKXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Am using the newest one 1.10.10