Author |
Message |
Topic: Trigger on variable change |
dak
Replies: 6
Views: 9989
|
Forum: CMUD General Discussion Posted: Wed Aug 19, 2009 8:00 am Subject: Trigger on variable change |
so have a variable keep track of what GH:H is, and when you fire to capture the variable, test to see if it changed.
prev_var = previous value of hpbarvar
if var == something AND hpbarvar != prev_va ... |
Topic: Trigger on variable change |
dak
Replies: 6
Views: 9989
|
Forum: CMUD General Discussion Posted: Wed Aug 19, 2009 1:46 am Subject: Trigger on variable change |
So, when capturing and gagging that variable:
if var == something
perform an action on this round
end if
The above is pseudo code. |
Topic: [3.10a] garbage instead of MUD bаnner after reconnect |
dak
Replies: 5
Views: 7592
|
Forum: CMUD Beta Forum Posted: Tue Aug 18, 2009 4:09 pm Subject: [3.10a] garbage instead of MUD bаnner after reconnect |
I've seen that thread; however, the bug is reproducible 100% of the time on certain muds by simply disconnecting and then attempting to reconnect. No other client I've seen has this problem. If it o ... |
Topic: [3.10a] garbage instead of MUD bаnner after reconnect |
dak
Replies: 5
Views: 7592
|
Forum: CMUD Beta Forum Posted: Tue Aug 18, 2009 8:04 am Subject: [3.10a] garbage instead of MUD bаnner after reconnect |
I think this is a known problem where some MUDs don't renegotiate the protocol correctly?
I have a hard time accepting that this is an issue on the MUD side when it happens with multiple MUDs and n ... |
Topic: Chinese characters support in CMUD ?! |
dak
Replies: 6
Views: 7272
|
Forum: CMUD General Discussion Posted: Tue Aug 18, 2009 8:00 am Subject: Re: Chinese characters support in CMUD ?! |
Hello, I am currently using CMUD (v2.37 and v3.08) in a Taiwan MUD.
What MUD? |
Topic: [CMUDPro 3.10a] Lua button properties not functioning properly. |
dak
Replies: 1
Views: 3385
|
Forum: CMUD Beta Forum Posted: Mon Aug 17, 2009 12:47 pm Subject: [CMUDPro 3.10a] Lua button properties not functioning properly. |
To be honest, I prefer 'color' over 'oncol' and 'offcol'. Non-pro is the same. |
Topic: [3.10a][BUG] MCCP Compression |
dak
Replies: 2
Views: 4883
|
Forum: CMUD Beta Forum Posted: Mon Aug 17, 2009 8:09 am Subject: [3.10a][BUG] MCCP Compression |
This has apparently been mentioned before, in reference to Discworld as well as other MUDs. Turning off MCCP Compression is a temporary, although not ideal, workaround:
http://forums.zuggsoft.com/ ... |
Topic: [3.10a][BUG] MCCP Compression |
dak
Replies: 2
Views: 4883
|
Forum: CMUD Beta Forum Posted: Mon Aug 17, 2009 8:03 am Subject: [3.10a][BUG] MCCP Compression |
I also randomly get the MCCP Compression error message while playing the MUD. Since closing the message only leads to another one popping up, it makes it impossible to continue and forces me to exit ... |
Topic: [3.10a][BUG] MCCP Compression |
dak
Replies: 2
Views: 4883
|
Forum: CMUD Beta Forum Posted: Mon Aug 17, 2009 7:57 am Subject: [3.10a][BUG] MCCP Compression |
When logging into Discworld MUD (discworld.atuin.net), I *almost* always briefly see the correct login text, and then suddenly have it compressed to unintelligible text, although after sending input t ... |
Topic: [3.10a][Help] Lua Gauge Value |
dak
Replies: 1
Views: 3626
|
Forum: CMUD Beta Forum Posted: Wed Aug 12, 2009 5:15 am Subject: [3.10a][Help] Lua Gauge Value |
I answered my own question. I was looking for 'boolval'. |
Topic: [3.10a][Help] Lua Gauge Value |
dak
Replies: 1
Views: 3626
|
Forum: CMUD Beta Forum Posted: Wed Aug 12, 2009 5:09 am Subject: [3.10a][Help] Lua Gauge Value |
I'm trying to use Lua to control the value of a gauge. I haven't been able to find documentation on the correct variable to set, so I've tried a number including "value", "gaugevalue", "gaugeval", "e ... |
Topic: Help: Lua and Buttons |
dak
Replies: 6
Views: 7886
|
Forum: CMUD General Discussion Posted: Mon Aug 10, 2009 8:39 am Subject: Help: Lua and Buttons |
You can accomplish the same thing with
zs.getbutton('foo').oncol=1291283
zs.getbutton('foo').textcol=921821
You'll have to convert the hex value of the color you want to a nu ... |
Topic: Help: Lua and Buttons |
dak
Replies: 6
Views: 7886
|
Forum: CMUD General Discussion Posted: Sat Aug 08, 2009 3:45 pm Subject: Help: Lua and Buttons |
Well, I've managed to answer my own question with regard to aliases and lua:
zs.execalias("test",123)
zs.execalias("test")
And it is in the documentation, I just ... |
Topic: Help: Lua and Buttons |
dak
Replies: 6
Views: 7886
|
Forum: CMUD General Discussion Posted: Sat Aug 08, 2009 8:36 am Subject: Help: Lua and Buttons |
I'd like to take advantage of some of the advantages Lua has over zScript, although I'm running into some obstacles when trying to manipulate buttons using Lua.
Issue #1: Captions
From what I can ... |
|