UASECO downloads

The controller for Modescript Gamemodes at Trackmania²

Stable releases

File Version Build Date Size DL
UASECO-0.9.5_2017-06-08.zip 0.9.5 2017-06-08 2017-06-08 - 19:49:56 1,099,608 bytes 33028
UASECO-0.9.4_2017-05-30.zip 0.9.4 2017-05-30 2017-05-30 - 20:26:50 1,098,252 bytes 2052
UASECO-0.9.3_2017-05-23.zip 0.9.3 2017-05-23 2017-05-23 - 22:00:10 1,072,360 bytes 200
UASECO-0.9.2_2017-05-15.zip 0.9.2 2017-05-15 2017-05-15 - 22:14:34 1,067,048 bytes 239
UASECO-0.9.1_2017-05-11.zip 0.9.1 2017-05-11 2017-05-11 - 18:57:26 1,057,839 bytes 154
UASECO-0.9.0_2017-05-09.zip 0.9.0 2017-05-09 2017-05-09 - 17:55:24 1,059,982 bytes 123

Development snapshots

Here you can download the current development snapshots and test new or changed features, fixed bugs and so on early.

You can find the current development snapshots at Github in the master branch, you can download the actual snapshot here.

Make sure that all the downloads in this section may not run stable in all situations and may not be finished, this are just snapshots from the current development.
USE AT YOUR OWN RISK!


License

GPL V3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Changelog of UASECO

The controller for Modescript Gamemodes at Trackmania²

Version 0.9.5

General changes

  • Requires a Maniaplanet Dedicated Server build 2017-05-31_23_00 or higher
  • Optimized again the map name handling: a map with a name like ÐĘЯЯ@ MiNi LoL 21-5-17 results into a filename like derra-mini-lol-21-5-17_121209.Map.gbx instead of de-mini-lol-21-5-17_121209.Map.gbx (thanks askuri)
  • Added $map->name_slug to class includes/core/map.class.php which holds the slugified version of a map name
  • Added $player->nickname_stripped to class includes/core/player.class.php which holds the format and color stripped version of a nickname
  • Added $player->nickname_slug to class includes/core/player.class.php which holds the slugified version of a nickname
  • ManiaScript: Changed all deprecated InputPlayer.Login (which is marked deprecated) to MP4 update new InputPlayer.User.Login
  • Added new event onPlayerFinishPostfix which is triggered after onPlayerFinish
  • The chat command /admin shutdown (and /admin shutdownall) stores now all player settings into the database
  • Removed chat command /ranks from chat.player_infos.php, because plugin/plugin.records_eyepiece.php has a better list with /estat topranks
  • Added method getFormatedRank() in includes/core/player.class.php
  • Removed method getRank() from plugin/plugin.rasp.php (replaced by getFormatedRank() from includes/core/player.class.php)
  • Turned Top Rankings Window, Dedimania Records Window, Local Records Window, Live Rankings Window, Top Continent Window from plugin.records_eyepiece.php into the class window style
  • Changed some sprintf("%.1f"...) to $aseco->formatFloat() in plugin.records_eyepiece.php (thanks elie520)
  • No local- and dedimania-records while within warm-up to prevent cheats, because of method "GetValidationReplay" returns "Not in race.", which means the race can not be validated

Changes at config files

  • Changed the files in newinstall/config/effect_studio/ to make them XML compatible (thanks aca)
  • Changed & to &amp; in all <info_messages><messages> at newinstall/config/welcome_center.xml (thanks aca)
  • Added newinstall/locales/plugin.info_bar.xml
  • Added chat command /infobar reload in plugins/plugin.info_bar.php (suggested by perre.vl)
  • Added Rounds.Script.txt, TimeAttack.Script.txt, Team.Script.txt, Laps.Script.txt, Cup.Script.txt, TeamAttack.Script.txt and Chase.Script.txt to <scripts> in newinstall/config/modescript_settings.xml for checking the version
  • Added trailing / in <dedicated_installation> from newinstall/config/UASECO.xml (thanks Shrike)
  • Added <modesetup><timeattack><warm_up_duration> in newinstall/config/modescript_settings.xml
  • Added <modesetup><timeattack><warm_up_number> in newinstall/config/modescript_settings.xml
  • Added <modesetup><team><warm_up_duration> in newinstall/config/modescript_settings.xml
  • Added <modesetup><team><warm_up_number> in newinstall/config/modescript_settings.xml
  • Removed <modesetup><team><use_player_clublinks> in newinstall/config/modescript_settings.xml
  • Added <modesetup><laps><warm_up_duration> in newinstall/config/modescript_settings.xml
  • Added <modesetup><laps><warm_up_number> in newinstall/config/modescript_settings.xml
  • Added <modesetup><cup><warm_up_number> in newinstall/config/modescript_settings.xml
  • Added <modesetup><cup><max_players_per_team> in newinstall/config/modescript_settings.xml
  • Added <modesetup><cup><min_players_per_team> in newinstall/config/modescript_settings.xml
  • Added <modesetup><chase><warm_up_duration> in newinstall/config/modescript_settings.xml
  • Added <modesetup><chase><warm_up_number> in newinstall/config/modescript_settings.xml
  • Removed <modesetup><chase><use_player_clublinks> in newinstall/config/modescript_settings.xml

