Jump to content

Patcher Output 1.0.1


1 Screenshot

About This File

Please note that this will only work if your patch files are controlled via Github. If you don't know how to use Git, you should either learn or delete these files.

Instructions:

1. Copy the file 'patcher_output.txt' to your npc/ directory and add the 'npc:' inclusion line to whichever .conf file you prefer (usually npc/scripts_custom.conf)

2. Go to your server's Github repository and create a new 'Action'. Copy the content from update.yml and commit. Remember to create the following Repository Secrets:
SERVER_IP
SERVER_USERNAME
SERVER_PASSWORD
LOCATION_PATCHER
MYSQL_HOST
MYSQL_USERNAME
MYSQL_PASSWORD
MYSQL_DATABASE

3. Add the following to your conf/channels.conf file:
,
    {
        name: "#syslog"
        alias: "[SystemLog]"
        color: "Orange"
        type: "CHAN_TYPE_PUBLIC"
        delay: 1000
        autojoin: true
        chat: false
        leave: false
        self_notif: false
    }

4. When you commit a new patch file to your patch server's repo and push the changes to Github, you will trigger the action and it will create a message in the syslog channel in-game once the action has completed.
Access to your server's SQL DB is required, and this script uses SSH to run the update script. I suggest creating a special SSH user that can only access your patchers web directory.

This package is provided as-is and no direct support will be available.


What's New in Version 1.0.1   See changelog

Released

Included missing SQL table structure.

 Share


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.