foxed update and stsrt issues
This commit is contained in:
parent
c687165132
commit
c195c0930b
7 changed files with 544 additions and 70 deletions
|
|
@ -23,6 +23,7 @@ Important references:
|
|||
- live log retrieval exists
|
||||
- logs can be fetched through the Panel
|
||||
- the viewer can update via AJAX
|
||||
- the main game log viewer uses a large monospace output panel
|
||||
|
||||
## What Still Needs Cleanup
|
||||
|
||||
|
|
@ -31,3 +32,13 @@ Important references:
|
|||
- better error highlighting
|
||||
- better downloadable log history
|
||||
|
||||
## Log Viewer Layout
|
||||
|
||||
`Panel/modules/gamemanager/log.php` keeps the AJAX refresh behavior and renders the log in a large textarea:
|
||||
|
||||
- desktop height around `55vh`
|
||||
- mobile height around `45vh`
|
||||
- monospace font
|
||||
- preserved line breaks
|
||||
- vertical scrolling inside the log panel
|
||||
- long-line overflow remains usable without shrinking the panel to one line
|
||||
|
|
|
|||
|
|
@ -16,6 +16,19 @@ Important files:
|
|||
- `Agent_Linux/ogp_agent.pl`
|
||||
- `Agent-Windows/ogp_agent.pl`
|
||||
|
||||
## Panel Display Behavior
|
||||
|
||||
Game Monitor should not convert ambiguous status into false offline.
|
||||
|
||||
Panel display mapping:
|
||||
|
||||
- `ONLINE` displays green.
|
||||
- `STARTING`, `STOPPING`, and `UNRESPONSIVE` display yellow/active.
|
||||
- `OFFLINE` displays red only when the agent confirms offline.
|
||||
- `UNKNOWN` displays gray.
|
||||
|
||||
LGSL/GameQ query failure is not enough to mark a server offline. Query success may add player/map/hostname metadata, but query failure should only show a small unavailable note when the agent says the server is otherwise active.
|
||||
|
||||
## Recommended State Model
|
||||
|
||||
| State | Meaning |
|
||||
|
|
@ -51,4 +64,3 @@ The agent should check, in this order:
|
|||
- use state hints for start/stop transitions
|
||||
- expose clear messages for `STARTING` and `UNRESPONSIVE`
|
||||
- add precise log excerpts when startup fails
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue