Skip to content

Implement periodic refresh for server list#204

Draft
devel60-alt wants to merge 1 commit into
TheHellBox:masterfrom
devel60-alt:master
Draft

Implement periodic refresh for server list#204
devel60-alt wants to merge 1 commit into
TheHellBox:masterfrom
devel60-alt:master

Conversation

@devel60-alt
Copy link
Copy Markdown

first time ever touching lua (why is there no +=)
not sure how else to do a nonblocking timer, and this way seemed the simplest anyways

Add automatic server list refresh every 60 seconds.
@Vlad118 Vlad118 changed the base branch from master to dev April 7, 2026 21:02
@Vlad118
Copy link
Copy Markdown
Collaborator

Vlad118 commented Apr 15, 2026

It should be checked that this does not cause a lag/stutter, as it does when manually clicking refresh.

@Vlad118 Vlad118 changed the base branch from dev to master April 15, 2026 14:24
@devel60-alt
Copy link
Copy Markdown
Author

oop i completely forgot about this sorry
but it doesn't really affect performance, i've been using this mod quite frequently for splitscreen, and neither player got stutters from refreshing

@Vlad118
Copy link
Copy Markdown
Collaborator

Vlad118 commented May 6, 2026

I think this will still stutter, dependent on internet connection (as calling the refresh function by itself causes a freeze for me, for example). This should be moved to Rust-side as the HTTP request response is blocking in Lua.

@Vlad118 Vlad118 marked this pull request as draft May 6, 2026 11:56
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