Search found 109 matches: array

Searched query: +array

by DGYT
11 Mar 2024, 11:39
Forum: Problems
Topic: Json error
Replies: 12
Views: 2554

Re: Json error

... at 0 of type io.blueflower.stapel2d.util.json.JSONArray cannot be converted to JSONObject What are json array and json object!? And what error is this please? Thank you. I might be late but since there are already solutions here, i will explain what an ...
by MeUsic
17 Oct 2023, 19:29
Forum: Tutorials and Documentation
Topic: Custom animations
Replies: 27
Views: 28701

Re: Custom animations

Can someone explain to me how to make an animation array? I have the model and night lights model ready, but I can't make them appear in game.
by JustAnyone
13 Sep 2023, 20:32
Forum: News
Topic: TheoTown full update changelogs
Replies: 313
Views: 244652

Re: TheoTown full update changelogs

Version 1.11.19 Add ability to concatenate Lua arrays using + syntax Add ability for "frame" fun action to overwrite road direction by setting "w":1 (range for "frame" is then 0-63) Add ability for road decorations ...
by JustAnyone
13 Aug 2023, 14:54
Forum: News
Topic: TheoTown full update changelogs
Replies: 313
Views: 244652

Re: TheoTown full update changelogs

... movable by default Allow use of DrawingLibrary within script:update Allow "service car tags" to be a single string value instead of an array of strings for convenience Prevent excessive building listener events during moving building when using the move building tool Prevent pollution ...
by JustAnyone
08 Aug 2023, 15:44
Forum: News
Topic: TheoTown full update changelogs
Replies: 313
Views: 244652

Re: TheoTown full update changelogs

Version 1.11.08 Add ability to car definitions for animation pos array to contain null entries to skip the corresponding frame without the need to define a "frames" attribute Add support for more elaborated Lua errors including stack traces Optimize ...
by JustAnyone
21 Jun 2023, 12:23
Forum: News
Topic: TheoTown full update changelogs
Replies: 313
Views: 244652

Re: TheoTown full update changelogs

... opera feature Add culture happiness and culture effect (leads to level 3 residential demand) Add new light definitions by Pluc Try to fix out of array exceptions caused by following cars near to the edge of the map Prepare addition of building parent / child relationships Make daily reward timing ...
by Yakka
03 Mar 2023, 19:48
Forum: Tutorials and Documentation
Topic: Aligning frames
Replies: 2
Views: 2794

Aligning frames

... axis. For vehicles, you can use v2 to align the frame vertically. For example: "v2": [0, 1, 2, 3, 4, 5, 6, 7] Each number in that array represents a frame of the vehicle, as explained in car tutorial. count is commonly used when there are several frames in an image file. Defining ...
by FVI
23 Feb 2023, 19:42
Forum: Problems
Topic: Json error
Replies: 12
Views: 2554

Json error

... at 0 of type io.blueflower.stapel2d.util.json.JSONArray cannot be converted to JSONObject What are json array and json object!? And what error is this please? Thank you.
by KMr06
05 Nov 2022, 10:25
Forum: Smalltalk
Topic: 1000 diamonds for whoever takes this challenge :))
Replies: 5
Views: 1435

1000 diamonds for whoever takes this challenge :))

_In my next plugin, it will has a weird light frame and an array of pixels of the image among us. _Whoever finds both the fastest will receive 1000 diamonds, (must have photo proof). _Sent via private message. _(If you only find 1 out of 2, you will receive ...
by ColdBulletMemeWorks
02 Oct 2022, 01:36
Forum: Plug-In Discussion
Topic: Ideas for plugins
Replies: 870
Views: 545811

Re: Ideas for plugins

My array of plugin ideas:
✓ CH-53
✓ No man's sky plugin pack (am makin one myzelf rn)
by 1Code
07 Mar 2022, 16:09
Forum: Tutorials and Documentation
Topic: [1.9.68] Diagonal cars
Replies: 1
Views: 1031

[1.9.68] Diagonal cars

... 128,"y": 365,"w": 32,"h": 19,"count": 4,"offset y": 3072} // This array has 8 frames ], "frames per variant": 8, // We let the game know that we use 8 frames per variant, otherwise it would treat 8 frames ...
by Yakka
11 Feb 2022, 18:40
Forum: Plug-In Discussion
Topic: Error
Replies: 4
Views: 2266

Re: Error

Naufhal wrote:
11 Feb 2022, 16:45
Kiki012 wrote:
26 Feb 2021, 05:36
CommanderABab wrote:
25 Feb 2021, 19:53
Yes, there is an extra comma at the end in the array of ids where indicated.
Which line?
Remove 43 one quote line
This is old post, problem solved.
by Naufhal
11 Feb 2022, 16:45
Forum: Jailhouse Rock
Topic: Error
Replies: 1
Views: 353

Re: Error

Kiki012 wrote:
26 Feb 2021, 05:36
CommanderABab wrote:
25 Feb 2021, 19:53
Yes, there is an extra comma at the end in the array of ids where indicated.
Which line?
Remove 43 one quote line
by Naufhal
10 Feb 2022, 12:06
Forum: Jailhouse Rock
Topic: [Asked][1.10.29a] Plugin crash (large.nuclear.factory.json:1167)
Replies: 1
Views: 351

Re: [Asked][1.10.29a] Plugin crash (large.nuclear.factory.json:1167)

You didn't terminate the array of smokes, try: [ { "id": "large.nuclear2", "type": "energy", "title": " Large Nuclear Plant Factory", "text": "LNPF(Large Nuclear ...
by Alparingitlgnd5
29 Jan 2022, 02:51
Forum: Plug-In Discussion
Topic: After I finally coded a car plugin I want to know how
Replies: 0
Views: 952

After I finally coded a car plugin I want to know how

... spawn cars from our car plugin "$lobby_carplugin00". We can do that by defining a car spawner with the following attributes: cars - An array of car ids radius - Radius for the cars to be spawned. Big radius are heavy on computation, so try to avoid them. To cover the whole map you might ...
by CommanderABab
28 Jan 2022, 22:59
Forum: Problems
Topic: [Asked][1.10.29a] Plugin crash (large.nuclear.factory.json:1167)
Replies: 0
Views: 867

Re: [Asked][1.10.29a] Plugin crash (large.nuclear.factory.json:1167)

You didn't terminate the array of smokes, try: [ { "id": "large.nuclear2", "type": "energy", "title": " Large Nuclear Plant Factory", "text": "LNPF(Large Nuclear ...
by Naufhal
28 Jan 2022, 12:49
Forum: Jailhouse Rock
Topic: [Asked][1.10.29a] Plugin crash (large.nuclear.factory.json:1167)
Replies: 1
Views: 351

[Asked][1.10.29a] Plugin crash (large.nuclear.factory.json:1167)

... In plugins/large nuclear plant/large.nuclear.factory.json: io.blueflower.stapel2d.util.json.JSONException: Unterminated array at line 24, char 15. Excerpt: "needs road"--ERROR->>>: "true", Full source: [ { "id": "large.nuclear2", ...
by Hadestia
14 Dec 2021, 07:59
Forum: Tutorials and Documentation
Topic: Roads
Replies: 123
Views: 80965

Re: Roads

Does "frames" And "one way frames" Array are different?
by JustAnyone
13 Jul 2021, 16:47
Forum: Tutorials and Documentation
Topic: Cars
Replies: 150
Views: 124537

Re: Cars

... 128,"y": 365,"w": 32,"h": 19,"count": 4,"offset y": 3072} // This array has 8 frames ], "frames per variant": 8, // We let the game know that we use 8 frames per variant, otherwise it would treat 8 frames ...
by JustAnyone
14 Apr 2021, 09:30
Forum: News
Topic: TheoTown full update changelogs
Replies: 313
Views: 244652

Re: TheoTown full update changelogs

... Added fun condition "call" that can be used to query a lua event via fun Added experimental support of "parcel speeds" array attribute for roads and road decorations Fixed car tail with diagonal frames caused crash

Go to advanced search