Search found 68 matches

by zhenzh
Thu Apr 23, 2020 3:07 pm
Forum: General Forum
Topic: all message show output don't follow the wrap rule
Replies: 3
Views: 9370

Re: all message show output don't follow the wrap rule

Besides, the line wrap counter doesn't unify the length of different characters. Both single and double bytes characters are treated as the same length which get the english and non-english lines wrap at different position. I understand such method simply avoides double byte characters being separat...
by zhenzh
Thu Apr 23, 2020 2:29 pm
Forum: General Forum
Topic: all message show output don't follow the wrap rule
Replies: 3
Views: 9370

all message show output don't follow the wrap rule

I find the output of all message show commands(print,echo,display and etc.) will not be restrained by ling wrap so that messages get out of the window size.
by zhenzh
Thu Apr 23, 2020 3:27 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: How to read an ANSI string
Replies: 1
Views: 5003

How to read an ANSI string

I have some strings encoded with ANSI.
Is there any function to get ANSI being converted to UTF8 so that display in mudlet can work?
by zhenzh
Thu Apr 23, 2020 2:24 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: How can I open an external sqlite3 db file?
Replies: 3
Views: 6281

Re: How can I open an external sqlite3 db file?

the database functions provided by mudlet has only create/close, no open or conn. How to work for external file?
Besides, how to save the db created by db:create? Where is the db file?
by zhenzh
Wed Apr 22, 2020 7:37 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: How can I open an external sqlite3 db file?
Replies: 3
Views: 6281

How can I open an external sqlite3 db file?

I find there's a sqlite3 module installed by mudlet when resetProfile()
[ OK ] - Lua module sqlite3 loaded.
But when I try to open an external db file by sqlite3.open(), it reports no such function.
Is the lua sqlite3 module embeded in mudlet? How to open the db files?
by zhenzh
Wed Apr 22, 2020 3:54 pm
Forum: Scripts & Packages
Topic: Wait and Wait Line
Replies: 20
Views: 39059

Re: Wait and Wait Line

v3 script enhancement: 1. localize variable threads to avoid getting conflict from global env. 2. wait_line supports multi-line by defining pattern as a table format like {pattern1, pattern2, pattern3, ...}. Captured values will be returned as what the mudlet multimatches variable. Single line match...
by zhenzh
Wed Apr 22, 2020 3:46 pm
Forum: Scripts & Packages
Topic: Wait and Wait Line
Replies: 20
Views: 39059

Re: Wait and Wait Line

#1 I have set the threads local variable which can not be reached from global at all. You can try the v3 script in #1 post edited. #2 The timer killing function do be called by trigger execuation, "threads[name][3]()" which is to stop effect of timeout at the point of time that the trigger...
by zhenzh
Tue Apr 21, 2020 10:30 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: How can I create a package including multiple elements
Replies: 2
Views: 5070

How can I create a package including multiple elements

Now, I can only use export from editor menu to generate an xml package and only 1 element(any one of trigger,timer,alias or script) can be selected. How can I create a full package including multiple triggers,timers,aliases and scripts together? My current work around is manually editing each single...
by zhenzh
Tue Apr 21, 2020 7:43 am
Forum: Mudlet Development
Topic: Is there a plan to get tempXXX get shown in GUI
Replies: 3
Views: 9104

Re: Is there a plan to get tempXXX get shown in GUI

Just like what we can see for the perm Ones, patterns and sendings(the exact value without escape character), trigger type(regex,substring and etc.), trigger id(help to understand which trigger/timer is still active), timer(defined/elapsed time)
by zhenzh
Tue Apr 21, 2020 1:10 am
Forum: Mudlet Development
Topic: Is there a plan to get tempXXX get shown in GUI
Replies: 3
Views: 9104

Is there a plan to get tempXXX get shown in GUI

At present, we can check permXXX from GUI only. For those temp elements, we are difficult to get their information once they are created. This do be a painful experience during debuging as we are difficult to understand why some temp triggers don't work as they are invisible. Will you have a plan to...