Search found 114 matches

by Denarii
Tue Nov 09, 2010 1:56 pm
Forum: Help Forum
Topic: LUA: Passing a local table to a function (for tempTriggers)
Replies: 3
Views: 1541

Re: LUA: Passing a local table to a function (for tempTriggers)

The problem is that tempRegexTrigger takes a string and then executes it as a chunk outside of that local environment. So if you do [[triggerStuff=myTable]], then myTable is undefined. So you'll need to serialize that table into a string and concat it in. There are various functions for serializing ...
by Denarii
Mon Aug 16, 2010 12:32 pm
Forum: Help Forum
Topic: Substitutions!
Replies: 9
Views: 1911

Re: Substitutions!

Can you upload your profile? That error really would seem to indicate that the Echoes table has been altered.
by Denarii
Sat Aug 14, 2010 2:13 pm
Forum: Help Forum
Topic: Substitutions!
Replies: 9
Views: 1911

Re: Substitutions!

Hey! It worked -well- for a while! Suddenly, today, it was only gagging, with no output. This is the error I was getting: object:<Presences Trigger> function:<Trigger42> <edittedmyinfo>/mudlet/LuaGlobal.lua:1127: attempt to call field 'Process' (a nil value. Trigger: ^Your guardian angel senses (\w...
by Denarii
Tue Aug 03, 2010 10:13 pm
Forum: Help Forum
Topic: Cecho issue
Replies: 22
Views: 4917

Re: Cecho issue

Try the one I posted that uses setBgColor directly and you'll see the problem.
by Denarii
Tue Aug 03, 2010 8:09 pm
Forum: Help Forum
Topic: Cecho issue
Replies: 22
Views: 4917

Re: Cecho issue

You're right. Even weirder, this seems to happen only when you use colors in the red-yellow spectrum. It's definitely not cecho, though. It's something in Mudlet itself. The same thing happens when you do this: local r, g, b = unpack(color_table.green) setFgColor(0, 0, 0) setBgColor(r, g, b) echo" "...
by Denarii
Tue Aug 03, 2010 6:29 pm
Forum: Help Forum
Topic: Cecho issue
Replies: 22
Views: 4917

Re: Cecho issue

It looks like it's not a cecho issue. Mudlet appears to be throttling style changes within a single line, as far as I can tell.
by Denarii
Tue Aug 03, 2010 5:50 pm
Forum: Help Forum
Topic: Cecho issue
Replies: 22
Views: 4917

Re: Cecho issue

Huh. That's a weird one.
by Denarii
Tue Jul 27, 2010 3:22 pm
Forum: Mudlet Development
Topic: LuaGlobal Improvements - help needed
Replies: 47
Views: 9494

Re: LuaGlobal Improvements - help needed

I've already fixed this in my local copy, I'll push the changes.
by Denarii
Tue Jul 13, 2010 4:31 pm
Forum: Scripts & Packages
Topic: [Achaea] % to Dragon
Replies: 17
Views: 5822

Re: [Achaea] % to Dragon

(\d+(?:\.\d+)?)%
by Denarii
Sat Jul 03, 2010 1:18 am
Forum: Help Forum
Topic: Converting Seconds to Minutes
Replies: 3
Views: 1338

Re: Converting Seconds to Minutes

ticktimer = createStopWatch() When the ticking starts, do: startStopWatch(ticktimer) To get the remaining time: function timeRemaining() local time = math.floor(getStopWatchTime(ticktimer)) local minutes_remaining = math.floor((800-time)/60) local seconds_remaining = (800-time) % 60 echo(minutes_re...