[Answered] Can't find plugin image
Moderator: Plugin Moderators
- fintattis
- Villager
- Reactions:
- Posts: 11
- Joined: 11 Jan 2020, 17:45
- Plugins: Showcase Store
-
Plugin Creator
Platform
[Answered] Can't find plugin image
Apparently it can't find the plugin image. I'm certain I included it in the plugin file (I'm the creator of the plugin).
What's puzzling me is why it tries to search for the image from my steamapps folder, since none of the plugins seem to be there
What's puzzling me is why it tries to search for the image from my steamapps folder, since none of the plugins seem to be there
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: [Asked] Can't find plugin image
Maybe it's some sort of compression error.
Maybe you saved it as asphalt_black_bottom.json.zip,
but your program forced it into a .gz compression file.
Also why is there .json in the name too?
Also I've suspended the plugin for now as it might cause further problems.
Code: Select all
The file that was uploaded to the store
---------------------------------------------
asphalt_black_bottom.json.zip.gz <- no error
asphalt_black_bottom.json.gz <- no error
asphalt_black_bottom.json.zip <- cannot find image
but your program forced it into a .gz compression file.
Code: Select all
asphalt_black_bottom.json.zip --saved--> asphalt_black_bottom.json.zip.gz
Also I've suspended the plugin for now as it might cause further problems.
- fintattis
- Villager
- Reactions:
- Posts: 11
- Joined: 11 Jan 2020, 17:45
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: [Answered] Can't find plugin image
I used notepad ++ to write the code
As I said everything worked perfectly prior to publishing it. As there doesn't seem to be any problems regarding the code should I just try reuploading?
Pure files example: I can't recall whether I selected the pure files or a zip (I had both available). Shouldn't the pure file way work?
Code: Select all
[
{
"id":"$diagonalasphaltblackbottom00",
"type":"terrain",
"title":"Diagonal black asphalt bottom",
"author":"fintattis",
"width":1,
"height":1,
"draw ground": true,
"frames":[{"bmp":"asphalt_black_bottom.png"}]
}
]
Pure files example: I can't recall whether I selected the pure files or a zip (I had both available). Shouldn't the pure file way work?
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: [Answered] Can't find plugin image
You should submit the zip as published in your topic, as it contains all the images and json files.
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: [Answered] Can't find plugin image
Maybe turn the extensions on.
This might prevent errors like below in the future
Also, yes, try to reupload a new file
Code: Select all
foobar <- what your file explorer displays
foobar.json <- more easier to read
Code: Select all
foobar.zip <- no extension
foobar.zip.gz <- with extensions
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: [Answered] Can't find plugin image
It was missing some files.