Search found 701 matches

by tsuujin
Sat Oct 29, 2011 12:00 am
Forum: Help Forum
Topic: Trying to capture lines with only one text colour
Replies: 13
Views: 10943

Re: Trying to capture lines with only one text colour

I'm confused; why do you need to test the color of the line via Lua? A Mudlet color trigger does -exactly- that; it will only fire if the foreground color matches whichever color you specify. Do you have some specific need for the color information in your code? There are MUDs out there that use co...
by tsuujin
Fri Oct 28, 2011 11:58 pm
Forum: Help Forum
Topic: Speed of scripts
Replies: 7
Views: 4510

Re: Speed of scripts

my curing system doesn't hardcode anything into the curing script. It's just an engine that parses through a user-defined set of arrays that handles afflictions, balances, cures, special usage instructions, etc. I like it because the actual curing code is very small and easy to debug, and the arrays...
by tsuujin
Fri Oct 28, 2011 6:37 am
Forum: Help Forum
Topic: Speed of scripts
Replies: 7
Views: 4510

Re: Speed of scripts

I'd say the difference is probably negligible on a moderately sided system. I'd worry more about which is easier for you to debug later.
by tsuujin
Fri Oct 28, 2011 6:34 am
Forum: General Forum
Topic: [resolved] Bloat-ware and crashing!
Replies: 22
Views: 15587

Re: Bloat-ware and crashing!

Uh... Vadi has been around these forums since the beginning, and has never been anything but helpful to people who ask for it. Claims to the contrary are entirely false. That being said, the OP was neither informative nor polite. The claims made were, from the perspective of a long time coder, almos...
by tsuujin
Tue Oct 25, 2011 5:58 pm
Forum: Help Forum
Topic: Speed of scripts
Replies: 7
Views: 4510

Re: Speed of scripts

I've read through this a couple of times, and I honestly don't know what you're asking here. You've asked which method is faster, but I don't know what two methods you're comparing. Are you asking if it's faster to loop through tables or to hard code it?
by tsuujin
Tue Oct 25, 2011 5:55 pm
Forum: Help Forum
Topic: Two questions
Replies: 4
Views: 3595

Re: Two questions

Alright, I have two questions that I am just going to put in here. First, there is supposedly an error in this trigger and I am not sure what it is. Pattern : ^(\w+) flits into view directly overhead\.$ if skycall == true then send("wt " .. matches[2] .. " is flying above.") if ...
by tsuujin
Thu Oct 20, 2011 3:32 am
Forum: General Forum
Topic: ctrl+shift+v
Replies: 27
Views: 18743

Re: ctrl+shift+v

ctrl+c copy is buggy at the moment, and always has been. Sometimes it looks at the input bar, othertimes it looks at what's on the screen, occasionally it looks at some buffer that you're not seeing that is always empty. That is a bug indeed, and not really what this thread is about. I'd welcome fix...
by tsuujin
Wed Oct 19, 2011 6:58 am
Forum: General Forum
Topic: ctrl+shift+v
Replies: 27
Views: 18743

Re: ctrl+shift+v

I can see the use of what they're suggesting, honestly. The implementation of it would be needlessly difficult as I understand how the Mudlet display system works. You'd essentially have to save two different buffers, one for the screen that you see (with linebreaks done by mudlet) and another for t...
by tsuujin
Thu Oct 13, 2011 11:12 pm
Forum: Help Forum
Topic: variables
Replies: 1
Views: 2355

Re: variables

There are a couple of ways to do this, but it's not as simple as it is on other clients. Mudlet uses a raw Lua sandbox for all the coding, which makes for fast and reliable systems but does not allow for variables to carry between sessions. There are two common ways to accomplish this in Mudlet. The...
by tsuujin
Thu Oct 13, 2011 10:09 pm
Forum: Mudlet Development
Topic: General ATCP question: is there a limit to telnet neg length
Replies: 9
Views: 6234

Re: General ATCP question: is there a limit to telnet neg le

Given that it is the "Achaea Telnet Client Protocol" and IRE (the people who wrote the protocol in the first place) have depreciated it in favor of GMCP, the fact that any other mud still uses it doesn't change it's depreciation. Also if you will bother to read towards the bottom of the or...