Assembler Maniac wrote:There's a problem with Line 1072: You've picked up the actual UID of the track, and not the ID number of the track as it exists in the database. This means the SQL insert will fail always because the track id in match_main is a number, not a string.
Yeah, I remember that edit... Code just looked wrong at a glance, and hacked it over without thinking... (original code was still wrong, and would cause a crash)

Will put up the fixed version in a bit (if AM doesn't beat me to it, hehe)...
The Doctor wrote:Thanks AM for Working late last night at getting this recording..uh...records.
Hmm... could of sworn that was me...
The Doctor wrote:- The auto save player to database worked great but should be switchable in the matchsave.xml. Still at the time of a large match it saves many headaches.
Well, at first I didn't mean to add anything to the config, and save_to_db just seemed appropriate (as I don't use the plugin for matches, only for round points and teamchat). It's a simple fix, though..
The Doctor wrote:-Match results are not written. The "/admin match end" or match ending after a specified number of rounds Produces an "Match results" window that is empty and no data in the match_results.html file if write to file is selected.
This could probably be attributed to my bad trackID edit mentioned above. If AM doesn't get to it first, might try and add some debug code and narrow down the problem. Matches aren't exactly my area of expertise, though -- just editing up the plugin to eventually enable players to earn points to be able to 'spend' on extra server features, instead of using coppers.