✅Road plugin crash
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Why?
Without any code we can only do guessing on why it happens. You have to invest time to give more details about your plugin if you want anyone to help you.
Other than that, I think this stacktrace could be yours: It says that you don't provide enough frames.
Other than that, I think this stacktrace could be yours: It says that you don't provide enough frames.
- _JS_
- Townsman
- Reactions:
- Posts: 84
- Joined: 02 Apr 2018, 12:29
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Why?
I don't have any code, it just says:Lobby wrote: ↑17 Apr 2018, 17:36Without any code we can only do guessing on why it happens. You have to invest time to give more details about your plugin if you want anyone to help you.
Other than that, I think this stacktrace could be yours:
Screenshot_20180417-173517.png
It says that you don't provide enough frames.
TheoTown stopped working
Btw thx for your help
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Road plugin crash
Json code, that's what I've meant. It would be easier to read if you provide it as raw text.
You have to provide 16 frames, but right now you provide only one. How your json code should look like depends on how the image file looks like. Have you followed the tutorial about roads?
You have to provide 16 frames, but right now you provide only one. How your json code should look like depends on how the image file looks like. Have you followed the tutorial about roads?
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Road plugin crash
Json genie has an option to show the json code.
- _JS_
- Townsman
- Reactions:
- Posts: 84
- Joined: 02 Apr 2018, 12:29
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Road plugin crash
I didn't knew there was a tutorial about roads.Lobby wrote: ↑17 Apr 2018, 22:03Json code, that's what I've meant. It would be easier to read if you provide it as raw text.
You have to provide 16 frames, but right now you provide only one. How your json code should look like depends on how the image file looks like. Have you followed the tutorial about roads?
I will read it, thanks
- _JS_
- Townsman
- Reactions:
- Posts: 84
- Joined: 02 Apr 2018, 12:29
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Road plugin crash
Oh i didn't knew that, Thanks
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Road plugin crash
Now show us country_road.png and dirt_road.png.
The frames statements should look like this if they are 16 tiles.
The frames statements should look like this if they are 16 tiles.
Code: Select all
"frames":[{"bmp":"dirt_road.png", "w":32,"count":16}]
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Road plugin crash
Also needs if you want to faster than a normal road. # would be 1.1 to 2 for the dirt road because the default one has a speed of 1.
Code: Select all
"speed":#,
- _JS_
- Townsman
- Reactions:
- Posts: 84
- Joined: 02 Apr 2018, 12:29
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Road plugin crash
CommanderABab wrote: ↑17 Apr 2018, 22:26Now show us country_road.png and dirt_road.png.
The frames statements should look like this if they are 16 tiles.
Code: Select all
"frames":[{"bmp":"dirt_road.png", "w":32,"count":16}]
- Attachments
-
- dirt_road.png (7.86 KiB) Viewed 2608 times
-
- country_road.png (2.45 KiB) Viewed 2608 times