Author |
Message |
Topic: Lua and %x1..%x99 predefined variables |
Daagar
Replies: 4
Views: 8389
|
Forum: CMUD General Discussion Posted: Mon Oct 13, 2008 3:06 am Subject: Lua and %x1..%x99 predefined variables |
From what I'm seeing in the docs, it appears you can get at those predefined variables simply via zs.x1(), zs.x2(), etc. When using the zs object, it will look for commands first of that name, then fu ... |
Topic: Hmmm... is there a list of predefined zs.* for lua purposes? |
Daagar
Replies: 8
Views: 11436
|
Forum: CMUD General Discussion Posted: Mon Oct 13, 2008 3:01 am Subject: Hmmm... is there a list of predefined zs.* for lua purposes? |
As you can see from my other post, I'm clearly not the authority on LUA integration yet, but the help file you are looking for is 'zs Object'. For pretty much every object in cmud (aliases, triggers, ... |
Topic: [2.36] Calling function (lua) from zscript trigger |
Daagar
Replies: 9
Views: 15404
|
Forum: CMUD General Discussion Posted: Mon Oct 13, 2008 1:21 am Subject: [2.36] Calling function (lua) from zscript trigger |
I had tried zs.func.funcname() without success... but considering the other silly issues I was having I don't put much stock in it. Your way did seem clean, and would make a clean way to build a libra ... |
Topic: [2.36] Calling function (lua) from zscript trigger |
Daagar
Replies: 9
Views: 15404
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 5:57 pm Subject: [2.36] Calling function (lua) from zscript trigger |
Woo, thank you. That was exactly what I was missing - the concept of creating actual LUA functions (function..end) vs a CMUD function containing LUA code (which is what I couldn't figure out how to ca ... |
Topic: [2.36] Calling function (lua) from zscript trigger |
Daagar
Replies: 9
Views: 15404
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 5:10 pm Subject: [2.36] Calling function (lua) from zscript trigger |
Sure enough, stupidity on my part as expected. I had "Show information messages" unchecked under Options->General->Scripting->General Scripting. Combined with not using #call, I was led down ... |
Topic: [2.36] Calling function (lua) from zscript trigger |
Daagar
Replies: 9
Views: 15404
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 4:40 pm Subject: [2.36] Calling function (lua) from zscript trigger |
The pasted code is the actual broken function. I stripped it down to the most basic 'broken' state I could just to eliminate silly things like typos. Thanks for pointing out the #call though... I some ... |
Topic: [2.36] Calling function (lua) from zscript trigger |
Daagar
Replies: 9
Views: 15404
|
Forum: CMUD General Discussion Posted: Sat Oct 11, 2008 10:19 pm Subject: [2.36] Calling function (lua) from zscript trigger |
It is as simple as described :) Something interesting I discovered: the below worked fine _until_ I tried adding parameters to the function. As soon as I did that, attempting to call @testlog("para ... |
Topic: [2.36] Calling function (lua) from zscript trigger |
Daagar
Replies: 9
Views: 15404
|
Forum: CMUD General Discussion Posted: Sat Oct 11, 2008 5:20 pm Subject: [2.36] Calling function (lua) from zscript trigger |
I'm sure this is just me doing something silly, but I couldn't seem to figure it out.
I have a simple function called 'log' that takes two parameters (classname and message). It is set to use LUA, ... |
Topic: So what do you play? |
Daagar
Replies: 31
Views: 57979
|
Forum: CMUD General Discussion Posted: Fri Oct 10, 2008 2:03 am Subject: So what do you play? |
I've wanted to get into one of the Iron Realm games (Achaea, etc) just for the scripting as well... the fact that 'systems' are allowed (encouraged/required/whatever) is very very interesting. Just ca ... |
Topic: So what do you play? |
Daagar
Replies: 31
Views: 57979
|
Forum: CMUD General Discussion Posted: Sat Sep 27, 2008 1:00 am Subject: So what do you play? |
I play on 3-kingdoms (3k.org). It was one of the first muds I came across back in 1993, and luckily happens to be one of the top remaining LPMuds. It plays very differently from most muds, and I encou ... |
Topic: New v3.01 mapper ETA (edited: mid Nov) |
Daagar
Replies: 44
Views: 57844
|
Forum: CMUD Beta Forum Posted: Thu Sep 25, 2008 3:28 am Subject: New v3.01 mapper ETA (edited: mid Nov) |
More important than the cmud mapper?! *gasp* ;) Thanks for the updates! Very excited to see it. |
Topic: About v2.36 |
Daagar
Replies: 3
Views: 5942
|
Forum: CMUD General Discussion Posted: Sat Aug 16, 2008 8:26 pm Subject: About v2.36 |
I use #gag quite a bit to block out a per-room 'compass' and extract the room title. 2.36 does seem faster, as there is less 'flicker' when moving from room to room as it gags the compass and rewrites ... |
Topic: TrayWindows for CMUD? |
Daagar
Replies: 10
Views: 11910
|
Forum: CMUD General Discussion Posted: Mon Aug 04, 2008 11:40 pm Subject: TrayWindows for CMUD? |
Probably overkill for what you are looking for, but RocketDock is pretty slick: http://rocketdock.com/ |
Topic: Gauges in status window???? |
Daagar
Replies: 15
Views: 21887
|
Forum: CMUD General Discussion Posted: Tue Mar 04, 2008 8:46 pm Subject: Gauges in status window???? |
I tried a few times to dig up the original author, but to no avail. I definitely agree this belongs in the package library - I didn't realize how many people would take to it. Thanks all for sprucing ... |
Topic: Gauges in status window???? |
Daagar
Replies: 15
Views: 21887
|
Forum: CMUD General Discussion Posted: Fri Feb 29, 2008 12:55 am Subject: Gauges in status window???? |
Thanks Fang. It was one of those things I never bothered to touch because it always worked so perfect. Tad easier to read now in the new format :) |
Topic: Gauges in status window???? |
Daagar
Replies: 15
Views: 21887
|
Forum: CMUD General Discussion Posted: Thu Feb 28, 2008 3:47 am Subject: Gauges in status window???? |
This isn't really what you were asking for, but the following set of variables will allow you to create ASCII gauge bars in the status window. They are, in fact, quite excellent. This is not my code, ... |
Topic: [2.01] Screen update/refresh issue |
Daagar
Replies: 3
Views: 6535
|
Forum: CMUD Beta Forum Posted: Sun Aug 26, 2007 2:02 am Subject: [2.01] Screen update/refresh issue |
No worries, wasn't intended as a quick fix item. Not a showstopper, just an oddity. |
Topic: [2.01] Screen update/refresh issue |
Daagar
Replies: 3
Views: 6535
|
Forum: CMUD Beta Forum Posted: Sun Aug 26, 2007 1:45 am Subject: [2.01] Screen update/refresh issue |
Interesting screen refresh issue:
I have a trigger that captures a HP/SP line on each round of combat, #gags it, and #echos instead a round indicator (the line being captured is not a prompt). With ... |
Topic: [2.01] URGENT invalid muds.db file location |
Daagar
Replies: 4
Views: 7339
|
Forum: CMUD Beta Forum Posted: Sun Aug 26, 2007 1:32 am Subject: [2.01] URGENT invalid muds.db file location |
No worries, that's what beta's are for :) |
Topic: [2.01] URGENT invalid muds.db file location |
Daagar
Replies: 4
Views: 7339
|
Forum: CMUD Beta Forum Posted: Sun Aug 26, 2007 1:29 am Subject: [2.01] URGENT invalid muds.db file location |
Confirmed after an install of 2.01beta on top of a previously existing 1.34. This appears to be a fatal showstopper error. |
Topic: CMUD v2.0 Status Blog |
Daagar
Replies: 79
Views: 237901
|
Forum: Zugg's Blog Posted: Tue Aug 21, 2007 8:02 pm Subject: CMUD v2.0 Status Blog |
Good news on the gag fixes! I've frequently seen the 'ghosting' that Guinn mentions. I wouldn't be surprised if this ghosting is what causes people to think z/cmud is "slow" - it has the appearance of ... |
Topic: Most needed CMUD features? |
Daagar
Replies: 112
Views: 213906
|
Forum: CMUD General Discussion Posted: Fri Aug 17, 2007 5:59 pm Subject: Most needed CMUD features? |
And I believe Zugg mentioned in another thread that #MENU is fixed with the automapper for 2.0 (or at least on the bug list _to_ be fixed). |
Topic: Most needed CMUD features? |
Daagar
Replies: 112
Views: 213906
|
Forum: CMUD General Discussion Posted: Fri Aug 17, 2007 12:27 pm Subject: Most needed CMUD features? |
I'm curious what you mean by slow and what mapper issues you are having? I'm running with the same system specs, and don't have any issues with either 1.34 in terms of speed or the mapper... |
Topic: CMUD v2.0 Status Blog |
Daagar
Replies: 79
Views: 237901
|
Forum: Zugg's Blog Posted: Thu Aug 16, 2007 12:21 pm Subject: CMUD v2.0 Status Blog |
All sounds very encouraging!
A question on the ATCP stuff... if we can just create the telnet triggers ourselves, couldn't someone just release a Package with whatever mud's options already trigge ... |
Topic: #nomap question RotD |
Daagar
Replies: 3
Views: 5727
|
Forum: zMUD General Discussion Posted: Wed Aug 15, 2007 9:26 pm Subject: #nomap question RotD |
You _might_ get away with just #tagging your prompt. The mapper really likes to have the prompt explicitly identified, especially when it is one of these simple-style ">" prompts. Obviously use Fan ... |
|