User Tools

Site Tools


servers:linux:games:2009scape_localhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

servers:linux:games:2009scape_localhost [2025/04/14 08:58] – [Server Start] Sean Rhoneservers:linux:games:2009scape_localhost [2025/05/16 21:39] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
   * These notes provide a local single-player server for 2009Scape ((RSPS/RuneScape Private Server based on cache ''530'' from 2009, [[https://gitlab.com/2009scape/2009scape#history-of-this-codebase|more info]]))   * These notes provide a local single-player server for 2009Scape ((RSPS/RuneScape Private Server based on cache ''530'' from 2009, [[https://gitlab.com/2009scape/2009scape#history-of-this-codebase|more info]]))
-  * Last tested commit: [[https://gitlab.com/2009scape/2009scape/-/commit/f75577d41d7b0c3050c0207e4fbf5d706f778cc9|~f75577d4]]+  * Last tested commit: [[https://gitlab.com/2009scape/2009scape/-/commit/c296e34b50fbc5621c9fcdb6c1357e3ec01a2baf|c296e34b]]
  
 ===== Media ===== ===== Media =====
Line 12: Line 12:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux;distros;debian_12_xfce|Debian 12 (Xfce)]]+  * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]]
  
 ===== Notes ===== ===== Notes =====
Line 22: Line 22:
   * https://gitlab.com/2009scape/2009scape#prerequisites   * https://gitlab.com/2009scape/2009scape#prerequisites
  
-  sudo apt install git git-lfs openjdk-17-jre-headless+  sudo zypper install git-core git-lfs java-21-openjdk-headless
  
 ====== Download Source ====== ====== Download Source ======
Line 180: Line 180:
  
 # End</code> # End</code>
 +
 +  ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'
  
 ===== Server Update ===== ===== Server Update =====
Line 197: Line 199:
 ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests
  
-notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape worldprops copy/paste in 3 seconds...' +zenity --title '2009Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '2--info
-sleep '3' +
-gio open 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost#settings' +
-rm -f ~/'Projects/2009Scape-Server/src/Server/worldprops/default.conf' +
-nano ~/'Projects/2009Scape-Server/src/Server/worldprops/default.conf' +
- +
-notify-send -~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape localhost server update complete'+
  
 # End</code> # End</code>
 +
 +  ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'
  
 ===== Save Data Back-up ===== ===== Save Data Back-up =====
Line 217: Line 215:
  
 tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-Server-localhost-Saves.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players' tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-Server-localhost-Saves.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players'
-sync + 
-notify-send -~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape Save Data Backed-up Successfully to Downloads'+zenity --title '2009Scape Save Backup' --text 'Save Data Backed-up to Downloads' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '2' --info
  
 # End</code> # End</code>
 +
 +  ~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh'
  
 ====== Quick Commands ====== ====== Quick Commands ======
/srv/www/wiki/data/attic/servers/linux/games/2009scape_localhost.1744635512.txt.gz · Last modified: by Sean Rhone