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).
[TM] Team.Script.txt likely to be broken
Moderator: English Moderator
Re: [TM] Team.Script.txt likely to be broken
Actually, this error seems to be even bigger than only at the named scenario. In most cases i try to call with various data, the scores bug out; but not all cases, which is the weird thing.
Code: Select all
$this->maniaControl->getModeScriptEventManager()->setTrackmaniaTeamPoints($teamId, $score, $score, $score);
- Florenzius
- Translator
- Posts: 2535
- Joined: 27 Jul 2014, 20:31
- Manialink: nickedit
- Location: Germany
- Contact:
Re: [TM] Team.Script.txt likely to be broken
I can confirm
(Using PyPla)
(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
___
MB - B550 AORUS ELITE
RAM - 32GB
CPU - AMD Ryzen 5 3600XT
GPU - Nvidia GeForce RTX 3070Ti
Re: [TM] Team.Script.txt likely to be broken
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) ?
Which version of the server did you use before encountering this problem ? Did you try to update to the new version (2019-02-11) ?
What steps did you use to reproduce the problem with PyPlanet ?
-
- Posts: 13
- Joined: 21 Jun 2012, 19:53
Re: [TM] Team.Script.txt likely to be broken
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.
Re: [TM] Team.Script.txt likely to be broken
Which version of the server did you use ?
Who is online
Users browsing this forum: No registered users and 1 guest