Plug-in related stuff can be discussed here.
Moderator: Plugin Moderators
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#21
Post
by Mg3094066 » 04 Sep 2018, 04:40
Code: Select all
[{
"draw ground": true,
"frames": [{
"bmp": "TornadoSiren2.png"
}],
"height": 1,
"id": "$TornadoSiren00",
"influence management": 100,
"type": "public",
"width": 1,
"fun": [{
"condition": [{
"type": "value",
"code": "disaster",
"z": 1
}],
"actions": [{
"type": "play",
"Id": "$Thunderbolt_1003"
}]
}],
{
"id": "$Thunderbolt_1003",
"type": "sound",
"file": "Thunderbolt1003.mp3"
"volume": 5 " } }]
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#22
Post
by Mg3094066 » 04 Sep 2018, 04:49
I have to move it out of the array like this?
Attachments
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#25
Post
by Mg3094066 » 04 Sep 2018, 06:54
Code: Select all
[{
"draw ground": true,
"frames": [{
"bmp": "TornadoSiren2.png"
}],
"height": 1,
"id": "$TornadoSiren00",
"influence management": 100,
"type": "public",
"width": 1,
"fun": [{
"condition": [{
"type": "value",
"code": "disaster",
"z": 1
}],
"actions": [{
"type": "play",
"id": "$Thunderbolt_1003"
}]
}]
}],
[{
"id": "$Thunderbolt_1003",
"type": "sound",
"file": "Thunderbolt1003.mp3"
"volume":5"
}]
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#26
Post
by Mg3094066 » 04 Sep 2018, 06:57
New update
Code: Select all
[{
"draw ground": true,
"frames":[{
"bmp": "TornadoSiren2.png"
}],
"height": 1,
"id": "$TornadoSiren00",
"influence management": 100,
"type": "public",
"width": 1,
"fun":[{
"condition":[{
"type": "value",
"code": "disaster",
"z": 1
}],
"actions":[{
"type": "play",
"id": "$Thunderbolt_1003"
}]
}]
}],
[{
"id": "$Thunderbolt_1003",
"type": "sound",
"file": "Thunderbolt1003.mp3"
"volume":5
}]
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#28
Post
by Mg3094066 » 04 Sep 2018, 07:39
What exactly I have to do?
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#29
Post
by Mg3094066 » 04 Sep 2018, 07:40
lol... At the next time I'll write the Json with Json genie .-.
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#30
Post
by Mg3094066 » 04 Sep 2018, 07:57
*erase me plox*
Last edited by
Mg3094066 on 04 Sep 2018, 07:59, edited 1 time in total.
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#31
Post
by Mg3094066 » 04 Sep 2018, 07:57
Re-writen by Json Genie
Code: Select all
[
[{
"draw ground": true,
"frames": [{
"bmp": "TornadoSiren2.png"
}],
"fun": [{
"actions": [{
"id": "$Thunderbolt_1003",
"type": "play"
}],
"condition": [{
"code": "disaster",
"type": "value",
"z": 1
}]
}],
"height": 1,
"id": "$TornadoSiren00",
"influence management": 100,
"type": "public",
"width": 1
}],
[{
"file": "Thunderbolt 1003.mp3",
"id": "$Thunderbolt_1003",
"type": "sound",
"volume": 5
}]
]
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
CommanderABab
AB Reactions:
Posts: 11109 Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#33
Post
by CommanderABab » 04 Sep 2018, 23:55
Code: Select all
[
{
"draw ground": true,
"frames": [{
"bmp": "TornadoSiren2.png"
}],
"fun": [{
"actions": [{
"id": "$Thunderbolt_1003",
"type": "play"
}],
"condition": [{
"code": "disaster",
"type": "value",
"z": 1
}]
}],
"height": 1,
"id": "$TornadoSiren00",
"influence management": 100,
"type": "public",
"width": 1
},
{
"file": "Thunderbolt 1003.mp3",
"id": "$Thunderbolt_1003",
"type": "sound",
"volume": 5
}
]
A .json file plugin for Theotown is an ( [ ] array ) of ( { } objects ),
not an ( [ ] array ) of ( [ ] arrays ).
my avatar:
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#34
Post
by Mg3094066 » 05 Sep 2018, 00:20
Yep... I knew it before... I already fixed it... So there's no another problem?
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Oshawotta737
Inhabitant of a Conurbation Reactions:
Posts: 475 Joined: 28 Mar 2018, 22:53
Location: Murica
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#35
Post
by Oshawotta737 » 05 Sep 2018, 00:26
I want this out so bad.
CommanderABab
AB Reactions:
Posts: 11109 Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#36
Post
by CommanderABab » 05 Sep 2018, 00:29
Mg3094066 wrote: ↑ 05 Sep 2018, 00:20
Yep... I knew it before... I already fixed it... So there's no another problem?
Does it work for you?
my avatar:
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#37
Post
by Mg3094066 » 05 Sep 2018, 00:57
It doesn't work untill the update is out....
Currently the game will issue a non valid condition
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#38
Post
by Mg3094066 » 05 Sep 2018, 00:59
Code: Select all
In /storage/emulated/0/TheoTown/plugins/Disaster Response Unit [WIP]/TornadoSirenNew.json:
java.lang.IllegalArgumentException: May not load condition from [{"code":"disaster","type":"value","z":1}]
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...
Bearbear76
Former Bearbear65 Reactions:
Posts: 5730 Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store
Plugin Creator
Platform
#39
Post
by Bearbear76 » 05 Sep 2018, 09:32
Mg3094066 wrote: ↑ 05 Sep 2018, 00:59
Code: Select all
In /storage/emulated/0/TheoTown/plugins/Disaster Response Unit [WIP]/TornadoSirenNew.json:
java.lang.IllegalArgumentException: May not load condition from [{"code":"disaster","type":"value","z":1}]
I think it may be
Code: Select all
[{"type":"value", "code":"disaster", "z":1}]
Just my opinion
retired
Mg3094066
Inhabitant of a Supercluster Reactions:
Posts: 3223 Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta
Plugin Creator
Platform
#40
Post
by Mg3094066 » 05 Sep 2018, 19:02
Bearbear65 wrote: ↑ 05 Sep 2018, 09:32
Mg3094066 wrote: ↑ 05 Sep 2018, 00:59
Code: Select all
In /storage/emulated/0/TheoTown/plugins/Disaster Response Unit [WIP]/TornadoSirenNew.json:
java.lang.IllegalArgumentException: May not load condition from [{"code":"disaster","type":"value","z":1}]
I think it may be
Code: Select all
[{"type":"value", "code":"disaster", "z":1}]
Ummm... The order of the factors doesn't affect the result
I threw my dignity to trash and downloaded Free Fire... But someway i liked it ":'D
But i think it was too early to celebrate... my internet runs at 8kb...
Just wait another month...