FIXED THE MUSIC SYSTEM FINALLY AFTER THE 7TH REWRITE.
THANK YOU SO MUCH, @arieshi255 !!!
+ Made music system CONSIDERABLY more accurate, and virtually immune to server lag as we now base ticks off the game engine's real time clock in seconds, with an accuracy of up to 100ns.
+ Changed ChangeBGM function to accept a true or false, determining whether to stop the music and change it on the fly, or wait for the current song to finish.
+ Disabled debug info (getting real world time) from going into global chat.
+ Optimised music system's loop code to skip over index 0 (console) as the server console should never receive sound commands anyways.
- Move some functions to their respective include files
+ Added stats tracker to display server metrics IN MAP
+ Add nodejs script for getting system stats into mysql server