Search found 1101 matches

by Jor'Mox
Sun May 05, 2013 5:32 pm
Forum: Help Forum
Topic: Events and triggers
Replies: 4
Views: 1434

Events and triggers

I am trying to collect certain information during combat via triggers that raise events which then do all the heavy lifting. But I'm running into a problem in that it seems that the event triggered from one line isn't finishing before the event triggered on the next line runs. Specifically, the firs...
by Jor'Mox
Wed May 01, 2013 11:43 pm
Forum: Mudlet Development
Topic: Geyser MiniConsole setFontSize Issue
Replies: 4
Views: 2540

Re: Geyser MiniConsole setFontSize Issue

These are the results that I get: local test1 = Geyser.MiniConsole:new({name = "test1"}) local test2 = Geyser.MiniConsole:new({name = "test2"}) test1:setFontSize(9) display(test1.fontSize) --> 9 display(Geyser.MiniConsole.fontSize) --> 8 display(Geyser.Window.fontSize) -- 8 display(Geyser.Container....
by Jor'Mox
Wed May 01, 2013 10:00 pm
Forum: Help Forum
Topic: Setting Word Wrap for MiniConsoles in Geyser
Replies: 18
Views: 4640

Re: Setting Word Wrap for MiniConsoles in Geyser

Geyser.MiniConsole is an instance of the Geyser.Window class, which is an instance of the Geyser.Container class. The metatable for Geyser.MiniConsole is set so that any calls to Geyser.MiniConsole that aren't recognized are passed up to Geyser.Window, and from there to Geyser.Container if necessary...
by Jor'Mox
Wed May 01, 2013 9:17 pm
Forum: Help Forum
Topic: Setting Word Wrap for MiniConsoles in Geyser
Replies: 18
Views: 4640

Re: Setting Word Wrap for MiniConsoles in Geyser

I'm pretty sure I understand the reasoning, and it is as follows. Geyser.MiniConsole doesn't have a "setFontSize" function, nor does "Geyser.Window". "Geyser.Container" DOES have a setFontSize function. So the intent was to do whatever is in the Geyser.Container.setFontSize function and, in addition...
by Jor'Mox
Wed May 01, 2013 8:49 pm
Forum: Mudlet Development
Topic: Geyser MiniConsole setFontSize Issue
Replies: 4
Views: 2540

Re: Geyser MiniConsole setFontSize Issue

As a proof that my idea was correct, I changed the line in GeyserMiniConsole.lua from self.parent:setFontSize(size) to self.parent.setFontSize(self, size) and ran my initial example, using the exact same code. These were the results: local test1 = Geyser.MiniConsole:new({name = "test1"}) local test2...
by Jor'Mox
Wed May 01, 2013 8:40 pm
Forum: Help Forum
Topic: Setting Word Wrap for MiniConsoles in Geyser
Replies: 18
Views: 4640

Re: Setting Word Wrap for MiniConsoles in Geyser

If I understand how this works correctly, I am going to have to disagree with you. self:setFontSize(size) -- > self.setFontSize(self,size) However, when using the function in self.parent:setFontSize(size), the "self" that will be passed is "self.parent", not "self". Hence the problem. Or, to be clea...
by Jor'Mox
Wed May 01, 2013 3:53 pm
Forum: Help Forum
Topic: Font In Main Window Randomly Changing
Replies: 16
Views: 3789

Re: Font In Main Window Randomly Changing

I found the offending function that is causing the fonts to suddenly change. It is "setBackgroundColor". This simple example demonstrates the issue.
Code: [show] | [select all] lua
createMiniConsole("test1",0,0,0,0)
setBackgroundColor("test1",0,0,0,0) --> font change occurs upon execution of this line.
by Jor'Mox
Wed May 01, 2013 3:33 pm
Forum: Help Forum
Topic: Setting Word Wrap for MiniConsoles in Geyser
Replies: 18
Views: 4640

Re: Setting Word Wrap for MiniConsoles in Geyser

I tracked down the problem, and posted it in the Development forum. Hopefully it will be enough to allow someone to resolve the issue. I'm thinking that replacing the "self.parent:setFontSize(size)" with "self.parent.setFontSize(self,size)" or perhaps "self.fontSize = size" should work. If I changed...
by Jor'Mox
Wed May 01, 2013 3:22 pm
Forum: Mudlet Development
Topic: Geyser MiniConsole setFontSize Issue
Replies: 4
Views: 2540

Geyser MiniConsole setFontSize Issue

Using the "setFontSize" function for any MiniConsole object created with Geyser stores that value in Geyser.Window.fontSize rather than in the object itself, a behavior not observed with other objects (labels and gauges tested). Here is an example function demonstrating what I'm talking about. local...
by Jor'Mox
Tue Apr 30, 2013 4:48 pm
Forum: Help Forum
Topic: still seeking help
Replies: 4
Views: 1284

Re: still seeking help

Have you tried making a profile for your game but giving it a bogus name?