Highscore not saving when ad hoc testing

So I have a highscore system set up as follows:

It works perfectly when testing in creator however as soon as I do ad hoc testing everything goes crazy and the highscore will keep saving as random numbers. Any idea as to what is causing this? Ive triple checked all of my behaviors and there is nothing that is interfering with the highscore system.

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Get rid if the () in that table name. It's going to screw up things in the expression editor. Don't use special characters in attribute names, table names et.. Keep things simple because those special characters mean things in an expression.

  • learnwebdevlearnwebdev Member Posts: 2

    @Lost_Oasis_Games Ok so I changed the name and still having issues. It seems like the issue only happens after publishing it and doing an ad hoc test. Works fine in viewer and creator. Could it be a bug with the new creator 1.0 update?

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Hmmm would have to test it.

  • ArmellineArmelline Member, PRO Posts: 5,415

    Put the save in an After 0.05s timer with run to completion checked. It might be that the save isn't getting a chance to run.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @Armelline said:
    Put the save in an After 0.05s timer with run to completion checked. It might be that the save isn't getting a chance to run.

    I agree. Your rule (I'm assuming since I can't see it all) is changing row 1 col 1 of the table to game.Scorecount but since the condition for the rule is that game.Scorecount is greater than the value of row 1 col 1, that rule stops running as soon as you change the cell value.

Sign In or Register to comment.