
- New features and other changes in the v0.95 release of ASECO/RASP:
* new Dedimania world records support (derived from FAST) with the following features:- o Dedimania is an online World Records database for all TrackMania games with the official site at http://www.dedimania.com/ and its records database at http://www.dedimania.com/tmstats/?do=stat ; it maintains 30 records for each track in any game (TMO/TMS/TMN/TMU) and any mode (TimeAttack, Rounds, Team, Laps)
o the Dedimania system consists of two new plugins: plugin.dedimania.php which handles all communication with the central Dedimania server (together with new includes GbxRemote.response.php, xmlrpc_db.inc.php, web_access.inc.php and urlsafebase64.php) and keeps track of new records, and chat.dedimania.php which provides a variety of commands to show records and their relations on the current track
o the following new commands are available for Dedimania world records, analogous to the existing local records commands:- + /helpdedi: Displays info about the Dedimania records system (alias: /dedihelp)
+ /dedirecs: Displays all Dedimania records on current track
+ /dedinew: Shows new Dedimania records on current track
+ /dedilive: Shows Dedimania records of online players
+ /dedipb: Shows your Dedimania personal best on current track
+ /dedifirst: Shows first Dedimania record on current track
+ /dedilast: Shows last Dedimania record on current track
+ /dedinext: Shows next better Dedimania record to beat
+ /dedidiff: Shows your difference to first Dedimania record
+ /dedirange: Shows difference first to last Dedimania record
o the new dedimania.xml configuration file defines various Dedimania parameters and record display settings (akin to config.xml), the server's account (from dedicated.cfg), and all Dedimania messages
o the Dedimania system communicates with the central Dedimania server over port 8003 by default, so you must open that port on your firewall/router; if that's not possible the system falls back on port 80 (http)
o the Dedimania system requires plugin.checkpoints.php (the checkpoints tracking plugin) to be included in plugins.xml, before plugin.dedimania.php
o new <dedimsg> and <dedimsg> colors are defined in config.xml and used in all relevant Dedimania messages so that they can easily be customized
o a new onEverySecond event (which, as the name implies, is triggered once every second) is defined in aseco.php to act as a "heart beat" in communicating with the central Dedimania server
o Laps mode is not supported due to the way checkpoints and laps information is supplied by the TM server
o LAN logins (with IP and port) are ignored by the Dedimania system
o mega thanks to Slig for his generous help in building this system - + /helpdedi: Displays info about the Dedimania records system (alias: /dedihelp)
* the /tmxinfo and /tmxrecs commands use cached TMX data for the current track to avoid sending multiple requests to the TMX site
* updated the TMXInfoFetcher class to time out when the TMX site is down, and to return several more info fields including the awards count
* updated the TMNDataFetcher class to time out when the master/ladder servers are down
* the minimum number of ranked players that's included in the computation of the /topclans ranking is now configurable via new config.xml setting <topclans_minplayers> (default: 2)
* new /admin setgamemode command (parameter: ta, rounds, team, laps, stunts) to change the game mode for the next track into the specified mode
* rewrote /admin prev to consult the server's track list instead of maintaining a track filename variable
* /admin replay will now check whether the currect track is already in the jukebox to get replayed, and if so, not queue it again
* the pop-up window displayed by the /admin mta/wall command now starts with the title and nickname of the admin sending the message
* new /admin shutdown command to shut down the TM server and ASECO/RASP
* it is now possible to have chat-based voting commands temporarily disabled while an admin (of any tier) is online (configured via $disable_upon_admin in votes.config.php)
* added /votehelp alias for /helpvote
* the <limit> configuration setting in localdatabase.xml restricts the highest records that are shown to all players since v0.85, but now higher records are still shown to the pertaining player only
* updated the GBXDataFetcher class to handle all known Challenge variants, including Forever
* updated RASP's getChallengeData() function to use the GBXDataFetcher class
* added extra check for 'SuperAdmin' login before connecting to the TM server
* added extra check for TM server build '2006-05-30' during start-up
* added a server Name entry to the start-up header in the log
* improved speed of /server and /nextrank commands
* adjusted some timeouts in the GbxRemote module (thanks Slig and Assembler Maniac)
* an alternate (but untested) GbxRemote.bem.php module is included for big-endian machines (thanks again AM)
Bug fixes in the v0.95 release of ASECO/RASP:
* occasionally an ASECO warning could come up during the jukeboxing & track switching process – fixed by the /admin prev rewrite above
* the /list norecent output includes tracks that are no longer present on the server – fixed
* a harmless "Start index out of bound" warning would be logged when the server has exactly 300 tracks (or a multiple thereof) – fixed
* case-sensitivity in a part of the /add and /admin add code could cause a problem loading a track with a case-insensitive duplicate filename – fixed
* renaming tracks downloaded from TMX into a sanitized filename with a unique sequence number (as introduced in v0.91) could still lead to a problem loading a different track with a duplicate filename into the TM server – fixed, the filename now also includes the TMX ID
* /tmxrecs displays an almost empty pop-up when a track has no TMX records – fixed, an error message is shown instead
* the TMXInfoFetcher class doesn't handle tracks with 26-character UIDs – fixed - o Dedimania is an online World Records database for all TrackMania games with the official site at http://www.dedimania.com/ and its records database at http://www.dedimania.com/tmstats/?do=stat ; it maintains 30 records for each track in any game (TMO/TMS/TMN/TMU) and any mode (TimeAttack, Rounds, Team, Laps)
- Important:
* To register your server with the central Dedimania database, you must copy the three values in the <masterserver_account> section from your server's dedicated.cfg file into the corresponding section of the dedimania.xml file. Instead of the password you can also use the community code for your server by using the server login/password on the official site for your game (TMO/TMS/TMN).
* Open port 8003 on your firewall/router for communication with the central Dedimania server (if that's not possible, the system falls back on port 80).
* In the zip file, all *.XML and config files are now located inside the newinstall/ directory. This means that you should be able to unzip the download and replace all the code files (unless you made changes to any) without worrying about overwriting your customized config files. However, for every XML/config file that was updated (see above), you must replace your version with the one from the newinstall/ directory, or compare them and add any new/changed configuration settings to your version to insure the system remains working correctly.
* For a new installation, go into the newinstall/ directory and move all *.XML files into the main directory, next to aseco.php, and *.PHP files into the includes/ directory.
http://www.gamers.org/tmn/
Cheers!
Xymph