S_TimeLimit set to -1 (unlimited) not working properly (map switch every 6h)

Moderator: NADEO

Post Reply
User avatar
Harest
Posts: 118
Joined: 26 Mar 2018, 04:21
Contact:

S_TimeLimit set to -1 (unlimited) not working properly (map switch every 6h)

Post by Harest » 19 Aug 2019, 05:47

Hi,

Since i'm not sure it's a bug or not i thought i'd first put this thread in there. I already saw a strange issue related a while ago but wasn't really sure about it. Now that i opened 5 additional servers, especially a private one, i'm able to see it more clearly.
Issue : Despite setting S_TimeLimit in TA mode to -1 (unlimited) in the MatchSettings file & controller (PyPlanet), it doesn't work properly and the map is switched to another one every 6h precisely. No timer is displayed in-game.
I'm not 100% sure how it works if there's players on the server, i'd assume this map change only occurs if there's nobody on the server. But i'd like to know why this occur. I've literally no info about this either in the ManiaPlanet logs or the PyPlanet ones.

I'll include below 2 parts of Console logs that show clearly the 6h difference and nothing more, except that suspicious line related to logs being disabled in production environment.
_Harest_RPG_Adv :

Code: Select all

[2019/08/19 00:17:27] Vote passed.
[2019/08/19 00:17:38] ...Finish
[2019/08/19 00:17:39] ...Exit
[2019/08/19 00:17:39] Loading map TM-58046.Map.Gbx (of7EVxHpT0U6rv5E77SMNTJm1)...
[2019/08/19 00:17:39] ...Load succeeds
[2019/08/19 00:17:40] Starting Match...
[2019/08/19 00:17:40] ...Synchronization
[2019/08/19 00:17:54] ...Play
[2019/08/19 00:18:25] Disconnection of ****(****:2350)
[2019/08/19 02:54:29] Connection of a new player: harest(****:2350)
[2019/08/19 02:55:21] Disconnection of harest(****:2350)
[2019/08/19 06:17:39] ...Finish
[2019/08/19 06:17:39] ...Exit
[2019/08/19 06:17:39] Script 'Mode:TimeAttack': [LOG]33884528> [Log] Logs are disabled in the "production" environment.

[2019/08/19 06:17:39] Loading map TM-60388.Map.Gbx (D_HfodhmcwD6lURc_d3wEpdoitc)...
[2019/08/19 06:17:39] ...Load succeeds
[2019/08/19 06:17:40] Starting Match...
[2019/08/19 06:17:41] ...Synchronization
[2019/08/19 06:17:43] ...Play
_Harest_RPG_Prv (Private server, noone except me can log in atm) :

Code: Select all

[2019/08/18 20:42:05] Starting server...
[2019/08/18 20:42:05] Loading map TM-80321.Map.Gbx (t6RhyNIIUuNlwda1EMudpEDrvWg)...
[2019/08/18 20:42:05] ...Load succeeds
[2019/08/18 20:42:05] Script 'Mode:TimeAttack': [LOG]1> [Log] Logs are disabled in the "production" environment.

[2019/08/18 20:42:07] Starting Match...
[2019/08/18 20:42:07] ...Synchronization
[2019/08/18 20:42:09] ...Play
[2019/08/19 02:42:05] ...Finish
[2019/08/19 02:42:05] ...Exit
[2019/08/19 02:42:05] Script 'Mode:TimeAttack': [LOG]21600493> [Log] Logs are disabled in the "production" environment.

[2019/08/19 02:42:05] Loading map TM-53876.Map.Gbx (CNM727NZHwzZDtz6Uu2EqtUt6c)...
[2019/08/19 02:42:05] ...Load succeeds
[2019/08/19 02:42:07] Starting Match...
[2019/08/19 02:42:07] ...Synchronization
[2019/08/19 02:42:09] ...Play
[2019/08/19 02:50:23] Connection of a new player: harest(****:2350)
[2019/08/19 02:51:30] Disconnection of harest(****:2350)
If anyone knows what's up, thanks in advance.
Edit : I guess i could set S_ScriptEnvironment to development for the private server, restart it and see if i've more stuff in the log when this switch happens. I'll do that.

User avatar
kripkee
Posts: 937
Joined: 21 Jun 2010, 14:04

Re: S_TimeLimit set to -1 (unlimited) not working properly (map switch every 6h)

Post by kripkee » 19 Aug 2019, 13:03

If there is nobody on your server, your server will skip current map after 4 hours (in TM1). I don't know how Maniaplanet handle this, but it should be similar (6 hours).
I will test it later for you and I send you some feedback, when it's done.

