| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:2009scape_localhost [2026/03/11 16:47] – Sean Rhone | servers:windows:games:2009scape_localhost [2026/04/16 22:48] (current) – [Server Update] Sean Rhone |
|---|
| |
| * [[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]] | * [[games:windows:rt4_client_runescape_530|RT4 Client]] |
| |
| ====== Initial Build ====== | ====== Initial Build ====== |
| |
| * ~5 minutes i5-8400H ((2026/03/03: ''04:41 min'')) | * ~5 minutes i5-8400H ((2026/04/16: ''04:46 min'' 4C4T)) |
| |
| CD "%UserProfile%\Projects\2009Scape-Server\src\Server" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" "clean" "package" -DskipTests && SET "JAVA_HOME=" | CD "%UserProfile%\Projects\2009Scape-Server\src\Server" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" --define "skipTests" "clean" "package" && SET "JAVA_HOME=" |
| |
| ====== Settings ====== | ====== Settings ====== |
| @echo off | @echo off |
| |
| TITLE 2009Scape Server | CD "%Temp%" |
| CD "%UserProfile%\Projects\2009Scape-Server\src\Server" | |
| |
| SET "_JAVA_OPTIONS=--sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED -Djava.net.preferIPv6Addresses=false" | SET "_JAVA_OPTIONS=--sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED -Djava.net.preferIPv6Addresses=false" |
| |
| "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" | START "2009Scape Server" /MIN /D "%UserProfile%\Projects\2009Scape-Server\src\Server" "%JAVA_HOME%\bin\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" |
| |
| SET "_JAVA_OPTIONS=" | SET "_JAVA_OPTIONS=" |
| SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" | SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" |
| |
| CALL "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" "clean" "package" -DskipTests -B -q | CALL "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" --define "skipTests" "clean" "package" |
| |
| SET "JAVA_HOME=" | SET "JAVA_HOME=" |
| | CD "%Temp%" |
| |
| "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2009Scape localhost server update complete" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2009Scape localhost server update complete" |