Search found 935 matches

by SlySven
Fri Mar 20, 2020 5:39 pm
Forum: Scripts & Packages
Topic: Enhanced OO wrapper for Mudlet Trigger, Timer, Event and Stopwatch objects
Replies: 6
Views: 261

Re: Enhanced OO wrapper for Mudlet Trigger, Timer, Event and Stopwatch objects

FTR The main reason I added the persistent feature is so that they could be used to time RL things outside of the profile session. If stopped when the profile is saved they will still be there (under the same NAME but not necessarily the same ID number) with the same stored time when the profile is ...
by SlySven
Thu Mar 19, 2020 7:19 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Fastest Trigger Types
Replies: 18
Views: 1409

Re: Fastest Trigger Types

Also for regular expressions it may help to optimise them - for the raw PCRE library that involves studying them and within the Qt QRegularExpression class making use of the optimize() method...
by SlySven
Thu Mar 19, 2020 7:10 pm
Forum: Mudlet Development
Topic: Does this exist? mudlet:// URL prefix that launches Mudlet and connect to a MUD?
Replies: 2
Views: 477

Re: Does this exist? mudlet:// URL prefix that launches Mudlet and connect to a MUD?

As I understand it - each OS does it in a different way and some just don't like/want you to add new or potentially change (remember telnet://) URI schemes - you could refer to a draft PR that Vadim has been working on at PR #3131.
by SlySven
Thu Mar 19, 2020 6:21 pm
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 9
Views: 748

Re: Handling Windows display scaling

I've recently set up a 4K (43") TV as a second monitor (i had to buy a more modern replacement graphics card as well but that is a different tale!) - and I have just seen that Qt 5.14 (the latest one at present) has just added QFontMetricsF::fontDpi() which might be relevant in this case - though on...
by SlySven
Thu Mar 19, 2020 5:49 pm
Forum: Help Forum
Topic: A little confused with the mapper and descriptions
Replies: 2
Views: 283

Re: A little confused with the mapper and descriptions

I have played an old-school MUD which does not give any out-of-band location details and thus needed you to also consider the room description when looking for a location match. I too stored the multi-line room description as one item in the room user data as Mudlet has never considered a room descr...
by SlySven
Sun Feb 23, 2020 11:56 am
Forum: Help Forum
Topic: Where are the files for Profiles and Packages stored, and how do I save and restore them?
Replies: 2
Views: 398

Re: Where are the files for Profiles and Packages stored, and how do I save and restore them?

To answer your questions as best I can: No. There might be - I can't recall what it was for saving the whole profile Yes: see the Wiki entry for: saveProfile(...) Yes - see previous answer same as 3. - though note that something exported from the editor is just that bit of the profile Not sure if op...
by SlySven
Sun Feb 23, 2020 11:37 am
Forum: Help Forum
Topic: Where are the files for Profiles and Packages stored, and how do I save and restore them?
Replies: 2
Views: 398

Re: Where are the files for Profiles and Packages stored, and how do I save and restore them?

All those triggers/timers/aliases/keybindings and scripts are stored in a date stamped .XML file in the /current sub-directory of the sub-directory of UsersHomeDirectory/.config/mudlet/profiles (on Windows read / as \ !) named after the profile's name. When you start Mudlet up and select a profile i...
by SlySven
Sun Feb 23, 2020 10:26 am
Forum: Help Forum
Topic: help with capture trigger
Replies: 6
Views: 905

Re: help with capture trigger

Yeah, matches[1] is the whole line IIRC and changing it now would break everything...
by SlySven
Sun Dec 01, 2019 5:21 pm
Forum: Help Forum
Topic: Directory locations for complete uninstall
Replies: 1
Views: 467

Re: Directory locations for complete uninstall

Well generally you'd find everything under a .config\mudlet directory inside your home directory (which for someone called "<username>" is C:\Users\ <username> if I remember correctly from when I last booted into Windoze - ironically I expect to be doing that in the next few hours but whether I get ...
by SlySven
Thu Nov 28, 2019 11:07 pm
Forum: Help Forum
Topic: Mudlet's script windows won't open
Replies: 7
Views: 1801

Re: Mudlet's script windows won't open

Um, you do realise that the OP hasn't been around here since 2011? :shock: As it happens Mudlet still saves the editor position - though it now uses an INI file format for all OSes if I remember it correctly - fair enough it does use the same settings for every profile which does not work so good if...