If you have people on your server, your map won't be skipped after X hours.

User avatar
Harest
Posts: 118
Joined: 26 Mar 2018, 04:21
Contact:

Re: S_TimeLimit set to -1 (unlimited) not working properly (map switch every 6h)

Post by Harest » 19 Aug 2019, 16:22

Thanks for the info! On my end the logs in development environment don't give much more info. We just see there's a restart of the TA script it seems and that it loads the next map in the same time.

I guess it's not big of a deal anyway. But if anyone knows how to prevent that map change, i'd like to know it. I'm sure you can find it in one of the scripts loaded since they're all in plain text, but i guess i'll pass on checking everyone of them for that :p.

Anyway, here's a piece of log from _Harest_RPG_Prv with S_ScriptEnvironment set to development :

Code: Select all

[2019/08/19 07:16:09] Starting server...
[2019/08/19 07:16:09] Loading map TM-80321.Map.Gbx (t6RhyNIIUuNlwda1EMudpEDrvWg)...
[2019/08/19 07:16:09] ...Load succeeds
[2019/08/19 07:16:09] Script 'Mode:TimeAttack': [LOG]1> #Include > Script : Modes/ModeBase2.Script.txt | Version : 2018-07-17
[LOG]1> #Include > Script : Libs/Nadeo/Clublink2.Script.txt | Version : 2017-03-28
[LOG]1> #Include > Script : Libs/Nadeo/Emblem.Script.txt | Version : 2016-04-18
[LOG]1> #Include > Script : Libs/Nadeo/Env.Script.txt | Version : 2016-05-09
[LOG]1> #Include > Script : Libs/Nadeo/Ladder.Script.txt | Version : 2016-05-30
[LOG]1> #Include > Script : Libs/Nadeo/Layers2.Script.txt | Version : 2016-05-09
[LOG]1> #Include > Script : Libs/Nadeo/Log.Script.txt | Version : 2016-10-28
[LOG]1> #Include > Script : Libs/Nadeo/Message.Script.txt | Version : 2016-04-26
[LOG]1> #Include > Script : Libs/Nadeo/ModeInfo.Script.txt | Version : 2017-11-24
[LOG]1> #Include > Script : Libs/Nadeo/Spectators.Script.txt | Version : 2016-05-19
[LOG]1> #Include > Script : Window.Script.txt | Version : 2015-02-26
[LOG]1> #Include > Script : Libs/Nadeo/XmlRpc2.Script.txt | Version : 2018-03-12
[LOG]1> #Include > Script : Libs/Nadeo/XmlRpc2_Base.Script.txt | Version : 2017-12-20
[LOG]1> #Include > Script : Libs/Nadeo/Events_UI.Script.txt | Version : 2017-11-17
[LOG]1> #Include > Script : Libs/Nadeo/Pause.Script.txt | Version : 2017-04-10
[LOG]1> #Include > Script : Libs/Nadeo/ChannelProgression.Script.txt | Version : 2017-08-30
[LOG]1> #Include > Script : Modes/ModeMatchmaking2.Script.txt | Version : 2018-02-15
[LOG]1> #Include > Script : Libs/Nadeo/MatchmakingCommon.Script.txt | Version : 2017-05-12
[LOG]1> #Include > Script : Libs/Nadeo/MatchmakingLobby.Script.txt | Version : 2018-02-15
[LOG]1> #Include > Script : Libs/Nadeo/MatchmakingMatch.Script.txt | Version : 2017-11-21
[LOG]1> #Include > Script : Libs/Nadeo/VoteMap.Script.txt | Version : 2017-03-28
[LOG]1> #Include > Script : Modes/TrackMania/ModeBase2.Script.txt | Version : 2018-03-08
[LOG]1> #Include > Script : UI.Script.txt | Version : 2018-03-27
[LOG]1> #Include > Script : Libs/Nadeo/TrackMania/TM2.Script.txt | Version : 2017-05-29
[LOG]1> #Include > Script : Libs/Nadeo/TrackMania/Events.Script.txt | Version : 2018-11-15
[LOG]1> #Include > Script : Libs/Nadeo/TrackMania/Scores.Script.txt | Version : 2018-04-23
[LOG]1> #Include > Script : Libs/Nadeo/TrackMania/WarmUp3.Script.txt | Version : 2017-06-13
[LOG]1> #Include > Script : Modes/TrackMania/ModeMatchmaking2.Script.txt | Version : 2017-08-11
[LOG]1> #Include > Script : Modes/TrackMania/ModeTrackmania.Script.txt | Version : 2018-02-15

