Search found 10 matches

by chalraes
Thu Jun 17, 2010 6:18 pm
Forum: Mudlet Development
Topic: [resolved] Feature Request: c/d/hecho special char parsing
Replies: 1
Views: 2538

[resolved] Feature Request: c/d/hecho special char parsing

Hello. I have a small request for LuaGlobal.lua. I was thinking perhaps special character parsing for cecho/hecho/decho could be added to allow the use of < and >. It may cut down on performance a small bit, but it would be nice to have, especially if something that needs to be echoed in colour happ...
by chalraes
Thu Jun 17, 2010 1:29 am
Forum: Help Forum
Topic: Small problem with my GUI framework
Replies: 1
Views: 2514

Small problem with my GUI framework

Hello again. I've been trying to develop a semi-fluid widget-based framework for my GUI, and I have run into more than a few snags. It seems even if the widgets successfully loads, it will not display on screen. I can't seem to find where I screwed up. Any help would be appreciated. Oh, just as a no...
by chalraes
Thu Jun 17, 2010 1:05 am
Forum: Help Forum
Topic: Creating a button
Replies: 1
Views: 2599

Re: Creating a button

Yeah. Labels and buttons confused me when I first started with UIs in Mudlet. Found this small tidbit useful, though(I will add comments to make it easier to understand). --create a folder to place the image that the label uses. Not really needed unless you use an image gfx_path = "/home/heiko/...
by chalraes
Wed Jun 16, 2010 12:51 pm
Forum: Help Forum
Topic: Capturing and subsituting 2 lines together
Replies: 5
Views: 3997

Re: Capturing and subsituting 2 lines together

timoomit wrote:Cannot seem to find the config on midkemiaonline though.
It seems they changed it on MKO. Try using CONFIG SCREENWIDTH 0
by chalraes
Wed Jun 16, 2010 12:44 pm
Forum: Help Forum
Topic: case insensitive temp triggers?
Replies: 3
Views: 2952

Re: case insensitive temp triggers?

Try this:
Code: [show] | [select all] lua
local tempHighlight = tempRegexTrigger("(?i:"..highLightReg..")", [[selectString("]] .. highLightVar .. [[", 1) setFgColor(0,0,0) setBgColor(255,200,200) resetFormat()]])
by chalraes
Tue Jun 15, 2010 11:48 pm
Forum: Help Forum
Topic: Capturing and subsituting 2 lines together
Replies: 5
Views: 3997

Re: Capturing and subsituting 2 lines together

The last time I started a character on Imperian they didn't have an option to disable wrapping (which was frustrating enough that I just lost interest and went back to another game after a few hours) Hmm. Just checked, and CONFIG WRAPWIDTH 0 does work on Imperian(in fact, if memory serves, I believ...
by chalraes
Tue Jun 15, 2010 9:28 pm
Forum: Help Forum
Topic: Capturing and subsituting 2 lines together
Replies: 5
Views: 3997

Re: Capturing and subsituting 2 lines together

An IRE mud, getting a two-line attack input. Like this: Someone brings a blackened warhammer bearing fangs before his face, as a corona of light begins emanating from within. I would like to capture this as a single trigger, do my logic and then replace it with my own string. Im not fully sure how ...
by chalraes
Tue Jun 15, 2010 9:14 am
Forum: Help Forum
Topic: Problem with LuaGlobal
Replies: 4
Views: 3949

Re: Problem with LuaGlobal

It seems after some tracing, I found the problem to be not in LuaGlobal, but in my blackout checking... :?
Thank you for your help
by chalraes
Tue Jun 15, 2010 6:13 am
Forum: Help Forum
Topic: Problem with LuaGlobal
Replies: 4
Views: 3949

Re: Problem with LuaGlobal

do you call string:split() in any of the functions within this script? Like prompt:decorate() perhaps? Not once. Here is the code for prompt:decorate() function prompt:decorate() if affs.blackout == 0 then stats:getmax() stats:getpercentage() local echostring = "" --health if stats.health...
by chalraes
Mon Jun 14, 2010 10:53 pm
Forum: Help Forum
Topic: Problem with LuaGlobal
Replies: 4
Views: 3949

Problem with LuaGlobal

Hello, It seem I have come across a problem that I cannot seem to solve. I have completely rewritten the function which triggers it twice, and I have had this problem persist across three different installations. I recieve this error every time my prompt should fire: [ERROR:] object:<Prompt> functio...