Updating

From ArcEmu-Wiki
(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
 
= Updating your binaries =
 
= Updating your binaries =
  
*Compile normally
+
Repeate these steps as you have already done it with your first installation:
**Move server executable to Server Directory
+
* [[Getting_the_source_code|Download the source]] from the SVN repository
***Copy Link Libraries from the script_bin the build directory to the server directory.
+
* [[CMake|Run CMake]]
Overwrite both executables and Libraries previously in the script_bin.
+
* Compile normally, f.ex. for [[Compiling:_Windows|Windows]]
  
 +
{{Note|Beside the binaries pay attention if may the databases has changed too. So you may also have to follow carefully the next step.}}
  
 
= Updating your database =
 
= Updating your database =

Revision as of 12:49, 6 November 2011

+/-
Main Page                   Other languages:   English  •   German   •   FrenchArcEmu Website     ArcEmu Forum     Bug Tracker

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!


Updating your binaries

Repeate these steps as you have already done it with your first installation:

Ico info.png Beside the binaries pay attention if may the databases has changed too. So you may also have to follow carefully the next step.


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