Why do not my plugin cars work?

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 4:32

At first I had a hard time creating the id of the car, but after a few hours I got it. Now the cars do not show up in the city, I already built the building but they do not show up, what do I do?
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 6:19

I had the same problem but after few minutes it started spawning.

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 6:33

Code: Select all

[ { "id":"royalexpress.atlanta", "type":"commercial", "author":"Lancaster Kingdom", "width":2, "height":2,  "frames":[{"bmp":"royalexpress_bmp.png"}], "smoke":[{"id":"$smoke07","x":15,"y":-17}], "level":3 } ]
[ { "id":"royalexpress.atlanta", "type":"commercial", "author":"Lancaster Kingdom", "width":1, "height":1, "frames":[{"bmp":"roexcar_bmp.png"}], "smoke":[{"id":"$smoke07","x":13,"y":-14}], "level":3, "car spawner":[ { "cars":["$lancaster_carplugin00"], "radius":512, "count":4 } ] } ]
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 6:34

The image
Attachments
roexcar_bmp.png
roexcar_bmp.png (899 Bytes) Viewed 596 times
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 6:40

That's not how you define cars.

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 6:41

Can you help me?
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6218
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by CommanderABab » Thu Sep 28, 2017 7:40

Code: Select all

{ 
    "id":"$farmcar00", 
    "type":"car", 
    "frames":[ 
      {"bmp":"bigcomcars.png","w":15,"h":10,"count":4} ,
      {"bmp":"bigrescars.png","w":15,"h":10,"count":4},
      {"bmp":"bigindustcars.png","w":15,"h":10,"count":4} 
    ], 
   "v2":true,
   "capacity":1,
   "flag normal":false, 
   "flag user2":true
  },
This defines three cars that don't use normal roads.


And this is the code in a building which spawns them:

Code: Select all

"car spawner":[
    {
      "cars":["$farmcar00"],
      "count":1000,
      "radius":100
    
    }
  ],

And here is a different car spawner with targets, basically the gas station. $com00

Code: Select all

"car spawner":[
           {
             "cars":["$airplane"],
             "count":1,
             "radius":10000        
           },
           {
             "cars":["$ab.decores.car01"],
             "count":100,
             "radius":1000,
             "targets":["$com00","$railstation00"]      
           }
         ]
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
khadafi laidi
Inhabitant of a Continent
Reactions:
Posts: 1287
Joined: Fri Dec 16, 2016 13:11
Location: ternate,indonesia
Plugins: Show
Version: Beta
Phone model: Oppo neo 5

Re: Why do not my plugin cars work?

Post by khadafi laidi » Thu Sep 28, 2017 8:29

LOL 1000 cars per second :lol:
Fact about me:
-President of FINDONEZIA
-Plugin illustrator
-Motivator
-Comedian B)
-Indonesian translator (Stoped)
-I hate soccer :x
-Now i am the Wiki Editor

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 14:05

It's wrong?

Code: Select all

{ 
    "id":"lancasterroyalcar00", 
    "type":"car", 
    "frames":[ 
      {"bmp":"roexcarlancaster.png","w":15,"h":10,"count":4} ,
      {"bmp":"roexcarlancaster.png","w":15,"h":10,"count":4},
      {"bmp":"roexcarlancaster.png","w":15,"h":10,"count":4} 
    ], 
   "v2":true,
   "capacity":1,
   "flag normal":false, 
   "flag user2":true
  },
  
  [
  {
    "id":"royal.express.lanes",
    "type":"commercial",
    "workers":190,
    "author":"Lancaster Kingdom",
    "width":1,
    "height":1,
    "frames":[{"bmp":"roexlancaster.png"}],
    "smoke":[{"id":"$smoke07","x":13,"y":-14}],
    "level":3,
    "car spawner":[
      {
        "cars":["lancasterroyalcar00"],
        "radius":100,
        "count":70
      }
    ]
  }
]
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4465
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: ASUS ZenPad 10 z300c

