Author |
Message |
Topic: lua sqlite map db |
Michael Nelson
Replies: 3
Views: 5894
|
Forum: CMUD Beta Forum Posted: Wed May 06, 2009 10:48 pm Subject: same approach |
Could you inform me of the usual approach then? or shoot me a link to a post I was unable to find anything that worked. Also (I can't check now because I am on my linux partition) but I think the dbs ... |
Topic: lua sqlite map db |
Michael Nelson
Replies: 3
Views: 5894
|
Forum: CMUD Beta Forum Posted: Sat May 02, 2009 9:53 pm Subject: lua sqlite map db |
Has anyone successfully queried a cmud map database with lua? I have been searching the forums and I didn't see anything after 2007 and that doesn't seem to be working now. I am trying to convert al ... |
Topic: Workaround for %query [Bug] |
Michael Nelson
Replies: 4
Views: 5216
|
Forum: CMUD General Discussion Posted: Sat Nov 01, 2008 6:18 pm Subject: Workaround for %query [Bug] |
Thank you for your attention to this issue Zugg. |
Topic: query problems |
Michael Nelson
Replies: 4
Views: 5866
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 10:32 pm Subject: query problems |
posted a workaround for this issue |
Topic: Workaround for %query [Bug] |
Michael Nelson
Replies: 4
Views: 5216
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 10:31 pm Subject: Workaround for %query [Bug] |
I am fairly certain %query() does not expand its string parameter. This had me pulling my hair out. They way I got around it is as follows:
Here is an example of a failed query,
queryString =% ... |
Topic: %query problem |
Michael Nelson
Replies: 9
Views: 8990
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 9:50 pm Subject: %query problem |
This does not work for me, I am searching the boards but as far as I can tell there is no way to get CMUD to expand its parameters. |
Topic: query problems |
Michael Nelson
Replies: 4
Views: 5866
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 9:06 pm Subject: query problems |
%query is refusing to expand variables. I know this because #show %query(@testvar) returns all rows no matter what I put in @testvar also putting %expand(@testvar,1) does not work. |
Topic: query problems |
Michael Nelson
Replies: 4
Views: 5866
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 8:28 pm Subject: query problems |
The query works if I put the value of $querystring in directly if I try and use $querystring it fails |
Topic: query problems |
Michael Nelson
Replies: 4
Views: 5866
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 8:18 pm Subject: query problems |
This won't work.
Doing:
$querystring = %concat("&name ='",$area_name,"'")
#show $querystring
#show %query($querystring)
Shows:
&name ="TEST S'TORE"
<blank>
Doing:
#show %q ... |
Topic: ansi triggers |
Michael Nelson
Replies: 2
Views: 3653
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 12:53 am Subject: ansi triggers |
Solved the color issue, only the {is|null} needs resolution |
Topic: ansi triggers |
Michael Nelson
Replies: 2
Views: 3653
|
Forum: CMUD General Discussion Posted: Sun Oct 12, 2008 12:35 am Subject: ansi triggers |
Thanks to all who have answered my previous questions, I have two more.
One I can not seem to get a trigger to fire on anything that is colored red
%e[1;31m%d This should fire on any red number. ... |
Topic: #TRIGGER {You get &%dGold coins} |
Michael Nelson
Replies: 2
Views: 3886
|
Forum: CMUD General Discussion Posted: Sat Oct 11, 2008 10:13 pm Subject: #TRIGGER {You get &%dGold coins} |
Thanks |
Topic: #TRIGGER {You get &%dGold coins} |
Michael Nelson
Replies: 2
Views: 3886
|
Forum: CMUD General Discussion Posted: Sat Oct 11, 2008 8:48 pm Subject: #TRIGGER {You get &%dGold coins} |
#TRIGGER {You get &%dGold coins}
This syntax is new to me but I like it as it seems much more semantic however here is the rub. This seems to assign the value to a global variable Gold. I don't ... |
Topic: MXP <send> |
Michael Nelson
Replies: 6
Views: 6023
|
Forum: CMUD General Discussion Posted: Fri Oct 10, 2008 2:46 am Subject: MXP <send> |
The '' seem to work. Here is another question though. When @myvar is something like Butcher's Shop. is there a way to escape the ' in the string. I tried %replace(@myvar, "'", "~'") but that doesn ... |
Topic: MXP <send> |
Michael Nelson
Replies: 6
Views: 6023
|
Forum: CMUD General Discussion Posted: Thu Oct 09, 2008 2:24 am Subject: MXP <send> |
Hi <send> seems to have changed. I can't get it to send commands with variables. I can assign the send string to an alias and that works fine but it seems like bad coding practice as what I am ... |
Topic: .map files and site search questions |
Michael Nelson
Replies: 9
Views: 8097
|
Forum: CMUD General Discussion Posted: Fri May 02, 2008 2:04 am Subject: .map files and site search questions |
awsome thanks again |
Topic: .map files and site search questions |
Michael Nelson
Replies: 9
Views: 8097
|
Forum: CMUD General Discussion Posted: Fri May 02, 2008 1:03 am Subject: .map files and site search questions |
I can convert and open the files but each zone becomes a database in and of itself instead of a zone in the current database. Is there a way to open a map database and save it as a zone so that I can ... |
Topic: .map files and site search questions |
Michael Nelson
Replies: 9
Views: 8097
|
Forum: CMUD General Discussion Posted: Fri May 02, 2008 12:39 am Subject: Thanks everyone |
I haven't had a chance to try this but thanks for all the responses much obliged. |
Topic: .map files and site search questions |
Michael Nelson
Replies: 9
Views: 8097
|
Forum: CMUD General Discussion Posted: Thu May 01, 2008 4:59 am Subject: .map files and site search questions |
I just started mudding again I bought CMUD a long time ago but never used it much so this is probably petty newb. I am trying to zone>import zone> a zmud .map file and keep getting a there was ... |
Topic: %walk function |
Michael Nelson
Replies: 2
Views: 3718
|
Forum: zMUD General Discussion Posted: Sun Jan 21, 2007 8:39 am Subject: works great |
works perfect now thx |
Topic: %walk function |
Michael Nelson
Replies: 2
Views: 3718
|
Forum: zMUD General Discussion Posted: Sun Jan 21, 2007 1:48 am Subject: %walk function |
I have noticed that when I use the %walk function to get a path all the open doors are removed. I use this function to convert a standard .3nse;open west;.3wne type run to a mud run 3nse; open west; ... |
Topic: roomscript crash bug zmud/cmud |
Michael Nelson
Replies: 1
Views: 6253
|
Forum: CMUD General Discussion Posted: Sat Jan 20, 2007 2:45 am Subject: roomscript crash bug zmud/cmud |
Roomscript
#TRIGGER {roomname} {#TELE currentroomvnum} causes freeze/crash
probably crashes if anything causes teleport to current room doesn't necassarily have to be roomname I am assuming. |
Topic: zmud map and portals |
Michael Nelson
Replies: 3
Views: 6223
|
Forum: zMUD General Discussion Posted: Wed Dec 27, 2006 9:17 am Subject: zmud map and portals |
The portal works from any room
This is not just a custom exit |
Topic: zmud map and portals |
Michael Nelson
Replies: 3
Views: 6223
|
Forum: zMUD General Discussion Posted: Sun Dec 24, 2006 10:32 pm Subject: zmud map and portals |
My problem is with portals
Here is my example:
Area Portal:
here is my alias gotoarea
get mirror bag;
wear mirror;
enter mirror;
rem mirror;
put mirror bag;
-----------------
up to this poin ... |
Topic: Help porting a zmud script |
Michael Nelson
Replies: 2
Views: 9629
|
Forum: CMUD General Discussion Posted: Wed Dec 20, 2006 12:38 pm Subject: Help porting a zmud script |
I resolved this issue with a workaround although it does not fix the underlying problem. It seems that you can not access more than one field of rs on the same line. Therefore I put each value in a ... |
|