aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit ff2e870b1e2d7f32feaaf4f09bfbe9b148381501
parent 681e9e0fac7ec3e4acf26774e23fa8ad4270034e
Author: anon <anon@example.com>
Date:   Wed, 21 Oct 2026 02:15:37 +0000

Remove build instructions from the control page

Diffstat:
Mserver/control.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/server/control.go b/server/control.go @@ -30,7 +30,6 @@ func (server *server) controlPage(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "<!doctype html><html><head><base href='%s'><title>Server controls</title></head><body><h1>Server controls</h1><p><a href='control'>Refresh</a></p>", html.EscapeString(server.baseURL)) fmt.Fprintf(w, "<p>Game time: %02d:%02d. A day has 27 hours; time advances at 15x.</p>", seconds/3600, seconds/60%60) fmt.Fprintf(w, "<form method='post' action='time'><label>Hour <input type='number' name='hour' min='0' max='26' value='%d' required></label> <label>Minute <input type='number' name='minute' min='0' max='59' value='%d' required></label> <button>Set time</button></form>", seconds/3600, seconds/60%60) - fmt.Fprint(w, "<p>NPC definitions are compiled from server/gamedata; rebuild and restart to apply changes.</p>") controlMap(w, 0) fmt.Fprint(w, "<h2>Users</h2><table><tr><th>ID</th><th>Name</th><th>Status</th><th>Zone</th><th>Map</th></tr>") for _, player := range players {