
Therefore I wrote a quick script to update all players' panels of a given type to a new default. It works not only for donate panels but the admin, records and vote ones too, and is included in the DOCS/ directory of the zip. First configure it with your MySQL login and password (same as in localdatabase.xml), and possibly $panelspath to point to your XAseco2's panels/ directory. Then invoke it from the command line (in Linux - don't know how that goes in Windows) while XAseco2 is shut down:
Code: Select all
$ php updatepanels.php donate BelowCPList
Besides these two major features, this release includes an updated GBXDataFetcher class to handle the changes in map format that were introduced in the closed beta a few days ago, and a few other changes and fixes. Here are the full release notes:
New features and other changes in the v0.93 release of XASECO2:
- * the donate plugin has now been ported and tested:
- * the /donate and /admin pay commands are available
* the panels/ directory contains a new set of TM²C-compatible donate panel templates (see /donpanel list)
* the /admin pay confirmation dialog resembles the /donate dialog
* remember that the server's planets amount (seen with /admin planets) doesn't update immediately after a transaction
* important: as in TMUF, the validation key belonging to your player login needs to be entered in the <validation_key> field in dedicated_cfg.txt, and you must make an initial donation from your player login to your server login via the in-game message system, so that there are sufficient planets in the account to pay Nadeo tax on the first transaction
* new panel background support with the following features:- * the background for the admin, donate, records and vote panels, as well as the player stats panel at the scoreboard, is now customizable
* a new 'PanelBG' column has been added to the local database table 'players_extra' for storing each player's selected background
* the new column will be added automatically the first time this release is run, but it is also defined in the DOCS/xaseco2.sql file as usual
* the distribution's panels/ subdirectory can contain up to 30 panel background templates; their filenames must start with 'PanelBG'
* there are nine standard templates in several colors, with some in transparent and blurred variants
* the default panel background is configurable via new config.xml setting <panel_bg> (default: NavBlueBlur)
* new /admin panelbg <xxx> command to select another default panel background for newly connecting players (requires panel background name)
* the new /panelbg command allows players to select an individual panel background with the following options:- * help: Displays help information
* list: Displays available backgrounds
* default: Resets background to server default
* <xxx>: Selects panel background <xxx>, which can be a style name or the sequence number from /panelbg list
* in the /panelbg list overview a player can also click a background name to dynamically select a new background (or refresh the current one if its .xml file was updated)
* the configured default panel background is Card, to match with the new default window style
* the current default background is used for the CPS (checkpoints) panel and the system message window as those cannot be individually customized - * help: Displays help information
* updated the GBXDataFetcher class to handle TM²C release Maps
* a fatal error is now reported if no masteradmin is configured in config.xml
* added an updatepanels.php script to the DOCS/ directory to allow updating all players' panels of a given type to a new template - * the /donate and /admin pay commands are available
- * the /settings output is missing the window style entry -- fixed
* /server doesn't take the adminops.xml setting <server_planets> into account -- fixed
Important:
- In the zip file, all *.XML and *.PHP config files are located inside the newinstall/ directory. This means that you can (and have to) unzip the download and replace all the PHP code files, without worrying about overwriting your customized config files. However, for every XML/PHP config file that was updated (see here), 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.
Enjoy,
Xymph
PS. Please do not PM or email me for support, but use this forum.
PPS. If you ask about MX support, I'll be forced to ignore you... it'll be in the next release.