[Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

Moderator: NADEO

User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

Post by w1lla »

When using With APIVersion: 2012-06-19 i cant properly use OnEndMap with the following things:

Code: Select all

function onEndMap($rankings, $map, $wasWarmUp, $matchContinuesOnNextMap, $restartMap) {
Rankings give me a null.

If i alter the Api Version to 2011-10-06 it does seem to work.

This only seems to be a bug in TM2Canyon and not in Shootmania.

Or am i working on something bad it seems.
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
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: [Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

Post by steeffeen »

kremsy wrote:TriggerModeScriptEventArray does not work, a callback comes from EType::Unknown, and i found no way to send array data with it.
well the callback is listed in pending events but we have no idea how to access the elements of the array
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    reaby
    Posts: 956
    Joined: 29 Dec 2010, 23:26
    Location: Eastern Finland
    Contact:

    Re: onEndRound doesn't trigger :(

    Post by reaby »

    w1lla wrote:When using With APIVersion: 2012-06-19 i cant properly use OnEndMap with the following things:

    Code: Select all

    function onEndMap($rankings, $map, $wasWarmUp, $matchContinuesOnNextMap, $restartMap) {
    
    Rankings give me a null.
    If i alter the Api Version to 2011-10-06 it does seem to work.
    I can confirm this bug

    also
    when using With APIVersion: 2012-06-19 with canyon

    Code: Select all

    function onEndRound() { }

    doesn't trigger.
    reaby
    Posts: 956
    Joined: 29 Dec 2010, 23:26
    Location: Eastern Finland
    Contact:

    Re: [Beta2.1] ManiaPlanet 2 Beta Server 2013-01-23c

    Post by reaby »

    Looks like the whole callback is removed from the newest api... this is bad. thiiiis is baaaaaad :evil:
    Post Reply

    Return to “Dedicated Server”

    Who is online

    Users browsing this forum: No registered users and 1 guest