Picture issues?

Seems I have another bug.

I made a display clock to appear top right throughout the game.

Where you save and exit to title to reload all is well.

If you save and exit the game completely then try to load ANY save i get cant find random picture from my clock

I haven't moved any files I haven't changed any of the common event I put a display clock event on every map instead of just intro map to be sure STILL cant load game after game closes.


Help 2.png





Im not sure how post code
Code:
◆Control Variables:#0006 Seconds Oneplace = Seconds
◆Control Variables:#0006 Seconds Oneplace %= 10
◆Control Variables:#0007 Seconds Tenthplace = Seconds
◆Control Variables:#0007 Seconds Tenthplace /= 10
◆Control Variables:#0007 Seconds Tenthplace %= 10
◆If:PM is ON
  ◆Show Picture:#9, PM, Upper Left (730,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆
:End
◆If:Hours ≤ 12
  ◆Show Picture:#9, AM, Upper Left (730,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆Show Picture:#9, PM, Upper Left (730,12), (100%,100%), 255, Normal
  ◆
:End
◆If:Seconds Oneplace = 0
  ◆Show Picture:#1, #0, Upper Left (700,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Seconds Oneplace = 1
    ◆Show Picture:#1, #1, Upper Left (700,12), (100%,100%), 255, Normal
    ◆
  :Else
    ◆If:Seconds Oneplace = 2
      ◆Show Picture:#1, #2, Upper Left (700,12), (100%,100%), 255, Normal
      ◆
    :Else
      ◆If:Seconds Oneplace = 3
        ◆Show Picture:#1, #3, Upper Left (700,12), (100%,100%), 255, Normal
        ◆
      :Else
        ◆If:Seconds Oneplace = 4
          ◆Show Picture:#1, #4, Upper Left (700,12), (100%,100%), 255, Normal
          ◆
        :Else
          ◆If:Seconds Oneplace = 5
            ◆Show Picture:#1, #5, Upper Left (700,12), (100%,100%), 255, Normal
            ◆
          :Else
            ◆If:Seconds Oneplace = 6
              ◆Show Picture:#1, #6, Upper Left (700,12), (100%,100%), 255, Normal
              ◆
            :Else
              ◆If:Seconds Oneplace = 7
                ◆Show Picture:#1, #7, Upper Left (700,12), (100%,100%), 255, Normal
                ◆
              :Else
                ◆If:Seconds Oneplace = 8
                  ◆Show Picture:#1, #8, Upper Left (700,12), (100%,100%), 255, Normal
                  ◆
                :Else
                  ◆If:Seconds Oneplace = 9
                    ◆Show Picture:#1, #9, Upper Left (700,12), (100%,100%), 255, Normal
                    ◆
                  :Else
                    ◆
                  :End
                  ◆
                :End
                ◆
              :End
              ◆
            :End
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆If:Seconds Tenthplace = 0
  ◆Show Picture:#2, #0, Upper Left (670,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Seconds Tenthplace = 1
    ◆Show Picture:#2, #1, Upper Left (670,12), (100%,100%), 255, Normal
    ◆
  :Else
    ◆If:Seconds Tenthplace = 2
      ◆Show Picture:#2, #2, Upper Left (670,12), (100%,100%), 255, Normal
      ◆
    :Else
      ◆If:Seconds Tenthplace = 3
        ◆Show Picture:#2, #3, Upper Left (670,12), (100%,100%), 255, Normal
        ◆
      :Else
        ◆If:Seconds Tenthplace = 4
          ◆Show Picture:#2, #4, Upper Left (670,12), (100%,100%), 255, Normal
          ◆
        :Else
          ◆If:Seconds Tenthplace = 5
            ◆Show Picture:#2, #5, Upper Left (670,12), (100%,100%), 255, Normal
            ◆
          :Else
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆Comment:THIS STARTS THE MINUTE TIME ##########################################
◆Show Picture:#3, Semi Colon, Upper Left (655,12), (100%,100%), 255, Normal
◆Control Variables:#0008 Minutes Oneplace = Minutes
◆Control Variables:#0008 Minutes Oneplace %= 10
◆Control Variables:#0009 Minutes Tenthplace = Minutes
◆Control Variables:#0009 Minutes Tenthplace /= 10
◆Control Variables:#0009 Minutes Tenthplace %= 10
◆If:Minutes Oneplace = 0
  ◆Show Picture:#4, #0, Upper Left (620,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Minutes Oneplace = 1
    ◆Show Picture:#4, #1, Upper Left (620,12), (100%,100%), 255, Normal
    ◆
  :Else
    ◆If:Minutes Oneplace = 2
      ◆Show Picture:#4, #2, Upper Left (620,12), (100%,100%), 255, Normal
      ◆
    :Else
      ◆If:Minutes Oneplace = 3
        ◆Show Picture:#4, #3, Upper Left (620,12), (100%,100%), 255, Normal
        ◆
      :Else
        ◆If:Minutes Oneplace = 4
          ◆Show Picture:#4, #4, Upper Left (620,12), (100%,100%), 255, Normal
          ◆
        :Else
          ◆If:Minutes Oneplace = 5
            ◆Show Picture:#4, #5, Upper Left (620,12), (100%,100%), 255, Normal
            ◆
          :Else
            ◆If:Minutes Oneplace = 6
              ◆Show Picture:#4, #6, Upper Left (620,12), (100%,100%), 255, Normal
              ◆
            :Else
              ◆If:Minutes Oneplace = 7
                ◆Show Picture:#4, #7, Upper Left (620,12), (100%,100%), 255, Normal
                ◆
              :Else
                ◆If:Minutes Oneplace = 8
                  ◆Show Picture:#4, #8, Upper Left (620,12), (100%,100%), 255, Normal
                  ◆
                :Else
                  ◆If:Minutes Oneplace = 9
                    ◆Show Picture:#4, #9, Upper Left (620,12), (100%,100%), 255, Normal
                    ◆
                  :Else
                    ◆
                  :End
                  ◆
                :End
                ◆
              :End
              ◆
            :End
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆If:Minutes Tenthplace = 0
  ◆Show Picture:#5, #0, Upper Left (590,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Minutes Tenthplace = 1
    ◆Show Picture:#5, #1, Upper Left (590,12), (100%,100%), 255, Normal
    ◆
  :Else
    ◆If:Minutes Tenthplace = 2
      ◆Show Picture:#5, #2, Upper Left (590,12), (100%,100%), 255, Normal
      ◆
    :Else
      ◆If:Minutes Tenthplace = 3
        ◆Show Picture:#5, #3, Upper Left (590,12), (100%,100%), 255, Normal
        ◆
      :Else
        ◆If:Minutes Tenthplace = 4
          ◆Show Picture:#5, #4, Upper Left (590,12), (100%,100%), 255, Normal
          ◆
        :Else
          ◆If:Minutes Tenthplace = 5
            ◆Show Picture:#5, #5, Upper Left (590,12), (100%,100%), 255, Normal
            ◆
          :Else
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆Comment:THIS IS THE HOUR TIME######################################################
◆Show Picture:#6, Semi Colon, Upper Left (575,12), (100%,100%), 255, Normal
◆Control Variables:#0010 Hours Oneplace = Hours
◆Control Variables:#0010 Hours Oneplace %= 10
◆Control Variables:#0011 Hours Tenthplace = Hours
◆Control Variables:#0011 Hours Tenthplace /= 10
◆Control Variables:#0011 Hours Tenthplace %= 10
◆If:Hours Oneplace = 0
  ◆Show Picture:#7, #0, Upper Left (540,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Hours Oneplace = 1
    ◆Show Picture:#7, #1, Upper Left (540,12), (100%,100%), 255, Normal
    ◆
  :Else
    ◆If:Hours Oneplace = 2
      ◆Show Picture:#7, #2, Upper Left (540,12), (100%,100%), 255, Normal
      ◆
    :Else
      ◆If:Hours Oneplace = 3
        ◆Show Picture:#7, #3, Upper Left (540,12), (100%,100%), 255, Normal
        ◆
      :Else
        ◆If:Hours Oneplace = 4
          ◆Show Picture:#7, #4, Upper Left (540,12), (100%,100%), 255, Normal
          ◆
        :Else
          ◆If:Hours Oneplace = 5
            ◆Show Picture:#7, #5, Upper Left (540,12), (100%,100%), 255, Normal
            ◆
          :Else
            ◆If:Hours Oneplace = 6
              ◆Show Picture:#7, #6, Upper Left (540,12), (100%,100%), 255, Normal
              ◆
            :Else
              ◆If:Hours Oneplace = 7
                ◆Show Picture:#7, #7, Upper Left (540,12), (100%,100%), 255, Normal
                ◆
              :Else
                ◆If:Hours Oneplace = 8
                  ◆Show Picture:#7, #8, Upper Left (540,12), (100%,100%), 255, Normal
                  ◆
                :Else
                  ◆If:Hours Oneplace = 9
                    ◆Show Picture:#7, #9, Upper Left (540,12), (100%,100%), 255, Normal
                    ◆
                  :Else
                    ◆
                  :End
                  ◆
                :End
                ◆
              :End
              ◆
            :End
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆If:Hours Tenthplace = 0
  ◆Show Picture:#8, #0, Upper Left (510,12), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Hours Tenthplace = 1
    ◆Show Picture:#8, #1, Upper Left (510,12), (100%,100%), 255, Normal
    ◆
  :Else
    ◆If:Hours Tenthplace = 2
      ◆Show Picture:#8, #2, Upper Left (510,12), (100%,100%), 255, Normal
      ◆
    :Else
      ◆
    :End
    ◆
  :End
  ◆
:End
So you're saying they do load normally in-game. However, when you save and exit the game, then load that save file again, you get that error?

You're not loading an old save file right? Start a new game, save it, exit out the game, then load that save file - do you still get the error?
So you're saying they do load normally in-game. However, when you save and exit the game, then load that save file again, you get that error?

You're not loading an old save file right? Start a new game, save it, exit out the game, then load that save file - do you still get the error?


yes Old or New is the error The display clock DOES load normally even if save and reload BUT if save then Close client and reopen and try to reload same save file or new i get the error
Is # an allowable character in file names? Do you have a #0.png file?
Is # an allowable character in file names? Do you have a #0.png file?

Yes? and Yes I assume if # wasnt allowed wouldnt even work at all in game I followed a Youtube vid and his worked
Could you show a screenshot of your pictures folder, with extensions visible?

Why are you doing it with pictures instead of a plugin to just show the time?
Could you show a screenshot of your pictures folder, with extensions visible?

Why are you doing it with pictures instead of a plugin to just show the time?


Help 3.png
Could you show a screenshot of your pictures folder, with extensions visible?

Why are you doing it with pictures instead of a plugin to just show the time?


If i had a exact dl link then i could try using a plug in most i find are in Spanish or a foreign language i dont even recognize
Please don't double post (underneath yourself), just edit your previous post if you've got more to add.

