Error displaying image that's in the characters folder. Mog Chrono Engine.

Issue Summary — I receive an error when trying to use the shield in the ABS Mode for the Chrono Engine by Mog.

Details — It was working fine locally on my machine, and this error occurs on the HTML version uploaded to my website. This version is crucial to playtesting for my game, so I need it to work this way.

What tutorials or previous support threads have you referenced? — I found some forum posts related to the same error, but the cause was different. I tried copying the file and naming it the same as the error. I am not a coder, and fear I would break things mucking around in the javascript files.

Are you using any plugins? — It's the Chrono Engine Demo, so all of those Mog plugins for that.

Attach any illustrative screenshots, full event pages with no cropping, mock ups, etc. — Done. Screenshot is the error. I have a file in that folder with that exact name now and it still displays that after several failed attempts to utilise the shield in the demo.


Engine can be found at: https://mogplugins.wordpress.com/rpg-maker-mv/
My upload of it for testing: https://maybe.masamunicorn.com/


Any and all help is greatly appreciated! ^,.^
I got this error trying to use the shield in your uploaded demo. What did you put for the shield pose suffix for the shield? Also I would check your folder path to see if there are any special characters that break URLs
1741210880845.png
I got this error trying to use the shield in your uploaded demo. What did you put for the shield pose suffix for the shield? Also I would check your folder path to see if there are any special characters that break URLs
View attachment 333407
I didn't change anything from the default. Literally just went to deployment, after testing it locally, and uploaded it to see how it worked out online. The answer is: not great.

Interesting that ABS Mode 1 gives a different error though. I guess it's something in the javascript...
You may have to change any $ in the url to %24
Reserved Characters in URLs
Reserved characters are those that have a special meaning in the context of URLs. These include characters such as "/", "?", "#", ":", "@", "&", "=", "+", "$", and ",". When these characters need to be included in a URL as data rather than as part of the URL syntax, they must be percent-encoded. For instance, the character "@" is encoded as "%40", and the character "#" is encoded as "%23".
You may have to change any $ in the url to %24

Oh, interesting! TY for the info. <3

I did make a copy of the file with the correct name though and it still gave that error.
Unless that means I also have to go in and update the JS. >.<
I think this a special characters in the URL issue so I would check the full folder path of the uploaded game to make sure there are no special characters. @Andar might know more about it

I would also check your deployment settings
The $ is usually not a problem and it can't be the folderpath either because there is no folderpath on the web version.

My guess for the reason would be the capitalisation in the filename.

On the internet, A.png and a.png are two different files, because A and a are two different letters.
On Windows there is a backfunction that loads the wrong file if the correct one does not exist, which makes Windows ignore capitalisation.

I suggest changing the image to all lower cases and upload the game again, then test again.
The $ is usually not a problem and it can't be the folderpath either because there is no folderpath on the web version.

My guess for the reason would be the capitalisation in the filename.

On the internet, A.png and a.png are two different files, because A and a are two different letters.
On Windows there is a backfunction that loads the wrong file if the correct one does not exist, which makes Windows ignore capitalisation.

I suggest changing the image to all lower cases and upload the game again, then test again.
I don't have Windows, but I am guessing it's the same in Linux/Mac. I'll give that a try! ^,.^
The $ is usually not a problem and it can't be the folderpath either because there is no folderpath on the web version.

My guess for the reason would be the capitalisation in the filename.

On the internet, A.png and a.png are two different files, because A and a are two different letters.
On Windows there is a backfunction that loads the wrong file if the correct one does not exist, which makes Windows ignore capitalisation.

I suggest changing the image to all lower cases and upload the game again, then test again.
Exact same error, sadly. Also it's literally only the shield that it happens on. Everything else seems to work fine, though I did notice an error start to pop up for a second at one point when spamming the sword attack. It quickly vanished and the sword kept working. I literally didn't even have time to read it.

*quite confused by this*

(edit)

Okay, I guess it isn't just the shield. Although everything else works fine for me in both ABS Modes, when I tried to enter the debug mode (after messing with it locally) I was immediately met with an error and couldn't even load into it.
what error did you get in debug mode?
what error did you get in debug mode?
Same basic error, but different image. Do I need to change all of these (or make duplicates with the HTML appropriate names) before selecting deployment?

I figured, since it's all loose files, that I could just drop the correct file names in there.
that I could just drop the correct file names in there.
theoretically yes.

however if you try that it would be easier to edit the filename on the webserver as windows has its own opinion on when to handle mixed capitalisation correctly.

The problem is that solving the problem in windows means basically going all lowercase for all files, and since that would be real changes you'll need to edit the reference for that. And that will require a full uoload again.

only changing the filename to match the spelling on the server has to be done on the server, but if you have an FTP program for access that is actually a lot less work.
theoretically yes.

however if you try that it would be easier to edit the filename on the webserver as windows has its own opinion on when to handle mixed capitalisation correctly.

The problem is that solving the problem in windows means basically going all lowercase for all files, and since that would be real changes you'll need to edit the reference for that. And that will require a full uoload again.

only changing the filename to match the spelling on the server has to be done on the server, but if you have an FTP program for access that is actually a lot less work.
I don't have windows, but its the same basic idea I assume.

I have multiple files on my website right now, the correct names and changed names and it doesn't like either one, but only for a few things. It's quite confusing. I suspect this engine may kinda "hack" RPG Maker a bit, because when I selected to exclude files that are unused it didn't deploy *any* of those oddly named files.

I mean it works great when deployed in other ways. It will limit my ability to have people help, but at this point I am thinking about just skipping on a web version. Which sucks, but I am scared to go messing around in the JavaScript. I barely understand the JavaScript I've used on my site (mostly from references) and this is way more advanced than that.

Thank you for the help! <3

Original thread: https://forums.rpgmakerweb.com/threads/error-displaying-image-thats-in-the-characters-folder-mog-chrono-engine.176011/