Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next-map same as currently played / keeping played history #245

Open
xadll opened this issue Jan 21, 2024 · 0 comments
Open

Next-map same as currently played / keeping played history #245

xadll opened this issue Jan 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xadll
Copy link

xadll commented Jan 21, 2024

XAseco controller kept the history of played maps and does not allow to add to the jukebox a map that was played recently.
XAseco has a parameter for this in a config to tell how much history to remember. e.g. the last 10 maps.

In a way, this should also prevents the same map from being played again when there is at least one other map to choose from in the list when the jukebox is empty.

Setup

Starting server with only one map in MatchSettings (C01-Race).
Using command /xlist with enabled setting to autojuke added map.
Role Owner.

Current behavior table:

Map C01 is played twice in a row.

State Command > Maplist Jukebox Ongoing Next1 Next2
1 > C01 C01 C01
2 ADD map2 > C01,map2 map2 C01 map2 C01
3 UNJUKE map2 > C01,map2 C01 C01 <-- SAME MAP AGAIN map2
4 SKIP > C01,map2 C01 map2 C01

How it should be table:

State Command > Maplist Jukebox Ongoing Next1 Next2
1 > C01 C01 C01
2 ADD map2 > C01,map2 map2 C01 map2 C01/empty
3 UNJUKE map2 > C01,map2 C01 map2 <-- DIFFERENT C01/empty
4 SKIP > C01,map2 map2 C01 map2/empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants