ManiaPlanet Server 2015-03-09

Moderator: NADEO

User avatar
xbx
Nadeo
Nadeo
Posts: 1104
Joined: 14 Jun 2010, 17:35

ManiaPlanet Server 2015-03-09

Post by xbx » 10 Mar 2015, 11:41

Hello!

New server update available!
http://files.maniaplanet.com/ManiaPlane ... -03-09.zip

(changes since previous version;
http://files.maniaplanet.com/ManiaPlane ... _delta.zip )


Main changes:
  • TM: added support for "commands'" in script modes, and updated Chase mode.
  • a few long standing bug fixes: SetScriptName(), "Onelap Bug", GetValidationReplay() .

User avatar
xbx
Nadeo
Nadeo
Posts: 1104
Joined: 14 Jun 2010, 17:35

Re: ManiaPlanet Server 2015-03-09

Post by xbx » 10 Mar 2015, 11:44

TheBigG. wrote:at least a statement if there is planned IPv6 support?
at this time, it's not high priority on the todo list, unfortunately...

Coshank90
Posts: 51
Joined: 10 Sep 2013, 15:03

Re: ManiaPlanet Server 2015-03-09

Post by Coshank90 » 10 Mar 2015, 12:10

Does this fix the cup mode + warmup = no ladder points bug?

User avatar
Xymph
Posts: 1293
Joined: 15 Jun 2010, 20:35
Contact:

Re: ManiaPlanet Server 2015-03-09

Post by Xymph » 10 Mar 2015, 13:18

xbx wrote:New server update available!
http://files.maniaplanet.com/ManiaPlane ... -03-09.zip
It includes a copy of ManiaPlanetBetaServer_2015-03-09_delta.zip but with a different filesize than the file below. That was probably not intended.
xbx wrote:(changes since previous version;
http://files.maniaplanet.com/ManiaPlane ... _delta.zip )
FYI, the actually changed files since 2015-02-18b are:

./ManiaPlanetServer
./ManiaPlanetServer.exe
./UserData/Scripts/Libs/Nadeo/MatchmakingLobby.Script.txt
./UserData/Scripts/Libs/Nadeo/MatchmakingMatch.Script.txt
./UserData/Scripts/Libs/Nadeo/ShootMania/XmlRpc.Script.txt
./UserData/Scripts/Libs/Nadeo/TrackMania/XmlRpc.Script.txt
./UserData/Scripts/Libs/Nadeo/XmlRpcCommon.Script.txt
./UserData/Scripts/Modes/ShootMania/ModeBase.Script.txt
./UserData/Scripts/Modes/TrackMania/Chase.Script.txt

and two new files:

./UserData/Scripts/Libs/Nadeo/TrackMania/WarmUp2.Script.txt
./UserData/Scripts/Libs/Nadeo/WarmUp2Common.Script.txt

The Svn glitch was also fixed. ;)
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
Eole
Nadeo
Nadeo
Posts: 1178
Joined: 26 Apr 2011, 21:08

Re: ManiaPlanet Server 2015-03-09

Post by Eole » 10 Mar 2015, 14:48

The changelog for the scripts.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!

User avatar
xbx
Nadeo
Nadeo
Posts: 1104
Joined: 14 Jun 2010, 17:35

Re: ManiaPlanet Server 2015-03-09

Post by xbx » 10 Mar 2015, 16:05

Coshank90 wrote:Does this fix the cup mode + warmup = no ladder points bug?
yep should be also fixed.

User avatar
Xymph
Posts: 1293
Joined: 15 Jun 2010, 20:35
Contact:

Re: ManiaPlanet Server 2015-03-09

Post by Xymph » 10 Mar 2015, 17:51

xbx wrote: [*] a few long standing bug fixes: [...] "Onelap Bug", GetValidationReplay() .
Thanks for fixing this one... at long last. :mrgreen:
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

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

Re: ManiaPlanet Server 2015-03-09

Post by undef.de » 10 Mar 2015, 21:26

Eole wrote:The changelog for the scripts.
Please do not forget to update the docs at http://doc.maniaplanet.com/dedicated-se ... html#Chase.
I know you would not forget it, only lack of time on release day. ;)

---------------------------------------------------------------------

EDIT: LibXmlRpc_LoadingMap does always return "False" on map restart, but LibXmlRpc_BeginMap knows the truth:

Code: Select all

string(20) "LibXmlRpc_LoadingMap"
array(3) {
  [0]=>
  string(1) "1"
  [1]=>
  string(27) "oN9v9zfH8Axtqj7Jbx4Fjdbro6e"
  [2]=>
  string(5) "False"
}

string(18) "LibXmlRpc_BeginMap"
array(3) {
  [0]=>
  string(1) "1"
  [1]=>
  string(27) "oN9v9zfH8Axtqj7Jbx4Fjdbro6e"
  [2]=>
  string(4) "True"
}
Because the Libs/Nadeo/TrackMania/XmlRpc.Script.txt v2015-02-23 contains LoadingMap() twice (how is that possible?... remove the last one):

Code: Select all

// ---------------------------------- //
/** Callback sent when starting to load the map
 *	Data:
 *	[Number of the map]
 */
Void LoadingMap(Integer _Number, Boolean _Restarted) {
	XmlRpc::LoadingMap(_Number, _Restarted);
}

// ---------------------------------- //
/** Callback sent when starting to load the map
 *	Data:
 *	[Number of the map]
 */
Void LoadingMap(Integer _Number) {
	XmlRpc::LoadingMap(_Number, False);
}
Modes/TrackMania/ModeBase.Script.txt and Modes/TrackMania/ModeMatchmaking.Script.txt needs a update too to work the right way (adding parameter "MB_MapRestarted"):

Code: Select all

			// Load map
			XmlRpc::LoadingMap(MB_SectionMapNb, MB_MapRestarted);
			MB_LoadMap();
---------------------------------------------------------------------

EDIT 2:
xbx wrote: [...]a few long standing bug fixes: SetScriptName(), "Onelap Bug", GetValidationReplay()
Confirmed all above mentioned are fixed: THANKS! :thx:
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
Eole
Nadeo
Nadeo
Posts: 1178
Joined: 26 Apr 2011, 21:08

Re: ManiaPlanet Server 2015-03-09

Post by Eole » 11 Mar 2015, 15:40

undef.de wrote:Please do not forget to update the docs at http://doc.maniaplanet.com/dedicated-se ... html#Chase.
I know you would not forget it, only lack of time on release day. ;)
Documentation updated, thanks for the reminder.
undef.de wrote:EDIT: LibXmlRpc_LoadingMap does always return "False" on map restart, but LibXmlRpc_BeginMap knows the truth. Modes/TrackMania/ModeBase.Script.txt and Modes/TrackMania/ModeMatchmaking.Script.txt needs a update too to work the right way (adding parameter "MB_MapRestarted").
Fixed in these commit and commit.
undef.de wrote:Because the Libs/Nadeo/TrackMania/XmlRpc.Script.txt v2015-02-23 contains LoadingMap() twice (how is that possible?... remove the last one):
The two functions have different signatures. The second one is there for compatibility. People would complain if their custom game modes stopped working after an update.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!

Coshank90
Posts: 51
Joined: 10 Sep 2013, 15:03

Re: ManiaPlanet Server 2015-03-09

Post by Coshank90 » 12 Mar 2015, 13:24

xbx wrote:
Coshank90 wrote:Does this fix the cup mode + warmup = no ladder points bug?
yep should be also fixed.
Weey finally! :)

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 4 guests