Search found 24 matches

by dc11
04 Jul 2021, 03:21
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 189
Views: 85505

Re: Lua chatbox

local x,y

function script:init()
local building = Draft.getDraft('$prm_com02_01')
end

function script:daily (x, y, level)

local count = City.countBuildings(building)
for i, count do
x,y = City.getBuilding(i, building)
Builder.remove(x, y)
end
end


Is this a valid lua?
by dc11
03 Jul 2021, 23:10
Forum: Problems
Topic: [Asked][1.10.04a] Plugin crash (building count.json:176)
Replies: 0
Views: 1405

[Asked][1.10.04a] Plugin crash (building count.json:176)

Hi, I got the following error with a plugin (building count.json:176): In plugins/building count/building count.json: java.lang.IllegalStateException: When loading "$scriptingtest00": [string "plugins/building count/script.lua"]:10: 'in' expected Device: SCG01 (samsung) OS versio...
by dc11
27 Jun 2021, 15:35
Forum: Game Discussion
Topic: About the console.
Replies: 2
Views: 1516

Re: About the console.

lua seems to be difficult, doesn't it?
by dc11
27 Jun 2021, 14:47
Forum: Game Discussion
Topic: About the console.
Replies: 2
Views: 1516

About the console.

How do I get a specific building to be deleted in the console?
by dc11
26 Jun 2021, 09:41
Forum: Game Discussion
Topic: About monthly income.
Replies: 1
Views: 2177

About monthly income.

Can I use privileges such as monthly income anymore?
by dc11
25 Jun 2021, 10:51
Forum: Plug-In Discussion
Topic: About the road.
Replies: 0
Views: 1049

About the road.

How can I make the road conductive?
by dc11
25 Jun 2021, 08:04
Forum: Game Discussion
Topic: Roads that do not cost construction.
Replies: 1
Views: 1353

Roads that do not cost construction.

How can I build a road that doesn't cost anything to build?
by dc11
23 Jun 2021, 23:25
Forum: Game Discussion
Topic: About the icon.
Replies: 2
Views: 1253

Re: About the icon.

This icon is displayed when the inhabitants are unhappy.
by dc11
23 Jun 2021, 22:20
Forum: Game Discussion
Topic: About the icon.
Replies: 2
Views: 1253

About the icon.

Is there a way to hide the icon?
by dc11
17 Jun 2021, 02:35
Forum: Tutorials and Documentation
Topic: About application of fun.
Replies: 4
Views: 1965

Re: About application of fun.

I'll try. Thank you very much.
by dc11
17 Jun 2021, 01:50
Forum: Tutorials and Documentation
Topic: About application of fun.
Replies: 4
Views: 1965

Re: About application of fun.

You can't overwrite what's published in the plugin store, right?
by dc11
17 Jun 2021, 00:51
Forum: Tutorials and Documentation
Topic: About application of fun.
Replies: 4
Views: 1965

About application of fun.

How can I apply fun to all buildings?
by dc11
16 Jun 2021, 00:36
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 189
Views: 85505

Re: Lua chatbox

Is it possible to automatically rebuild a building that has reached level TTT in Lua to level T?
by dc11
12 Jun 2021, 05:32
Forum: Plug-In Discussion
Topic: Is this a valid plugin?
Replies: 0
Views: 1221

Is this a valid plugin?

Is this a valid plugin? Does it work again? [{ "id":"$version_ttt", "type":"data", "fun":[{ "condition":{ "type":"days built","min":60 }, "actions":[ {"type":"remove"}, {"type...
by dc11
12 Jun 2021, 02:14
Forum: Game Discussion
Topic: How to ban the construction of certain buildings.
Replies: 4
Views: 2919

How to ban the construction of certain buildings.

Is there a way to ban the construction of certain buildings?
by dc11
07 Jun 2021, 14:25
Forum: Plug-In Discussion
Topic: Appearance rate of buildings.
Replies: 1
Views: 1198

Appearance rate of buildings.

It's boring because there are too many of the same buildings. Is there a way to control the rate of appearance of buildings?
by dc11
22 May 2021, 01:31
Forum: Plug-In Discussion
Topic: Plugin error
Replies: 1
Views: 1383

Plugin error

[{ "fun":[{ "condition":{ "type":"days built","min":60 }, "actions":[ {"type":"remove"}, {"type":"build","id":"$version_t"} ],"p":1 }] }] When I try to load this plugin, ...
by dc11
22 May 2021, 00:33
Forum: Problems
Topic: [Answered][1.9.95a] Plugin crash (remove1.json:104)
Replies: 1
Views: 1790

[Answered][1.9.95a] Plugin crash (remove1.json:104)

Hi, I got the following error with a plugin (remove1.json:104):

Code: Select all

In plugins/remove1.json:

java.lang.IllegalArgumentException: May not find a loader for type not defined
Device: SCG01 (samsung)
OS version: 30

Thank you in advance.
by dc11
17 May 2021, 01:43
Forum: Plug-In Discussion
Topic: About rebuilding the building.
Replies: 1
Views: 1145

About rebuilding the building.

Is it possible to create a plugin that automatically rebuilds a building that has reached TTT to the first level?
by dc11
16 May 2021, 04:21
Forum: Plug-In Discussion
Topic: About plugins that automatically rebuild top-level buildings.
Replies: 3
Views: 1684

Re: About plugins that automatically rebuild top-level buildings.

It means rebuilding a building that has reached the TTT level.

Go to advanced search