Search found 334 matches

by Nyyrazzilyss
Thu Aug 16, 2018 3:31 pm
Forum: Help Forum
Topic: How to capture and store data (and view it via an alias)?
Replies: 76
Views: 43331

Re: How to capture and store data (and view it via an alias)?

Something I usually suggest printing out can be found at http://regexlib.com/CheatSheet.aspx
by Nyyrazzilyss
Sun Apr 08, 2018 3:32 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Change Mob Color
Replies: 6
Views: 6657

Re: Change Mob Color

I had to do something similar on TorilMud getting my mapper to properly recognize rooms. Not changing mob name colours, but locating the room description / room name in a text stream with no particular markers. Your prompt line is a unique marker. The 'Exits:' line also tends to be unique. Jor'Mox '...
by Nyyrazzilyss
Wed Mar 28, 2018 3:53 pm
Forum: Scripts & Packages
Topic: YATCO
Replies: 142
Views: 327146

Re: YATCO

One question. I loaded and configured YATCO, but have had an odd issue. I'm coming from TinTin++ and everything would load on its own line in that client, so virtually all of my triggers and such would be prefixed with ^ to make sure they only function when the text begins the line. With Mudlet I'v...
by Nyyrazzilyss
Tue Feb 27, 2018 7:44 pm
Forum: Mudlet Development
Topic: 1556 / New font installation?
Replies: 28
Views: 32789

Re: 1556 / New font installation?

Looking at the Qt class, something like that could be helpful. In playing with fonts, i've re-written my gui to not use pre-built .png files, but instead create all the buttons/etc realtime from a table. This allowed me to give users a single command (@set font xxx + similar settings for colours use...
by Nyyrazzilyss
Tue Feb 27, 2018 5:16 pm
Forum: Mudlet Development
Topic: 1556 / New font installation?
Replies: 28
Views: 32789

Re: 1556 / New font installation?

Something useful going with this might be a command like 'getFonts()' that returned a table with a list of names of installed fonts.
by Nyyrazzilyss
Thu Feb 22, 2018 2:05 pm
Forum: Mudlet Development
Topic: 1556 / New font installation?
Replies: 28
Views: 32789

Re: 1556 / New font installation?

So, we need to make this as easy and hassle-free as possible and atm I'm not seeing any limitation to it. Scan the list of files in a package, install any font files you find, done. That would work really well to: If the package installer were to copy any included .ttf files into the fonts director...
by Nyyrazzilyss
Wed Feb 21, 2018 12:48 am
Forum: Mudlet Development
Topic: 1556 / New font installation?
Replies: 28
Views: 32789

Re: 1556 / New font installation?

I haven't look at the Qt structure for loading fonts, but that sounds kind of complex. Wouldn't it be possible to just have a lua call loadFont(fontname) that - If font is already loaded, does nothing - If font is not loaded, copies the provided font file to the fonts directory, then registers it to...
by Nyyrazzilyss
Tue Feb 20, 2018 3:38 pm
Forum: Mudlet Development
Topic: 1556 / New font installation?
Replies: 28
Views: 32789

Re: 1556 / New font installation?

That would probably work perfect: registerFont(path) with path being an offset from the current profile location. That could allow me to load (and immediately use) a new font file included with the package, without having to copy the file to a new location. If the registerFont command itself were to...
by Nyyrazzilyss
Mon Feb 19, 2018 11:09 pm
Forum: Mudlet Development
Topic: 1556 / New font installation?
Replies: 28
Views: 32789

Re: 1556 / New font installation?

Just played a bit more with this doing it from script - The main problem now with this would probably be while having the script copy the file into the fonts directory does work, the font itself isn't usable until next mudlet restart. (Windows)
by Nyyrazzilyss
Thu Feb 15, 2018 11:42 am
Forum: Help Forum
Topic: Using CSS properties?
Replies: 2
Views: 4377

Using CSS properties?

I'm trying to figure out how to use CSS properties with echo. In particular, the intent is I have a lot of pre-rendered .png files i'm using for buttons. I would like to change them to all be generated realtime from a table. A sample button: https://github.com/Nyyrazzilyss/NyyLIB/raw/master/NyyLIB01...