This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
iceee:development:updatemainserver [2015/09/04 13:50] emerald |
iceee:development:updatemainserver [2015/09/04 14:05] emerald |
||
---|---|---|---|
Line 10: | Line 10: | ||
First off, take a complete backup of the current server. | First off, take a complete backup of the current server. | ||
- | - Shutdown both running serves<code> | + | - Shutdown both running servers<code> |
service iceee stop | service iceee stop | ||
service iceee-dev stop | service iceee-dev stop | ||
Line 39: | Line 39: | ||
</code> | </code> | ||
- | Now replace static data (items, quests, zones etc, AI scripts). **NOTE: 'Data' is a symbolic link on the dev server as it comes from Git. Make sure the -L option is used when copying**. | + | Now replace static data (items, quests, zones etc, AI scripts). **NOTE: Static data files are symbolic links on the dev server as they come from Git. Make sure the -L option is used when copying**. |
<code> | <code> | ||
Line 54: | Line 54: | ||
rm -fr Loot | rm -fr Loot | ||
cp -LRp /opt/EEServer-Dev/Loot . | cp -LRp /opt/EEServer-Dev/Loot . | ||
+ | rm -fr ItemMod | ||
+ | cp -LRp /opt/EEServer-Dev/ItemMod . | ||
+ | rm -fr Packages | ||
+ | cp -LRp /opt/EEServer-Dev/Packages . | ||
</code> | </code> | ||
- | Some of these may not exist, or care should be take as they may change in game too, for example the credit shop. | + | Some of these may not exist, or care should be taken as they may change in game too, for example the credit shop. |
<code> | <code> | ||
Line 63: | Line 67: | ||
rm -fr QuestScripts | rm -fr QuestScripts | ||
cp -LRp /opt/EEServer-Dev/QuestScripts . | cp -LRp /opt/EEServer-Dev/QuestScripts . | ||
+ | </code> | ||
+ | |||
+ | Now for the executable itself .. | ||
+ | |||
+ | <code> | ||
+ | cp -LRp /opt/EEServer-Dev/EEServer36_Linux64 . | ||
+ | </code> | ||
+ | |||
+ | Now do a 'diff' of the current server configuration and the dev server configuration and compare them. Some options may need to be moved across, and some should remain. | ||
+ | |||
+ | <code> | ||
+ | diif ServerConfig.txt /opt/EEServer-Dev/ServerConfig.txt | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== 3. Start Up Both Servers ===== | ||
+ | |||
+ | Thats it, all that remains is to start the two servers again and test. | ||
+ | |||
+ | <code> | ||
+ | service iceee start | ||
+ | service iceee-dev start | ||
</code> | </code> |