Re: Why do not my plugin cars work?

Post by Bearbear65 » Thu Sep 28, 2017 14:18

Lancaster Kingdom wrote:
Thu Sep 28, 2017 14:05
It's wrong?

Code: Select all

[{ 
    "id":"lancasterroyalcar00", 
    "type":"car", 
    "frames":[ 
      {"bmp":"roexcarlancaster.png","w":15,"h":10,"count":4} ,
      {"bmp":"roexcarlancaster.png","w":15,"h":10,"count":4},
      {"bmp":"roexcarlancaster.png","w":15,"h":10,"count":4} 
    ], 
   "v2":true,
   "capacity":1,
   "flag normal":false, 
   "flag user2":true
  },
  {
    "id":"royal.express.lanes",
    "type":"commercial",
    "workers":190,
    "author":"Lancaster Kingdom",
    "width":1,
    "height":1,
    "frames":[{"bmp":"roexlancaster.png"}],
    "smoke":[{"id":"$smoke07","x":13,"y":-14}],
    "level":3,
    "car spawner":[
      {
        "cars":["lancasterroyalcar00"],
        "radius":100,
        "count":70
      }
    ]
  }]
Maybe this will work
ImageJust my opinion
Caladrius is officially my favourite bird

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 14:28

Did not work
Attachments
Screenshot_2017-09-28-09-26-40.png
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6218
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by CommanderABab » Thu Sep 28, 2017 17:29

Make

Code: Select all

 "v2":false,
for your frames.

Code: Select all

"flag normal":true.
if your cars are to use normal roads.
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 17:58

CommanderABab wrote:
Thu Sep 28, 2017 17:29
Make

Code: Select all

 "v2":false,
for your frames.

Code: Select all

"flag normal":true.
if your cars are to use normal roads.
It did not work, this is very difficult, I'm going to give up, I've been trying since yesterday :(
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 18:03

What are you trying to make?

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Josh » Thu Sep 28, 2017 18:03

❤Never give up❤
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you🌲

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 18:03

Send codes and textures to PM. I will send it fixed tommorow.

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 18:06

Look at this :(
Attachments
Lancaster_Kingdom_17-09-28_130103.png
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 18:07

Try 32 by 16 or 16 by 13

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 18:07

JustAnyone wrote:
Thu Sep 28, 2017 18:03
Send codes and textures to PM. I will send it fixed tommorow.
Okay, it's a post office.
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Josh » Thu Sep 28, 2017 18:08

You need to place your cars at the same level and height!
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you🌲

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 18:08

Josh wrote:
Thu Sep 28, 2017 18:08
You need to place your cars at the same level and height!
I've got this. Don't worry.

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 18:20

Did not work :(
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2246
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: Why do not my plugin cars work?

Post by JustAnyone » Thu Sep 28, 2017 19:16

Case #6 Solved.

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6218
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by CommanderABab » Thu Sep 28, 2017 19:34

Your car frames are version 1. Therefore v2: true does not apply to them.
bigindustcars.png
bigindustcars.png (1.16 KiB) Viewed 281 times
this is how version 2 cars are placed in the frames.



tacocars.png
tacocars.png (671 Bytes) Viewed 281 times
this is how version 1 cars are placed in the frames.
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Lancaster Kingdom
Inhabitant of a Continent
Reactions:
Posts: 1166
Joined: Wed Sep 20, 2017 21:38
Location: Royal District, Karlayneer, LK
Plugins: Show
Version: Beta

Re: Why do not my plugin cars work?

Post by Lancaster Kingdom » Thu Sep 28, 2017 22:06

JustAnyone wrote:
Thu Sep 28, 2017 19:16
Case #6 Solved.
Thank you for having made the file for me :)
Constitutional Monarchy / King- Emmet II / Prime Minister - Jason Knust / President of the Houses of Stymest - Justin Floyer / President of Justice- Hemman Sush

God Save The King!

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest