Skip to content

Add support for extended CMD_BACKUP/MASK#108

Open
Aciz wants to merge 1 commit into
etfdevs:masterfrom
Aciz:ext-cmd-backup
Open

Add support for extended CMD_BACKUP/MASK#108
Aciz wants to merge 1 commit into
etfdevs:masterfrom
Aciz:ext-cmd-backup

Conversation

@Aciz
Copy link
Copy Markdown
Collaborator

@Aciz Aciz commented May 20, 2026

Support doubling CMD_BACKUP/MASK buffers with CG_CMDBACKUP_EXT engine extension. This allows mods to request a higher buffers for user commands, increasing the maximum FPS that clients can use before high FPS combined with high ping will start dropping user commands.

The cgame import value matches what ET: Legacy uses, for interoperability with ETe + legacy mod, and to make it such that mods don't need to add support for both explicitly.

@ensiform
Copy link
Copy Markdown
Member

The point of the legacy or ETe suffix is so that each engine has its own namespace tbh.

@Aciz
Copy link
Copy Markdown
Collaborator Author

Aciz commented May 20, 2026

The point of the legacy or ETe suffix is so that each engine has its own namespace tbh.

Sure, but I see little to no point in reimplementing the exact same thing under a different namespace & extension number, unless you want to modify the implementation somehow.

In general, coordination between downstream forks for common features and extensions would be healthy, but there doesn't seem to be any sort of effort done from either side regarding that, so we just can't have nice things ¯\_(ツ)_/¯

@ensiform
Copy link
Copy Markdown
Member

The numbers don't have to match as long as the mod requests the proper string

Support doubling 'CMD_BACKUP/MASK' buffers with 'CG_CMDBACKUP_EXT'
engine extension. This allows mods to request a higher buffers for user
commands, increasing the maximum FPS that clients can use before high
FPS combined with high ping will start dropping user commands.

The cgame import value matches what ET: Legacy uses, for
interoperability with ETe + legacy mod, and to make it such that mods
don't need to add support for both explicitly.
@Aciz Aciz force-pushed the ext-cmd-backup branch from 04f36d7 to 8c25336 Compare May 20, 2026 21:37
@Aciz
Copy link
Copy Markdown
Collaborator Author

Aciz commented May 20, 2026

The number is now 185, sequentially after CG_GETCLIPBOARDDATA.

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.

2 participants