Author |
Message |
Topic: %mss help example incorrect |
atpeace
Replies: 1
Views: 3393
|
Forum: CMUD Beta Forum Posted: Fri Jan 30, 2009 8:24 pm Subject: %mss help example incorrect |
#SCRIPT {function test(x,y):test=x+y:end function}
#SHOW %mss(test(1,2))
It seems you need quotes for %mss to work
#SHOW %mss("test(1,2)") |
Topic: Processor spikes while in editor |
atpeace
Replies: 8
Views: 14243
|
Forum: CMUD Beta Forum Posted: Fri Jan 30, 2009 6:27 pm Subject: Processor spikes while in editor |
I'll let you know when I've booted and found out. |
Topic: Mapper Room Scripts |
atpeace
Replies: 11
Views: 12793
|
Forum: CMUD Beta Forum Posted: Fri Jan 30, 2009 6:12 pm Subject: Mapper Room Scripts |
I'll highlight my suggestion that package naming should prohibit names containing "."'s else using dots in syntax for record variables will require additional code for you Zugg with no perceivable ben ... |
Topic: Processor spikes while in editor |
atpeace
Replies: 8
Views: 14243
|
Forum: CMUD Beta Forum Posted: Fri Jan 30, 2009 2:02 pm Subject: Processor spikes while in editor |
WinXP Pro with Themes turned off. P4-M 2.4GHz
The processor spike occur all around the Editor in numerous places. Doing the following will hit one area for me.
Select Main window of package afte ... |
Topic: Mapper Room Scripts |
atpeace
Replies: 11
Views: 12793
|
Forum: CMUD Beta Forum Posted: Fri Jan 30, 2009 12:49 am Subject: Mapper Room Scripts |
Another alternative is to do this
#IF ({@//Achaea/Personal.FoodLevel} > 4) {#ECHO Fatty} {#ECHO Skinny}
But using the the %db is much cleane and more legib ... |
Topic: Processor spikes while in editor |
atpeace
Replies: 8
Views: 14243
|
Forum: CMUD Beta Forum Posted: Thu Jan 29, 2009 11:55 pm Subject: Processor spikes while in editor |
Within the Package Editor while hovering the mouse in the left hand package/class/trigger panel or in something like a class notes text area the processor spikes to 100 percent but interesting not the ... |
Topic: Mapper Room Scripts |
atpeace
Replies: 11
Views: 12793
|
Forum: CMUD Beta Forum Posted: Thu Jan 29, 2009 11:33 pm Subject: Mapper Room Scripts |
But yeah then this doesn't even seem to compile, which is a guess as there is no reference to the compiler in the mapper scripts
#IF (@//Achaea/Personal.FoodLevel > 4) {#ECHO Fatty} {#ECHO Skin ... |
Topic: Mapper Room Scripts |
atpeace
Replies: 11
Views: 12793
|
Forum: CMUD Beta Forum Posted: Thu Jan 29, 2009 11:17 pm Subject: Mapper Room Scripts |
Ahh I see what's going on. There is an import complication with Zmud files. My stuff got imported as Achaea.mud
On renaming it as Achaea it all became a lot clearer. The syntax for referencing vari ... |
Topic: Mapper Room Scripts |
atpeace
Replies: 11
Views: 12793
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 11:37 pm Subject: Mapper Room Scripts |
Hmm well I seem to get some rather dubious and flaky success from using :
:Package:@Variable
So
#IF (:Achaea:@Personal.FoodLevel < 3) {#ECHO You're Hungry lets eat}
The variables are li ... |
Topic: [3.03a] Erratic behavior when outputing walking direction |
atpeace
Replies: 16
Views: 12591
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 3:32 pm Subject: [3.03a] Erratic behavior when outputing walking direction |
I've noticed that when Cmud executes the directions the 'command' type trigger fires, but when my code executes the command it doesn't, so I do the "#raiseevent Movement $moving $movement" manually to ... |
Topic: Telnet Trigger for data containing <LF> midline. |
atpeace
Replies: 3
Views: 5106
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 2:32 pm Subject: Telnet Trigger for data containing <LF> midline. |
Thanks! |
Topic: Mapper Room Scripts |
atpeace
Replies: 11
Views: 12793
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 2:30 pm Subject: Mapper Room Scripts |
I can not work out how to access Package variables via room scripts is there some additional syntax that needs to be applied?
Additionally Right clicking in the mapper and selecting execute room sc ... |
Topic: Any ideas on working out why a trigger stops firing? |
atpeace
Replies: 4
Views: 6051
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 1:32 pm Subject: Any ideas on working out why a trigger stops firing? |
Hmm, but actually does have other side effects. Sadly my prompt trigger sends commands from my personal command queue. Those commands sent need to fire other triggers and with this option off those tr ... |
Topic: Telnet Trigger for data containing <LF> midline. |
atpeace
Replies: 3
Views: 5106
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 1:21 pm Subject: Telnet Trigger for data containing <LF> midline. |
Achaea sends:
(From Debug Window)
12.289 | a Achaea.m #Telnet 200: Char.Vitals<LF>H:3180/3180 M:2942/3498 E:14800/14800 W:14800/14800 NL:15/100
A Telnet Trigger (*) on channel 200 will r ... |
Topic: Any ideas on working out why a trigger stops firing? |
atpeace
Replies: 4
Views: 6051
|
Forum: CMUD Beta Forum Posted: Wed Jan 28, 2009 11:25 am Subject: Any ideas on working out why a trigger stops firing? |
Hey thanks that seemed to work, but with the completely opposite solution.
It seems that all my triggers have trigger on trigger selected from my import from ZMud latest that seemed to be the defau ... |
Topic: Any ideas on working out why a trigger stops firing? |
atpeace
Replies: 4
Views: 6051
|
Forum: CMUD Beta Forum Posted: Tue Jan 27, 2009 2:26 pm Subject: Any ideas on working out why a trigger stops firing? |
I have a standard Trigger except for it being Prompt enabled
^(%d)h, (%d)m([ exbc])-
now it does start off some complex stuff:
<trigger name="TrigPrompt" priority="15990" newline="false" p ... |
Topic: Access Violation and full crash possible %db("",Num) |
atpeace
Replies: 1
Views: 3526
|
Forum: CMUD Beta Forum Posted: Tue Jan 27, 2009 3:09 am Subject: Access Violation and full crash possible %db("",Num) |
If one adds a single item to a view on a database then deletes that item then calls %db("",Num) you will get a an access violation and in more severe circumstances a complete crash with options for du ... |
Topic: #Query Code for the interested. |
atpeace
Replies: 0
Views: 2893
|
Forum: CMUD Beta Forum Posted: Tue Jan 27, 2009 1:29 am Subject: #Query Code for the interested. |
Having a rather painful time to get a dB Query to actually return what I want I thought I would re-share a sort of solution :
<func name="DBQUERY" type="Literal" id="894">
<value>#LO ... |
Topic: &DataBase=Value unsupported? |
atpeace
Replies: 2
Views: 4262
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 10:42 pm Subject: &DataBase=Value unsupported? |
Is the syntax :
&DataBaseKey=Value
is no longer supported in CMud? |
Topic: Compilation of #TEMP Trigger with ID |
atpeace
Replies: 6
Views: 6645
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 8:26 pm Subject: Compilation of #TEMP Trigger with ID |
Yeah with ";" instead of %crlf in the script it will compile. |
Topic: %expand() is not aware of local variables |
atpeace
Replies: 2
Views: 4251
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 7:35 pm Subject: %expand() is not aware of local variables |
Ah noted, though the problem was really generated for me by trying to expand named parameters that contained arguments that needed evaluation. I could have continued to use %1...%99 but thought you'd ... |
Topic: #LOOPVIEW Severly broken |
atpeace
Replies: 2
Views: 4159
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 7:22 pm Subject: #LOOPVIEW Severly broken |
If the database module is a direct port then I suspect the %query function will produce database corruption when searching for Boolean values depending on the current view of the dB applet. I was forc ... |
Topic: Compilation of #TEMP Trigger with ID |
atpeace
Replies: 6
Views: 6645
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 7:13 pm Subject: Compilation of #TEMP Trigger with ID |
#TEMP "SomeName" {^Ahh, I am truly sorry, but I do not see anyone by that name here.$} {
#T- TrigGiveAllFailb
#T- TrigGiveAllOK
} aGeneral
Fails on compile |
Topic: #DBDELETE Does not nothing in #DBOFFLINE Mode |
atpeace
Replies: 3
Views: 4707
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 4:05 pm Subject: #DBDELETE Does not nothing in #DBOFFLINE Mode |
Well I'm sorry to say but all my database editing is done in offline mode else you get a significant performance hit
You can #DBPUT, #DBGET, #VIEW, #DBLOAD, #DBNEXT, use &(dbvar) for retrieval ... |
Topic: (Low) Package Editor no longer produces tool tip for defined database key values |
atpeace
Replies: 0
Views: 2829
|
Forum: CMUD Beta Forum Posted: Mon Jan 26, 2009 2:57 pm Subject: (Low) Package Editor no longer produces tool tip for defined database key values |
ZMud usefully provided a tooltip for the shorthand to database key values
ie in the ZMud editor
@Database.Key
produced a tooltip with the value of the Key. CMud does not do this, it would be ... |
|