ID cannot be found

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
NSGSEI
Villager
Reactions:
Posts: 21
Joined: 29 Dec 2018, 07:36
Location: China
Plugins: Showcase Store
Version: Beta

Platform

ID cannot be found

#1

Post by NSGSEI »

I put the vehicle and the vehicle generator building in two JSON, accessing the game will indicate that the vehicle ID cannot be found. i am 100% sure that the vehicle ID called by the generator exists, why is this?

User avatar
JustAnyone
Developer
Reactions:
Posts: 3480
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: ID cannot be found

#2

Post by JustAnyone »

Please ensure that the vehicle is defined before it is used.

User avatar
NSGSEI
Villager
Reactions:
Posts: 21
Joined: 29 Dec 2018, 07:36
Location: China
Plugins: Showcase Store
Version: Beta

Platform

Re: ID cannot be found

#3

Post by NSGSEI »

JustAnyone wrote:
11 Mar 2023, 19:26
Please ensure that the vehicle is defined before it is used.
I'm sure I've defined the vehicle, but I put the code for the vehicle part in a separate JSON, does this have anything to do with the name of the JSON file, I didn't have this problem before renaming the file

User avatar
Kulche
Pluche
Reactions:
Posts: 1152
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: ID cannot be found

#4

Post by Kulche »

The car definition has to be loaded first. Give it's name some characters like "a" or "0" in the beginning.

User avatar
NotPFA
Townsman
Reactions:
Posts: 70
Joined: 28 Jan 2023, 17:34
Plugins: Showcase Store

Plugin Creator

Platform

Re: ID cannot be found

#5

Post by NotPFA »

or in a single json file, move the car json above the building json

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”