Search found 54 matches

by zhenzh
Mon Nov 02, 2020 4:51 am
Forum: General Forum
Topic: statics of temp triggers
Replies: 4
Views: 14233

Re: statics of temp triggers

I may find the root cause of mudlet hung during reload process. The issue can be easily reproduced by the command below: for i=1,50000 do id = tempTrigger("test", "") killTrigger(id) end resetProfile() reloadModule(<test module>) I think the issue is introduced by the function re...
by zhenzh
Sat Oct 31, 2020 7:16 pm
Forum: General Forum
Topic: statics of temp triggers
Replies: 4
Views: 14233

Re: statics of temp triggers

I have such question because I find reload module spends quiet a long time(even get the mudlet hung) each time my robot keep on running for several days(a lot of temp triggers add/remove occurred)
by zhenzh
Sat Oct 31, 2020 6:54 pm
Forum: General Forum
Topic: statics of temp triggers
Replies: 4
Views: 14233

statics of temp triggers

I find killTrigger() do delete the created temp trigger but the count of trigger report in statics will not get decreased.
Is that mean killTrigger() will not physically delete a temp trigger and allocated memory can not be released until reload the whole LUA env?
by zhenzh
Fri Oct 23, 2020 3:13 am
Forum: General Forum
Topic: Looking for a method to reset lua env
Replies: 1
Views: 4533

Looking for a method to reset lua env

Is there a graceful and light method to clean current running LUA env including removing all global/local values, terminating running coroutines and deleting existing temp triggers/timers? I'm now using resetProfile() and reloadModule() to implement such operation, but I think it's so heavy that all...
by zhenzh
Mon Sep 21, 2020 2:48 pm
Forum: General Forum
Topic: which file records profile settings
Replies: 1
Views: 3992

which file records profile settings

I tried to migrate my mud game to another computer by installing a fresh mudlet and copy existing profile directory to the new mudlet-data.
But I find it lost a lot of profile settings including fonts type/size/color and loaded packages/modules.

Which file is the exact one storing these settings?
by zhenzh
Fri Aug 07, 2020 4:11 am
Forum: Help Forum
Topic: Unexpected Trigger Fire
Replies: 2
Views: 10526

Re: Unexpected Trigger Fire

Yes, for permanent triggers, chain is a solution. While as for temp triggers, group is not supported. I prefer temp triggers as there're a lot of one shot triggers applying in my mud game. Using permanent triggers may get my robot larger and larger. As you mentioned, such firing order issue is proba...
by zhenzh
Thu Aug 06, 2020 7:36 pm
Forum: Help Forum
Topic: Unexpected Trigger Fire
Replies: 2
Views: 10526

Unexpected Trigger Fire

At the begining, I want to confirm a consensus against trigger firing mechanism in mudlet that any trigger can only be fired by new arriving lines after the point of time the trigger itself being created, isn't it? If the above view is correct, the below scenario should not get the trigger fired: ne...
by zhenzh
Sun Jul 26, 2020 9:14 am
Forum: General Forum
Topic: geyser questions
Replies: 1
Views: 4605

geyser questions

Does MiniConsole supports image background or transparent background?
How can I get the width of scrollbar in main window
by zhenzh
Sat Jul 18, 2020 4:19 pm
Forum: Mudlet Development
Topic: How to make a custom UI
Replies: 3
Views: 4245

Re: How to make a custom UI

Got it. Geyser is what I want for UI customize.
BTW, does the main window support image background?
by zhenzh
Fri Jul 17, 2020 2:49 pm
Forum: Mudlet Development
Topic: How to make a custom UI
Replies: 3
Views: 4245

How to make a custom UI

I'm going to make a custom UI as mudlet.org home page shown for my playing mud game. like this: 捕获.PNG I have investigated Geyser, MDK, EMOC but none of are the same as the example. These minWindow methods will not arrange the size/position of main window/status bar/mapper/tabwindow as what the home...