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 [2026/05/22 00:40] Sean Rhoneservers:linux:games:2009scape_localhost [2026/07/11 08:33] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * 2009Scape Server ((https://gitlab.com/2009scape/2009scape)) +  * 2009Scape Server
- +
-  * 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]])) +
- +
-  * :!: 2026/05/22: WIP+
  
 ===== Media ===== ===== Media =====
Line 23: Line 19:
   * https://gitlab.com/2009scape/2009scape#prerequisites   * https://gitlab.com/2009scape/2009scape#prerequisites
  
-  sudo zypper install git-core git-lfs java-21-openjdk-devel java-26-openjdk-headless+  sudo zypper install git-core git-lfs java-21-openjdk-headless java-26-openjdk-headless
  
 ====== Download Source ====== ====== Download Source ======
Line 35: Line 31:
 ====== Initial Build ====== ====== Initial Build ======
  
-  * ~5 minutes i5-8400H ((2026/05/04: ''03:17 min'' 4C8T))+  * ~5 minutes i5-8400H ((2026/05/22: ''03:18 min'' 4C4T))
  
   cd ~/'Projects/2009Scape-Server/src/Server' && JAVA_HOME='/usr/lib64/jvm/java-21-openjdk-21' ~/'Projects/2009Scape-Server/src/Server/mvnw' --define 'skipTests' 'clean' 'package' && cd -   cd ~/'Projects/2009Scape-Server/src/Server' && JAVA_HOME='/usr/lib64/jvm/java-21-openjdk-21' ~/'Projects/2009Scape-Server/src/Server/mvnw' --define 'skipTests' 'clean' 'package' && cd -
Line 41: Line 37:
 ====== Settings ====== ====== Settings ======
  
-  * Last commit: [[https://gitlab.com/2009scape/2009scape/-/commit/dfb53cfa03fff99374e60875e01a16f10d995749|November 252025]] ''dfb53cfa''+  * Last commit: [[https://gitlab.com/2009scape/2009scape/-/commit/afeffc1b98a565572c39d0aaeda925fbba6ab2aa|Jul 32026]] ''afeffc1b''
   * [[https://gitlab.com/2009scape/2009scape/-/commits/master/Server/worldprops/default.conf?ref_type=heads|New commits check]]   * [[https://gitlab.com/2009scape/2009scape/-/commits/master/Server/worldprops/default.conf?ref_type=heads|New commits check]]
   * [[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]])
   * [[https://gitlab.com/2009scape/2009scape/-/blob/master/Server/src/main/core/game/worldevents/holiday/HolidayRandoms.kt|HolidayRandoms.kt]]   * [[https://gitlab.com/2009scape/2009scape/-/blob/master/Server/src/main/core/game/worldevents/holiday/HolidayRandoms.kt|HolidayRandoms.kt]]
- 
-  * :!: ''force_christmas_randoms'' is enabled 
  
   mkdir -p ~/'Projects/2009Scape-Server/conf' && nano ~/'Projects/2009Scape-Server/conf/localhost.conf'   mkdir -p ~/'Projects/2009Scape-Server/conf' && nano ~/'Projects/2009Scape-Server/conf/localhost.conf'
Line 64: Line 58:
 connectivity_check_url = "localhost" connectivity_check_url = "localhost"
 connectivity_timeout = 500 connectivity_timeout = 500
 +websocket_enabled = false
 +websocket_port = 0
 +websocket_tls_enabled = false
 +websocket_tls_keystore_path = ""
 +websocket_tls_keystore_password = ""
  
 [database] [database]
Line 93: Line 92:
 motw_identifier = "0" motw_identifier = "0"
 motw_text = "Welcome to your localhost server!" motw_text = "Welcome to your localhost server!"
-new_player_location = "2524,5002,0"+new_player_location = "3094,3107,0"
 home_location = "3222,3218,0" home_location = "3222,3218,0"
 autostock_ge = false autostock_ge = false
Line 118: Line 117:
 inauthentic_candlelight_random = false inauthentic_candlelight_random = false
 ######################################## ########################################
-holiday_event_randoms = true+holiday_event_randoms = false
 force_halloween_randoms = false force_halloween_randoms = false
-force_christmas_randoms = true+force_christmas_randoms = false
 ######################################## ########################################
 +april_fools_event = false
 +force_april_fools = false
 runecrafting_formula_revision = 530 runecrafting_formula_revision = 530
 enhanced_deep_wilderness = false enhanced_deep_wilderness = false
Line 167: Line 168:
 export _JAVA_OPTIONS="--sun-misc-unsafe-memory-access='allow' --enable-native-access='ALL-UNNAMED' -Djava.net.preferIPv6Addresses='false'" export _JAVA_OPTIONS="--sun-misc-unsafe-memory-access='allow' --enable-native-access='ALL-UNNAMED' -Djava.net.preferIPv6Addresses='false'"
  
-'/usr/lib64/jvm/java-25-openjdk-25/bin/java' -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf'+'/usr/lib64/jvm/java-26-openjdk-26/bin/java' -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf'
  
 unset '_JAVA_OPTIONS' unset '_JAVA_OPTIONS'
 +cd '/tmp'
  
 # End</code> # End</code>
Line 181: Line 183:
 <code> <code>
 #!/bin/bash #!/bin/bash
 +
 +cd '/tmp'
  
 git -C ~/'Projects/2009Scape-Server/src' reset --hard 'origin/master' git -C ~/'Projects/2009Scape-Server/src' reset --hard 'origin/master'
Line 187: Line 191:
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
  
-export JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17'+export JAVA_HOME='/usr/lib64/jvm/java-21-openjdk-21'
  
-~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests+~/'Projects/2009Scape-Server/src/Server/mvnw' --define 'skipTests' 'clean' 'package'
  
 unset 'JAVA_HOME' unset 'JAVA_HOME'
 +cd '/tmp'
  
-notify-send -'2000' -~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape localhost server update complete'+zenity --title '2009Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '2--info 
 +:
  
 # End</code> # End</code>
Line 205: Line 211:
 <code> <code>
 #!/bin/bash #!/bin/bash
 +
 +cd '/tmp'
  
 tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-localhost-Saves.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players' tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-localhost-Saves.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players'
  
-notify-send -'2000' -~/'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>
Line 232: Line 240:
 ===== Save Restore ===== ===== Save Restore =====
  
-  * ''src/Server/data/players/espionage724.json''+  * ''Server/data/players/espionage724.json''
  
   mkdir -p ~/'Projects/2009Scape-Server/src/Server/data/players' && gio open ~/'Projects/2009Scape-Server/src/Server/data/players'   mkdir -p ~/'Projects/2009Scape-Server/src/Server/data/players' && gio open ~/'Projects/2009Scape-Server/src/Server/data/players'
  
/usr/local/www/wiki/data/attic/servers/linux/games/2009scape_localhost.1779424845.txt.gz · Last modified: by Sean Rhone