[2019/08/19 07:16:10] Starting Match...
[2019/08/19 07:16:10] ...Synchronization
[2019/08/19 07:16:12] ...Play
[2019/08/19 07:16:12] Script 'Mode:TimeAttack': [LOG]4089> [Ladder] Ladder_CancelMatchRequest()
[LOG]4089> [Ladder] Ladder_OpenMatch_Request()

[2019/08/19 13:16:09] ...Finish
[2019/08/19 13:16:09] ...Exit
[2019/08/19 13:16:09] Script 'Mode:TimeAttack': [LOG]21600469> #Include > Script : Modes/ModeBase2.Script.txt | Version : 2018-07-17
[LOG]21600469> #Include > Script : Libs/Nadeo/Clublink2.Script.txt | Version : 2017-03-28
[LOG]21600469> #Include > Script : Libs/Nadeo/Emblem.Script.txt | Version : 2016-04-18
[LOG]21600469> #Include > Script : Libs/Nadeo/Env.Script.txt | Version : 2016-05-09
[LOG]21600469> #Include > Script : Libs/Nadeo/Ladder.Script.txt | Version : 2016-05-30
[LOG]21600469> #Include > Script : Libs/Nadeo/Layers2.Script.txt | Version : 2016-05-09
[LOG]21600469> #Include > Script : Libs/Nadeo/Log.Script.txt | Version : 2016-10-28
[LOG]21600469> #Include > Script : Libs/Nadeo/Message.Script.txt | Version : 2016-04-26
[LOG]21600469> #Include > Script : Libs/Nadeo/ModeInfo.Script.txt | Version : 2017-11-24
[LOG]21600469> #Include > Script : Libs/Nadeo/Spectators.Script.txt | Version : 2016-05-19
[LOG]21600469> #Include > Script : Window.Script.txt | Version : 2015-02-26
[LOG]21600469> #Include > Script : Libs/Nadeo/XmlRpc2.Script.txt | Version : 2018-03-12
[LOG]21600469> #Include > Script : Libs/Nadeo/XmlRpc2_Base.Script.txt | Version : 2017-12-20
[LOG]21600469> #Include > Script : Libs/Nadeo/Events_UI.Script.txt | Version : 2017-11-17
[LOG]21600469> #Include > Script : Libs/Nadeo/Pause.Script.txt | Version : 2017-04-10
[LOG]21600469> #Include > Script : Libs/Nadeo/ChannelProgression.Script.txt | Version : 2017-08-30
[LOG]21600469> #Include > Script : Modes/ModeMatchmaking2.Script.txt | Version : 2018-02-15
[LOG]21600469> #Include > Script : Libs/Nadeo/MatchmakingCommon.Script.txt | Version : 2017-05-12
[LOG]21600469> #Include > Script : Libs/Nadeo/MatchmakingLobby.Script.txt | Version : 2018-02-15
[LOG]21600469> #Include > Script : Libs/Nadeo/MatchmakingMatch.Script.txt | Version : 2017-11-21
[LOG]21600469> #Include > Script : Libs/Nadeo/VoteMap.Script.txt | Version : 2017-03-28
[LOG]21600469> #Include > Script : Modes/TrackMania/ModeBase2.Script.txt | Version : 2018-03-08
[LOG]21600469> #Include > Script : UI.Script.txt | Version : 2018-03-27
[LOG]21600469> #Include > Script : Libs/Nadeo/TrackMania/TM2.Script.txt | Version : 2017-05-29
[LOG]21600469> #Include > Script : Libs/Nadeo/TrackMania/Events.Script.txt | Version : 2018-11-15
[LOG]21600469> #Include > Script : Libs/Nadeo/TrackMania/Scores.Script.txt | Version : 2018-04-23
[LOG]21600469> #Include > Script : Libs/Nadeo/TrackMania/WarmUp3.Script.txt | Version : 2017-06-13
[LOG]21600469> #Include > Script : Modes/TrackMania/ModeMatchmaking2.Script.txt | Version : 2017-08-11
[LOG]21600469> #Include > Script : Modes/TrackMania/ModeTrackmania.Script.txt | Version : 2018-02-15

[2019/08/19 13:16:09] Loading map TM-53876.Map.Gbx (CNM727NZHwzZDtz6Uu2EqtUt6c)...
[2019/08/19 13:16:09] ...Load succeeds
[2019/08/19 13:16:11] Starting Match...
[2019/08/19 13:16:11] ...Synchronization
[2019/08/19 13:16:13] ...Play
[2019/08/19 13:16:13] Script 'Mode:TimeAttack': [LOG]21604388> [Ladder] Ladder_CancelMatchRequest()
[LOG]21604388> [Ladder] Ladder_OpenMatch_Request()

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest