Search found 24 matches

by dc11
Sun Jul 04, 2021 3:21
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 178
Views: 23159

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
Sat Jul 03, 2021 23:10
Forum: Problems
Topic: [Asked][1.10.04a] Plugin crash (building count.json:176)
Replies: 0
Views: 670

[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 version: 30 Thank you in a...
by dc11
Sun Jun 27, 2021 15:35
Forum: Game Discussion
Topic: About the console.
Replies: 2
Views: 913

Re: About the console.

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

About the console.

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

About monthly income.

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

About the road.

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

Roads that do not cost construction.

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

Re: About the icon.

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

About the icon.

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

Re: About application of fun.

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

Re: About application of fun.

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

About application of fun.

How can I apply fun to all buildings?
by dc11
Wed Jun 16, 2021 0:36
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 178
Views: 23159

Re: Lua chatbox

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

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":"build","id":"$version_t"} ],"p":1 }] }]
by dc11
Sat Jun 12, 2021 2:14
Forum: Game Discussion
Topic: How to ban the construction of certain buildings.
Replies: 1
Views: 990

How to ban the construction of certain buildings.

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

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
Sat May 22, 2021 1:31
Forum: Plug-In Discussion
Topic: Plugin error
Replies: 1
Views: 739

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, I get the following error:"May not find a loader for type not defined" What should I do now?
by dc11
Sat May 22, 2021 0:33
Forum: Problems
Topic: [Answered][1.9.95a] Plugin crash (remove1.json:104)
Replies: 1
Views: 874

[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
Mon May 17, 2021 1:43
Forum: Plug-In Discussion
Topic: About rebuilding the building.
Replies: 1
Views: 640

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
Sun May 16, 2021 4:21
Forum: Plug-In Discussion
Topic: About plugins that automatically rebuild top-level buildings.
Replies: 3
Views: 730

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

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

Go to advanced search