[BUG] adding local map

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

Post Reply
User avatar
Tavernicole
Posts: 22
Joined: 17 Aug 2011, 16:08

[BUG] adding local map

Post by Tavernicole » 27 May 2017, 21:10

Hi!

I have a problem with the "/admin addlocal {filename}" command, as described in the logfile extract below. I had this issue twice with the UAseco managing a Canyon server, I didn't check on the other environments.

The track file is "GrassCitySpeedway.Map.gbx" located in the "Downloaded" folder. It's a multilap map, 3 rounds, 3:02 validation time, about 6 CPs including the multi-lap start block.

UAseco seems to be unable to retrieve the information from the file. InGame, the map is displayed as "Unknown" by "Unknown" with no validation time, no local record can be stored, impossible to vote with Mania-Karma, even after many rounds.

This issue is automatically fixed when the maplist is saved then reloaded. UAseco saves correctly in the MatchSettings.txt file the map pathname and id, and I may suppose that the map data are correctly read when the maplist is reloaded.

Code: Select all

[2017-05-27 21:02:31] [Chat] Player [tavernicole] used command "/admin addlocal GrassCitySpeedway"
[PHP Notice] Undefined variable: admin on line 4385 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\chat.admin.php
[PHP Notice] Trying to get property of non-object on line 4385 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\chat.admin.php
[2017-05-27 21:02:32] [ChatAdmin] MasterAdmin [tavernicole] adds local map Grass City Speedway !
[PHP Notice] Undefined variable: admin on line 4396 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\chat.admin.php
[PHP Notice] Trying to get property of non-object on line 4396 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\chat.admin.php
[2017-05-27 21:02:37] [Chat] Player [tavernicole] used command "/admin nextmap"
[2017-05-27 21:02:37] [ChatAdmin] MasterAdmin [tavernicole] skips map!
[2017-05-27 21:02:37] [Event] End Playing [1]
[2017-05-27 21:02:37] [Event] End Turn [1]
[2017-05-27 21:02:37] [Event] End Round [1]
[2017-05-27 21:02:37] [Event] Player Ranking Updated (Players)
[2017-05-27 21:02:37] [Event] End Map
[2017-05-27 21:02:37] [RaspJukebox] Setting next map to [Grass City Speedway] as requested by []
[2017-05-27 21:02:37] [MusicServer] Setting next song to [Variete internationale/05. Bananarama - Venus - Cruel Summer.ogg]
[2017-05-27 21:02:38] [Event] Player Ranking Updated (Players)
[2017-05-27 21:02:38] [Event] Begin Podium
[2017-05-27 21:02:58] [Event] End Podium
[2017-05-27 21:02:58] [Event] Begin Channel Progression
[2017-05-27 21:02:58] [Event] End Channel Progression
[2017-05-27 21:02:58] [Event] Unloading Map
[2017-05-27 21:02:58] [Rasp] Calculating ranks for each Player
[2017-05-27 21:02:58] [Event] Player Ranking Updated (Players)
[2017-05-27 21:02:58] [Event] End Match [154]
[2017-05-27 21:02:58] [Event] Begin Match [155]
[2017-05-27 21:03:15] [Map] Changing from Map [Guyliguylix - ꟟ Ayem 34] to [Unknown] [Env: , Uid: , Id: 0]
[2017-05-27 21:03:15] [Event] Loading Map
[2017-05-27 21:03:15] [LocalRecords] Currently no record on [Unknown]
[2017-05-27 21:03:15] [Dedimania] Map's NbCheckpoints < 2: records ignored
[PHP Warning] array_key_exists(): The first argument should be either a string or an integer on line 249 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\plugin.rasp_jukebox.php
[PHP Warning] mt_rand(): max(-1) is smaller than min(0) on line 123 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\plugin.force_loadscreen.php
[PHP Notice] Undefined offset: 0 on line 123 in file D:\TM\Servers\TM2.Canyon\UAseco\plugins\plugin.force_loadscreen.php
[2017-05-27 21:03:15] [Event] Begin Map
[2017-05-27 21:03:15] [Event] Player Ranking Updated (Players)
[2017-05-27 21:03:16] [Dedimania] dedimaniaLoadingMapCallbackHandler() - error(s): Warning in method_handler.php(330): map without checkpoints are not supported !
[2017-05-27 21:03:17] [Event] Begin Round [1]
It looks like there's another issue with plugin.force_loadscreen.php, but I need to investigate before telling you that there's a bug, because I don't have this warning in the logfile during normal play.
ヅわ てavernicole
- Team Chameaux -

User avatar
undef.de
Posts: 1486
Joined: 06 Apr 2011, 21:57
Location: Germany
Contact:

Re: [BUG] adding local map

Post by undef.de » 27 May 2017, 21:42

plugin.force_loadscreen.php does not work since MP3, and it will never be work I guess.

The rest is added to the todo list.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what i do? Then award a ManiaStar.

User avatar
undef.de
Posts: 1486
Joined: 06 Apr 2011, 21:57
Location: Germany
Contact:

Re: [BUG] adding local map

Post by undef.de » 30 May 2017, 17:55

Fixed in 0.9.4.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what i do? Then award a ManiaStar.

Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest