[TM] Team.Script.txt likely to be broken

Moderator: English Moderator

Post Reply
axelalex2
Posts: 13
Joined: 21 Feb 2018, 15:50

[TM] Team.Script.txt likely to be broken

Post by axelalex2 »

Hello there,

when testing a currently private project, i discovered a bug likely to be caused by ManiaPlanet.
- Lubuntu 18.10
- Server version "Date=2018-12-18_16_00 Svn=88076 GameVersion=3.3.0"
- Competition Titlepack
- ManiaControl v231

Order of calls (through ManiaControl, which forwards these calls nearly unedited to MP):
- reload script "Team.Script.txt"
- at callback "Maniaplanet.StartRound_End" set the scores of the teams through mode script event "Trackmania.SetTeamPoints" to 0

The red team receives the score of -1 for some reason now, but the scoreboard in-game continues to show a 0. If team red wins their first round, it looks like, it wouldn't gain points (although it does, from -1 to 0).
I never experienced this error in the version of ManiaControl and the project i use. Only the update of the server to its latest version seem to caused this weird error.

It would be great, if some others could try to reproduce and confirm my observations (with other setups even better).
axelalex2
Posts: 13
Joined: 21 Feb 2018, 15:50

Re: [TM] Team.Script.txt likely to be broken

Post by axelalex2 »

Actually, this error seems to be even bigger than only at the named scenario. In most cases i try to call

Code: Select all

$this->maniaControl->getModeScriptEventManager()->setTrackmaniaTeamPoints($teamId, $score, $score, $score);
with various data, the scores bug out; but not all cases, which is the weird thing.
User avatar
Florenzius
Translator
Translator
Posts: 2535
Joined: 27 Jul 2014, 20:31
Location: Germany
Contact:

Re: [TM] Team.Script.txt likely to be broken

Post by Florenzius »

I can confirm

(Using PyPla)
Creative Director at UNBITN - 3D Modeler for Pursuit - ManiaPlanet Translator and Beta tester - Freelancer for Ubisoft Nadeo
___
MB - B550 AORUS ELITE
RAM - 32GB
CPU - AMD Ryzen 5 3600XT
GPU - Nvidia GeForce RTX 3070Ti
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: [TM] Team.Script.txt likely to be broken

Post by Eole »

I was not able to reproduce the problem for now. Do you have an example of values you sent to the setTrackmaniaTeamPoints() function that caused the error ?

Which version of the server did you use before encountering this problem ? Did you try to update to the new version (2019-02-11) ?
Florenzius wrote: 08 Feb 2019, 07:14 I can confirm

(Using PyPla)
What steps did you use to reproduce the problem with PyPlanet ?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
erwinweber
Posts: 13
Joined: 21 Jun 2012, 19:53

Re: [TM] Team.Script.txt likely to be broken

Post by erwinweber »

I can also confirm this happened to me on esac, when in Team mode only. There were cases in which a match started at 1-0 or 0-1 and also cases when the first round was ignored. Besides that, there were also discrepancies between what the in-game scoreboard showed and what the scores callback sent. Same code didn't happen with Rounds or Cup mode.
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: [TM] Team.Script.txt likely to be broken

Post by Eole »

Which version of the server did you use ?
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
Post Reply

Return to “MP4.1 REPORTS / BUGS / INFORMATION”

Who is online

Users browsing this forum: No registered users and 1 guest