Bug fixes

  • Fixed [PHP Notice] Undefined property: stdClass::$best on line 645 in file plugins/plugin.checkpoints.php (thanks phantom)
  • Fixed always return in includes/core/plugin.class.php in the method getPlayerData() which causes "You need to finish this map at least 1 time before being able to vote" in ManiaKarma and maybe more (thanks endbase for the research)
  • Fixed wrong calculation of a player ranking average (thanks rasmusdk)
  • Fixed missing ) in plugins/chat.record_relations.xml (thanks aca)
  • Fixed [UASECO Exception] Error returned: "" [0] at GbxRemote::query() for method "SendDisplayManialinkPage" (thanks lyovav)
  • Fixed wrong rank counting in a private function _getPlayerRankingById() at includes/core/player.class.php (thanks rasmusdk)
  • Fixed a mem leak: placed wrong the mem freeing function of a sql resource at includes/core/player.class.php and includes/core/playerlist.class.php (maybe related to speedychris report)
  • Fixed wrong storage of records in TimeAttack.Script.txt and multilaps map, the last checkpoint (the finishline) has not been stored (thanks speedychris)
  • Fixed the RoundScoreWidget always displays the players best race time, instead of the current time of the round (thanks speedychris)
  • Fixed chat command /dedicps was not registered the right way
  • Fixed [PHP Warning] explode() expects parameter 2 to be string, array given on line 1208 in file plugins/plugin.checkpoints.php (thanks elie520)
  • Fixed messed up positions of the default HUD elements after a ModeScript and map change
  • Fixed buggy welcome message since the rank calculation changes (thanks rasmusdk)
  • Fixed adding maps with /admin add ID does not setup a database ID which causes no records and mania karma endless loading (thanks mistertl)
  • Fixed [PHP Notice] Undefined variable: gd on line 710 in file uaseco.php (thanks soehest)
  • Fixed message Adding missing trailing "/" for <mapimages_path> and <dedicated_installation> (thanks Shrike)
  • Fixed the WarmUp widget stays on the screen thoughout all the following non warm-up rounds (thanks elie520)
  • Fixed the forced autoend of a round if all players have finished the round, but the timeout has reached while showing the score

Version 0.9.4

General changes

  • Added new event onPlayerRoundFinish for use in rounds based ModeScripts and the RoundScoreWidget of plugin.records_eyepiece.php
  • Added the RoundScoreWidget to be hidden/shown when pressing the F9 key of plugin.records_eyepiece.php (thanks elie520)
  • The TimeDiff Widget of plugin.checkpoints.php reload when the player drove an new record and shows the next better local-, dedimania-record or personal best
  • Better map name handling, now a map name like ÐĘЯЯ@ MiNi LoL 21-5-17 results into a filename like de-mini-lol-21-5-17_121209.Map.gbx instead of _121209.Map.gbx (thanks phantom)
  • Added $aseco->environments which holds an array of environments, currently 'Canyon', 'Stadium', 'Valley' and 'Lagoon'
  • Map that are added from ManiaExchange (by e.g. /admin add ID) will now be separated into separate folders on disk, named as the map environment
  • Added support for AdminServ callback AdminServ.Map.Added when a map has been added and AdminServ.Map.Deleted when a map has been removed
  • Added properties $player->server_rank, $player->server_rank_total and $player->server_rank_average to Class Player
  • Added property $aseco->db->settings to includes/core/database.class.php
  • Renamed property $aseco->db->db_type in $aseco->db->type from includes/core/database.class.php
  • Renamed property $aseco->db->db_version in $aseco->db->version from includes/core/database.class.php
  • Renamed property $aseco->db->db_version_full in $aseco->db->version_full from includes/core/database.class.php
  • Turned more windows from plugin.records_eyepiece.php into the class window style

Changes at config files

  • Updated the links to the official documentation in newinstall/config/modescript_settings.xml, all updated links are starting with www.maniaplanet.com/documentation/
  • Moved <modebase><warm_up_duration> to <modesetup><rounds><warm_up_duration> and changed the description too in newinstall/config/modescript_settings.xml
  • Added <modesetup><rounds><warm_up_number> in newinstall/config/modescript_settings.xml
  • Added extra 7 seconds to the plugins/plugin.round_autoend.php because sometimes the round was forced to end while showing the scoretable
  • Updated newinstall/locales/plugin.round_autoend.xml with several entries
  • Added <messages><chat_prefix_replacement> in newinstall/config/UASECO.xml
  • Changed <message_autosave_matchsettings_not_set_or_jukebox_disabled> in newinstall/locales/chat.admin.xml
  • Renamed tag <message_ban_masteradmin> to <message_ban_any_admin> into newinstall/locales/chat.admin.xml
  • Removed <min_rank> from newinstall/config/rasp.xml
  • Added <server_rank_min_records> to newinstall/config/UASECO.xml

Bug fixes

  • Fixed wrong ordering in the RoundScore Widget from plugin.records_eyepiece.php, only tested with Rounds.Script.txt (thanks elie520, speedychris)
  • Fixed not updating LiveRanking Widget from plugin.records_eyepiece.php (thanks speedychris)
  • Fixed in a multilap map only the first run will receive a record in plugin.modescript_handler.php (thanks speedychris)
  • Fixed [PHP Warning] explode() expects parameter 2 to be string, array given on line 103 in file plugins/plugin.round_points.php (thanks speedychris)
  • Fixed [PHP Warning] array_map(): Argument #2 should be an array on line 103 in file plugins/plugin.round_points.php (thanks speedychris)
  • Fixed [PHP Notice] Undefined index: truffeltje on line 2339 in file plugins/plugin.mania_karma.php (thanks phantom)
  • Fixed wrong firing of onPlayerFinish in Rounds.Script.txt on a multilap map before all required laps has been driven
  • Fixed showing and loading the wrong next map after changing the next map with "/admin replay" or by jukeboxing a map (thanks elie520, phantom)
  • Fixed ModeScript changes require to change the map twice to take account (thanks maxi031, elie520)
  • Fixed double information after /admin erase ID (thanks phantom)
  • Fixed /admin erase ID does not change the MapList too (thanks phantom)
  • Fixed the clickbuttons /admin panel list (thanks Mysticman, rasmusdk)
  • Fixed ManiaScript parts in plugin.records_eyepiece.php which causes Widgets to be displayed only in parts while restarting
  • Fixed [PHP Notice] Undefined index: SCALE on line 13999 in file plugins/plugin.records_eyepiece.php (thanks phantom)
  • Fixed emoji "speech bubble" - which replaces » in chat message - was replacing » everywhere and not only at the beginning of a chat message, e.g. in map names, nicknames... (thanks reaby)
  • Fixed [PHP Notice] Undefined property: stdClass::$tracking on line 1657 in file plugins/plugin.dedimania.php (thanks lyovav)
  • Fixed wrong (old) map size check on /admin addlocal ID in plugins/chat.admin.php
  • Fixed /xlist contains map with all environments on a TMStadium Title only dedicated server
  • Fixed and optimized the map list refresh, now the thumbnails of a map is only stored on disk, when the thumbnail not already exists
  • Fixed [PHP Warning] get_class() expects parameter 1 to be object, boolean given on line 322 in file includes/core/plugin.class.php (thanks phantom)
  • Fixed [UASECO Warning] Country::countryToIoc(): Could not map country: Bosnia and Herzegovina (thanks lyovav)
  • Fixed getting the message Congratulations, you won your NUM. race! even if you are playing alone (thanks rasmusdk)
  • Fixed wrong ordering of the server rank (players with same average now ordered by PlayerId) and optimized the rank calculation, also reduced the required SQL queries to get the results
  • Fixed team colors are wrong in RoundScore from plugin.records_eyepiece.php (thanks elie520)
  • Fixed [PHP Notice] Undefined variable: admin on line 4385 in file plugins/chat.admin.php with /admin addlocal {filename} (thanks Tavernicole)
  • Fixed Fuel and Water display blinking when time is nearly over in plugins/plugin.tachometer.php

Version 0.9.3

