Search found 321 matches

by Oneymus
Mon Jan 04, 2016 5:01 am
Forum: Help Forum
Topic: Using registerAnonymousEventHandler to redraw UI
Replies: 2
Views: 3695

Re: Using registerAnonymousEventHandler to redraw UI

When Vyzor resizes (which it does when Mudlet is resized), it sets a flag to specifically prevent endless resizing. See GitHub for details. @tarkenton: The best way to resize a UI is to move and resize the labels/miniconsoles, not resetProfile(). It's more work, but doesn't remove everything else in...
by Oneymus
Fri Dec 11, 2015 6:25 am
Forum: Help Forum
Topic: Nesting labels inside Lua table structures
Replies: 4
Views: 5907

Re: Nesting labels inside Lua table structures

As far as I can tell, the issue you're running into exists because a Geyser object can have a crazy deep structure. Testing your code locally, I was able to add the first system without issue, but as soon as I tried to add another, table.contains overflows. If you want to see what I mean, at the end...
by Oneymus
Sat Nov 01, 2014 8:54 pm
Forum: Help Forum
Topic: Alias Crashing Client?
Replies: 4
Views: 3985

Re: Alias Crashing Client?

Merged these two because they're for the exact same problem.
by Oneymus
Sat Nov 01, 2014 8:51 pm
Forum: Help Forum
Topic: Alias Crashing Client?
Replies: 4
Views: 3985

Re: Alias Causing Crash?

You definitely need to be more specific. What is the alias? What's the input that causes it to crash?

Do you have other aliases with similar patterns? Is there anything special about this alias (does it call expandAlias)?

I would start by showing us the alias pattern and its code.
by Oneymus
Wed Oct 29, 2014 1:43 pm
Forum: Help Forum
Topic: import lua?
Replies: 16
Views: 13841

Re: import lua?

From memory tempTimer will run after the rest of the initialisation, so this guarantees that the Vyzor module will be loaded before VyzorLoadEvent is executed. This is correct. Putting it in a tempTimer gives other Scripts a chance to execute, thus initializing other modules, before Vyzor raises it...
by Oneymus
Wed Oct 29, 2014 5:40 am
Forum: Help Forum
Topic: import lua?
Replies: 16
Views: 13841

Re: import lua?

A little tip, if you'd like to use require() without jumping through too many hoops: modify package.path temporarily to include the directory where the code is stored. If you're installing your .lua files through the Package Manager, this would be the result of getMudletHomeDir(). For reference, thi...
by Oneymus
Wed Oct 29, 2014 5:15 am
Forum: Scripts & Packages
Topic: Vyzor, UI Manager for Mudlet
Replies: 329
Views: 255400

Re: Vyzor, UI Manager for Mudlet

Updated the Vyzor repo (-> v3.03.02) to fix a bug (thanks, valaria!).

Also, for anyone interested in the versioning scheme I have chosen: Semantic Versioning.
by Oneymus
Tue Oct 07, 2014 1:35 pm
Forum: Scripts & Packages
Topic: NumPad Movement
Replies: 3
Views: 8632

Re: NumPad Movement

That is not the Lua code. That's the XML package Mudlet uses for exporting/importing. If you add this package to your profile in Mudlet, you'll be able to inspect it via the UI, which will give you the information you need.
by Oneymus
Tue Aug 26, 2014 12:17 am
Forum: General Forum
Topic: Reformatting
Replies: 8
Views: 7332

Re: Reformatting

Sublime Text is my personal favourite. With some packages, you can get great Lua highlighting and syntax checking.
by Oneymus
Tue Aug 12, 2014 1:24 am
Forum: Help Forum
Topic: [ SOLVED ] Quick Geyser and GMCP question
Replies: 26
Views: 17842

Re: Quick Geyser and GMCP question

Except your script is no longer named "charStatus". It's now named "CharacterStatus". For the event to work, your script must be named the same as the function you wish to call. In one of your earlier screenshots, the one to which I responded with the solution, this was true. Bef...