Search found 81 matches

by ian`
Wed Nov 18, 2020 12:24
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 145
Views: 6776

Re: Lua chatbox

i think you can use string.gmatch and table of the "words" you want to censor.
by ian`
Fri Nov 13, 2020 12:45
Forum: Problems
Topic: [1.9.49p][windows] Tile.getBuildingName not work
Replies: 2
Views: 332

Re: [1.9.49p][windows] Tile.getBuildingName not work

yeah, it's still available. You only need to do something to get the tileX and tileY values. The simpliest things are you can use script:click(x,y,level) and attach the script into building draft. so the tileX and tileY values can be set when the user click the building. function script:click(x,y,le...
by ian`
Thu Nov 05, 2020 10:08
Forum: Lua Scripting
Topic: [1.8.95] Plugin settings
Replies: 8
Views: 628

Re: [1.8.95] Plugin settings

is it possible to use a textbox or slider as a setting? i want the user to be able to enter any number value they want i think you only can use like generic text (in this case textField) and add more vars on the onChange options. function script:settings() return{ { name = 'Generic text', -- This d...
by ian`
Tue Oct 27, 2020 13:23
Forum: Tutorials and Documentation
Topic: Night Animations
Replies: 39
Views: 8459

Re: Night Animations

Light seed documentation, please. :teach
by ian`
Wed Oct 21, 2020 9:08
Forum: Lua Scripting
Topic: Animation Dev Tool (Open Source)
Replies: 5
Views: 388

Animation Dev Tool (Open Source)

Since this plugin is open source, please do not commercialize or claim this plugin as yourself without any attempt to create a new one. This source of plugins is only for those of you who learn about lua and create masterpieces with it. All results of light definitions or animations in json array f...
by ian`
Sun Oct 18, 2020 20:38
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 145
Views: 6776

Re: Lua chatbox

So you want make a thing like gui example in Dev tool plugin by Lobby? Actually you can look at gui example post for the complete code. local function showDialog() -- Body of dialog that will show when tool is clicked end function script:event(x,y,lvl,event) if event == Script.EVENT_TOOL_ENTER then ...
by ian`
Sun Oct 18, 2020 19:43
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 145
Views: 6776

Re: Lua chatbox

you can look at gui compendium, there is a complete explanation of gui.
by ian`
Sun Oct 18, 2020 5:42
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 145
Views: 6776

Re: Lua chatbox

can the value of a variable that is in process such as in script:update() would be stored insidr tables even if it is pre-defined from local declaration .... I think it the game should read and used the value of the variable that is in pre-defined in var-declaration than the saved values Yeah, it's...
by ian`
Sun Oct 18, 2020 5:16
Forum: Game Discussion
Topic: What happened?
Replies: 5
Views: 541

Re: What happened?

Maybe Lobby is busy rn
by ian`
Tue Oct 13, 2020 8:29
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2619

Re: Advanced Information and Tools plugin (issues and suggestions thread)

pkasedona wrote:
Tue Oct 13, 2020 5:10
I can’t find this plugin when I search for it. Maybe that accounts for the low number of downloads
This plugin requires TheoTown min version 1.9.37. Please check your TheoTown version. If your version is 1.9.37 or latest, but you still can't find this plugin, let me know. :jb:
by ian`
Thu Oct 01, 2020 6:01
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2619

Re: Shortcut box plugin

Would it be possible to have a button to populate the shortcuts with the last 9 or so most recents? It is easier to subtract an item than navigating through menus to select an item to add. Yeah, it's possible, but i need Lobby to add some functions to make me can get the recent drafts or get the co...
by ian`
Wed Sep 09, 2020 17:25
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2619

Re: Advanced Information and Tools plugin (issues and suggestions thread)

Update 09-09-2020 - Add shortcut button for terrain tools, move building tool, label, and clone tool. - Add Advanced Clone tool. Tool like eyedropper with extra features : clone tree and asphalt. - Add more settings shortcut. - Change tools layout. Have any suggestions or bug issues? Let's me know ...
by ian`
Sun Sep 06, 2020 5:43
Forum: Lua Scripting
Topic: Drawing basics
Replies: 24
Views: 1859

Re: Drawing basics

Code: Select all    Reset

if not TheoTown.SETTINGS.hideUI then Drawing.drawText('Hello World', 50, 50) end
Interactive Lua editor
Run
by ian`
Sat Sep 05, 2020 13:04
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 145
Views: 6776

Re: Lua chatbox

Code: Select all    Reset

Draft.append(woodIconJson) -- variable name aren't string, don't use quotation marks.
Interactive Lua editor
Run
by ian`
Sat Sep 05, 2020 4:23
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2619

Re: Advanced Information and Tools plugin (issues and suggestions thread)

Update 05-09-2020 - Tools improvements: * Add undo button/action. * Add area size and tool mark size for untouchable tools - Merge Untouchable tools. Now you can set your tool mark size (default : 0 / off) - Add tool mark on center of the screen (after first click) on advanced remove tool. Have any...
by ian`
Sat Sep 05, 2020 3:21
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 145
Views: 6776

Re: Lua chatbox

I think Icon.EX is hardcoded, because its actually return number. If you want to add your icons, you still have to write the Json code to making a draft for the image. [ { "id":"iconId", "type":"animation", "frames":[{"bmp":"icon.png", "w":24, "h":24}] } ] If you want to use it on multiple line, you...
by ian`
Fri Aug 28, 2020 17:37
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2619

Re: Advanced Information and Tools plugin (issues and suggestions thread)

Update 28-08-2020

- Fixed last bugs
- Add advanced remove tools. (remove tools with larger area and selected type stuff to remove.)

Have any suggestions or bug issues? Let's me know here.

:bc :mine
by ian`
Mon Aug 24, 2020 4:18
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2619

Re: PEF Informations plugin (issues and suggestions thread)

thanks. yeah, the new version used the new lua functions and changes the whole script. lol The progress around 60 ~ 70% and the new version required TT version min 1.9.27. Tbh, it doesn't matter about the number of downloads, it will increase with time. Yes, that's the main goal and in this version ...

Go to advanced search