1. Announcing Mekorama on the Web!

    Now anyone can play levels from the forum online, with one click!

    Dismiss Notice
  2. Psst! If you're new here, welcome! Please visit these pages first for information about the forum and Mekorama:

    Welcome! ¡Bienvenido! Selamat datang! Добро пожаловать! Willkommen!
    and
    Everything you want to know about Mekorama

    Dismiss Notice

Help - App Card duplication / overwriting

Discussion in 'General (Issues, Help, Discussions)' started by Stablet27, Jun 6, 2016.

  1. sawdust

    sawdust Retired Moderator

    Messages:
    149
    Levels:
    83
    Albums:
    4
    Likes Received:
    771
    Joined:
    Jun 8, 2016
    Exactly the same thing has happened to me no less than a dozen times. One time, one of my cards was replaced with an editable version of @richardfu 's "Hellhound" level. This has happened to me on 2 separate devices and after 3 reinstalls total.
     
  2. nGord

    nGord Standby Administrator, Retired Moderator Staff Member

    Messages:
    608
    Levels:
    7
    Albums:
    4
    Likes Received:
    2,827
    Joined:
    Jul 21, 2016
    Yes, I think you should try powering down your device and re-starting. Judging by the new card behaviour (i.e. no trash, play, close, or share button), your app may have corrupted something in memory. Hopefully it has not corrupted something in the app files.

    @D.S.Masters, @LarsH, @QuantumForce - do you guys have any debugging experience that could lend a hand as to what should be asked/tried?
     
    Last edited: Nov 10, 2016
    lichtfuerlau likes this.
  3. Gepeto

    Gepeto MekoStudio Architect Staff Member

    Messages:
    453
    Levels:
    48
    Albums:
    1
    Likes Received:
    2,504
    Joined:
    Jul 7, 2016
    @sawdust - Wow... That's weird. I've never seen such a thing on my device. As all the QR codes are stored in a database on the device (I suppose as the card are not stored in image) it make me thing about bad/glitch thing that happened in the request. But it shouldn't happen too often...

    I've seen sometimes bad card to be selected (I tap on one and another one shows up) on the download panel but never on the editor one (never say never...).
     
  4. D.S.Masters

    D.S.Masters Sir Not-Appearing-In-This-Film

    Messages:
    162
    Levels:
    223
    Albums:
    2
    Likes Received:
    2,929
    Joined:
    Jul 17, 2016
    My debugging experience extended to BASIC, C++ and assembly language... and that was 35 years ago, so no.
     
    nGord likes this.
  5. Martin Magni

    Martin Magni Creator of Mekorama

    Messages:
    9
    Levels:
    12
    Albums:
    1
    Likes Received:
    259
    Joined:
    May 23, 2016
    Thanks for reporting! I've added this to my list of bugs I currently don't know how to reproduce.

    Yes, levels are stored as binary files that are typically a few hundred bytes. (In comparison, a card image is typically hundreds of thousands of bytes). Each file is named using a UNIX time stamp, with millisecond resolution, and a prefix that determines which menu page spread the level belongs to. These file names are cached into memory, sorted, and used to generate cards on-the-fly.

    Evidently there's a (hopefully rare) bug somewhere.
     
    LarsH, sawdust, lichtfuerlau and 4 others like this.
  6. lichtfuerlau

    lichtfuerlau Active Member

    Messages:
    24
    Levels:
    110
    Albums:
    2
    Likes Received:
    188
    Joined:
    Oct 26, 2016
    @Martin Magni
    Hi Martin, Thank you soooo much for your fantastic work. Your app is actually my favorite.:)

    May be it has something to do with... (really, I've got no idea about that)
    ... using apps which kill active programs or clean cache? Sometimes l use Avast Cleanup and Taskmanager together during work in mekorama.
     
    Last edited: Nov 11, 2016
  7. sawdust

    sawdust Retired Moderator

    Messages:
    149
    Levels:
    83
    Albums:
    4
    Likes Received:
    771
    Joined:
    Jun 8, 2016
    Screenshot_2016-11-11-07-16-35.png

    @Martin Magni
    Thanks for your reply! This is everything I know about the bug.

    It always is the last card on the "Make Level" screen. I don't think it has ever happened on the left side, always the right side. Not 100% on that though.

    It seems to prefer to replace it with the level up 3 rows and over 1 column. (See screenshot) I know the green ones don't match currently, but "Elevate" (Bottom one) was replaced with "5x5x16" (Top one) at one point. I just rebuilt it. However, it doesn't always happen this way. Like I said earlier, one of my levels was replaced by a level from a different screen once.

    It has happened to me on two separate devices, both LG, but @chuckthulu had it happen on a Samsung. Has anyone had it happen on iOS?
     
    lichtfuerlau and Chuckthulhu like this.
  8. Chuckthulhu

    Chuckthulhu Spanish Moderator

    Messages:
    76
    Levels:
    158
    Albums:
    10
    Likes Received:
    2,304
    Joined:
    Sep 5, 2016
    Yes, I think the pattern is right. It has happened only once to me so I haven't noticed anything else about the bug but the position of the cards seems right like when it replaced mine.
     
  9. lichtfuerlau

    lichtfuerlau Active Member

    Messages:
    24
    Levels:
    110
    Albums:
    2
    Likes Received:
    188
    Joined:
    Oct 26, 2016
    If this is true we should always have an unimportant or empty levelcard at last place.
     
    Chuckthulhu likes this.
  10. Chuckthulhu

    Chuckthulhu Spanish Moderator

    Messages:
    76
    Levels:
    158
    Albums:
    10
    Likes Received:
    2,304
    Joined:
    Sep 5, 2016
    I'd say that if it's happening often and it follows this pattern then you may want to have a placeholder card in that spot and continue working on the next card of the left column, I also think that if you had 2 or 3 more blank cards after the one you're working on it may prevent the bug, but since this is all speculation I guess it will all be trial and error...
     
    Last edited: Nov 11, 2016
    lichtfuerlau likes this.
  11. Martin Magni

    Martin Magni Creator of Mekorama

    Messages:
    9
    Levels:
    12
    Albums:
    1
    Likes Received:
    259
    Joined:
    May 23, 2016
    That's not a bad guess. Even if you don't use some cleanup service, Android will kill and restart apps by itself. Correctly recovering from this can be... challenging.
     
  12. sawdust

    sawdust Retired Moderator

    Messages:
    149
    Levels:
    83
    Albums:
    4
    Likes Received:
    771
    Joined:
    Jun 8, 2016
    I've been trying to recreate the bug all day and got it to happen only once. I was just punching random buttons when it happened so I'm not sure of the exact sequence of events, but i know i was in the level card (not sure if i was in edit or play mode) and locked my phone. I unlocked it, then returned to the "make level" page. Then i "minimized" the level to show the entire "make level" page. As the card was shrinking into its slot, it "refreshed" just like it always does, but that is when the switch happened. It replaced the card with the one 4 rows up (not 3 this time) and 1 column over.

    I know there are lots of variables in there, but thats as specific as i cam get it right now. Thanks!
     
  13. D.S.Masters

    D.S.Masters Sir Not-Appearing-In-This-Film

    Messages:
    162
    Levels:
    223
    Albums:
    2
    Likes Received:
    2,929
    Joined:
    Jul 17, 2016
    Speaking of which, and maybe this is a question for a new thread, but is there any way of backing up the levels you've made or downloaded?
     
  14. nGord

    nGord Standby Administrator, Retired Moderator Staff Member

    Messages:
    608
    Levels:
    7
    Albums:
    4
    Likes Received:
    2,827
    Joined:
    Jul 21, 2016
    Almost correct. This is a question for an old thread: this one or this one or maybe even this one. You could also read the answer discussion about it in the Welcome to MekoramaForum document on page 12 here under the section: "Q. I lost my device / I accidentally deleted a level..."

    Short answer: the QR code is your backup, simply save the card image to another repository.

    Longer answer: no, not as a cloud storage feature as you're probably thinking. That could easily become expensive, but as a premium option to the app, that could be a good idea that many have asked for.

    Long answer: it's complicated as what you're really asking for is whether the option to upload QR codes back into the Make Levels page will become an option. Unlikely since this could really jeopardize version control and authorship. But feel free to take up the discussion in the appropriate existing thread.
     
    Last edited: Nov 12, 2016
  15. DEVIL

    DEVIL Well-Known Member

    Messages:
    42
    Levels:
    48
    Albums:
    4
    Likes Received:
    204
    Joined:
    Nov 19, 2016
    Hi, today I encountered a unique bug in the Level Creation Section (but "Disappointing":(). I had nearly completed making a new level :Dwhen I had to go out, so I paused and locked the screen as it is. And when I returned the level was nowhere to be found in my level creation section :eek:. After scrolling up and down the section (Though I was sure it was the last card, as it was a newly created o_O) I still couldn't find the level :confused:. I thought maybe in a hurry I had deleted the level :mad: (which is Highly Improbable), than I noticed something different at my last card. The last card was the same as the card that I had created few days earlier :rolleyes:. It even replicated the name of the level o_O. And I am very sure that I would not have created the same level in two different cards as there is no purpose to do so :confused:. So now I am left with a duplicate card (which has no purpose) :mad: and the level that I nearly completed, just vanish in thin air :(. The most saddest part of it all is that my "College Project" is gonna start and due to that I won't be able to spend any time in this :(, so I wanted that level to be a sort of last level before I take a break of 3 to 4 months :oops:. But even that had to be taken away. Oh well lets just take it as a story of "The Fox & the Grapes" and move on I guess. :cool:

    I however would like to know if anyone has ever faced similar bug. If so have you found any solution for the same.

    Following is the image of the duplicated card:
    [​IMG]
     
    Last edited: Jan 10, 2017
    Logo and sawdust like this.
  16. Jorbaa

    Jorbaa Active Member

    Messages:
    4
    Levels:
    36
    Albums:
    1
    Likes Received:
    125
    Joined:
    Nov 24, 2016
    My mekorama experience became sour.

    This happened twice now:

    When I am creating a level and go back to the menu page of the own creations, my level card suddenly becomes a copy of another own created level. This is permanent and has suddenly deleted lots of work in progress.

    Someone who also has this error sometimes?
     
    Last edited: Jan 25, 2017
  17. vince

    vince Famous Member

    Messages:
    67
    Levels:
    44
    Albums:
    1
    Likes Received:
    957
    Joined:
    Jun 27, 2016
    This happened to me twice. I am always afraid of it when I am about to finish a large level... I guess that's what happens when you answer "no" too many times when asked to support the developper :D
     
    cpw likes this.
  18. Gepeto

    Gepeto MekoStudio Architect Staff Member

    Messages:
    453
    Levels:
    48
    Albums:
    1
    Likes Received:
    2,504
    Joined:
    Jul 7, 2016
    Noooooo... :eek: @Martin Magni would never have done that in such a way. But I know, that was a joke. :D

    As Martin said here, that's on his list of bugs but could be very difficult to reproduce if a common pattern in the crash behavior is not found. Then, it seems to happen on iOS devices but not on Android (or I have missed something...).

    What could help is to specify the device and the system type. That could lead to some patterns (ex: Android 6.0.1 with Galaxy Note 7 :p). At least a poll about the OS concerned could be added to this thread?

    If the bug pattern is found we could be sure that an update could be made (with some other fixes maybe?... But I don't have a list ;))
     
    vince likes this.
  19. tebkanlo

    tebkanlo New Member

    Messages:
    4
    Levels:
    23
    Albums:
    1
    Likes Received:
    21
    Joined:
    Feb 27, 2017
    This bug happened to me too with version 1.1 on android 5.0.
    I accidentally got out of a level I was creating, after the level solved itself in a way I wasn't expecting (at the moment of being stamped with the check mark the level card was even black)
    I think at that point I touched another card, in the top left corner, with a similarl results as the screenshot above.

    EDIT:Forgot to say this bug cloned the card overwriting on the level I was creating!!
     
    Last edited: Feb 27, 2017
    Astral_Mage, nGord and Chuckthulhu like this.
  20. tomatoKetchup

    tomatoKetchup Member

    Messages:
    8
    Levels:
    4
    Albums:
    1
    Likes Received:
    37
    Joined:
    Feb 17, 2017
    Some update on this bug.

    It happened accidentally to me today and I was since able to reproduce it 3 times. From reading the whole thread there seems to be several ways to generate the glitch but I may have found one relatively easily reproductible one. I use a Sony Xperia M2 on Android 5.1.1.

    [​IMG]

    In this technique, you need to select a card, and somehow manage to start the level AND minimize the app at the same time. To do so, the handiest way (on my phone anyway) is to press and hold the "Play" button until it's highlighted, and without raising the finger, swipe the top or bottom of the screen with another finger to display the "minimize" icon, then release the "Play" button and immediately press the "minimize" icon. Once you go back to the app, a level had been duplicated.

    After several successful attempts, I can say that it can happen on any card from either the left or right row, and that the duplicated level seems to be chosen completely randomly (you can see there is no pattern on the picture above).

    I hope that works on other devices/OSes as well. ;)
     
    Last edited: Mar 5, 2017

Share This Page