General changes

  • Requires a Maniaplanet Dedicated Server build 2017-05-22_21_00 or higher
  • Added FTP support into the WebRequestWorker webrequest.php
  • Added support for multiple instances of a WebRequestWorker webrequest.php, which has (currently) to be started manually (thanks oliverde8)
  • Added check for an existing WebRequestWorker worker(s), if none can be found start is aborted (thanks oliverde8)
  • Added the function to /admin add 120328 to save the map as Whatever_120328.Map.gbx instead of (currently) w-eve_120328.Map.gbx on linux or _120328.Map.gbx on windows (thanks Phantom)
  • Renamed constant in UASECO from API_VERSION to XMLRPC_API_VERSION
  • Added constant in UASECO MODESCRIPT_API_VERSION
  • Added chat command /modescript reload to reload the config/modescript_settings.xml
  • Added a check if a player is a MasterAdmin, to prevent a MasterAdmin/Admin/Operator ban (thanks L3cKy)
  • Updated to the gbxdatafetcher/2.10 which includes the Lagoon support (thanks Xymph)
  • Added Lagoon support into plugin.records_eyepiece.php
  • Added checks for trailing slashes at <mapimages_path> and <dedicated_installation> from config/UASECO.xml (thanks Tavernicole)

Changes at config files

  • Added new properties <ui_properties><spectator_info> into newinstall/config/modescript_settings.xml
  • Added new properties <modesetup><rounds><rounds_per_map> into newinstall/config/modescript_settings.xml
  • Added new properties <modesetup><rounds><maps_per_match> into newinstall/config/modescript_settings.xml
  • Added new tag <window_ui_properties> into newinstall/locales/plugin.modescript_settings.xml
  • Added new locales newinstall/locales/plugin.modescript_settings.xml
  • Added new tag <message_ban_masteradmin> into newinstall/locales/chat.admin.xml
  • Changed URLs of <images><mood>, <images><environment><enabled>, <images><environment><focus> and added Lagoon at newinstall/config/records_eyepiece.xml
  • Removed tag group <images><environment><logos> at newinstall/config/records_eyepiece.xml

Bug fixes

  • Fixed wrong named function from destruct() to __destruct() in includes/core/webrequest.class.php
  • Fixed instant exit from webrequest.php after /admin shutdown (because of the existing file worker.suicide)
  • Reverted /list back to the plugin.rasp_jukebox.php to enable /admin remove 1 (thanks Tavernicole)
  • Fixed [UASECO Exception] Error returned: "Value of type INT supplied where type STRING was expected." [-501] at GbxRemote::query() for method "TriggerModeScriptEventArray" with arguments: "/setrpoints 6,5,4,3,2,1,0" (thanks mangoara)
  • Fixed [PHP Notice] iconv(): Detected an illegal character in input string on line 137 in file /includes/core/helper.class.php (thanks Phantom)
  • Fixed [PHP Notice] Undefined index: Records on line 1157 in file plugins/plugin.checkpoints.php (thanks elie520)
  • Fixed [Plugin] » Can not register chat command "/elist" because callback Method "chat_elist()" of class "PluginRecordsEyepiece" is not callable, ignoring! (thanks ramires)
  • Fixed ManiaScript ERR [30, 69] Persistent storage limit reached. MusicWidget ()::Main() [30, 69], by disable persistent storage
  • Fixed Checkpoint TimeDiffWidget is displaying a time from the map that was loaded before, if you have not already a Personal Best time on the current map (thanks elie520)
  • Fixed [PHP Notice] Trying to get property of non-object on line 767 in file plugins/plugin.modescript_handler.php (thanks SSM.Speed...)

Version 0.9.2

General changes

  • Requires a Maniaplanet Dedicated Server build 2017-05-12_21_00 or higher
  • wget is no longer required, it is replaced by the includes/webrequest.php (which has to be started as separate process)
  • Added new method $aseco->generateManialinkId() at class UASECO Added the command /tachometer reload to plugins/plugin.tachometer.php
  • Added an new Dialog Class, with this you can setup dialogs to ask the player to confirm
    • New file added includes/core/dialog.class.php
    • New file added newinstall/locales/class.dialog.xml
    • New file added docs/UASECO/Classes/Dialog/Methods.md
    • New file added docs/UASECO/Classes/Dialog/Properties.md
  • Changed class MXInfoSearcher to load 200 maps on /xlist
  • Changed the amount of maps from 15 to 20 on each page at /xlist
  • Minor ManiaScript odds and sods
  • Changed plugin.message_log.php to Manialink V3
  • Added support for TLS/SSL URLs for songs in plugin.music_server.php

