ManiaPlanet 2 Beta Server 2013-04-26

Moderator: NADEO

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

ManiaPlanet 2 Beta Server 2013-04-26

Post by xbx » 24 Apr 2013, 14:15

hello all!

Here is today's update:
http://files.maniaplanet.com/ManiaPlane ... -04-26.zip

(if you already had the 2013-04-12 or more recent version, here is the difference:
http://files.maniaplanet.com/ManiaPlane ... _delta.zip )

It is compatible with the current version (and optional).

Main Changes:
  • updated scripts
  • crash when using stadium maps with objects on top of other objects
  • LoadMatchSettings() should now work for titles packs
  • raised the entry slots limit in the ManiaPlanet.PlayerManialinkPageAnswer() to 64.
  • set the correct ladder zone name for the player in the LadderRank struct (in GetDetailedPlayerInfo()" etc...)
  • fix running a script mode server in trackmania. (stunters ;) )
  • includes a work around to allow loading 'old' shootmania maps that used "checkpoints" for "goals" (obstacle ;) )
  • GetTeamInfo() : to get infos from the team links in use for the match in progress.
  • DisableServiceAnnounces() to disable 'player has joined / left the game' messages. [needs client update to actually work]
  • - SetModeScriptInfo() better error messages
    - GetModeScriptInfo() will now actually give the default values.
    - fix a bug when matchsettings contained wrongly typed settings.
  • callback PlayerDisconnect() now has a second parameter "string DisconnectionReason". It's usually empty, except when the player is sent to an other server. In that case, it's "join ServerLogin" . [needs SetApiVersion("2013-04-16")]
  • http requests user-agent fixed for linux (http get and post)
  • SetCallVoteRatiosEx() / GetCallVoteRatiosEx(), allows two things:
    - change only some of the ratios without overiding all.
    - allows to define ratios for specific parameters. For instance, you now can:
    SetCallVoteRatiosEx(False, [{'SetScriptSettings', 'S_AutoBalance', -1}]) to forbid votes for changing autobalance.
    empty string matches all parameters.
    (otherwise ratios are chosen using very simple substring matching..)
  • don't clear the settings descriptions from the script when loading a matchsettings.xml
  • little improvement of the memory growing over time problem
client update:
http://forum.maniaplanet.com/viewtopic. ... 01#p161801

edit: 2013-04-26 - uploaded a small update after some more testing of the 2013-04-24 version

(alas, no other changes in callbacks yet.)

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

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by xbx » 24 Apr 2013, 15:05

about this:
set the correct ladder zone name for the player in the LadderRank struct"
I misread the value and it actuallty says "|Zone|Europe" instead of "World|Europe" . I'll fix this in the next update.

kremsy
Posts: 1665
Joined: 21 Jul 2011, 09:51

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by kremsy » 24 Apr 2013, 15:19

Thanks very much for your work XBX!!

With the SetCallVoteRatiosEx() Method you also can change Ratios for Ban and Kick I guess?


And instead of
SetCallVoteRatiosEx() / GetCallVoteEx(), allows two things:
you mean
SetCallVoteRatiosEx() / GetCallVoteRatiosEx(), allows two things:
Tested LoadMatchsettings -> its working now and also the 64 Entities are working now, thank you very much!!!
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

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

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by xbx » 24 Apr 2013, 15:50

mmm apparently there's a few issues in this server. We're looking into it..
I wouldn't recommend updating for the time being...

