Skip to content

Conversation

@ampreeT
Copy link
Owner

@ampreeT ampreeT commented May 13, 2025

Fixes #230

@ampreeT ampreeT requested a review from Alienmario May 13, 2025 23:57
@Alienmario
Copy link
Collaborator

Have you tested this? Does mp_timelimit 0 work?
We may want to eventually have a feature to disable, for custom maps.

@ampreeT
Copy link
Owner Author

ampreeT commented May 14, 2025

Have you tested this? Does mp_timelimit 0 work? We may want to eventually have a feature to disable, for custom maps.

Yeah I have tested this with mp_timelimit set to 0/5 and it works.

I've added a new feature called FT_ENABLE_TIMELIMIT which diverts back to mp_timelimit when enabled.

Copy link
Collaborator

@Alienmario Alienmario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@ampreeT ampreeT merged commit b05c60b into master May 15, 2025
2 checks passed
@ampreeT ampreeT deleted the timelimit-fix branch May 15, 2025 04:36
@Alienmario
Copy link
Collaborator

@ampreeT I think this could be reverted and +servercfgfile coop.cfg added to script launch parameters instead.

https://developer.valvesoftware.com/wiki/Servercfgfile

This would use the default value of mp_timelimit 0, won't be affected by map changes unless configured by user, and won't be affected by updates to server.cfg.
The launcher uses this method already.

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.

Cooperative maps should ignore mp_timelimit

3 participants