Changes at config files

  • Changed the URLs to ManiaCDN in the newinstall/config/tachometer.xml
  • Changed the URLs to ManiaCDN in the newinstall/config/tachometer/template_classic.xml
  • Changed inside newinstall/config/donate.xml at <messages><payment> the content (removed a space) for the new Class Dialog
  • Changed inside newinstall/config/records_eyepiece.xml at <scoretable_lists><top_active_players><entries> from 7 to 6
  • Changed inside newinstall/config/records_eyepiece.xml at <scoretable_lists><top_winning_payouts><enabled> from false to true
  • Changed inside newinstall/config/records_eyepiece.xml at <scoretable_lists><top_winning_payouts><pos_y> from -11.775 to -38.5875
  • Changed inside newinstall/config/records_eyepiece.xml at <scoretable_lists><top_winning_payouts><entries> from 7 to 6

Bug fixes

  • Fixed deformated Window from /admin pay PLAYER AMOUNT window has been updated to the Manialink version 3
  • Fixed wrong versions check from /uptodate
  • Fixed [PHP Notice]: Undefined index: UI_PROPERTIES in /plugins/plugin.modescript_handler.php on line 918 (thanks Krill)
  • Fixed hiding/showing of Records-Eyepiece Widgets by pressing F9 (thanks phantom, elie520)
  • Fixed ManiaScript ERR [171, 95] Out of bounds access at [NUM] at CheckpointTimeDiff ()::Main() [171, 95]
  • Fixed ManiaScript ERR [45, 82] Persistent storage limit reached at Tachometer ()::Main() [45, 82], by disable persistent storage
  • Fixed missing image from plugin.customize_quit_dialog.php (server side)
  • Fixed missing images from plugin.welcome_center.php (server side)
  • Fixed [PHP Fatal Error] Uncaught Error: Cannot use object of type WebRequestConstruct as array in /plugins/plugin.mania_karma.php:3854
  • Fixed [MusicServer] webrequest->get(): 404 - The given URL could not be found! (thanks MfGLucker)
  • Changed line-endings in newinstall/uaseco.bat into DOS format and redirecting errors to nul
  • Fixed vote buttons are not able to click in /plugins/plugin.mania_karma.php
  • Fixed missing send of <ui_properties><live_info> from the file newinstall/config/modescript_settings.xml to the dedicated server
  • Fixed the LiveRanking Widget of plugin.records_eyepiece.php which does not update after the second run (thanks mixnetwork, orangina, Lutzif3r)

Version 0.9.1

General changes

  • Possible speed-up because of the test of improved times before triggering the event onPlayerRankingUpdated
  • /admin shutdown resets the HUD to the default values taken from UI2.Script.txt

Changes at config files

  • Added inside newinstall/config/UASECO.xml at <settings> the new <automatic_refresh_maplist>
  • Added inside newinstall/config/modescript_settings.xml at <ui_properties> the new <live_info>
  • Changed inside newinstall/config/modescript_settings.xml at <ui_properties> every position X, Y and Z to the MP4 defaults from UI2.Script.txt (thanks micmo)
  • Changed inside newinstall/config/modescript_settings.xml at <modesetup> the entry <timeattack> from 3600 (1 hour) to 300 (5 min.) (thanks lyovav)
  • Added inside newinstall/config/records_eyepiece.xml at <ui_properties> following new <position>, <speed_and_distance>, <personal_best_and_rank>, <checkpoint_list>, <countdown> and <chrono>
  • Changed inside newinstall/config/records_eyepiece.xml at <winning_payout><widget> the <pos_x> and <pos_y>

Bug fixes

  • [UASECO Exception] Error returned: "" [0] at GbxRemote::query() for method "SendDisplayManialinkPageToLogin" with arguments: (thanks lyovav)
  • [PHP Notice] Undefined property: stdClass::$best on line 533 in file /plugin.checkpoints.php (thanks lyovav)
  • [PHP Notice] Undefined property: stdClass::$tracking on line 1657 in file /plugins/plugin.dedimania.php (thanks lyovav)
  • [PHP Notice] Undefined offset: 1 on line 412 in file /includes/core/window.class.php (thanks lyovav)
  • [PHP Notice] Undefined offset: 2 on line 412 in file /includes/core/window.class.php (thanks lyovav)
  • [PHP Notice] Undefined index: planets on line 125 in file /includes/core/locales.class.php
  • [PHP Warning] Invalid argument supplied for foreach() on line 180 in file /includes/core/message.class.php
  • [UASECO Warning] Country::countryToIoc(): Could not map country: South Korea: Renamed Korea to South Korea in includes/core/country.class.php (thanks lyovav)
  • Syntax error: EOF in backquote substitution, Error in command substitution or newline unexpected (expecting word) in includes/core/webrequest.class.php (thanks lyovav)
  • [PHP Warning] file_get_contents(): failed to open stream: Connection timed out on line 156 in file /includes/core/webrequest.class.php (thanks Tavernicole)
  • [PHP Notice] Undefined variable: http_response_header on line 159 in file /includes/core/webrequest.class.php (thanks Tavernicole)
  • [PHP Warning] Invalid argument supplied for foreach() on line 159 in file /includes/core/webrequest.class.php (thanks Tavernicole)
  • [PHP Notice] Undefined offset: 1 on line 534 in file /includes/core/webrequest.class.php (thanks Tavernicole)

