Lusternian Calendar (rewritten)

Share your scripts and packages with other Mudlet users.
Post Reply
User avatar
demonnic
Posts: 886
Joined: Sat Dec 05, 2009 3:19 pm

Lusternian Calendar (rewritten)

Post by demonnic »

I've rewritten my old calendar widget for Lusternia to take advantage of the Geyser layout manager, and to be a bit more configurable.

Options include:
location: currently you can choose from the four corners of the screen
active color: the purple in the screenshot
inactive color: the green in the screenshot
fontsize: pretty self explanatory

and whether to display the herb window or not.

Picture:
calendar.PNG
calendar.PNG (5.42 KiB) Viewed 5529 times
XML:
Calendar.xml
(27.1 KiB) Downloaded 773 times
Mpackage:
Calendar.mpackage
(3.33 KiB) Downloaded 888 times
EDIT:

I forgot to include Geyser.MiniConsole:clear() in the package. You'll need to add this to get the pkg to work in its current form. I'll upload a fixed pkg tomorrow.
Code: [show] | [select all] lua
function Geyser.MiniConsole:clear ()
   clearWindow(self.name)
end

mirales
Posts: 5
Joined: Fri Apr 08, 2011 1:11 pm

Re: Lusternian Calendar (rewritten)

Post by mirales »

using cecho in the calendar isn't working for me.
If I change it to echo, I see the calendar with the color tags. Back to cecho, and all i get is the text "demonnic.calendar" displayed.

also if i just do cecho with the same text outside the calendar it works fine.

Any ideas?

User avatar
demonnic
Posts: 886
Joined: Sat Dec 05, 2009 3:19 pm

Re: Lusternian Calendar (rewritten)

Post by demonnic »

Not off the top of my head. I'm using it myself, so it -should- work.

what version of mudlet, and are you getting any errors in the error console?

mirales
Posts: 5
Joined: Fri Apr 08, 2011 1:11 pm

Re: Lusternian Calendar (rewritten)

Post by mirales »

I'm using 2.0rc5

No errors. I'm getting the message that the timer executed to call the print function and then "anonymous Lua function ran without errors".

I have modified it to work with Avalon, but like I said if I just change the cecho to echo it works fine -- just no color.

I'm at a loss. I like your calendar though...wish I could get it to work!

User avatar
demonnic
Posts: 886
Joined: Sat Dec 05, 2009 3:19 pm

Re: Lusternian Calendar (rewritten)

Post by demonnic »

my email is in help->about in mudlet, if you send me the code you used to there, I'll take a look over it. Not sure I'll see it where you don't, but it's worth a look. i've been meaning to brush up on my german anyways.

Post Reply