Both sides previous revisionPrevious revisionNext revision | Previous revision |
servers:windows:games:2009scape_localhost [2025/06/05 19:19] – [Prerequisites] Sean Rhone | servers:windows:games:2009scape_localhost [2025/06/21 16:37] (current) – Sean Rhone |
---|
| |
* 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 ===== |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[windows:10|Windows 10 (21H2)]] | * [[windows;10|Windows 10 (21H2)]] |
* [[programs;windows;git|Git]] (LFS component required) | * [[programs;windows;git|Git]] (LFS component required) |
| * [[games:windows:rt4_client_runescape_530|RT4 Client]] |
===== Notes ===== | |
| |
* For a game client, see [[games:windows:rt4_client_runescape_530|RT4 Client]] | |
| |
====== Dependencies ====== | ====== Dependencies ====== |
| |
===== Java ===== | ===== Java ===== |
| |
| ==== 21 ==== |
| |
* https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21 | * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21 |
<code> | <code> |
@echo off | @echo off |
| |
TITLE 2009Scape - Server | |
| |
CD "%UserProfile%\Projects\2009Scape-Server\src\Server" | CD "%UserProfile%\Projects\2009Scape-Server\src\Server" |
| |
"tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2009Scape-Server-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\2009Scape-Server\src\Server\data" "players" | "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2009Scape-Server-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\2009Scape-Server\src\Server\data" "players" |
| |
::COPY /Y "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players\*.json" "\\Alira\NAS\Games\Saves\2009Scape" | |
| |
:: End</code> | :: End</code> |
| |
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 ===== | |
| |
**** | |
| |
"tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2009Scape-Server-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\2009Scape-Server\src\Server\data" "players" | |
| |
===== Bookmarks ===== | |
| |
* https://gitlab.com/2009scape/2009scape/-/commits/master?ref_type=HEADS | |
| |
===== 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" | |
| |
====== 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) | |
| |