[Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
JohnSallow
Townsman
Reactions:
Posts: 64
Joined: 29 Jan 2020, 18:45
Location: Buenos Aires, Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

[Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#1

Post by JohnSallow »

Hi, I got the following error with a plugin (one_wway_road.json:122):

Code: Select all

In one_wway_road.zip:

java.lang.IllegalStateException: When loading "Diagonal_One_way": Dirs length must be 64 but got 24
Device: ()
OS version: 0

Thank you in advance.

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#2

Post by CommanderABab »

Is it yours?

User avatar
JohnSallow
Townsman
Reactions:
Posts: 64
Joined: 29 Jan 2020, 18:45
Location: Buenos Aires, Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#3

Post by JohnSallow »

CommanderABab wrote:
31 Jan 2021, 02:16
Is it yours?
No, but the same error occurred in all my diagonal road plugins, even in my diagonal railways made by me

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#4

Post by CommanderABab »

Yes, the dirs array has to be 64 for one way roads.

User avatar
JohnSallow
Townsman
Reactions:
Posts: 64
Joined: 29 Jan 2020, 18:45
Location: Buenos Aires, Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#5

Post by JohnSallow »

Ok, I see. Thx

User avatar
JohnSallow
Townsman
Reactions:
Posts: 64
Joined: 29 Jan 2020, 18:45
Location: Buenos Aires, Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#6

Post by JohnSallow »

CommanderABab wrote:
31 Jan 2021, 05:24
Yes, the dirs array has to be 64 for one way roads.
But there are actually 64, aren't there?
image.png

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#7

Post by CommanderABab »

Those 64 dirs apply to the first 16 frames. The dirs for the 48 remaining frames are calculated from the first set.

User avatar
JohnSallow
Townsman
Reactions:
Posts: 64
Joined: 29 Jan 2020, 18:45
Location: Buenos Aires, Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#8

Post by JohnSallow »

How

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#9

Post by CommanderABab »

128

064

032

016


008

004

002

001


There are

Frame index mod 16 sets of 4 dirs per tile.

User avatar
Franconob07
Settler
Reactions:
Posts: 2
Joined: 17 Feb 2022, 06:40

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#10

Post by Franconob07 »

Hola john disculpa.las molestias necesito una pequeña ayuda con un plugin y no puedo encontrar tu usuario de discord 🙏🙏 ojalá puedas contestarme. Gracias

User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.9.69p] Plugin crash (one_wway_road.json:122)

#11

Post by 1Code »

Franconob07 wrote:
14 Mar 2022, 07:26
Hello john sorry for the inconvenience I need a little help with a plugin and I can't find your discord user  I hope you can answer me. Thanks

Post Reply Previous topicNext topic

Return to “Problems”