ManiaPlanet 2 Beta Server 2013-04-12

Moderator: NADEO

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

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by kremsy » 19 Apr 2013, 20:15

xbx wrote:Hello all,

Here is quick test update:
http://files.maniaplanet.com/ManiaPlane ... 9_exes.zip

It only contains the new executable to replace the ones from 2013-04-12 zip.
changes:
  • 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. (the 'TeamLinkUrl' will not be filled-in until we update the scripts.)
  • DisableServiceAnnounces() to disable 'player has joined / left the game' messages. [needs unreleased 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
  • SetCallVoteRatiosEx() / GetCallVoteEx(), 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..)
Thank you, I will test it!
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

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

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by kremsy » 19 Apr 2013, 21:19

First bug I found, in heroes its still not possible to load the Matchsettings file.

You have a small mistake in your post where you have written 'GetCallVoteEx' instead of GetCallVoteRatiosEx

Another very bad thing with this version is, when I stay idle some time on the server, try to some manialinks widget from the Servercontroller (nothing works), than I pressed the ready thing which worked and than I got disconnected from the server.

When I try to rejoin I get a error UDP is'nt possible, fallback to TCP.
-> But when I restart maniaplanet, I can join like always.
Last edited by kremsy on 19 Apr 2013, 22:26, edited 2 times in total.
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
Xymph
Posts: 1402
Joined: 15 Jun 2010, 20:35
Contact:

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by Xymph » 19 Apr 2013, 21:41

xbx wrote:Here is quick test update:
Dynamic and static method lists updated.
xbx wrote:GetTeamInfo() : to get infos from the team links in use for the match in progress. (the 'TeamLinkUrl' will not be filled-in until we update the scripts.)
The method help lists param ClubLinkUrl as the last one, while it actually follows after EmblemUrl.
xbx wrote:DisableServiceAnnounces() to disable 'player has joined / left the game' messages.
Is accompanied by AreServiceAnnouncesDisabled, of course.

The method help for both has a typo: "the automatic mesages" should be "the automatic messages".

In API 2011-10-06 and later, GetServerOptions & SetServerOptions method help include new entries DisableHorns and DisableServiceAnnounces.
But in API 2011-08-01, GetServerOptions is missing the DisableHorns and DisableServiceAnnounces entries, only SetServerOptions lists them.
xbx wrote: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")]
I've created a preliminary Callbacks list for the new API version. Please let me know of other differences compared to 2012-06-19, or include it in the next full zip release.
xbx wrote:http requests user-agent fixed for linux
Nice: "ManiaPlanet/3.3.0 (Linux; rv: 2013-04-19-20_00; context: none; distro: )"

Edit: the RPC Utilities are now updated for the new API version.
Last edited by Xymph on 19 Apr 2013, 21:49, edited 1 time in total.
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

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

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by kremsy » 19 Apr 2013, 21:45

Thank you Xymph.

Do you know what ManiaPlanet.PlayerAlliesChanged(string Login); exactly makes?

Is it when a Player changes a team?
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
Xymph
Posts: 1402
Joined: 15 Jun 2010, 20:35
Contact:

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by Xymph » 19 Apr 2013, 21:49

kremsy wrote:Do you know what ManiaPlanet.PlayerAlliesChanged(string Login); exactly makes?
Is it when a Player changes a team?
Not sure, haven't tested for it, but that sounds plausible.
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
w1lla
Posts: 2379
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by w1lla » 19 Apr 2013, 21:52

kremsy wrote:Thank you Xymph.

Do you know what ManiaPlanet.PlayerAlliesChanged(string Login); exactly makes?

Is it when a Player changes a team?
Method called when the player in parameter has changed its allies.

https://code.google.com/p/manialive/sou ... er.php#182
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs

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

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by kremsy » 19 Apr 2013, 22:13

Thanks!

Please fix the Entries issue before releasing this software, there are still 10 Entries Maximum on the ManiaPlanet.PlayerManialinkPageAnswer. Set it to 100 would be great.

GetTeamInfo is not working correctly:

Code: Select all

array(8) {
  ["Name"]=>
  string(4) "Blue"
  ["ZonePath"]=>
  string(0) ""
  ["City"]=>
  string(0) ""
  ["EmblemUrl"]=>
  string(0) ""
  ["ClubLinkUrl"]=>
  string(0) ""
  ["HuePrimary"]=>
  float(0.666667)
  ["HueSecondary"]=>
  float(0.666667)
  ["RGB"]=>
  string(3) "00F"
}
array(8) {
  ["Name"]=>
  string(0) ""
  ["ZonePath"]=>
  string(5) "World"
  ["City"]=>
  string(0) ""
  ["EmblemUrl"]=>
  string(0) ""
  ["ClubLinkUrl"]=>
  string(0) ""
  ["HuePrimary"]=>
  float(0.333333)
  ["HueSecondary"]=>
  float(0.333333)
  ["RGB"]=>
  string(3) "0F0"
}
It's tested on a Elite Server.
There were one player per Team.
So why no Teamname on Team2? No Zone Path on Team A.
And RGB code 0F0 instead of F00.

And whats the Hue thing?

It also would be nice if we can know what are the Possible values for SetCallVoteRatiosEx
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
spaii
Posts: 1100
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by spaii » 20 Apr 2013, 00:53

xbx wrote: fix running a script mode server in trackmania. (stunters ;) )
Thx a lot xbx, all works nice :thx:
xbx wrote:http requests user-agent fixed for linux
That is nice too, perhaps this will correct my truncated url problem in http requests.

User avatar
OTMB-HGL
Posts: 6
Joined: 20 Apr 2013, 02:15
Location: Vienna
Contact:

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by OTMB-HGL » 20 Apr 2013, 02:28

:thumbsup:
I know nothing about scripts and objects and limiters and all that - I just love to stunt in Canyon-environment!
So I need 2 say big thanks to xbx for his help - 2 weeks without TM²-Beta-Stunts were hell! :D

The TM²-Beta-Stunters will honour xbx on our facebook-site:
https://www.facebook.com/groups/409414552483703/

Thanks Spai and XBX for their job

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

Re: ManiaPlanet 2 Beta Server 2013-04-12

Post by kremsy » 20 Apr 2013, 13:47

I don't like the new DisableServiceAnnounces() especially in Elite, because now it's possible for a Team to disable these Messages, and let someone join as Spectator who gives the others Infos, and nobody knows that he is on the server as spectator.
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

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest