Difference between revisions of "Upgrading AMX Mod X"

From AlliedModders Wiki
Jump to: navigation, search
 
Line 16: Line 16:
  
  
=1.75 from 1.71=
+
=1.75=
 +
Instructions for upgrading to AMX Mod X 1.75 from older versions are below.
  
 +
==From 1.71==
 
*Follow general upgrade instructions.
 
*Follow general upgrade instructions.
 
*Make the following configuration changes:
 
*Make the following configuration changes:
Line 28: Line 30:
 
***Re-add your custom or SQL modules back in.
 
***Re-add your custom or SQL modules back in.
  
 +
==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 or lower==
 +
*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.
  
 
[[Category:Documentation (AMX Mod X)]]
 
[[Category:Documentation (AMX Mod X)]]

Revision as of 03:54, 1 July 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.

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).


1.75

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

From 1.71

  • Follow general upgrade instructions.
  • Make the following configuration changes:
    • 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.

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 or lower

  • 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.