Author |
Message |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Oct 09, 2008 4:03 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
Oh, I noticed that the RT trigger wasn't regex early on and fixed that. Mine has been regex ever since I started using the queue, basically.
I do use #CALL @queue("study my compendium",1). I note ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Sat Sep 27, 2008 11:13 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Thank you. :-)
I was messing with it some more today, without the vocals stuff running, to see if it gets caught up anywhere else too. I caught this:
> study my compendium
With a sudden ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 24, 2008 7:35 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Ah, the queue does the same thing when the "Vocals" thread ends its #WAIT and sends "exp skill vocals:"
You turn to the section containing Dwarven physiology.
> study my compendium
You begin ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 24, 2008 6:50 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Regarding the queue, I have it disregard RT sometimes... All the commands sent to the game here were sent by the queue:
You turn to the section containing Gor'Tog physiology.
> study my compen ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 24, 2008 6:42 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Aha, I think I figured out why it was executing the else. It's because the pattern was catching some space after "mind lock" and "dazed," so %1 would be things like "mind lock " rather than just ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 24, 2008 6:24 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
I just got around to messing with this again. I copied all that into a separate session and it doesn't (appear to) do anything. When I type "zvocals" it says it's already active, which when I looked ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Sat Sep 06, 2008 6:23 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
Yeah, it seems like things only go batty when the "You finish humming" trigger executes twice for some reason.
Since I can't use the script debugger, here's the best I can do. This all happened in ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Fri Sep 05, 2008 6:12 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
Thank you! I changed the alias QueueExecutor to this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="QueueExecutor" copy="ye ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 10:32 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
I'm still getting things triggering off "You finish humming" twice. :-/ |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 10:25 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Okay, what seems to be happening is that sometimes there are commands in @QueueData and nothing in @PendingCommands. I tested this with zvocals where there is no roundtime associated with anything. ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 9:55 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
I tried testing the queue with a script that has commands that have an RT. One thing I noticed is that the RoundTime trigger wasn't set to #REGEX so I fixed that real quick.
It doesn't seem to det ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 8:12 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Hah, that's actually pretty funny; I had gotten really diligent about using the script debugger before testing anything, so I think I used it pretty much every session before typing anything.
I jus ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 7:00 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
I caught an example of the queue not sending commands if the thread is not already running, i.e. if I start up the program and just run zvocals first. During the same session, I caught an example of ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 1:01 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
Not sure if this is any more helpful, but a little more information about things triggering twice:
1. It happens about 75% of the time (rough estimate) on that "You finish humming" line. To reite ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Thu Sep 04, 2008 12:51 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
I tried opening CMUD again and testing things, and it didn't crash this time. I'm not sure what gets it into that state, but I have restarted the computer since then so maybe that cleaned out some we ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 7:46 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Hrm. I only spent a couple of hours testing offline when I got up 3:30 this morning. For the most part the usage of the queue is meant for things where you need to launch a whole series of commands ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 6:45 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Also, a couple times now I've closed CMUD, opened it again, did the #CALL @queue(,,"RESET"), and then tried to do zvocals and the program has just outright froze. :-/
EDIT: Actually, that's all i ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 6:41 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Hmm, I'm getting all kinds of weird errors now. I thought maybe I'd corrupted the session so I exported it to XML, deleted it, and imported it, etc, but it's just acting really oddly. By that I mean ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 6:07 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
EDIT: Nevermind, think I figured this one out too. |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 5:42 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
I thought of another thing related to #2...
#3. Some different commands result in the same output. For example, if I'm playing an instrument and want to stop I need to "stop play," and I get the ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 5:35 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
I have two issues so far...
1. EDIT: Figured this one out. I have to do stuff like #CALL @queue("hum " @vocplay), got it.
2. @Queue("command",,"D") -- Informs the worker thread that command ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 5:15 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Thank you; that fixed it. :-) I'm going to play around with it now. |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 4:14 pm Subject: Getting lots of strange "bugs" and errors, what are my options? |
Thank you! I can't get that to paste or import, yet, though. It gives me this error:
File: . Line: 95 Col: 36 Error: Invalid XML name: '2'
(The line is #IF (%numitems(@PendingCommands)<2) ) |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 12:41 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
LOL, yeah, something in the queue code definitely makes things weird. I have no problems with #SEND, but when I make everything queue I get weird stuff like this, where a trigger triggers twice off t ... |
Topic: Getting lots of strange "bugs" and errors, what are my options? |
Nattie
Replies: 78
Views: 79598
|
Forum: CMUD General Discussion Posted: Wed Sep 03, 2008 12:18 am Subject: Getting lots of strange "bugs" and errors, what are my options? |
That change works great. I caught another problem with the triggers while I was testing it... I could get this string back from the game: "You fumble slightly as you begin to hum a quiet rumba."
... |
|