Create a Gmod Server (srcds)



  • Hi,
    I am trying to install a gmod server.
    Here is my template:

    {
      "pufferd": {
        "type": "srcds",
        "display": "Team Fortress 2",
        "install": {
          "commands": [
            {
              "files": "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz",
              "type": "download"
            },
            {
              "commands": [
                "mkdir steamcmd",
                "tar --no-same-owner -xzvf steamcmd_linux.tar.gz -C steamcmd",
                "steamcmd/steamcmd.sh +login anonymous +force_install_dir ${rootdir} +app_update 232250 +quit",
                "mkdir -p .steam/sdk32",
                "cp steamcmd/linux32/steamclient.so .steam/sdk32/steamclient.so"
              ],
              "type": "command"
            }
          ]
        },
        "run": {
          "stop": "exit",
          "pre": [],
          "post": [],
          "arguments": [
            "+ip",
            "${ip}",
            "+port",
            "${port}",
            "-game tf",
            "-console",
            "+map ${map}",
            "-norestart"
          ],
          "program": "./srcds_run"
        },
        "environment": {
          "type": "tty"
        },
        "data": {
          "map": {
            "value": "ctf_2fort",
            "required": true,
            "desc": "TF2 Map",
            "display": "Team Fortess 2 Map to load",
            "internal": false
          },
          "ip": {
            "value": "0.0.0.0",
            "required": true,
            "desc": "What IP to bind the server to",
            "display": "IP",
            "internal": false
          },
          "port": {
            "value": "27015",
            "required": true,
            "desc": "What port to bind the server to",
            "display": "Port",
            "internal": false
          }
        }
      }
    }
    

    And when trying to install pufferpanel gets me this: (as well on other sourcebased games.)

    Allocating server
    Server allocated
    Installing server
    linux32/
    linux32/libstdc++.so.6
    linux32/steamcmd
    steamcmd.sh
    steam.sh
    Error installing server
    Server installed
    
    

    Where is the error?
    Thanks for help,
    Tom



  • Sorry forgot to install

    sudo apt-get install lib32stdc++6
    

Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.