[Fixed]Weird crash

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

Platform

[Fixed]Weird crash

#1

Post by Sometheotown mayor » Fri Apr 14, 2017 17:40

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"
 } 
]
Hello
I'm your average 14 y old boy who likes drinking water.

What else ?

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

Platform

#2

Post by Sometheotown mayor » Fri Apr 14, 2017 19:30

So ?
Can anybody help
Hello
I'm your average 14 y old boy who likes drinking water.

What else ?

User avatar
CommanderABab
AB
Reactions:
Posts: 8224
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

#3

Post by CommanderABab » Fri Apr 14, 2017 19:30

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.
826!826Currently using beta 826. 826 What's new? :)
diagonal road tool!!
:)

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

User avatar
CommanderABab
AB
Reactions:
Posts: 8224
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

#4

Post by CommanderABab » Fri Apr 14, 2017 19:36

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.
826!826Currently using beta 826. 826 What's new? :)
diagonal road tool!!
:)

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

User avatar
Lobby
Developer
Reactions:
Posts: 3412
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

#5

Post by Lobby » Fri Apr 14, 2017 19:42

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
danekbel
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2781
Joined: Thu May 05, 2016 9:33
Location: in your dreams
Plugins: Show
Version: Beta

Platform

Plugin Creator

#6

Post by danekbel » Fri Apr 14, 2017 19:46

Lobby wrote: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.
:shock: :shock:
What those directions mean?
some text.

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

Platform

#7

Post by Sometheotown mayor » Fri Apr 14, 2017 21:10

Uhh ok thank you i'll make it two ways XD
Hello
I'm your average 14 y old boy who likes drinking water.

What else ?

User avatar
Lobby
Developer
Reactions:
Posts: 3412
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

#8

Post by Lobby » Fri Apr 14, 2017 21:28

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 Fri Apr 14, 2017 21:29, edited 1 time in total.

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

Platform

#9

Post by Sometheotown mayor » Fri Apr 14, 2017 21:29

Wow
Roads take some space O.o
Hello
I'm your average 14 y old boy who likes drinking water.

What else ?

User avatar
CommanderABab
AB
Reactions:
Posts: 8224
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

#10

Post by CommanderABab » Fri Apr 14, 2017 22:02

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


Not really, I still have images, they just appear as dots for reference.
826!826Currently using beta 826. 826 What's new? :)
diagonal road tool!!
:)

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

User avatar
Josh
Graphic designer
Reactions:
Posts: 2217
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta
Phone model: Iphone 7

Platform

Plugin Creator

#11

Post by Josh » Thu Apr 20, 2017 11:21

I think some images are wrong look at the 2 yellow dots. I also saw them in the game
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you🌲

User avatar
Josh
Graphic designer
Reactions:
Posts: 2217
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta
Phone model: Iphone 7

Platform

Plugin Creator

#12

Post by Josh » Thu Apr 20, 2017 11:23

Image
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you🌲

Lookatmemeow
Metropolitan
Reactions:
Posts: 123
Joined: Wed Apr 19, 2017 23:31
Location: The litterbox
Plugins: Show

Platform

#13

Post by Lookatmemeow » Thu Apr 20, 2017 11:30

What are you talking about ?
Umm
Ok

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8035
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Platform

#14

Post by Brody Craft » Tue Apr 25, 2017 4:24

Take a look at the middle of the intersection
When you get to be called a Board Index because you are too good.>:3

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”

Who is online

Users browsing this forum: No registered users and 1 guest