Rounds.Script.txt and map change every 6 hours

Moderator: NADEO

Post Reply
User avatar
undef.de
Posts: 1987
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Rounds.Script.txt and map change every 6 hours

Post by undef.de » 28 Sep 2019, 20:23

We've found out that the Rounds.Script.txt (2018-03-08) changes the map every 6 hours when no players are connected, but the configuration did not want/allow that (see below).

But the main problem with this is, that the dedicated server does not send a lot of the events (e.g. Maniaplanet.EndPlayLoop, Maniaplanet.EndTurn_Start, Maniaplanet.EndRound_Start... till Maniaplanet.UnloadingMap_Start) when a forced map change happens (starts at [2019-09-27 09:57:35]):


Logfile from UASECO

Code: Select all

[2019-09-27 03:57:39] [Map] Changing from Map [CTT sr 013] to [CTT sr 021] [Env: Canyon, Uid: dI72MdSvMu5PhSj8oZ_pJ4e1P, Id: 30]
[2019-09-27 03:57:39] [Event] Loading Map
[2019-09-27 03:57:39] [LocalRecords] Current record on Map [CTT sr 021] is [0:29.628] and held by Player [scorpion20017]
[2019-09-27 03:57:39] [RoundAutoEnd] Setting round end time to [65] seconds, based upon author time [0:31.014]
[2019-09-27 03:57:39] [Event] Begin Map
[2019-09-27 03:57:39] [Event] Points Repartition Loaded
[2019-09-27 03:57:39] [Event] Begin Round [1]
[2019-09-27 03:57:39] [Event] Begin Turn [1]
[2019-09-27 03:57:39] [Event] Begin Playing [1]

...

[2019-09-27 09:55:12] [RoundAutoEnd] Round automatically ended
[2019-09-27 09:55:12] [Event] End Playing [1]
[2019-09-27 09:55:12] [Event] End Turn [1]
[2019-09-27 09:55:12] [Event] End Round [298]
[2019-09-27 09:55:15] [Event] Begin Round [299]
[2019-09-27 09:55:15] [Event] Begin Turn [1]
[2019-09-27 09:55:15] [Event] Begin Playing [1]
[2019-09-27 09:56:24] [RoundAutoEnd] Round automatically ended
[2019-09-27 09:56:24] [Event] End Playing [1]
[2019-09-27 09:56:24] [Event] End Turn [1]
[2019-09-27 09:56:24] [Event] End Round [299]
[2019-09-27 09:56:27] [Event] Begin Round [300]
[2019-09-27 09:56:27] [Event] Begin Turn [1]
[2019-09-27 09:56:27] [Event] Begin Playing [1]
[2019-09-27 09:57:35] [Event] Begin Match [1]
[2019-09-27 09:57:36] [RoundAutoEnd] Round automatically ended
[2019-09-27 09:57:40] [Map] Changing from Map [CTT sr 021] to [CTT sr 022 by axe] [Env: Canyon, Uid: TqS3fW8o1SKmm0TziKf4hzmiH4, Id: 31]
[2019-09-27 09:57:40] [Event] Loading Map
[2019-09-27 09:57:40] [LocalRecords] Current record on Map [CTT sr 022 by axe] is [0:29.628] and held by Player [scorpion20017]
[2019-09-27 09:57:40] [RoundAutoEnd] Setting round end time to [63] seconds, based upon author time [0:30.058]
[2019-09-27 09:57:40] [Event] Begin Map
[2019-09-27 09:57:40] [Event] Points Repartition Loaded
[2019-09-27 09:57:40] [Event] Begin Round [1]
[2019-09-27 09:57:40] [Event] Begin Turn [1]
[2019-09-27 09:57:40] [Event] Begin Playing [1]

Script settings

Code: Select all

S_FinishTimeout			-1
S_UseAlternateRules		False
S_ForceLapsNb			-1
S_DisplayTimeDiff		False
S_PointsRepartition		""

S_PointsLimit			99
S_RoundsPerMap			-1
S_MapsPerMatch			-1
S_UseTieBreak			True
S_WarmUpNb			0
S_WarmUpDuration		-1




Normal map change handling when S_PointsLimit has been reached

Code: Select all

[2019-09-27 13:53:26] [Event] End Playing [1]
[2019-09-27 13:53:26] [Event] End Turn [1]
[2019-09-27 13:53:26] [Event] End Round [1]
[2019-09-27 13:53:32] [Event] End Map
[2019-09-27 13:53:32] [Map] The Map [CTT sr 022 by axe] finished after 16 sec.
[2019-09-27 13:53:32] [Event] Begin Podium
[2019-09-27 13:53:52] [Event] End Podium
[2019-09-27 13:53:52] [Event] Begin Channel Progression
[2019-09-27 13:53:52] [Event] End Channel Progression
[2019-09-27 13:53:52] [Event] Unloading Map
[2019-09-27 13:53:52] [PlayerList] Calculating and updating server ranks for players...
[2019-09-27 13:53:52] [PlayerList] ...finished!
[2019-09-27 13:53:52] [Event] End Match [1]
[2019-09-27 13:53:52] [Event] Begin Match [2]
[2019-09-27 13:54:03] [Map] Changing from Map [CTT sr 022 by axe] to [CTT sr 008] [Env: Canyon, Uid: jGGoSIzaxZ3P9lJgZrSUibJYsqc, Id: 10]
[2019-09-27 13:54:03] [Event] Loading Map
[2019-09-27 13:54:03] [LocalRecords] Current record on Map [CTT sr 008] is [0:30.095] and held by Player [bumper]
[2019-09-27 13:54:03] [RoundAutoEnd] Setting round end time to [65] seconds, based upon author time [0:30.845]
[2019-09-27 13:54:04] [Event] Begin Map
[2019-09-27 13:54:04] [Event] Points Repartition Loaded
[2019-09-27 13:54:05] [Event] Begin Round [1]
[2019-09-27 13:54:05] [Event] Begin Turn [1]
[2019-09-27 13:54:05] [Event] Begin Playing [1]
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
Alinoa
Nadeo
Nadeo
Posts: 4454
Joined: 14 Jun 2010, 11:55
Location: France, Paris
Contact:

Re: Rounds.Script.txt and map change every 6 hours

Post by Alinoa » 30 Sep 2019, 12:59

Hello undef.de :)

Thank you for your report :thumbsup:
Ubisoft Support
Your Player Page

More information about maniaplanet, support, contents, community activities: useful links

ManiaPlanet technical documentation portal (Dedicated server, Mediatracker, ManiaLink, ManiaScript, Titles...)

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest