[MPAseco] [v0.75] Report bugs here!

MPAseco is a server controller for Shootmania, which provides you with a framework and some standard plugins.

Moderator: NADEO

User avatar
franck70
Posts: 228
Joined: 10 Jan 2011, 18:15
Location: France/Rhone-Alpes/Isère

Re: [MPAseco] [v0.75] Report bugs here!

Post by franck70 »

kremsy wrote:The problem is that your Script is not extending the ModeBaseScript, where nadeo put the Callbacks for the Server-controller in, there are some different ways now.

The easiest way is to add the callbacks yourself like this:
http://forum.maniaplanet.com/viewtopic. ... 97#p145143

Maybe steff has better ideas, he is the Script King ;).
I hope that Steff has a better idea, cause add callbacks in the script is like the martian language for me :D
Image
User avatar
franck70
Posts: 228
Joined: 10 Jan 2011, 18:15
Location: France/Rhone-Alpes/Isère

Re: [MPAseco] [v0.75] Report bugs here!

Post by franck70 »

I don't made this script ,just download Kremsy :)
Image
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: [MPAseco] [v0.75] Report bugs here!

Post by steeffeen »

i've posted the need of callbacks in the linked thread on maniapark and the author of the game mode said that he might fix it but probably not in the near future..
http://www.maniapark.com/forum/viewtopi ... 70#p190170

it wouldn't take long to insert them manually for now, but before i do that you could maybe message him too
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: [MPAseco] [v0.75] Report bugs here!

    Post by steeffeen »

    i've quickly made a version with the needed callbacks
    please use it for now: http://files.team-devota.com/CaptureTheFlag.Script.txt

    the actual script author (mewin) will update the official script as soon as he has time to do that so i would like to ask everyone to use his version as soon as it's available :thumbsup:
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      franck70
      Posts: 228
      Joined: 10 Jan 2011, 18:15
      Location: France/Rhone-Alpes/Isère

      Re: [MPAseco] [v0.75] Report bugs here!

      Post by franck70 »

      Big thanks Steeffen for this temporary solution until the official script. :pop:
      And thanks Kremsy for his help. :thx:

      PS: I send a message to Mewin ;)
      Image
      User avatar
      franck70
      Posts: 228
      Joined: 10 Jan 2011, 18:15
      Location: France/Rhone-Alpes/Isère

      Re: [MPAseco] [v0.75] Report bugs here!

      Post by franck70 »

      @Steeffen :
      the script still does not work, still the same problem :?

      @Kremsy

      I try to modify the file mpaseco.php it doesn't work too :cry:

      Code: Select all

        case 'ManiaPlanet.EndRound':  // none       new
                  $this->endRound();
                  break;       
      
                case 'ManiaPlanet.StatusChanged':  // [0]=StatusCode, [1]=StateName
                  // update status changes
                  $this->prevstatus = $this->currstatus;
                  $this->currstatus = $call[1][0];
                  // check WarmUp state
                  if ($this->currstatus == 3 || $this->currstatus == 5) {  */
                    $this->client->query('GetWarmUp');
                    $this->warmup_phase = $this->client->getResponse();
                  }
                  if ($this->currstatus == 4) {  // Running - Play
                    $this->runningPlay();
                  }
                  $this->releaseEvent('onStatusChangeTo' . $this->currstatus, $call[1]);
                  break;
      
               /* case 'ManiaPlanet.BeginMap':  // [0]=Challenge
                  $this->beginMap($call[1]);
                  break;
      
                case 'ManiaPlanet.EndMap':  // [0]=Challenge
                  if($this->endmapvar==0)
                    $this->endMap($call[1]);
                  break; 
      
                case 'ManiaPlanet.PlayerManialinkPageAnswer':  // [0]=PlayerUid, [1]=Login, [2]=Answer, [3]=Entries
                  $this->releaseEvent('onPlayerManialinkPageAnswer', $call[1]);
                  break;
      
                case 'ManiaPlanet.BillUpdated':  // [0]=BillId, [1]=State, [2]=StateName, [3]=TransactionId
                  $this->releaseEvent('onBillUpdated', $call[1]);  */
                  break;
      sorry for the inconvenience
      Image
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2472
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: [MPAseco] [v0.75] Report bugs here!

      Post by steeffeen »

      are you really running v0.75? ^.^
      i will try it myself this evening
      (sorry in case it doesn't work)
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        Post Reply

        Return to “MPAseco”

        Who is online

        Users browsing this forum: No registered users and 1 guest