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

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

Moderators: kremsy, 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 » 18 Jul 2013, 08:51

Yes 0.75 :)
Thx for the test this evening ;)
Image

Kegulf
Posts: 122
Joined: 21 Nov 2010, 18:51

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

Post by Kegulf » 18 Jul 2013, 14:56

Yoyoyo Peops.

I haven't had our servers up for a couple of days now because fufi has been getting stuck. I have seen the same problem on other servers.

The problem:
Fufi Widgets won't reload after map change. This creates the problem that Franck70 is having, The Scoreboard panels do not disappear after map change, all of the statistics panels (Top 10, Top Dons, Locals, so on) and the name of the map that was playing when the system got stuck, will be there on aaaall the next maps. It doesn't reload for some reason.
WnL»Kegulf
TeamFounder of WnL


Anything code related? Be patient, I am a noob :p


My Nadeo games:
TrackMania Nations ESWC
TrackMania Nations + United Forever
TrackMania 2 Canyon
ShootMania Storm
Trackmania 2 Stadium

User avatar
steeffeen
Translator
Translator
Posts: 2471
Joined: 14 Oct 2012, 16:22
Location: Germany

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

Post by steeffeen » 18 Jul 2013, 19:03

i can't reproduce it so i've no idea sorry
but i'm not part of mpaseco anyways ^^
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

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

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

    Post by kremsy » 18 Jul 2013, 21:30

    Sorry, it's a bit my fault I was thinking everyone uses the ModeBaseScript.

    Short fix:
    open mpaseco.php
    change line 1055 - 1086
    from

    Code: Select all

              /*
              case 'ManiaPlanet.BeginRound':  // none     new
                $this->beginRound();
                break;
    
              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; */
    
    to

    Code: Select all

              
              case 'ManiaPlanet.BeginRound':  // none     new
                $this->beginRound();
                break;
    
              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;
    
    only the /* */ removed

    But don't use this fix in a script with the modebasescript, I will make a fix for the next MPAseco release.
    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: 1710
    Joined: 21 Jul 2011, 09:51

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

    Post by kremsy » 18 Jul 2013, 21:34

    Kegulf wrote:Yoyoyo Peops.

    I haven't had our servers up for a couple of days now because fufi has been getting stuck. I have seen the same problem on other servers.

    The problem:
    Fufi Widgets won't reload after map change. This creates the problem that Franck70 is having, The Scoreboard panels do not disappear after map change, all of the statistics panels (Top 10, Top Dons, Locals, so on) and the name of the map that was playing when the system got stuck, will be there on aaaall the next maps. It doesn't reload for some reason.
    Have you actived the Scriptcallbacks in the admin scriptsettings panel?
    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
    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 » 18 Jul 2013, 23:22

    Thx Kremsy , it's work fine now :thumbsup:
    Image

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

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

    Post by kremsy » 25 Jul 2013, 19:00

    In about one week comes a big update of MPAseco ;).

    We also have a new "Member" in the MPAseco developers Team, it's w1lla, he is helping us out with all that work a bit :thumbsup:
    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
    w1lla
    Posts: 2359
    Joined: 15 Jun 2010, 11:09
    Location: Netherlands
    Contact:

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

    Post by w1lla » 25 Jul 2013, 20:09

    Bug: when/list is used and admin does /admin next the juked map will be skipped. Please use /admin skip.
    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: 1710
    Joined: 21 Jul 2011, 09:51

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

    Post by kremsy » 26 Jul 2013, 13:56

    w1lla wrote:Bug: when/list is used and admin does /admin next the juked map will be skipped. Please use /admin skip.
    Are you sure about that, normally that should not be, or do you mean /admin next 04 for example?
    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
    w1lla
    Posts: 2359
    Joined: 15 Jun 2010, 11:09
    Location: Netherlands
    Contact:

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

    Post by w1lla » 26 Jul 2013, 14:04

    no just /admin next.

    Its also in the panel
    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

    Post Reply

    Return to “MPAseco”

    Who is online

    Users browsing this forum: No registered users and 1 guest