askuri / dynmaps

XAseco mod to save resources when running with thousands of tracks
GNU General Public License v3.0
4 stars 2 forks source link

This project is not under active development. That means I am not adding features and not fixing issues. However, I will review and potentially merge Pull Requests.

When uploading more than a thousand racks to your server, you'll see more and more how it goes slower and slower. Now more players are joining, the CPU goes to 100% at scoretable and synchronisation. This mod tries to tackle that performance issue. The idea is to only have 5 tracks in the tracklist of the server at the same time, while all other tracks are dynamically added and removed by this mod

As explained above, this plugin adds and removes the maps from the tracklist to keep it small. It chooses the tracks from special folder in your /GameData/Tracks/ folder. Jukeboxing is also possible and you can see all the tracks on the server (but not in the tracklist ;)).

This could be a bit hard to understand, so I created a sketch to visualize it ;) https://abload.de/image.php?img=dynmaps7qpc5.png

Prerequisites

Installation

MUST READ. Because it's a mod, the installation is not as trivial as a normal plugin. Here we go:

Managing tracks

This is easily done. Go to your server folder and open GameData/Tracks/Challenges/. Create a folder called dynmaps. Put all your tracks there. No limits, no performance loss (ok, it takes more time on caching challenge information. But that's only when manually do this, or on startup (set to true in your dynmaps.xml)).

When adding and removing tracks, run /dyn_cacherefresh ingame for changes to take effect.

Important: You should only have 1 track in your real matchsettings, normally saved at /MatchSettings/tracklist.txt. This plugin doesn't change anything there, it's just to get the server started. It would complain if there was no track at all. The track added this tracklist should be in the dynmaps folder mentioned above.

Chatcommands