Author |
Message |
Topic: Package Issue |
ins0mnia
Replies: 9
Views: 13199
|
Forum: CMUD General Discussion Posted: Wed Sep 19, 2012 8:00 pm Subject: Package Issue |
This is what people would want most frequently, so this is the default behavior.
I don't see how that makes sense. If a package from a first session is not even loaded on the second session, why wo ... |
Topic: variable manipulation |
ins0mnia
Replies: 4
Views: 6801
|
Forum: CMUD General Discussion Posted: Wed Sep 19, 2012 7:40 pm Subject: variable manipulation |
Local variables do this,
#TR (^(*)$) {#fo @list {$tempLine = %replace(%line(),%i,"")};#VAR newline $tempLine}
I'd suggest making y ... |
Topic: Conflicting commas in Trigger [SOLVED] |
ins0mnia
Replies: 14
Views: 16730
|
Forum: CMUD General Discussion Posted: Wed Sep 19, 2012 7:35 pm Subject: Conflicting commas in Trigger [SOLVED] |
Mine works fine because the ? are inside the parens. Notice the ? don't do anything outside the parens because the block is already being matched to where it won't include commas. Either way works, bu ... |
Topic: Conflicting commas in Trigger [SOLVED] |
ins0mnia
Replies: 14
Views: 16730
|
Forum: CMUD General Discussion Posted: Wed Sep 19, 2012 6:33 am Subject: Conflicting commas in Trigger [SOLVED] |
It can be done with regexp,
#REGEX {^To the (.+?), (.+?), (.*)$} { do_blah } |
Topic: Package Issue |
ins0mnia
Replies: 9
Views: 13199
|
Forum: CMUD General Discussion Posted: Wed Sep 19, 2012 6:03 am Subject: Package Issue |
I can confirm this..
1) Create a new MageChar session and add a new Mage package, close
2) Create a new ClericChar session and add a Cleric package, close
3) Open MageChar then open ClericChar to ... |
Topic: Multiple Sessions Problem |
ins0mnia
Replies: 2
Views: 4576
|
Forum: CMUD General Discussion Posted: Wed Nov 30, 2011 12:39 am Subject: Multiple Sessions Problem |
I can't seem to find the thread where Zugg explains this so I'll try to do the best I can..
After you have individual sessions/packages for each character, you'll want to make a 'super-session' tha ... |
Topic: advantages of lua? |
ins0mnia
Replies: 11
Views: 16323
|
Forum: CMUD General Discussion Posted: Wed Nov 23, 2011 4:45 pm Subject: advantages of lua? |
No sorry charneus, I was quoting you to say lua -can- improve speed in some cases because you already stated what I wanted to say. I meant adamandkate should ask if he has a specific script giving iss ... |
Topic: advantages of lua? |
ins0mnia
Replies: 11
Views: 16323
|
Forum: CMUD General Discussion Posted: Tue Nov 22, 2011 7:15 pm Subject: advantages of lua? |
For the most part, and for most everyday projects/scripts, you won't find any difference in speed. I seem to have a habit of writing resource-intensive scripts, so Lua is definitely an advantage for ... |
Topic: CMUD Portability |
ins0mnia
Replies: 13
Views: 20153
|
Forum: CMUD General Discussion Posted: Tue Nov 22, 2011 6:50 pm Subject: CMUD Portability |
iOS and Android are another story.
But like Zugg has said, the market is so very niche that these subgroups are tiny, similar to his decision in dropping Unicode. |
Topic: CMUD Portability |
ins0mnia
Replies: 13
Views: 20153
|
Forum: CMUD General Discussion Posted: Tue Nov 22, 2011 6:45 pm Subject: CMUD Portability |
CMUD Lite is stripped of the modules that make it stand out (mapper, db, whatnot). That's really the value of CMUD, so I don't see Lite bringing in more purchases. At best, it might raise awareness of ... |
Topic: SQL command/function inconsistencies |
ins0mnia
Replies: 6
Views: 7277
|
Forum: CMUD General Discussion Posted: Tue Nov 22, 2011 6:53 am Subject: SQL command/function inconsistencies |
According to the help file, it should be possible to do -any- query with %sql.
I haven't tested it in a few months but I think I had access violations also, so something's up with it. Or the file is ... |
Topic: SQL command/function inconsistencies |
ins0mnia
Replies: 6
Views: 7277
|
Forum: CMUD General Discussion Posted: Mon Nov 21, 2011 7:37 am Subject: SQL command/function inconsistencies |
Agreed that it's a bit confusing, but you only need to do it once, with either function.
#SQLDB and %sqldb followed by #CALL db.Open, are equivalent. %sqldb just gives you the connection reference ... |
Topic: advantages of lua? |
ins0mnia
Replies: 11
Views: 16323
|
Forum: CMUD General Discussion Posted: Mon Nov 21, 2011 7:14 am Subject: advantages of lua? |
Languages are just tools. You choose which is best for a task based on efficiency and comfort with it.
With that said, if you are interested in learning lua then rewriting existing zscript is a gre ... |
Topic: #NODIR in FAST mode, workaround. |
ins0mnia
Replies: 10
Views: 11759
|
Forum: CMUD General Discussion Posted: Fri Nov 04, 2011 9:11 pm Subject: #NODIR in FAST mode, workaround. |
Rahab: Haven't tested this, but could he make a prompt trigger fire #OK and toggle it with entering directions? Or something similar with firing his own #OK?
This really does kill a lot of use of t ... |
Topic: #NODIR in FAST mode, workaround. |
ins0mnia
Replies: 10
Views: 11759
|
Forum: CMUD General Discussion Posted: Fri Nov 04, 2011 8:14 pm Subject: #NODIR in FAST mode, workaround. |
In other words, do the names/descs change predictably so you can write your own #TAG triggers? You can always #GAG the roomdesc as long as you can capture it. |
Topic: Database of enemies - problem with deleting a position from a list. |
ins0mnia
Replies: 4
Views: 6553
|
Forum: CMUD General Discussion Posted: Sun Oct 30, 2011 7:06 pm Subject: Database of enemies - problem with deleting a position from a list. |
Yeah good catch. I saw the lack of #additem, other than saving a line of code, it's just a different syntax I believe. #additem would make for cleaner syntax though.
I would switch to a sql databas ... |
Topic: Database of enemies - problem with deleting a position from a list. |
ins0mnia
Replies: 4
Views: 6553
|
Forum: CMUD General Discussion Posted: Sun Oct 30, 2011 6:16 pm Subject: Database of enemies - problem with deleting a position from a list. |
I would either
a) use a single list with a delimiter of your own to tell where to color on the trigger
ListEnemies={big fat dwarf,Jimmie,Guild1|small tiny elf,Carol,Guild1|old merry dwarf,David,Guil ... |
Topic: Please help - How to make text appear in a different window? |
ins0mnia
Replies: 25
Views: 30993
|
Forum: CMUD General Discussion Posted: Wed Oct 26, 2011 10:58 pm Subject: Please help - How to make text appear in a different window? |
It shouldn't go to the main window, that means the trigger pattern is wrong in some regard and not firing in all cases. Most likely the start of line. I would remove the ^ in the pattern, at least to ... |
Topic: Please help - How to make text appear in a different window? |
ins0mnia
Replies: 25
Views: 30993
|
Forum: CMUD General Discussion Posted: Tue Oct 25, 2011 5:46 am Subject: Re: Please help - How to make text appear in a different window? |
I want everything that preceeds the text "|1|" (not including speechmarks) to appear in a different (seperate) window instead of the main zmud window
This is what confused everyone, from the exampl ... |
Topic: Help with #alarm command |
ins0mnia
Replies: 15
Views: 23588
|
Forum: CMUD General Discussion Posted: Sun Oct 16, 2011 9:32 am Subject: Help with #alarm command |
Here's what I came up with, hoping you know how to use XML to add things.
<trigger priority="30" id="3">
<pattern>^The spirit of (*) fades into existence ... |
Topic: Cmud Automapper |
ins0mnia
Replies: 37
Views: 39398
|
Forum: CMUD General Discussion Posted: Sat Oct 15, 2011 4:04 am Subject: Cmud Automapper |
Setup the map in that manner, hopefully that will solve things.
It's easier to use a global package for most, then you can save character-specific variables like the weapon, # of potions, whate ... |
Topic: Cmud Automapper |
ins0mnia
Replies: 37
Views: 39398
|
Forum: CMUD General Discussion Posted: Wed Oct 12, 2011 5:52 pm Subject: Cmud Automapper |
Weird. It's working for me now across 3 sessions.
Are you using different sessions per char then a supersession as Zugg suggests? I used to just use different windows in one session and recently ch ... |
Topic: Cmud Automapper |
ins0mnia
Replies: 37
Views: 39398
|
Forum: CMUD General Discussion Posted: Wed Oct 12, 2011 5:22 pm Subject: Cmud Automapper |
Are you using a separate package for your map like I am?
I'm starting to think it's just a scoping issue ie the character session/package is trying to #MAKEROOM but it can't access the map from ano ... |
Topic: Formating issue. |
ins0mnia
Replies: 3
Views: 7688
|
Forum: CMUD General Discussion Posted: Wed Oct 12, 2011 4:47 pm Subject: Formating issue. |
%subchar("8,560,333",",","") |
Topic: Help with #alarm command |
ins0mnia
Replies: 15
Views: 23588
|
Forum: CMUD General Discussion Posted: Wed Oct 12, 2011 4:00 pm Subject: Help with #alarm command |
It's because %alarm is a function and spirit is the parameter.
Matt: Could you provide an example of the timing script? How would you refactor your alarms, one alarm that fires every minute? Use %s ... |
|