Skip to content

[REVIEW #1871 FIRST] NeoUI - Full server queuing + automatic joining#1913

Draft
nullsystem wants to merge 2 commits intoNeotokyoRebuild:masterfrom
nullsystem:GH-1298_AutoJoin
Draft

[REVIEW #1871 FIRST] NeoUI - Full server queuing + automatic joining#1913
nullsystem wants to merge 2 commits intoNeotokyoRebuild:masterfrom
nullsystem:GH-1298_AutoJoin

Conversation

@nullsystem
Copy link
Copy Markdown
Collaborator

@nullsystem nullsystem commented Mar 31, 2026

IN DRAFT: RELIES ON #1871 TO GO IN FIRST

Description

On entering a server, a ping-reply is now sent to the server to get the most up to date players count upon entering. Auto-join is determined if the server's full when trying to enter, and if so enters an auto-join state where it'll refresh for 15s checking count then entering when there's a free slot available. The auto-join popup bar stays on any states.

Toolchain

  • Linux GCC Distro Native Arch/GCC 15

Linked Issues

NeoUI table headers and main table API implemented, now have
Begin/EndTable and NextTableRow implementation replacing the
previous custom paint + button. Now can just layout the table
cells with widgets, although at the moment only NeoUI::Label
are properly utilized and dealt with. Other widgets are not
refactored up for tables yet.

The table headers now have dragable resizing and the server
browser now have tags column. There's also right-click on
the header to show/hide columns.

Sections now have X-axis scrolling, mainly used for table and
header scrolling support.

Re-done NeoUI::Tabs scrolling, now it's held externally and
its own thing.

OTHERS:
* Fix SDR/Steam networking server bot vs player number count
* Fix border in smaller resolutions
* Added IP Address (hidden by default) column

FUTURE TODOs:
* Section X-scrollbar controls options/flags
  * Modes:
    * No X-scrollbar
    * Indicator/thin X-scrollbar
    * Dragable/thick X-scrollbar
  * Using BeginTable will automatically put
    the section into Dragable/thick X-scrollbar
    mode
* Some TODOs in source code
  * Change from only header to any sections to reference other
    section's scrolls
* Refactor painting of widgets to utilize vgui viewports
* Possible split of painting (and colors) from NeoUI internals
* Vertical layouting that expands horizontally as oppose to the
  default horizontal layouting that expands vertically

* fixes NeotokyoRebuild#1566
* fixes NeotokyoRebuild#994
* fixes NeotokyoRebuild#1815
@nullsystem nullsystem changed the title NeoUI - Full server queuing + automatic joining [REVIEW #1871 FIRST] NeoUI - Full server queuing + automatic joining Mar 31, 2026
On entering a server, a ping-reply is now sent to the server to
get the most up to date players count upon entering. Auto-join
is determined if the server's full when trying to enter, and if
so enters an auto-join state where it'll refresh for 15s checking
count then entering when there's a free slot available. The
auto-join popup bar stays on any states.

* fixes NeotokyoRebuild#1298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NeoUI serverlist - Auto-join when server full

1 participant