[Fixed]Weird crash

Do you have any issues? Don't hesitate to tell us about it.
User avatar
Sometheotown mayor
Has uncountable inhabitants
Reactions:
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

[Fixed]Weird crash

#1

Post by Sometheotown mayor »

I'm trying to make a road plugin
When in the game this happens
I open the game, everything fine
I launch a city, everything fine
But when I open the road menu and I scroll down to find my road , when I get to the highway, it crahes
No report option, no error log

Code: Select all

[
 {  
  "active":true,
  "id":"Tele_road", 
  "type":"road", 
  "author":"SMTTM",
  "level":0,
  "width":1,
  "height":1,
  "frames":[
   {"bmp":"t1.png"},
   {"bmp":"t2.png"},
   {"bmp":"t3.png"},
   {"bmp":"t4.png"},
   {"bmp":"t5.png"},
   {"bmp":"t6.png"},
   {"bmp":"t7.png"},
   {"bmp":"t8.png"},
   {"bmp":"t9.png"},
   {"bmp":"t10.png"},
   {"bmp":"t11.png"},
   {"bmp":"t12.png"},
   {"bmp":"t13.png"},
   {"bmp":"t14.png"},
   {"bmp":"t15.png"},
   {"bmp":"t16.png"}
  ],
  "speed":50,
  "one way":true,
  "auto join":true,
  "price":10, 
  "monthly price":1, 
  "title":"Teleroads", 
  "text":"teleportation roads"
 } 
]

User avatar
Sometheotown mayor
Has uncountable inhabitants
Reactions:
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#2

Post by Sometheotown mayor »

So ?
Can anybody help

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

Plugin Creator

Platform

#3

Post by CommanderABab »

You might have run out of image space for plugins.

Or

The level of the default one way road is 1 or 2. See my green road thread to be sure.

Two possibilities.

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

Plugin Creator

Platform

#4

Post by CommanderABab »

It is level one for the default one way road.

http://www.theotown.com/forum/viewtopic ... 3858#13858

If you have not run out of image space, then the problem is you might have to provide additional images for the arrows, and you will have to ask Lobby for that code.

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#5

Post by Lobby »

I cannot say it for sure yet, but I suspect you have to provide 64 frames for one ways roads. You might be lazy and just reuse the existing 16 frames to get 4*16=64 in total.

As explanation:
A one way road can be aligned into 4 different directions:
south-east
north-east
north-west
south-west
So you have to provide 16 frames for all of these overall alignments.

User avatar
Sometheotown mayor
Has uncountable inhabitants
Reactions:
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#6

Post by Sometheotown mayor »

Uhh ok thank you i'll make it two ways XD

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#7

Post by Lobby »

For comprehension, that's how our default one way graphics look like:
Image
Each line is for one alignment and is (sometimes) indicated by arrows. As you might notice some graphics can be reused between the different lines.
Last edited by Lobby on 14 Apr 2017, 21:29, edited 1 time in total.

User avatar
Sometheotown mayor
Has uncountable inhabitants
Reactions:
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#8

Post by Sometheotown mayor »

Wow
Roads take some space O.o

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

Plugin Creator

Platform

#9

Post by CommanderABab »

That's why red road went to tunnels for bridges :)


Not really, I still have images, they just appear as dots for reference.

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

#10

Post by Josh »

I think some images are wrong look at the 2 yellow dots. I also saw them in the game

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

#11

Post by Josh »

Image

User avatar
Lookatmemeow
Metropolitan
Reactions:
Posts: 123
Joined: 19 Apr 2017, 23:31
Location: The litterbox
Plugins: Showcase Store

Platform

#12

Post by Lookatmemeow »

What are you talking about ?

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

#13

Post by Brody Craft »

Take a look at the middle of the intersection

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”