Updating

From ArcEmu-Wiki
Revision as of 11:35, 4 June 2010 by Marforius (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents



Updating

Updating your database will be (almost) painless. You will usually be able to tell that you need to apply a sql update when you update your server's binaries by them causing errors, crashing, or otherwise bad behavior. Its a good idea to check the SVN log especially if Dfighter is spamming the log messages with:


REMEMBER TO APPLY THE REQUIRED UPDATES!
REMEMBER TO APPLY THE REQUIRED UPDATES!
REMEMBER TO APPLY THE REQUIRED UPDATES!
REMEMBER TO APPLY THE REQUIRED UPDATES!
REMEMBER TO APPLY THE REQUIRED UPDATES!


Updating your binaries

  • Compile normally
    • Move server executable to Server Directory
      • Copy Link Libraries from the script_bin the build directory to the server directory.

Overwrite both executables and Libraries previously in the script_bin.


Updating your database

Usually when a database update is needed, it comes prepackaged and ready for you.

Get your current server revision out. Identify which patch you require to run on your database through increases in this patch number.

THIS WILL ASSUME THAT, IN THIS SITUATION PETS HAVE BEEN UPDATED

  • Migrate to "trunk\sql"
    • Identify where the problem is, E.x. if the pet system was changed its a good chance the character database was changed
      • Open "trunk\sql\character_updates\4000 - pets.sql" with a program such as NaviCat
        • Execute the query on your database.

Note: when updating to new revisions you may require multiple updates. It usually isn't a bad idea to backup your database before running any updates in case your pets database gets deleted or flushed to make way for change.

Personal tools