Version 0.9.0

Notes

  • Third-party Plugins for XAseco2 are NOT compatible without changes (see Differences between XAseco2 and UASECO below)!
  • A database from XAseco2/1.03 is NOT compatible with UASECO, convert a XAseco2 database with newinstall/database/convert-xaseco2-to-uaseco.php!
  • Plugin plugin.manialinks.php (formerly manialinks.inc.php) is deprecated and get removed in the near future! Use Class Window instead.
  • Plugin plugin.panels.php and related files in the folder config/panels (or newinstall/config/panels) are deprecated and get removed in the near future!
  • All RASP Plugins will be replaced and removed in the near future!
  • includes/core/webaccess.class.php (formerly webaccess.inc.php) has been removed, use Class WebRequest instead!

Requirements

  • Full details at installation (linux)
  • Requires PHP/5.6.0 or higher (7.x.x recommended for performance gain)
  • Requires MySQL/5.1.0 or higher or MariaDB/5.5.20 or higher
  • Requires a Maniaplanet dedicated Server build 2017-05-03_21_00 or higher with API-Version 2013-04-16 or higher
  • Requires now the installation of wget:

Changes

  • Admins are now able to setup the PHP memory_limit (default is set to 256 MB) and script_timeout (default is set to 120 seconds) within the UASECO.xml
  • Added many new callback events like onPlayerStartCountdown, onPlayerStartLine, onPlayerFinishLine, onPlayerRespawn, onBeginPodium... see documentation for details
  • Included support for Modescript Gamemodes from the Maniaplanet/3 and Maniaplanet/4 update, e.g. TimeAttack.Script.txt, Rounds.Script.txt...
  • Included Database support into controller and changed all MySQL statements from MySQL Extension to MySQL Improved Extension (mysqli)
  • The database default storing engine has been changed from MyISAM to InnoDB with foreign key constraints
  • The database tablenames now have a prefix, to have the possibility to use only one database for multiple UASECO installations
  • Took some classes/ideas from MPAseco/0.83 and Aseco/2.2.0c
  • Splitted types.inc.php into single file classes
  • Extended class Player
  • Extended class PlayerList
  • Extended class Server
  • Extended class Gameinfo
  • Extended class Map
  • Extended class Record
  • Extended class RecordList
  • Extended class Server
  • Added class BaseClass
  • Added class Dependence
  • Added class Continent
  • Added class Country
  • Added class Locales (thanks to askuri)
  • Added class Helper (which holds the most UASECO Methods)
  • Added class MapList
  • Added class MapHistory
  • Added class Message (thanks to askuri)
  • Added class Database (mysqli)
  • Added class PlayList
  • Added class Plugin
  • Added class Ranking
  • Added class RankingList
  • Added class Webrequest (for asynchronous and synchronous HTTP GET-, POST- and HEAD-Requests)
  • Added class Window
  • Added class WindowList
  • Added new RoundsPointSystem High Score, based upon MotoGP * 10
  • Rewritten all Plugins into a own class and documented all dependencies
  • Merged several Plugins into one Plugin
  • Renamed several Plugins
  • Included the updated GBX Data Fetcher module v2.9 from 2017-02-03 created by Xymph
  • Added GbxRemote version from 2016-01-20
  • Distinguish local records between Gamemodes: local records made in TimeAttack are not available when the dedicated is running in Rounds and vice versa
  • Moved the content of the Map history file from RASP into the Database table maphistory (and removed functions... from the Plugins)
  • Added Support for the following Gamemodes:
  • Changed PHP 4 style constructors for PHP/7.x.x deprecated warnings: Methods with the same name as their class will not be constructors in a future version of PHP
  • Added memleak fixes presented by Bueddl
  • Removed plugin chat.last_win.php and included his function into windowlist.class.php

Bugfix (in XAseco2)

  • includes/xmlparser.inc.php: Changed to make sure that 0 values from <tags> in XML files are not interpreted as false and are stored too
  • includes/web_access.inc.php: [PHP Notice] Undefined offset: 0 on line 1184 till 1190
  • plugins/chat.server.php: Changed forgotten changes for Gameinfo::* constants

