Queue tracker
Newest version - host_tools_v0.2.0.lua
This script does everything you need to host a tournament, from putting numbers next to people's names in queue to automatically nudging people back to their spots when they rejoin.
So apparently ES still take screenshots every few minutes to keep track of the queue even after all these years. They do this to know where to nudge people when they ping.
When I found this out I was shocked. So shocked, in fact, that I went ahead and made a script that keeps track of the queue for them. It puts messages in chat about where the person was when they pinged like this:
It also creates a
queue_state.txt file in your code directory wit the queue order, should your game suddenly crash.
Hopefully this will make somebody's life easier.
And of course, please report any bugs that you find.
---
Big update to the script, added a few new features:
- Now properly tracks pinged people in the queue_state.txt log:
- Now shows numbers next to people's names in queue corresponding to their positions:
- Now has an option to automatically nudge pinged people, as well as force enter pinged people during knockout mode.
- All options are togglable via chat commands.
- The script creates a configuration file in your core toribash directory and stores your enabled options. Next time you load the script, you don't need to re-enable every setting.
- Renamed the script to host_tools.lua since it is less of a meme now.
More updates to come hopefully.
---
Minor update:
- Fixed a few oddities with queue numbers placements
- Fixed nudging during replays. If the nudge fails, the script will wait for the new game to start, and try to nudge again.
---
Another update:
- Adjusted queue numbers position for legends
- Fixed queue numbers showing up inside the menu
- Fixed autonudge repeatedly attempting to nudge people when user does not have OP powers
- Script will now automatically disable autonudge when you switch servers
- Added an automatic fknock if autonudge and knockout mode are on, and one of the players disconnects
---
Big update, bumping the minor version
- Added UI. Use Ctrl + Q to bring up the menu
- Reworked queue tracker algorithm so that it doesn't miss pings at the end of the queue
- Reworked nudging during the replay, the script now waits for the replay to end instead of attempting a nudge first
- Added a parameter that toggles whether the script treats regular quits as pings or not
- Script messages now get properly get sent in the main chat, rather than in whatever whisper window is currently open.
- Now imports previously recorded queue state upon starting/joining a multiplayer server if queue text logs are open
- This means that if your connection is interrupted, or your game crashes, the data about pings will persist
- Added option to reset recorded queue state, effectively removing information about pings prior to this
- Added a command to completely turn off the script
Last edited by AssassinPro; Jan 6, 2023 at 10:23 AM.
Reason: Dropped a new version