Author |
Message |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Wed Nov 02, 2011 5:05 pm Subject: CMUD Locking up |
I'm not entirely sure how the < got in there when I think I copied and pasted from the XML tab. The error you're getting is because in XML the < symbol means the beginning of a tag, but I mean i ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Sun Oct 30, 2011 4:21 pm Subject: CMUD Locking up |
I was not assuming that only because I had a problem with it before, though that's a primary reason. I've also narrowed down the problem by disabling non-essential classes, and the Core class is the o ... |
Topic: Ironic bug? - Script Debugger |
geniusclown
Replies: 0
Views: 3058
|
Forum: CMUD General Discussion Posted: Fri Oct 28, 2011 1:36 pm Subject: Ironic bug? - Script Debugger |
To reproduce this bug:
1) open script debugger (Tools>Script Debugger or #DEBUG from command line)
2) in the class tree, expand the tree of my active package
3) deselect any number of classes (o ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Fri Oct 28, 2011 1:12 pm Subject: CMUD Locking up |
The problem is persisting. I went for quite a while with no indication that there was any problem with the scripts, but now I'm getting locked up again... I'm open to new suggestions. |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Mon Oct 24, 2011 7:33 pm Subject: CMUD Locking up |
I'm not quite sure whether or not I need separate threads but I don't think so. I'm not formally trained in programming, and I'm not entirely clear on how threads work but I'm slowly piecing them toge ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Sun Oct 23, 2011 7:08 pm Subject: CMUD Locking up |
Here's an interesting one:
ERROR: argument still on stack: wear cane noRt|get stick noRt|stow stick noRt|rem cane noRt|<font calibri 9> Spellq: (bolt 5) Prepping: Targetting: ... |
Topic: Figuring Out Future Time |
geniusclown
Replies: 2
Views: 6242
|
Forum: CMUD General Discussion Posted: Sun Oct 23, 2011 1:53 pm Subject: Figuring Out Future Time |
The current time on your computer's clock is accessible via the %time function, which can report just the minute or the second, etc. There's a few ways you can work with this, here's one that adds and ... |
Topic: Need simple variable list for T2T mud working. |
geniusclown
Replies: 18
Views: 27602
|
Forum: CMUD General Discussion Posted: Sun Oct 23, 2011 1:03 pm Subject: Need simple variable list for T2T mud working. |
You remake a big script into a cleaner one by learning how CMUD functions. The best way to do that is RTFM and PAFO.
Many scripts from zMUD will work with CMUD, though some commands, functions, an ... |
Topic: Need simple variable list for T2T mud working. |
geniusclown
Replies: 18
Views: 27602
|
Forum: CMUD General Discussion Posted: Sat Oct 22, 2011 8:38 pm Subject: Need simple variable list for T2T mud working. |
If it's working as is, great! If it's always just one critter, then the loops aren't necessary. Stick with
#TR {obvious exits}
#COND {({@enemy})} {#SEND ... |
Topic: Need simple variable list for T2T mud working. |
geniusclown
Replies: 18
Views: 27602
|
Forum: CMUD General Discussion Posted: Sat Oct 22, 2011 6:41 pm Subject: Need simple variable list for T2T mud working. |
I see the missing brace. Try this:
#TR {obvious exits}
#COND {^(*{@enemy}*)$} {
#FORALL %replace(%1,", ",|) {
#FORALL %re ... |
Topic: Need simple variable list for T2T mud working. |
geniusclown
Replies: 18
Views: 27602
|
Forum: CMUD General Discussion Posted: Sat Oct 22, 2011 4:31 pm Subject: Need simple variable list for T2T mud working. |
The trickiest part of what you want to do is that the list of critters in the room doesn't have much to match a trigger to, but it looks like the list will always be immediately after the exits line, ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Sat Oct 22, 2011 1:50 pm Subject: CMUD Locking up |
So what you're saying is that the inclusion of the #SECTION does absolutely nothing if there is not another setting with #SECTION using the same name? I thought it protected any of the settings that a ... |
Topic: Need simple variable list for T2T mud working. |
geniusclown
Replies: 18
Views: 27602
|
Forum: CMUD General Discussion Posted: Sat Oct 22, 2011 1:18 pm Subject: Need simple variable list for T2T mud working. |
It's not entirely clear what you're trying to do. Is your list of potential enemies that you want the script to automatically attack any time they're seen, or is it a list of enemies to kill one by on ... |
Topic: Small autoroller script |
geniusclown
Replies: 1
Views: 4440
|
Forum: CMUD General Discussion Posted: Fri Oct 21, 2011 10:45 pm Subject: Small autoroller script |
The error is because this is missing the XML tags. Just paste it into the command line as is. #MATH is obsolete in CMUD. Also, you're missing a close brace.
#TRIG AUTOROLLER {Strength: ( ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Fri Oct 21, 2011 8:42 pm Subject: CMUD Locking up |
Thank you very much for examining my code. I'm very frustrated with these frequent
I put the #SECTION command in there to prevent this. I thought by assigning it as a section, it would execute the ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Thu Oct 20, 2011 8:35 pm Subject: CMUD Locking up |
Heh. Made the adjustment, and CMUD immediately locked up. So using %len in the trigger isn't the solution. |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Thu Oct 20, 2011 8:34 pm Subject: CMUD Locking up |
That would make sense, and I've already adjusted all of the scripts that manipulate these variables to point specifically at the /core/queue/ class. When things start to go wonky, one of the first thi ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Thu Oct 20, 2011 7:45 pm Subject: CMUD Locking up |
I'm just having all sorts of issues this morning. Here's one that I've seen three times (does not crash the program):
loopanomaly detected... correcting
ERROR: Operator command expected requires two ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Thu Oct 20, 2011 6:58 pm Subject: CMUD Locking up |
Thanks for the references. I'm completely ignorant of Delphi - I only know that it's a machine language that other languages are built on, but that's the limit of it. Is there any way to get CMUD to r ... |
Topic: CMUD Locking up |
geniusclown
Replies: 23
Views: 30075
|
Forum: CMUD General Discussion Posted: Thu Oct 20, 2011 5:15 pm Subject: CMUD Locking up |
I'm continuing to experience this same problem. It's intermittant, which makes it very difficult to track down, and the lockup tends to be where CMUD just stops responding. The error I quoted earlier ... |
Topic: Keeping a layout |
geniusclown
Replies: 4
Views: 7598
|
Forum: CMUD General Discussion Posted: Sat Oct 15, 2011 7:05 pm Subject: Keeping a layout |
Have you tried selecting "Auto-save Layout", or manually "Save Session Layout" from the Layout menu? I know it's obvious, but that's always the best place to start. |
Topic: gauge ordering |
geniusclown
Replies: 2
Views: 5259
|
Forum: CMUD General Discussion Posted: Thu Oct 13, 2011 3:48 pm Subject: gauge ordering |
That's what I was looking for. Thanks. |
Topic: gauge ordering |
geniusclown
Replies: 2
Views: 5259
|
Forum: CMUD General Discussion Posted: Thu Oct 13, 2011 2:09 pm Subject: gauge ordering |
Is there a way to adjust the priority of a setting (button in particular) from within another script? I use a series of gauges to track stats, and I like said gauges to be in order of the stats. Curre ... |
Topic: Capturing a variable inside [] |
geniusclown
Replies: 10
Views: 13690
|
Forum: CMUD General Discussion Posted: Thu Oct 13, 2011 5:46 am Subject: Capturing a variable inside [] |
Give your trigger that catches the number an id of triggerName and reread Shalimar's post. Look up the commands #T+ and #T-. |
Topic: Help with #alarm command |
geniusclown
Replies: 15
Views: 23752
|
Forum: CMUD General Discussion Posted: Thu Oct 13, 2011 4:45 am Subject: Help with #alarm command |
If you want to just count down 30 minutes, yeah an #ALARM is appropriate. But all it will do is fire when time's up - you can't track how much time is remaining. The code I outlined above allows a gau ... |
|