| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:2009scape_localhost [2025/09/01 15:43] – Sean Rhone | servers:windows:games:2009scape_localhost [2025/09/30 21:01] (current) – [Settings] Halloween + Linux sync Sean Rhone |
|---|
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[windows;10|Windows 10 (21H2)]] | * [[windows;11_ltsc|Windows 11 (24H2)]] |
| * [[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]] |
| * [[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]]) |
| |
| MKDIR "%UserProfile%\Projects\2009Scape-Server\conf" | MKDIR "%UserProfile%\Projects\2009Scape-Server\conf" & "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\conf\localhost.conf" |
| | |
| "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\conf\localhost.conf" | |
| |
| <code> | <code> |
| |
| # Holiday (only enable one "force" or none) | # Holiday (only enable one "force" or none) |
| force_halloween_randoms = false | force_halloween_randoms = true |
| force_christmas_randoms = false | force_christmas_randoms = false |
| holiday_event_randoms = false | holiday_event_randoms = true |
| |
| # PVP | # PVP |
| |
| ====== Scripts ====== | ====== Scripts ====== |
| |
| **** | |
| |
| MKDIR "%UserProfile%\Projects\2009Scape-Server\scripts" | |
| |
| ===== Server Start ===== | ===== Server Start ===== |
| |
| "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-server-start.bat" | MKDIR "%UserProfile%\Projects\2009Scape-Server\scripts" & "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-server-start.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| | |
| | TITLE 2009Scape Server |
| |
| CD "%UserProfile%\Projects\2009Scape-Server\src\Server" | CD "%UserProfile%\Projects\2009Scape-Server\src\Server" |
| ===== Server Update ===== | ===== Server Update ===== |
| |
| "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-server-update.bat" | MKDIR "%UserProfile%\Projects\2009Scape-Server\scripts" & "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-server-update.bat" |
| |
| <code> | <code> |
| ===== Save Data Back-up ===== | ===== Save Data Back-up ===== |
| |
| "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-save-backup.bat" | MKDIR "%UserProfile%\Projects\2009Scape-Server\scripts" & "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-save-backup.bat" |
| |
| <code> | <code> |
| ===== Start Menu ===== | ===== Start Menu ===== |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" | **** |
| |
| "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" |
| |
| ==== Server Start ==== | ==== Server Start ==== |
| ===== Save Restore ===== | ===== Save Restore ===== |
| |
| **** | * ''Server\data\players\espionage724.json'' |
| |
| MKDIR "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" & "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" | MKDIR "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" & "explorer.exe" "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" |
| |