Have you tried it with a brand new project as well? Basically, show picture #0, save, exit the game and re-open, then load, see if it's saying the same error?
just tried it and yes gives same error.... Its like if the picture is on screen when saved then it cant find it? maybe a event to erase all pictures when save through a common event save? When reload it turns on pictures? idk is strange
Alright, quick test, change the filename from #0 to simply "0" (in the new project). Does it still throw up the error?
No it worked after name change... Odd the tut had # in front of them... Well I shall change them all to 0 1 2 3 4 5 6 7 8 9

Thank You Very Much! :ywink:
I assume if # wasnt allowed wouldnt even work at all in game I followed a Youtube vid and his worked
unfortunately that assumption is wrong due to a windows override.
Windows has an override that allows the use of symbols and letters that are forbidden under networking rules.
Unfortunately that override has problems and doesn't work on deployment anymore, so at one time the editor was changed to block that override and only allow the use of filenames that are legal under networking rules.
So if the video and/or the editor you're using are of an older version, you'll never know of this problem until your game crashes when the browser can't load the files anymore...
unfortunately that assumption is wrong due to a windows override.
Windows has an override that allows the use of symbols and letters that are forbidden under networking rules.
Unfortunately that override has problems and doesn't work on deployment anymore, so at one time the editor was changed to block that override and only allow the use of filenames that are legal under networking rules.
So if the video and/or the editor you're using are of an older version, you'll never know of this problem until your game crashes when the browser can't load the files anymore...


Always the tiniest/obscure details ehh?
Well, you should get into the habit of only using the underscore symbol in your filenames (I recommend naming them "clock_hour_01"), especially since ! and $ is actually used in RPG Maker itself, so you want to stay clear of symbols 😛

I'm glad it was just a simple naming error though.

Original thread: https://forums.rpgmakerweb.com/threads/picture-issues.103932/