Differences between XAseco2 and UASECO

  • All XML configuration files has to be located into the config folder
  • All mysql_*() does not work anymore, use $aseco->db->* instead (e.g. $res = $aseco->db->query($sql)), see http://www.php.net/manual/en/class.mysqli.php and http://www.uaseco.org/development/classes/database.php
  • Added constants Gameinfo::TEAM_ATTACK and Gameinfo::CHASE
  • Added $aseco->server->rankings->ranking_list[] which holds the current ranking for all Players in all Gamemodes (no need to call the Method GetCurrentRanking)
  • Added $aseco->server->maps->map_list[] which holds all Maps from the dedicated Server (no need to call the Method GetMapList)
  • Added $aseco->server->players->getPlayerById()
  • Added $aseco->server->players->getPlayerByPid()
  • Changed the callback handler of a registered chat command, it has now four parameter instead of two: ($aseco, $login, $chat_command, $chat_parameter)
  • Changed quotedString() to $aseco->db->quote()
  • Changed validateUTF8String() to $aseco->validateUTF8String()
  • Changed stripNewlines() to $aseco->stripNewlines()
  • Changed formatText() to $aseco->formatText()
  • Changed stripSizes() to $aseco->stripSizes()
  • Changed stripNewlines() to $aseco->stripNewlines()
  • Changed bool2text() to $aseco->bool2string()
  • Changed and renamed mapCountry() to $aseco->country->countryToIoc()
  • Changed and renamed continent2cid() to $aseco->continent->continentToAbbreviation()
  • Changed and renamed cid2continent() to $aseco->continent->abbreviationToContinent()
  • Changed and renamed stripColors() to $aseco->stripStyles()
  • Changed and renamed file_exists_nocase() to$aseco->fileExistsNoCase()`
  • Changed F7 (to hide some Widgets) to F9, because Nadeo uses F7 for the Buddy list now
  • Event parameters has been changed for many events, more details: http://www.uaseco.org/development/events.php
  • Event onCheckpoint to onPlayerCheckpoint
  • Event onChat splitted into onServerChat and onPlayerChat (no need to check for a Server message at onPlayerChat)
  • Event onRestartMap removed and renamed onRestartMap2 to onRestartMap (there is no more a difference between the restarts)
  • Event onLoadingMap is send after $aseco->server->maps->current is updated (which is fired before onBeginMap)
  • Event onBeginMap is fired after onLoadingMap
  • Event onBeginMap1 and onBeginMap2 has been removed
  • Event onEndMap1 renamed to onEndMapPrefix
  • Event onDediRecsLoaded renamed to onDedimaniaRecordsLoaded
  • Event onMaplistChanged renamed to onMapListChanged (uppercase L)
  • Event onPlayerConnect2 renamed to onPlayerConnectPostfix
  • Event onPlayerFinish1 renamed to onPlayerFinishPrefix
  • Event onPlayerManialinkPageAnswer: Handling of Manialink actions and identificators has been changed, more details: http://www.uaseco.org/development/manialinks.php#Identifications
  • Event onPlayerInfoChanged does not send anymore the struct from the dedicated as parameter, now only send the login of that Player (the struct is changed at the Player object)
  • Event onManualFlowControlTransition has been removed, because that Callback (TrackMania.ManualFlowControlTransition) is not part of the API-Version 2013-04-16
  • Merged formatTime() and formatTimeH() to only $aseco->formatTime()
  • Merged chat.songmod.php, plugin.map.php and plugin.rasp_nextmap.php together
  • Moved $aseco->xml_parser to $aseco->parser and renamed the method parseXML() to xmlToArray() and parseArray() to arrayToXml()
  • Moved $aseco->server->map to $aseco->server->maps->current
  • Moved $aseco->records from controller into Local Records Plugin
  • Moved $aseco->rasp from controller into the RASP Plugins
  • Moved $aseco->getPlayerId() to $aseco->server->players->getPlayerIdByLogin()
  • Moved $aseco->getPlayerNick() to $aseco->server->players->getPlayerNickname()
  • Moved $aseco->getPlayerParam() to $aseco->server->players->getPlayerParam()
  • Renamed config/config.xml to config/UASECO.xml
  • Renamed constants Gameinfo::RNDS to Gameinfo::ROUNDS, Gameinfo::TA to Gameinfo::TIME_ATTACK
  • Renamed $aseco->server->players->getPlayer() to $aseco->server->players->getPlayerByLogin()
  • Renamed $aseco->ip_match() to $aseco->matchIP()
  • Renamed $aseco->server->serverlogin to $aseco->server->login
  • Renamed $player->isspectator to $player->is_spectator
  • Renamed $player->isofficial to $player->is_official
  • Renamed $player->isreferee to $player->is_referee
  • Renamed $player->ladderrank to $player->ladder_rank
  • Renamed $player->ladderscore to $player->ladder_score
  • Renamed $player->lastmatchscore to $player->last_match_score
  • Renamed $player->nbwins to $player->nb_wins
  • Renamed $player->nbdraws to $player->nb_draws
  • Renamed $player->nblosses to $player->nb_losses
  • Renamed $player->timeplayed to $player->time_played
  • Renamed $player->newwins to $player->new_wins
  • Renamed $player->teamid to $player->team_id
  • Remamed $map->authorscore to $map->author_score ($map = includes/core/map.class.php)
  • Remamed $map->authortime to $map->author_time ($map = includes/core/map.class.php)
  • Renamed $aseco->isOperatorL() to $aseco->isOperatorByLogin()
  • Renamed $aseco->isAdminL() to $aseco->isAdminByLogin()
  • Renamed $aseco->isMasterAdminL() to $aseco->isMasterAdminByLogin()
  • Renamed $aseco->isAnyAdminL() to $aseco->isAnyAdminByLogin()
  • Renamed $aseco->allowOpAbility() to $aseco->allowOperatorAbility()
  • Removed constant Gameinfo::STNT and support for the related Gamemode
  • Removed manialinks.inc.php, moved parts from it into the related Plugins and replaced the Window with the new class window.class.php
  • Removed Plugin plugin.matchsave.php, and related files matchsave.xml, html.tpl and text.tpl
  • Removed Jfreu-Plugins jfreu.chat.php, jfreu.lite.php and jfreu.plugin.php with all related files (plugin.welcome_center.php replaces jfreu.lite.php)
  • Removed plugin.styles.php and related files in the folder config/styles
  • Removed addChatCommand() and added $this->registerChatCommand() (in Class Plugin)
  • Removed $aseco->server->getGame(), because in Maniaplanet it was useless
  • Removed $aseco->isSpectator($player), use $player->getSpectatorStatus() instead
  • Removed handling (deprecated) and replaced by from modescript_settings.xml, more details: http://forum.maniaplanet.com/viewtopic.php?p=228997#p228997
  • Removed chat command /admin listdupes, because the Database column has unique key
  • Removed all donate panels (Donate*.xml) from config/panels
  • Removed all records panels (Records*.xml) from config/panels
  • Removed all vote panels (Vote*.xml) from config/panels
  • Removed http_get_file(), use $aseco->webaccess->request() instead
  • Removed chat command /top10 from plugin.rasp.php, use /top100 instead
  • Removed chat command /clans and /topclans from chat.player_infos.php
  • Removed the event onStatusChangeTo[1-4,6], because with the ModeScripts we have now more detailed callbacks
  • The default database charset is utf8mb4 and collate utf8mb4_unicode_ci
  • The folder panels has been moved into the config folder
  • The folder styles has been moved into the config folder
  • PLEASE NOTE: I only hope that this list are all differences, but I am not really sure about this. I was starting too late to write this list, sorry!

Differences between the database from XAseco2 and UASECO

  • PLUGIN AUTHORS NOTE:
    • For each SQL-Query you have to add %prefix% before all tablenames, e.g. to access players you have to write %prefix%players
    • The connection has enabled autocommit, if you need to insert a bulk of data you can disable autocommit, more details: http://dev.mysql.com/doc/refman/5.7/en/commit.html
  • Table maps:
    • Renamed Id to MapId
  • Table players:
    • Renamed Id to PlayerId
    • Renamed NickName to Nickname
    • Renamed UpdatedAt to LastVisit
    • Removed Game
    • Removed TeamName
  • Table players_extra has been removed:
    • Moved Cps to settings table and get stored into serialized Value
    • Moved DediCps to settings table and get stored into serialized Value
    • Moved Donations to players table
    • Moved Style to settings table and get stored into serialized Value
    • Moved Panels to settings table and get stored into serialized Value
    • Moved PanelBG to settings table and get stored into serialized Value
  • Table records:
    • Removed Id
    • Added GamemodeId
  • Table rs_karma renamed to ratings
    • Removed Id
  • Table rs_rank renamed to rankings
    • Renamed Avg to Average
  • Table rs_times renamed to times
    • Removed Id
    • Added GamemodeId
  • Added Table maphistory
  • Added Table playlist

This is a private enthusiast Website. Maniaplanet, Trackmania, Shootmania, Nadeo are trademarks of Ubisoft Entertainment.
Windows is a registered trademark of Microsoft Corporation.

Last modified: Mon, 12 Jun 2017 18:52:29 +0200