Impact Dynamics / Getting started

Updating

How to install a new version of Impact Dynamics without losing your settings.

Impact Dynamics receives updates with fixes and new features. Every update is listed in the Changelog and announced in the Ryan Studios Discord.

Which version do I have?

Open fxmanifest.lua in the resource folder:

Lua
version '1.0.0'

Compare it with the newest entry in the Changelog.

Updating step by step

  1. 1

    Read the changelog

    Check what changed, especially any new or changed config options and anything marked as needing a full restart.

  2. 2

    Back up your files

    Copy the files you may have edited somewhere safe:

    • config.lua - your settings
    • bridge/ - your framework / fuel changes, for example a fuel script you added
    • server/hooks.lua - your dispatch, log or mechanic hooks
  3. 3

    Download the new version

    Download the update from the Cfx.re Portal (Assets → Granted Assets) and replace the whole ryan-impactdynamics folder with it. Keep the folder name as it is.

  4. 4

    Put your changes back

    Do not paste your old config.lua over the new one - a new version may add options the old file does not have. Instead, open both files and copy your values into the new config.lua. Do the same for any edits you made in bridge/ and server/hooks.lua.

  5. 5

    Restart and test

    The resource streams props and animations, so do a full server restart after an update (or have every player reconnect). Then run Your first test to check everything works.

!

Never edit the escrowed (encrypted) files. Only config.lua, bridge/ and server/hooks.lua are meant to be changed, and those are the only files you need to carry over between versions.

Something broke after updating?

  1. Check the server console and F8 for errors and read the Troubleshooting & FAQ.
  2. Compare your config.lua with the one shipped in the update - a missing or misspelled new option is the most common cause.
  3. Still stuck? Open a ticket in the Discord with your version, the error and your config.
Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.