#The Challenge work only on the.... Challenge page !!! WHY ???

12 messages · Page 1 of 1 (latest)

fiery dawn
#

My scoring system is working ONLY on the dedicated Challenge page, but... I have multiple challenges !!!

Plus, now, the main page doesnt work anymore, since the challenge are a main feature of my game...

fiery dawn
#

The Challenge work only on the.... Challenge page !!! WHY ???

worldly socket
#

What...?

fiery dawn
#

The scoring system... is working... ONLY... on the dedicated page of the Challenge !!!

#

The main page of the games doesnt work anymore (Because of it), if we are on an other challenge page, the other challenges are not working, etc...

I dont understand this behavior

#

And, obviously, when I say "it doesnt work anymore", I want to say "it crashes".

worldly socket
#

... What?

#

Is this on opera gx?

fiery dawn
#

Yes, the Challenge system is related to GX

fiery dawn
#

Good year 😁.

Any idea why GX has think kind of weird limitation about challengeS?

fiery dawn
#

Some weeks after, still the same issue.
I met someone online saying it was possible :

https://forum.gamemaker.io/index.php?threads/when-i-test-a-gxc-challenge-offline-the-game-crash.97288/post-720571

But they disapeared withount any answer 😢

fiery dawn
#

This code is able to allow multiple challenges at the same time, and make a distinction between the Windows version & the GX version of the game :


if (os_browser == !browser_not_a_browser)
{
    if global.gamemode == 1
    {
        // Challenge Mission 01
        challenge_id = "edf6b0b3-099e-4e74-a7d1-4cb4899d2f85";
        show_debug_message("Challenge Campaign selected");
        gxc_challenge_submit_score(global.team_score_general,undefined, {challengeId:  "edf6b0b3-099e-4e74-a7d1-4cb4899d2f85"});
    }
    else if global.gamemode == 2
    {
        challenge_id = "a6dd5130-a1e2-4e16-9c4a-2d5031d4388f";
        show_debug_message("Challenge Infinite selected");
        gxc_challenge_submit_score(global.team_score_general,undefined, {challengeId: "a6dd5130-a1e2-4e16-9c4a-2d5031d4388f"});
    }
}