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

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:linux:games:2009scape_localhost [2025/01/29 23:14] Sean Rhoneservers:linux:games:2009scape_localhost [2025/04/22 04:33] (current) Sean Rhone
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/c296e34b50fbc5621c9fcdb6c1357e3ec01a2baf|c296e34b]]
  
 ===== Media ===== ===== Media =====
Line 11: Line 12:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux;distros;fedora_workstation_gnome|Fedora Workstation]]+  * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]]
  
 ===== Notes ===== ===== Notes =====
Line 21: Line 22:
   * https://gitlab.com/2009scape/2009scape#prerequisites   * https://gitlab.com/2009scape/2009scape#prerequisites
  
-  sudo dnf install git git-lfs java-openjdk-headless+  sudo zypper install git-core git-lfs java-21-openjdk-headless
  
 ====== Download Source ====== ====== Download Source ======
Line 41: Line 42:
   * [[https://gitlab.com/2009scape/2009scape/-/blob/master/Server/worldprops/default.conf?ref_type=heads|Upstream worldprops/default.conf]] ([[https://gitlab.com/2009scape/2009scape/-/raw/master/Server/worldprops/default.conf?ref_type=heads|raw]])   * [[https://gitlab.com/2009scape/2009scape/-/blob/master/Server/worldprops/default.conf?ref_type=heads|Upstream worldprops/default.conf]] ([[https://gitlab.com/2009scape/2009scape/-/raw/master/Server/worldprops/default.conf?ref_type=heads|raw]])
  
-  rm -v -f ~/'Projects/2009Scape-Server/src/Server/worldprops/default.conf' +  mkdir -~/'Projects/2009Scape-Server/conf' && nano ~/'Projects/2009Scape-Server/conf/localhost.conf'
- +
-  nano ~/'Projects/2009Scape-Server/src/Server/worldprops/default.conf'+
  
 <code> <code>
Line 106: Line 105:
 jad_practice_enabled = false jad_practice_enabled = false
  
-# Holiday (only enable one or none)+# Holiday (only enable one "force" or none)
 force_halloween_randoms = false force_halloween_randoms = false
 force_christmas_randoms = false force_christmas_randoms = false
 +holiday_event_randoms = false
  
 # PVP # PVP
 pvp = false pvp = false
 wild_pvp_enabled = false wild_pvp_enabled = false
-revenant_population = 30+revenant_population = 0
  
 # Server config # Server config
Line 127: Line 127:
 enable_castle_wars = false enable_castle_wars = false
 verbose_cutscene = false verbose_cutscene = false
-holiday_event_randoms = true 
 enable_bots = false enable_bots = false
 max_adv_bots = 100 max_adv_bots = 100
Line 178: Line 177:
  
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
-java -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar'+java -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf'
  
 # End</code> # End</code>
 +
 +  ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'
  
 ===== Server Update ===== ===== Server Update =====
Line 198: 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 218: 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.1738210462.txt.gz · Last modified: by Sean Rhone