User Tools

Site Tools


servers:windows: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:windows:games:2009scape_localhost [2025/05/28 00:25] Sean Rhoneservers:windows:games:2009scape_localhost [2025/06/21 16:37] (current) Sean Rhone
Line 2: Line 2:
  
   * 2009Scape Server ((https://gitlab.com/2009scape/2009scape))   * 2009Scape Server ((https://gitlab.com/2009scape/2009scape))
- 
-  * 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]])) 
  
 ===== Media ===== ===== Media =====
Line 11: Line 9:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows:10|Windows 10 (21H2)]] +  * [[windows;10|Windows 10 (21H2)]] 
- +  * [[programs;windows;git|Git]] (LFS component required) 
-===== Notes ===== +  * [[games:windows:rt4_client_runescape_530|RT4 Client]]
- +
-  * For a game client, see [[games:windows:rt4_client_runescape_530|RT4 Client]]+
  
 ====== Dependencies ====== ====== Dependencies ======
Line 21: Line 17:
   * https://gitlab.com/2009scape/2009scape#prerequisites   * https://gitlab.com/2009scape/2009scape#prerequisites
  
-===== Git =====+===== Java =====
  
-  * https://git-scm.com/downloads/win +==== 21 ====
-  * Last tested: ''Git-2.49.0-64-bit.exe'' +
- +
-  * :!: Git LFS component required +
- +
-===== Java =====+
  
   * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21   * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21
Line 61: Line 52:
  
 # Server # Server
-log_level = "verbose+log_level = "detailed
-write_logs = true +write_logs = false 
-msip = "localhost"+msip = "127.0.0.1"
 secret_key = "2009scape_development" secret_key = "2009scape_development"
 preload_map = false preload_map = false
Line 81: Line 72:
  
 # MySQL # MySQL
-database_address = "localhost"+database_address = "127.0.0.1"
 database_port = "3306" database_port = "3306"
 database_name = "2009scape" database_name = "2009scape"
Line 192: Line 183:
  
 CD "%UserProfile%\Projects\2009Scape-Server\src\Server" CD "%UserProfile%\Projects\2009Scape-Server\src\Server"
 +
 +SET "_JAVA_OPTIONS=-Djava.net.preferIPv6Addresses=true"
  
 "java.exe" -jar "%UserProfile%\Projects\2009Scape-Server\src\Server\target\server-1.0.0-jar-with-dependencies.jar" "%UserProfile%\Projects\2009Scape-Server\conf\localhost.conf" || exit "1" "java.exe" -jar "%UserProfile%\Projects\2009Scape-Server\src\Server\target\server-1.0.0-jar-with-dependencies.jar" "%UserProfile%\Projects\2009Scape-Server\conf\localhost.conf" || exit "1"
Line 276: Line 269:
  
   Install Notes (Server)   Install Notes (Server)
- 
-====== Quick Commands ====== 
- 
-===== Execute ===== 
- 
-**** 
- 
-  CD "%UserProfile%\Projects\2009Scape-Server\src\Server" && "java.exe" -jar "%UserProfile%\Projects\2009Scape-Server\src\Server\target\server-1.0.0-jar-with-dependencies.jar" "%UserProfile%\Projects\2009Scape-Server\conf\localhost.conf" 
- 
-===== Update ===== 
- 
-  * https://gitlab.com/2009scape/2009scape/-/commits/master?ref_type=HEADS 
- 
-  "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\2009Scape-Server\src" reset --hard && "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\2009Scape-Server\src" pull origin "master" --rebase && CD "%UserProfile%\Projects\2009Scape-Server\src\Server" && CALL "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" "clean" "package" -DskipTests 
- 
-===== Save Data Back-up ===== 
- 
-  * :!: The ''tar'' command replaces ''Downloads\2009Scape-Server-localhost-Saves.tar.gz'' each time without back-up or date codes 
- 
-  "explorer.exe" "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" 
- 
-  "tar.exe" -cvzf "%UserProfile%\Downloads\2009Scape-Server-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\2009Scape-Server\src\Server\data" "players" 
- 
-===== File Manager ===== 
- 
-==== Root ==== 
- 
-**** 
- 
-  "explorer.exe" "%UserProfile%\Projects\2009Scape-Server\src" 
- 
-==== Saves ==== 
- 
-  MKDIR "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" 
- 
-  "explorer.exe" "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" 
- 
-===== Bookmarks ===== 
- 
-  * https://gitlab.com/2009scape/2009scape/-/commits/master?ref_type=HEADS 
- 
-====== Resources/TODOs ====== 
- 
-  * https://github.com/2009scape/2009Scape-mobile/issues/13 
-  * https://gitlab.com/2009scape/singleplayer/windows/-/raw/master/game/worldprops/default.conf 
-  * https://gitlab.com/2009scape/2009scape/-/blob/master/Server/src/main/core/game/system/config/ServerConfigParser.kt#L66 
-  * https://gitlab.com/2009scape/2009scape/-/blob/master/Server/src/main/core/game/world/GameSettings.kt#L120 
-  * If stuck on tile/somewhere in-game: [[#settings|conf]] ''noauth_default_admin = true'' 
-  * Pest Control and Mining Star bots auto-still appear with bots disabled in conf (bots disabled stops auto-spawn bots at Lumbridge/seemingly general areas) 
  
/srv/www/wiki/data/attic/servers/windows/games/2009scape_localhost.1748406317.txt.gz · Last modified: by Sean Rhone