mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
* <code>scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/</code>
* <code>scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/</code>
* <code>scp layonara.tlk  orth@116.203.70.169:/layonara/nwn/userdir/tlk/</code>
* <code>scp layonara.tlk  orth@116.203.70.169:/layonara/nwn/userdir/tlk/</code>
== New NWN Server Version ==
* <code>cd /layonara/nwn && wget <NEW_SERVER_ZIP_URL></code>
* <code> unzip <NEW_SERVER_ZIP></code> and overwrite all


== EE64 Server Setup ==
== EE64 Server Setup ==
* Push all changes to https://github.com/layonara/nwn-module Note: <b>ee branch</b>
* Push all changes to https://github.com/layonara/nwn-module Note: <b>ee branch</b>
* ssh to ee64.layonara.com
* ssh to ee64.layonara.com
* <code>cd /home/orth/nwn-module && git pull</code>
* <code>cd /layonara/nwn/nwn-module && git pull</code>
* <code>nasher pack core --clean</code> Note: <b>You may need to update the nwserver version first</b>
* <code>nasher pack core --clean</code> Note: <b>You may need to update the nwserver version first</b>
* <code>mv *.mod /layonara/nwn/userdir/modules/</code>
* <code>mv *.mod /layonara/nwn/userdir/modules/</code>
* <code>cd /layonara/nwn/nwnx && git pull</code>
* Rebuild nwnx in /layonara/nwn/nwnx with <code>./Scripts/buildnwnx.sh -j4</code>
* Run <code>/layonara/nwn/mod-disable.sh</code>
* Run <code>/layonara/nwn/mod-disable.sh</code>
* Run <code>/layonara/nwn/mod-stop.sh</code>
* Run <code>/layonara/nwn/mod-stop.sh</code>
* Download latest nwserver to /layonara/nwn and unzip
* <code>cd /layonara/nwn/nwnx && git pull</code> <b>DON'T DO UNTIL SERVER IS STOPPED</b>
* Rebuild nwnx in /layonara/nwn/nwnx with <code>./Scripts/buildnwnx.sh -j4</code>
* Edit <code>mod-start.sh</code> and change the module version
* Edit <code>mod-start.sh</code> and change the module version
* Remove any temp overrides added to /layonara/nwn/userdir/development
* Remove any temp overrides added to /layonara/nwn/userdir/development
* Run <code>/layonara/nwn/mod-enable.sh</code>
* Run <code>/layonara/nwn/mod-enable.sh</code>
* Reboot if desired
* Reboot if desired

Latest revision as of 07:52, 15 September 2024

NWSync Server Setup

  • Push all changes to https://github.com/layonara/nwn-haks Note: 64bit branch
  • ssh to nwsync-ssl.layonara.com
  • cd /home/orth/layo-haks && git pull
  • cp layonara.tlk /layonara/nwn/userdir/tlk
  • Run layonara_nwn hak --yes
  • Run sudo /home/orth/.nimble/bin/nwn_nwsync_write --description="The World of Layonara" /var/www/html-ssl /layonara/nwn/userdir/modules/Layonara_6-00.mod Note: You don't need to upload a new module each time, only if the tlk name changes or the haks used/order changed
  • scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/
  • scp layonara.tlk orth@116.203.70.169:/layonara/nwn/userdir/tlk/

New NWN Server Version

  • cd /layonara/nwn && wget <NEW_SERVER_ZIP_URL>
  • unzip <NEW_SERVER_ZIP> and overwrite all

EE64 Server Setup

  • Push all changes to https://github.com/layonara/nwn-module Note: ee branch
  • ssh to ee64.layonara.com
  • cd /layonara/nwn/nwn-module && git pull
  • nasher pack core --clean Note: You may need to update the nwserver version first
  • mv *.mod /layonara/nwn/userdir/modules/
  • Run /layonara/nwn/mod-disable.sh
  • Run /layonara/nwn/mod-stop.sh
  • cd /layonara/nwn/nwnx && git pull DON'T DO UNTIL SERVER IS STOPPED
  • Rebuild nwnx in /layonara/nwn/nwnx with ./Scripts/buildnwnx.sh -j4
  • Edit mod-start.sh and change the module version
  • Remove any temp overrides added to /layonara/nwn/userdir/development
  • Run /layonara/nwn/mod-enable.sh
  • Reboot if desired