Difference between revisions of "Upgrading AMX Mod X"

From AlliedModders Wiki
Jump to: navigation, search
m (From 1.71)
m
Line 16: Line 16:
  
  
=Upgrading to AMX Mod X 1.75=
+
=Upgrading to AMX Mod X 1.76=
Instructions for upgrading to AMX Mod X 1.75 from older versions are below.
+
Instructions for upgrading to AMX Mod X 1.76 from older versions are below.
 +
 
 +
==From 1.75==
 +
*You may want to recompile your plugins for new implementations of replace_all() and other stocks, however, 1.76 is a binary only upgrade from 1.75.
  
 
==From 1.71==
 
==From 1.71==

Revision as of 16:54, 17 September 2006

This document contains information on upgrading AMX Mod X versions. Almost all versions follow the same pattern, although notes on specific versions can be found here as well. If you're upgrading from a very old verison, you will need to stage your upgrade. For example, you must read the upgrade notes for each version in between.

All Versions

For general upgrades, you should make sure you:

  • Replace all binaries.
    • dlls, modules / *.dll/*.so - This includes amxmodx_mm and all modules.
    • plugins/*.amxx - Any default plugins AMX Mod X comes with.
    • data/GeoIP.dat - If you use GeoIP, make sure you update the database.
  • Replace language files.
    • data/lang/*.txt - Important to make sure plugins are using the right language phrases.
  • Read the upgrade notes to see any other custom changes needed.
  • If you do scripting locally...
    • Replace all base include and source files (.inc, .sma).
    • Replace the compiler and its binaries (amxxpc, amxxpc32, amxxpc64).


Upgrading to AMX Mod X 1.76

Instructions for upgrading to AMX Mod X 1.76 from older versions are below.

From 1.75

  • You may want to recompile your plugins for new implementations of replace_all() and other stocks, however, 1.76 is a binary only upgrade from 1.75.

From 1.71

  • Follow general upgrade instructions.
  • Make the following configuration changes:
    • Recommended: Open configs/sql.cfg. Add the new cvar:
      • amx_sql_type "mysql"
      • Note: Other option is "sqlite"
    • Optional: Open configs/modules.ini.
      • If you are using MySQL or SQLite, or any custom modules, write them down.
      • Replace your old modules.ini with 1.75's stock version.
      • Re-add your custom or SQL modules back in.
  • Optional: Recompile 3rd party plugins.
    • If you wish to take advantage of some automatic module loading features, plugins will need to be recompiled with the 1.75 compiler. However, all old plugins will work as is.

From 1.70

  • Follow general upgrade instructions.
  • Make the following configuration changes:
    • Open configs/core.ini.
      • Replace the contents with the core.ini from AMX Mod X 1.75.
      • Note: Make sure to note any custom changes!
  • Continue by following instructions for 1.71.

From 1.50, 1.55, 1.60

  • Follow general upgrade instructions.
  • Make sure you have Metamod version 1.19 or higher installed.
  • Continue by following instructions for 1.70.

From 1.01, 1.00, or 0.20-RC4+

  • Follow general upgrade instructions.
  • Recommended: replace all of your scripting tools with the latest versions of includes and the compiler. Then, recompile all of your custom or 3rd party plugins with AMX Mod X 1.75.
  • Continue by following instructions for 1.50/1.55/1.60.