edit:
Well I'm still looking into it but it's not that bad (I can't reproduce the problem easily):
I don't think I'll make a fix today.

hsz
Posts: 4
Joined: 13 Apr 2013, 01:15

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by hsz » 24 Apr 2013, 16:43

would or wouldn't?

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

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by xbx » 24 Apr 2013, 17:00

hsz wrote:would or wouldn't?
wouldn't..

(it works, though, but there a small script issue in the lobby and some memory problem)

kremsy
Posts: 1665
Joined: 21 Jul 2011, 09:51

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by kremsy » 24 Apr 2013, 17:15

I noticed also that our own disable / enable scoreboard (which only worked for the old ones) is not working anymore with that update:

Code: Select all

									declare Player = GetPlayer(Event.Param2);
									if (Player != Null) {
										// Player dependent events (login passed)
										switch (Event.Param1) {
											case "disableAltMenu": {
												declare UI <=> UIManager.GetUI(Player);
												if (UI != Null) {
													UI.AltMenuNoDefaultScores = True;
													UI.AltMenuNoCustomScores = True;
												}
											}
											case "enableAltMenu": {
												declare UI <=> UIManager.GetUI(Player);
												if (UI != Null) {
													UI.AltMenuNoDefaultScores = False;
													UI.AltMenuNoCustomScores = False;
												}
											}
										}
									}
								}
Tested it only in Elite and Heroes, before this update we could disable enable the scoreboard on alt with this self implemented code (from steeffeen). But anyway there should be a way soon to make it generally possible.

In the last version 19-04 it still worked, on the new version not.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

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

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by xbx » 24 Apr 2013, 18:14

kremsy wrote:I noticed also that our own disable / enable scoreboard (which only worked for the old ones) is not working anymore with that update:

Code: Select all

									declare Player = GetPlayer(Event.Param2);
									if (Player != Null) {
										// Player dependent events (login passed)
										switch (Event.Param1) {
											case "disableAltMenu": {
												declare UI <=> UIManager.GetUI(Player);
												if (UI != Null) {
													UI.AltMenuNoDefaultScores = True;
													UI.AltMenuNoCustomScores = True;
												}
											}
											case "enableAltMenu": {
												declare UI <=> UIManager.GetUI(Player);
												if (UI != Null) {
													UI.AltMenuNoDefaultScores = False;
													UI.AltMenuNoCustomScores = False;
												}
											}
										}
									}
								}
Tested it only in Elite and Heroes, before this update we could disable enable the scoreboard on alt with this self implemented code (from steeffeen). But anyway there should be a way soon to make it generally possible.

In the last version 19-04 it still worked, on the new version not.
mm I guess it's the script that have been updated.
(actually I have no precise idea of the changes, 'eole' knows...)

kremsy
Posts: 1665
Joined: 21 Jul 2011, 09:51

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by kremsy » 24 Apr 2013, 18:15

xbx wrote:
kremsy wrote:I noticed also that our own disable / enable scoreboard (which only worked for the old ones) is not working anymore with that update:

Code: Select all

									declare Player = GetPlayer(Event.Param2);
									if (Player != Null) {
										// Player dependent events (login passed)
										switch (Event.Param1) {
											case "disableAltMenu": {
												declare UI <=> UIManager.GetUI(Player);
												if (UI != Null) {
													UI.AltMenuNoDefaultScores = True;
													UI.AltMenuNoCustomScores = True;
												}
											}
											case "enableAltMenu": {
												declare UI <=> UIManager.GetUI(Player);
												if (UI != Null) {
													UI.AltMenuNoDefaultScores = False;
													UI.AltMenuNoCustomScores = False;
												}
											}
										}
									}
								}
Tested it only in Elite and Heroes, before this update we could disable enable the scoreboard on alt with this self implemented code (from steeffeen). But anyway there should be a way soon to make it generally possible.

In the last version 19-04 it still worked, on the new version not.
mm I guess it's the script that have been updated.
(actually I have no precise idea of the changes, 'eole' knows...)
This bit of code is not from your libs, its from ours, but it doesn't work anymore, anyway it would be nice if eole can make something with this disabling / enabling thing.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

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

Re: ManiaPlanet 2 Beta Server 2013-04-24

Post by xbx » 24 Apr 2013, 18:46

xbx wrote:mmm apparently there's a few issues in this server. We're looking into it..
I wouldn't recommend updating for the time being...
Well I'm still looking into it but it's not that bad (I can't reproduce the problem easily):
I don't think I'll make a fix today.

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest