![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 5:54 am
[2.11] Debugger Question and Problem |
I logged in and had the debugger running.
When I sent movement commands they are aliases which then reset a variable that I have if I move from a room and they also send the command to move that direction. Well here is the difference between what I actually did in the MUD and what the debugger shows.
Copied from the screen.
Quote: |
3580h, 3938m, 16800e, 16800w cexkdb- (M+ 19)southeast
Shallam road approaching the city (road).
The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground. A canvas backpack lies face-down here. A huge sphere of pure Light spins slowly as it floats above a disc of shining platinum. A large rock has been dropped carelessly onto the ground.
You see exits leading southeast and northwest.
3580h, 3938m, 16798e, 16800w cexkdb-southeast
Shallam road before city (road).
The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground.
You see exits leading southeast and northwest.
3580h, 3938m, 16796e, 16800w cexkdb-southeast
Before the walls of Shallam (road).
The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground.
You see exits leading southeast and northwest.
3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Outside the great gates (road).
The stars twinkle in the clear night sky. A rune resembling a horse has been sketched into the ground here. A rune like a closed eye has been sketched into the ground here. A runic totem is planted solidly in the ground.
You see exits leading southeast and northwest.
3580h, 3898m, 16792e, 16800w cexkdb-southeast
An old rat wanders into view, nosing about for food.
3580h, 3898m, 16800e, 16800w cexkdb-
Past the gate.
The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground. A large barracks is here providing the city's forces with rest and refuge.
You see exits leading southeast and northwest.
3580h, 3898m, 16798e, 16800w cexkdb-southeast
Before the Shallam Gate.
The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground. A cute little humgii is sitting here placidly, attached to a leash. There are 2 key-shaped sigils here. A blue-bordered banner hangs down from the gates, displaying a mighty victory of the Light. A huge sphere of pure Light spins slowly as it floats above a disc of shining platinum. There are 2 Monks of the Guard here. A huge statue of the Scimitar of Yen-Sorte stands here, thrusting skywards.
You see exits leading south, northwest, and in (closed door).
3580h, 3898m, 16796e, 16800w cexkdb-southeast
There is no exit in that direction. |
Copied from the Debugger:
Code: |
Achaea |[1] Achaea Event : start : se
Achaea |3580h, 3938m, 16798e, 16800w cexkdb-southeast
Achaea >southeast<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3938m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16798e, 16800w cexkdb-southeast
Achaea |Shallam road before city (road).
Achaea |Pattern: \b(?:@cityrooms)\b
Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : #CW royalblue
Achaea |[40] Achaea Trigger : stopped
Achaea =Shallam road before city (road).
Achaea |The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground.
Achaea |You see exits leading southeast and northwest.
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3938, %3=16796, %4=16800, %5="cexkdb")
Achaea |[40] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea |[40] Achaea Trigger : stopped
---
Achaea |[1] Achaea Event : start : se
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-southeast
Achaea >southeast<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-southeast
Achaea |3580h, 3938m, 16796e, 16800w cexkdb-southeast
Achaea |Before the walls of Shallam (road).
Achaea |Pattern: \b(?:@cityrooms)\b
Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : #CW royalblue
Achaea |[40] Achaea Trigger : stopped
Achaea =Before the walls of Shallam (road).
Achaea |The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground.
Achaea |You see exits leading southeast and northwest.
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3898, %3=16794, %4=16800, %5="cexkdb")
Achaea |[40] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea | [40] Var "mana" changed from "3938" to "3898"
Achaea | [40] Var "lastmana" changed from "3938" to "3898"
Achaea |[40] Achaea Trigger : stopped
Achaea =3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)
---
Achaea |[1] Achaea Event : start : se
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Achaea >southeast<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Achaea |3580h, 3898m, 16794e, 16800w cexkdb-(M- 40)southeast
Achaea |Outside the great gates (road).
Achaea |Pattern: \b(?:@cityrooms)\b
Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : #CW royalblue
Achaea |[40] Achaea Trigger : stopped
Achaea =Outside the great gates (road).
Achaea |The stars twinkle in the clear night sky. A rune resembling a horse has been sketched into the ground here. A rune like a closed eye has been sketched into the ground here. A runic totem is planted solidly in the ground.
Achaea |You see exits leading southeast and northwest.
Achaea |3580h, 3898m, 16792e, 16800w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3898, %3=16792, %4=16800, %5="cexkdb")
Achaea |[40] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea |[40] Achaea Trigger : stopped
---
Achaea |[1] Achaea Event : start : se
Achaea |3580h, 3898m, 16792e, 16800w cexkdb-southeast
Achaea >southeast<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3898m, 16792e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16792e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16792e, 16800w cexkdb-southeast
Achaea |
Achaea |An old rat wanders into view, nosing about for food.
Achaea |Pattern: \b(?:rat|rats)\b
Achaea |[40] Achaea Trigger : start : Pattern "\b(?:rat|rats)\b" : #cw orange
Achaea |[40] Achaea Trigger : stopped
Achaea =An old rat wanders into view, nosing about for food.
Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3898, %3=16800, %4=16800, %5="cexkdb")
Achaea |[40] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea |[40] Achaea Trigger : stopped
Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
Achaea |Past the gate.
Achaea |Pattern: \b(?:@cityrooms)\b
Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : #CW royalblue
Achaea |[40] Achaea Trigger : stopped
Achaea =Past the gate.
Achaea |The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground. A large barracks is here providing the city's forces with rest and refuge.
Achaea |You see exits leading southeast and northwest.
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3898, %3=16798, %4=16800, %5="cexkdb")
Achaea |[61] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea |[61] Achaea Trigger : stopped
Achaea |[61] Achaea Trigger : terminated
---
Achaea |[1] Achaea Event : start : se
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-southeast
Achaea >southeast<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16798e, 16800w cexkdb-southeast
Achaea |Before the Shallam Gate.
Achaea |Pattern: \b(?:@cityrooms)\b
Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : #CW royalblue
Achaea |[40] Achaea Trigger : stopped
Achaea =Before the Shallam Gate.
Achaea |The stars twinkle in the clear night sky. A runic totem is planted solidly in the ground. A cute little humgii is sitting here placidly, attached to a leash. There are 2 key-shaped sigils here. A blue-bordered banner hangs down from the gates, displaying a mighty victory of the Light. A huge sphere of pure Light spins slowly as it floats above a disc of shining platinum. There are 2 Monks of the Guard here. A huge statue of the Scimitar of Yen-Sorte stands here, thrusting skywards.
Achaea |You see exits leading south, northwest, and in (closed door).
Achaea |3580h, 3898m, 16796e, 16800w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3898, %3=16796, %4=16800, %5="cexkdb")
Achaea |[40] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea |[40] Achaea Trigger : stopped
---
Achaea |[1] Achaea Event : start : se
Achaea |3580h, 3898m, 16796e, 16800w cexkdb-southeast
Achaea >southeast<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3898m, 16796e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16796e, 16800w cexkdb-southeast
Achaea |3580h, 3898m, 16796e, 16800w cexkdb-southeast
Achaea |There is no exit in that direction.
Achaea |3580h, 3894m, 16796e, 16799w cexkdb-
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3894, %3=16796, %4=16799, %5="cexkdb")
Achaea |[40] Achaea Trigger : start : Pattern "^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\...
Achaea | [40] Var "mana" changed from "3898" to "3894"
Achaea | [40] Var "lastmana" changed from "3898" to "3894"
Achaea |[40] Achaea Trigger : stopped
Achaea =3580h, 3894m, 16796e, 16799w cexkdb-(M- 4)
Achaea |3580h, 3894m, 16796e, 16799w cexkdb-(M- 4)
Achaea |3580h, 3894m, 16796e, 16799w cexkdb-(M- 4)
Achaea |With a squeak, an old rat darts into the room, looking about wildly.
|
Is that normal? The debugger makes it look like I sent to move southeast a bunch of times. I only sent se which sends "southeast" one time to move to each room. |
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Nov 10, 2007 6:12 am |
It almost looks like you have multiple windows with the same name (Achaea). Check the Windows menu...is there more than one window listed with the name "Achaea"? I obviously need to do something to the debugger so that it shows a different label for windows that have the same name.
Also, it looks like you are using some sort of event called "se". Can you post the script for this event?
How long had you been logged in before you captured this dump? I'm a bit worried about the [40] which means you have used 40 background threads already.
Btw, the lines with the = instead of the | means that the debugger is showing the result of a #CW, or #SUB, or #PSUB or #PCOL. The debugger shows each step starting with the original MUD text and ending with what you see on the screen.
The lines with > instead of | show the text that is sent to the MUD. So according to the dump shown above, "southeast" *was* sent to the MUD 6 times. Also, the --- separators are automatically inserted each time you press a macro key or enter a command on the command line. In this case, it looks like your "se" event ran 6 times somehow. So you need to look to see how this event is being fired.
Hmm, actually, maybe "se" is a macro and it's just reusing the original thread called "Achaea Event". If that thread was originally created to run an event, then when it is reused, the name isn't changed. I can see where this will make the debugger a bit confusing, so I should probably fix this.
So if that is the case, then it looks like you pressed your "se" macro key 6 times. |
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 6:22 am |
Well SE is an alias.
Alias SE:
Code: |
#send {southeast}
rites=%null
casting=%null
|
I also only have one window open called Achaea. I had been in the game maybe a couple minutes at this time. Like I said earlier I have all directions as an alias that will send the direction and clear rites and casting. I have to do this because of a certain skill I have and when I move rooms my rites are no longer valid and I have to start over again, but if I am still in the room then I don't want to keep casting a rite if it is already down. |
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 6:38 am |
What the hell. I just got my ass kicked in the game because all the direction aliases are firing like 4 or 5 times each. All they consist of is the above.
|
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 6:51 am |
It does the same thing if I type a direction manually.
Code: |
Achaea |[1] Achaea Event : start : ~n
Achaea |3580h, 3923m, 16800e, 16800w cexkdb-n
Achaea >n<CR><LF>
Achaea |[1] Achaea Event : stopped
Achaea |3580h, 3923m, 16800e, 16800w cexkdb-n
Achaea |3580h, 3923m, 16800e, 16800w cexkdb-n
Achaea |3580h, 3923m, 16800e, 16800w cexkdb-n
Achaea |
Achaea |Ascending the Shallam Road.
Achaea |Pattern: \b(?:@cityrooms)\b
Achaea |[34] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : #CW royalblue
Achaea |[34] Achaea Trigger : stopped
Achaea =Ascending the Shallam Road.
Achaea |The stars twinkle in the clear night sky. A rune resembling a horse has been sketched into the ground here. A runic totem is planted solidly in the ground. A sigil in the shape of a small, rectangular monolith is on the ground.
Achaea |You see exits leading north, east (open door), southeast, south, and west (open door).
Achaea |3580h, 3934m, 16798e, 16800w cexkdb-
|
Apparently it is sending that 4 times each because when I got jumped a minute ago the person had down gravehands which will not allow you to leave the room and throw you off balance when you try to move. When I sent to move I got the message from gravehands 4 times each time I tried to move, which of course threw me off balance even longer.
Edit:
Okay it's not just directions it is anything I enter on the command line. The debugger shows it as being entered 4 times and receiving the output from the mud 4 times, but all I see is one time. I just typed look and all I saw was one room description, but the debugger showed look 4 times and the room description 4 times. |
|
|
![](templates/Classic/images/spacer.gif) |
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Sat Nov 10, 2007 7:33 am |
I guess if [40] is cause for concern then [81] is even bigger cause for concern..?
I've been logged on for little over an hour.
Code: |
0.0002 | (Initiates): Kurio says, "Anyone seen Master Scree?"<CR><LF>
0.0000 | 0.0001 | <ESC>[0;37m<ESC>[32mH:4985<ESC>[37m<ESC>[32m M:4965<ESC>[37m<ESC>[32m 0.0008 | E:21560<ESC>[37m<ESC>[32m W:21267<ESC>[37m<ESC>[1;31m B:100%<ESC>[0;37m 0.0013 | [csdb eb lr]<IAC><EOR>
0.0126 | kylansys |H:4985 M:4965 E:21560 W:20955 B:100% [csdb eb 0.0133 | lr]<Daru><07:30:28:852>
0.0103 | kylansys |<ESC>[32mH:4985 M:4965 E:21560 W:20955<ESC>[1;31m 0.0108 | B:100%<ESC>[0;37m [csdb eb lr]<ESC>[57m<07:30:28:852> <ESC>[0m
0.0197 | kylansys |(Initiates): Kurio says, "Anyone seen Master Scree?"
0.0100 | kylansys |<ESC>[1;34m(Initiates): Kurio says, "Anyone seen Master 0.0104 | Scree?"<ESC>[0m
0.0907 | kylansys |Pattern: %q{@order}%q
0.0112 | kylansys |[81] kylansys3.mud Trigger : start : Pattern "%q{@order}%q" : 0.0116 | #CW red
0.1073 | kylansys |[81] kylansys3.mud Trigger : stopped
0.0124 | kylansys =(Initiates): Kurio says, "Anyone seen Master Scree?"
0.0146 | kylansys |H:4985 M:4965 E:21560 W:21267 B:100% [csdb eb lr]
0.1353 | kylansys |<ESC>[32mH:4985 M:4965 E:21560 W:21267<ESC>[1;31m 0.1368 | B:100%<ESC>[0;37m [csdb eb lr]<ESC>[0m
0.0139 | kylansys |Pattern: ^H:(%d) M:(%d) E:(%d) W:(%d) B:(%d)~% ~[(%w) (*) 0.0155 | (*)~]$ : (%1=4985, %2=4965, %3=21560, %4=21267, %5=100, %6="csdb", 0.0159 | %7="eb", %8="lr")
0.0197 | kylansys |[81] kylansys3.mud Trigger : start : Pattern "^H:(%d) M:(%d) 0.0201 | E:(%d) W:(%d) B:(%d)~% ~[(%w) (*)...
0.0502 | kylansys | [81] Var "willpower" changed from "20955" to "21267"
0.0406 | kylansys |H:4985 M:4965 E:21560 W:21267 B:100% [csdb eb 0.0422 | lr]<Daru><07:31:08:55>
0.0199 | kylansys |<ESC>[32mH:4985 M:4965 E:21560 W:21267<ESC>[1;31m 0.0204 | B:100%<ESC>[0;37m [csdb eb lr]<ESC>[57m<07:31:08:55> <ESC>[0m
0.0712 | kylansys |[81] kylansys3.mud Trigger : stopped
0.0182 | kylansys |Pattern: ^H:(%d) M:(%d) E:(%d) W:(%d) B:(%d)~% ~[*~]$ : 0.0201 | (%1=4985, %2=4965, %3=21560, %4=21267, %5=100, %6="csdb", %7="eb", 0.0204 | %8="lr")
0.0290 | kylansys |[81] kylansys3.mud Trigger : start : Pattern "^H:(%d) M:(%d) 0.0296 | E:(%d) W:(%d) B:(%d)~% ~[*~]$" : ...
0.0386 | kylansys |[81] kylansys3.mud Trigger : stopped
0.0000 | |
|
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 7:41 am |
That's nothing. Mine went up to [271]!
I also cannot type #THREAD on the command line. I reopened the debugger and it is back down to [58]. |
|
|
![](templates/Classic/images/spacer.gif) |
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Sat Nov 10, 2007 7:55 am |
Since I restarted Cmud, despite my best efforts, it's remaining pretty resolutely at [1].
I'll keep trying to break it. |
|
|
![](templates/Classic/images/spacer.gif) |
Malach Apprentice
Joined: 03 Nov 2007 Posts: 132
|
Posted: Sat Nov 10, 2007 8:43 am |
So far I am finding that every time an alarm fires, a new background thread is being created. I've no idea if they're being reused or not. Showing in my test window the debugger looks like this:
0.0014 | testwind | [1] testwindow Comline : start : #T+ TestAlarm
0.0026 | testwind | Trigger "TestAlarm" compiled (Pattern) : *1
0.0007 | testwind | [1] testwindow Comline : stopped
1.0051 | testwind | Trigger "TestAlarm" changed from "" to "#say 1.0054 | firing;#T- TestAlarm"
0.0009 | testwind | Alarm: *1
0.0011 | testwind | Trigger "TestAlarm" compiled (Normal) : #say 0.0013 | firing;#T- TestAlarm
0.0008 | testwind | [2] testwindow Trigger : start : Alarm "TestAlarm" 0.0011 | : #say firing;#T- TestAlarm
0.0008 | testwind | [2] testwindow Trigger : running
0.0021 | testwind | [2] testwindow Trigger : terminated
6.7087 | ---
0.0006 | testwind | [1] testwindow Comline : start : #T+ TestAlarm
0.0014 | testwind | [1] testwindow Comline : stopped
1.0031 | testwind | Alarm: *1
0.0011 | testwind | [3] testwindow Trigger : start : Alarm "TestAlarm" 0.0014 | : #say firing;#T- TestAlarm
0.0008 | testwind | [3] testwindow Trigger : running
0.0019 | testwind | [3] testwindow Trigger : terminated
18.974 | ---
0.0007 | testwind | [1] testwindow Comline : start : #T+ TestAlarm
0.0016 | testwind | [1] testwindow Comline : stopped
1.0030 | testwind | Alarm: *1
0.0011 | testwind | [4] testwindow Trigger : start : Alarm "TestAlarm" 0.0014 | : #say firing;#T- TestAlarm
0.0008 | testwind | [4] testwindow Trigger : running
3.9690 | ---
0.0006 | testwind | [1] testwindow Comline : start : #T+ TestAlarm
0.0016 | testwind | [1] testwindow Comline : stopped
1.0028 | testwind | Alarm: *1
0.0012 | testwind | [5] testwindow Trigger : start : Alarm 0.0014 | "TestAlarm" : #say firing;#T- TestAlarm
0.0008 | testwind | [5] testwindow Trigger : running
0.0021 | testwind | [5] testwindow Trigger : terminated
with the thread count going up by one every time the alarm is enabled. Should this be something of concern? It's pretty easy to see a situation where several alarms are enabled and disabled in a very short time during a fight. |
|
_________________ Intel Core2 Quad CPU @ 2.4 GHZ with Windows Vista Home Premium and 2 GB Ram |
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 8:47 am |
Thats what mine is doing too and probably how I got up to [271] during a battle.
|
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Nov 10, 2007 6:32 pm |
That's true...I don't think alarms are reusing the threads because alarms fire asynchronously in the background and the chance of your current thread being available for reuse when the alarm fires is pretty small. So that explains the high thread numbers.
oldguy2: It might help if you told us what messages you have enabled in the debugger window. The line that has the > instead of the | is the line that shows what is sent to the MUD, and in your example above, the "n" command was only sent to the MUD *once*
The MUD prompt lines:
Achaea |3580h, 3923m, 16800e, 16800w cexkdb-n
that are displaying more than once can be explained depending upon what messages you have enabled in the debugger.
First, the "Show session text" message causes a line to be written to the debugger whenever the routine that checks for trigger matches is called. And this routine is called twice for "prompt" text...once for the prompt (which fires any Trigger on Prompt triggers), and once again when you get a newline (which fires any Trigger on Newline triggers). I need to add some information to the debugger so that you can tell these two cases apart, but right now it will cause two identical lines in the debugger window.
If the "Show raw session input" message is enabled, then you will also see the text from the MUD displayed in the debugger when it is actually received from the network socket. Although on Achaea, this should be indicated with * instead of | since you probably have MCCP enabled.
In addition, if the "Show ANSI codes" message is enabled, then it might also display the line again to show the ANSI control codes in the line. Although it's not *supposed* to show that line if it's the same as the normal text.
Anyway, in the next version I'll try to add a better indicator of which message is causing which line to be displayed to make it easier to understand.
OldGuy2: So, I need you to try something for me. Create a New Session icon in your main CMUD session window and connect to your Achaea MUD from there. Before connecting, go to the Edit Session and then the Files tab and make sure to enter a different package filename so that it doesn't load your main settings. Then, log into your character and type the "n" command manually again and capture what happens. Make sure the "Show raw session input" message is ON so that I can see the raw text sent from the MUD.
If this looks normal, then you can connect back to your normal session icon. Then, turn OFF triggers using the gun icon in the command line, and then enter your "n" command manually again. You might also try playing with turning MCCP off, and also turning the ATCP support off. It's possible that Achaea is somehow sending the prompt more than once, which is what we need to find out.
I'd also be interested in hearing from other people that play Achaea to see if they also see the multiple MUD prompts in the debugger.
Certainly if you have a complex MUD prompt trigger, then having it process the MUD prompt several times is definitely going to cause the slowdown that you were getting in the past. We just need to figure out why the prompt is being processed more than once. |
|
|
![](templates/Classic/images/spacer.gif) |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Sat Nov 10, 2007 7:21 pm |
Zugg wrote: |
I'd also be interested in hearing from other people that play Achaea to see if they also see the multiple MUD prompts in the debugger.
Certainly if you have a complex MUD prompt trigger, then having it process the MUD prompt several times is definitely going to cause the slowdown that you were getting in the past. We just need to figure out why the prompt is being processed more than once. |
This looks like oldguy2's prompt trigger:
Code: |
Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : (%1=3580, %2=3898, %3=16800, %4=16800, %5="cexkdb") |
And it's only firing once from what he posted above.
My guess is that he has just enabled all the Messages in the debugger. |
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sat Nov 10, 2007 11:39 pm |
Alright I will get back to you on that. Also to let you know I still keep getting MCCP errors while logged into Achaea.
|
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Nov 11, 2007 12:50 am |
Quote: |
OldGuy2: So, I need you to try something for me. Create a New Session icon in your main CMUD session window and connect to your Achaea MUD from there. Before connecting, go to the Edit Session and then the Files tab and make sure to enter a different package filename so that it doesn't load your main settings. Then, log into your character and type the "n" command manually again and capture what happens. Make sure the "Show raw session input" message is ON so that I can see the raw text sent from the MUD. |
This is a new session. I have every message checked except to "show events" and "show ansi codes". The same thing is happening.
Code: |
Achaea2 |[1] Achaea2 Comline : start : n
Achaea2 |3580h, 3393m, 15570e, 16800w exdb-n
Achaea2 >n<CR><LF>
Achaea2 |[1] Achaea2 Comline : stopped
Achaea2 *<ESC>[33mZanzibaar Street.<CR><LF>
<ESC>[37m<IAC><SB><200>Room.Brief Zanzibaar Street<IAC><SE><ESC>[36mThe stars twinkle in the clear night sky.<ESC>[37m<ESC>[36m A rune resembling a horse has been sketched into the ground here.<ESC>[37m<ESC>[36m A rune like a closed eye has been sketched into the ground here.<ESC>[37m<ESC>[36m A runic totem is planted solidly in the ground.<ESC>[37m<ESC>[33m You see a sign here instructing you that WARES is the command to see what is for sale.<ESC>[37m<CR><LF>
<ESC>[33mYou see exits leading<ESC>[37m<IAC><SB><200>Room.Exits n,e,s,w<IAC><SE><ESC>[33m north, east (open door), south, and west (open door).<CR><LF>
<ESC>[37m<ESC>[32m3580h,<ESC>[37m<ESC>[32m 3393m,<ESC>[37m<ESC>[32m 15568e,<ESC>[37m<ESC>[32m 16800w<ESC>[37m<IAC><SB><200>Char.Vitals<LF>
H:3580/3334 M:3393/3938 E:15568/15570 W:16800/16800 NL:28/100 <IAC><SE> exdb-<IAC><EOR>
Achaea2 |3580h, 3393m, 15570e, 16800w exdb-n
Achaea2 |3580h, 3393m, 15570e, 16800w exdb-n
Achaea2 |3580h, 3393m, 15570e, 16800w exdb-n
Achaea2 |
Achaea2 |Zanzibaar Street.
Achaea2 |The stars twinkle in the clear night sky. A rune resembling a horse has been sketched into the ground here. A rune like a closed eye has been sketched into the ground here. A runic totem is planted solidly in the ground. You see a sign here instructing you that WARES is the command to see what is for sale.
Achaea2 |You see exits leading north, east (open door), south, and west (open door).
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-
---
Achaea2 |[1] Achaea2 Comline : start : n
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-n
Achaea2 >n<CR><LF>
Achaea2 |[1] Achaea2 Comline : stopped
Achaea2 *<IAC><SB><200>Room.Brief Zanzibaar Street<IAC><SE><IAC><SB><200>Room.Exits n,e,s,w<IAC><SE><ESC>[33mZanzibaar Street.<CR><LF>
<ESC>[37m<IAC><SB><200>Room.Brief Zanzibaar Street<IAC><SE><ESC>[36mThe stars twinkle in the clear night sky.<ESC>[37m<ESC>[36m A sewer grate looms darkly beneath your feet.<ESC>[37m<ESC>[36m A functional sailor's kitbag has been left here.<ESC>[37m<ESC>[36m A runic totem is planted solidly in the ground.<ESC>[37m<ESC>[36m An iron-tipped whip has been carelessly tossed away here.<ESC>[37m<ESC>[36m A narrow, short dirk catches your eye.<ESC>[37m<ESC>[36m A sigil in the shape of a small, rectangular monolith is on the ground.<ESC>[37m<ESC>[33m You see a sign here instructing you that WARES is the command to see what is for sale.<ESC>[37m<CR><LF>
<ESC>[33mYou see exits leading<ESC>[37m<IAC><SB><200>Room.Exits n,e,s,w<IAC><SE><ESC>[33m north, east (open door), south, and west (open door).<CR><LF>
<ESC>[37m<ESC>[32m3580h,<ESC>[37m<ESC>[32m 3393m,<ESC>[37m<ESC>[32m 15568e,<ESC>[37m<ESC>[32m 16800w<ESC>[37m<IAC><SB><200>Char.Vitals<LF>
H:3580/3334 M:3393/3938 E:15568/15570 W:16800/16800 NL:28/100 <IAC><SE> exdb-<IAC><EOR>
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-n
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-n
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-n
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-n
Achaea2 |3580h, 3393m, 15568e, 16800w exdb-n
Achaea2 |Zanzibaar Street.
Achaea2 |The stars twinkle in the clear night sky. A sewer grate looms darkly beneath your feet. A functional sailor's kitbag has been left here. A runic totem is planted solidly in the ground. An iron-tipped whip has been carelessly tossed away here. A narrow, short dirk catches your eye. A sigil in the shape of a small, rectangular monolith is on the ground. You see a sign here instructing you that WARES is the command to see what is for sale.
Achaea2 |You see exits leading north, east (open door), south, and west (open door).
Achaea2 |3580h, 3393m, 15568e, 16800w exdb- |
I didn't get to test more than this because I was logged in like 10 seconds and enemies showed up. If you notice the first one showed 4 times and the second time showed 6. I only entered to move north twice. |
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Nov 11, 2007 1:02 am |
Triggers off shows...
Code: |
0.0003 | Achaea |A rat noses its way cautiously out of the shadows.
0.0016 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
5.9203 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0003 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0003 | Achaea |Your eyes are drawn to a baby rat that darts suddenly into view.
0.0002 | Achaea |3580h, 3883m, 16800e, 16800w cexkdb-
7.3405 | Achaea |3580h, 3883m, 16800e, 16800w cexkdb-
0.2236 | Achaea |3580h, 3883m, 16800e, 16800w cexkdb-
0.0021 | Achaea |With a flick of its small whiskers, a rat dashes out of view.
0.0003 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
5.0429 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0003 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0004 | Achaea |Your eyes are drawn to a baby rat that darts suddenly into view.
0.0002 | Achaea |3580h, 3934m, 16800e, 16800w cexkdb-
1.1852 | Achaea |3580h, 3934m, 16800e, 16800w cexkdb-
0.0003 | Achaea |3580h, 3934m, 16800e, 16800w cexkdb-
|
Example of sending look and getting multiple room descriptions.
Code: |
1.7640 | ---
0.0002 | Achaea |[1] Achaea Event : start : l
0.0029 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-l
0.0016 | Achaea >l<CR><LF>
0.0001 | Achaea |[1] Achaea Event : stopped
0.6814 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-l
0.0033 | Achaea |
0.0036 | Achaea |Fish Street.
0.0045 | Achaea |Pattern: \b(?:@cityrooms)\b
0.0004 | Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : 0.0006 | #CW royalblue
0.0001 | Achaea |[40] Achaea Trigger : stopped
0.0001 | Achaea =Fish Street.
0.0047 | Achaea |The stars twinkle in the clear night sky. Heading west out of 0.0049 | the main throng of the city, Zanzibaar turns onto Fish Street, a narrow 0.0051 | and ancient street, winding and weaving like a gnarled old man through 0.0054 | the bustling city. On either side of the street, small stalls, far less 0.0056 | impressive than those of the Medina, offer their goods, which consist 0.0061 | mainly of the fruits of the river. The street takes its name from its 0.0063 | proximity to the docks of Shallam, once the founding force of a city 0.0066 | that grew from a tiny fishing village. At the western end of Fish 0.0068 | Street, which curves slightly, are the western gates of the city that 0.0070 | look out over the ancient wooden jetties and onto the great expanse of 0.0072 | the river: a timeless reminder of the energy and proliferation of life 0.0074 | that gave birth to this magnificent city. A runic totem is planted 0.0076 | solidly in the ground. Lying flat on the ground is a key-shaped sigil. 0.0079 | Resplendent in Shallamese livery, a Herald stands here ready to share 0.0081 | the news. Spreading its majestic golden wings, a giant eagle searches 0.0083 | the ground with piercing eyes. A sigil in the shape of a small, 0.0085 | rectangular monolith is on the ground. There are 2 stubbor
0.5728 | Achaea |The stars twinkle in the clear night sky. Heading west out of 0.5731 | the main throng of the city, Zanzibaar turns onto Fish Street, a narrow 0.5737 | and ancient street, winding and weaving like a gnarled old man through 0.5739 | the bustling city. On either side of the street, small stalls, far less 0.5741 | impressive than those of the Medina, offer their goods, which consist 0.5743 | mainly of the fruits of the river. The street takes its name from its 0.5745 | proximity to the docks of Shallam, once the founding force of a city 0.5748 | that grew from a tiny fishing village. At the western end of Fish 0.5750 | Street, which curves slightly, are the western gates of the city that 0.5752 | look out over the ancient wooden jetties and onto the great expanse of 0.5754 | the river: a timeless reminder of the energy and proliferation of life 0.5757 | that gave birth to this magnificent city. A runic totem is planted 0.5759 | solidly in the ground. Lying flat on the ground is a key-shaped sigil. 0.5761 | Resplendent in Shallamese livery, a Herald stands here ready to share 0.5763 | the news. Spreading its majestic golden wings, a giant eagle searches 0.5765 | the ground with piercing eyes. A sigil in the shape of a small, 0.5767 | rectangular monolith is on the ground. There are 2 stubbor
0.0033 | Achaea |The stars twinkle in the clear night sky. Heading west out of 0.0036 | the main throng of the city, Zanzibaar turns onto Fish Street, a narrow 0.0038 | and ancient street, winding and weaving like a gnarled old man through 0.0040 | the bustling city. On either side of the street, small stalls, far less 0.0043 | impressive than those of the Medina, offer their goods, which consist 0.0045 | mainly of the fruits of the river. The street takes its name from its 0.0047 | proximity to the docks of Shallam, once the founding force of a city 0.0049 | that grew from a tiny fishing village. At the western end of Fish 0.0051 | Street, which curves slightly, are the western gates of the city that 0.0053 | look out over the ancient wooden jetties and onto the great expanse of 0.0056 | the river: a timeless reminder of the energy and proliferation of life 0.0058 | that gave birth to this magnificent city. A runic totem is planted 0.0060 | solidly in the ground. Lying flat on the ground is a key-shaped sigil. 0.0062 | Resplendent in Shallamese livery, a Herald stands here ready to share 0.0064 | the news. Spreading its majestic golden wings, a giant eagle searches 0.0067 | the ground with piercing eyes. A sigil in the shape of a small, 0.0069 | rectangular monolith is on the ground. There are 2 stubbor
0.0060 | Achaea |The stars twinkle in the clear night sky. Heading west out of 0.0062 | the main throng of the city, Zanzibaar turns onto Fish Street, a narrow 0.0064 | and ancient street, winding and weaving like a gnarled old man through 0.0066 | the bustling city. On either side of the street, small stalls, far less 0.0069 | impressive than those of the Medina, offer their goods, which consist 0.0071 | mainly of the fruits of the river. The street takes its name from its 0.0073 | proximity to the docks of Shallam, once the founding force of a city 0.0075 | that grew from a tiny fishing village. At the western end of Fish 0.0077 | Street, which curves slightly, are the western gates of the city that 0.0079 | look out over the ancient wooden jetties and onto the great expanse of 0.0082 | the river: a timeless reminder of the energy and proliferation of life 0.0084 | that gave birth to this magnificent city. A runic totem is planted 0.0087 | solidly in the ground. Lying flat on the ground is a key-shaped sigil. 0.0089 | Resplendent in Shallamese livery, a Herald stands here ready to share 0.0091 | the news. Spreading its majestic golden wings, a giant eagle searches 0.0093 | the ground with piercing eyes. A sigil in the shape of a small, 0.0095 | rectangular monolith is on the ground. There are 2 stubborn mules here. 0.0097 | Playing endlessly with its long floppy ears, a small burro stands here 0.0100 | quietly. There are 4 Priestesses of the Basilica here. There are 13 0.0102 | Guardian Djinns here. There are 3 Monks of the Guard here. There are 4 0.0104 | Paladins of the Guard here. Wings flaring, a pegasus tosses his regal 0.0106 | head impatiently. A small grey-brown rattlesnake is coiled here, 0.0108 | rattling menacingly. A stone gargoyle flies overhead on leathery, grey 0.0114 | wings. A baby rat timidly moves in the shadows here. Adherent of Light, 0.0116 | Jayden Mal'ach is here. Sir Zenui Ruthras, Samadhi Librarian is here. 0.0118 | Lord Fonetic, the Silent Swordsman is here. You may ENTER SUBDIVISION 0.0120 | from here.
0.0067 | Achaea |Pattern: \b(?:rat|rats)\b
0.0004 | Achaea |[40] Achaea Trigger : start : Pattern "\b(?:rat|rats)\b" : #cw 0.0006 | orange
0.0003 | Achaea |[40] Achaea Trigger : stopped
0.0004 | Achaea =The stars twinkle in the clear night sky. Heading west out of 0.0007 | the main throng of the city, Zanzibaar turns onto Fish Street, a narrow 0.0009 | and ancient street, winding and weaving like a gnarled old man through 0.0011 | the bustling city. On either side of the street, small stalls, far less 0.0013 | impressive than those of the Medina, offer their goods, which consist 0.0016 | mainly of the fruits of the river. The street takes its name from its 0.0022 | proximity to the docks of Shallam, once the founding force of a city 0.0024 | that grew from a tiny fishing village. At the western end of Fish 0.0026 | Street, which curves slightly, are the western gates of the city that 0.0029 | look out over the ancient wooden jetties and onto the great expanse of 0.0031 | the river: a timeless reminder of the energy and proliferation of life 0.0033 | that gave birth to this magnificent city. A runic totem is planted 0.0035 | solidly in the ground. Lying flat on the ground is a key-shaped sigil. 0.0037 | Resplendent in Shallamese livery, a Herald stands here ready to share 0.0040 | the news. Spreading its majestic golden wings, a giant eagle searches 0.0042 | the ground with piercing eyes. A sigil in the shape of a small, 0.0044 | rectangular monolith is on the ground. There are 2 stubborn mules here. 0.0046 | Playing endlessly with its long floppy ears, a small burro stands here 0.0048 | quietly. There are 4 Priestesses of the Basilica here. There are 13 0.0050 | Guardian Djinns here. There are 3 Monks of the Guard here. There are 4 0.0053 | Paladins of the Guard here. Wings flaring, a pegasus tosses his regal 0.0055 | head impatiently. A small grey-brown rattlesnake is coiled here, 0.0057 | rattling menacingly. A stone gargoyle flies overhead on leathery, grey 0.0059 | wings. A baby rat timidly moves in the shadows here. Adherent of Light, 0.0061 | Jayden Mal'ach is here. Sir Zenui Ruthras, Samadhi Librarian is here. 0.0064 | Lord Fonetic, the Silent Swordsman is here. You may ENTER SUBDIVISION 0.0066 | from here.
0.0211 | Achaea |Pattern: \b(?:@cityrooms)\b
0.0004 | Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : 0.0010 | #CW royalblue
0.0044 | Achaea |[40] Achaea Trigger : stopped
0.0008 | Achaea =The stars twinkle in the clear night sky. Heading west out of 0.0011 | the main throng of the city, Zanzibaar turns onto Fish Street, a narrow 0.0013 | and ancient street, winding and weaving like a gnarled old man through 0.0015 | the bustling city. On either side of the street, small stalls, far less 0.0017 | impressive than those of the Medina, offer their goods, which consist 0.0019 | mainly of the fruits of the river. The street takes its name from its 0.0022 | proximity to the docks of Shallam, once the founding force of a city 0.0024 | that grew from a tiny fishing village. At the western end of Fish 0.0026 | Street, which curves slightly, are the western gates of the city that 0.0028 | look out over the ancient wooden jetties and onto the great expanse of 0.0030 | the river: a timeless reminder of the energy and proliferation of life 0.0033 | that gave birth to this magnificent city. A runic totem is planted 0.0035 | solidly in the ground. Lying flat on the ground is a key-shaped sigil. 0.0037 | Resplendent in Shallamese livery, a Herald stands here ready to share 0.0039 | the news. Spreading its majestic golden wings, a giant eagle searches 0.0041 | the ground with piercing eyes. A sigil in the shape of a small, 0.0043 | rectangular monolith is on the ground. There are 2 stubborn mules here. 0.0046 | Playing endlessly with its long floppy ears, a small burro stands here 0.0048 | quietly. There are 4 Priestesses of the Basilica here. There are 13 0.0050 | Guardian Djinns here. There are 3 Monks of the Guard here. There are 4 0.0052 | Paladins of the Guard here. Wings flaring, a pegasus tosses his regal 0.0054 | head impatiently. A small grey-brown rattlesnake is coiled here, 0.0057 | rattling menacingly. A stone gargoyle flies overhead on leathery, grey 0.0062 | wings. A baby rat timidly moves in the shadows here. Adherent of Light, 0.0064 | Jayden Mal'ach is here. Sir Zenui Ruthras, Samadhi Librarian is here. 0.0066 | Lord Fonetic, the Silent Swordsman is here. You may ENTER SUBDIVISION 0.0068 | from here.
0.0012 | Achaea |You see exits leading north, northeast, east (open door), 0.0014 | southeast (closed door), south (closed door), southwest (open door), 0.0017 | and west.
0.0167 | Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
0.0006 | Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : 0.0012 | (%1=3580, %2=3898, %3=16800, %4=16800, %5="cexkdb")
8.0030 | Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
0.0030 | Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
0.0053 | Achaea |(Shallam): Silas says, "When I said we can stop, I didn't mean 0.0056 | that we should continue."
0.0072 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0008 | Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : 0.0013 | (%1=3580, %2=3938, %3=16800, %4=16800, %5="cexkdb")
1.9203 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0031 | Achaea |3580h, 3938m, 16800e, 16800w cexkdb-
0.0066 | Achaea |Daje has been slain by the might of Daijin Arkantos.
|
|
|
|
![](templates/Classic/images/spacer.gif) |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Sun Nov 11, 2007 1:47 am |
The reason you are getting multiple room descriptions I think is partly because you have several triggers that match the same paragraph of text (which is sent to you as a single line). Notice that two of them start: "Achaea =The stars twinkle ". There is an "=" instead of a "|". That means the text was changed by a trigger. The other reason Zugg may have already explained in another thread.
|
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Nov 11, 2007 2:45 am |
Well if you say so... I don't have any triggers that match the room description. There are 4 room descriptions in a row after the room title Fish Street. I have the room titles colored only. It shows that in the beginning where the trigger fired to color the room title and then the description afterward prints to the screen 4 times in a row without the title. The only other thing that I color in the room is rat or rats so I can see them easily in the room and kill them. However, in the new session without any triggers it doesn't do that so of course it is probably something I am doing. I guess I can turn off all coloring triggers.
|
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sun Nov 11, 2007 5:21 am |
If this is happening in a new session, is there a room in Achaea at the beginning of the game that I can get to that shows this problem? In other words, is it just happening in one area, or would it happen if I just created a new character on Achaea?
Also, as far as I know Iron Realms has *not* fixed the MCCP problems with ATCP yet in any of their games. I'll need to bug them again about this. But you should probably turn off MCCP until they fix their problems. |
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Sun Nov 11, 2007 6:25 am |
Zugg wrote: |
If this is happening in a new session, is there a room in Achaea at the beginning of the game that I can get to that shows this problem? In other words, is it just happening in one area, or would it happen if I just created a new character on Achaea?
Also, as far as I know Iron Realms has *not* fixed the MCCP problems with ATCP yet in any of their games. I'll need to bug them again about this. But you should probably turn off MCCP until they fix their problems. |
You know I'm not sure. My character is so old I don't remember where you end up when you create a new one. However, I think it would happen anywhere. I was just walking around a city in those logs above. |
|
|
![](templates/Classic/images/spacer.gif) |
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Sun Nov 11, 2007 7:27 am |
If you can't reproduce the same with ANY room in Achaea you can use portals to get to Shallam pretty easily. (If I remember from when Aetolia had Shallam instead of Enorian, there was a portal leading to Zanzibar street.)
|
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Nov 12, 2007 9:44 pm |
OK, I found the issue with Achaea (and any other Iron Realms MUD). It was actually a red-herring. Your prompt trigger wasn't really firing more than once. The problem was that when Achaea sent an ATCP command, CMUD was calling the trigger routine to look for any Telnet triggers to override the ATCP. And I was showing Telnet triggers as normal triggers and displaying the last line from the MUD instead of the text sent to the telnet trigger.
So, I've fixed this display issue in the script debugger for 2.12. You'll still get two calls for your prompt...one with the Prompt option and one with the Newline option. But I am marking the prompt trigger call in the debugger with a ] character instead of the | character to help distinguish them.
Anyway, OldGuy you might want to turn off the ATCP option in the session preferences and see if that helps. But I still don't think we have found the original slowdown problem that you were having. You shouldn't use ATCP and MCCP at the same time anyway.
Also, please turn ON the messages for "show thread start", "show thread end". You have a line like this in your log above:
0.0006 | Achaea |Pattern: ^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)w ([cexkdb@]*)\- : 0.0012 | (%1=3580, %2=3898, %3=16800, %4=16800, %5="cexkdb")
8.0030 | Achaea |3580h, 3898m, 16800e, 16800w cexkdb-
which shows that your prompt trigger is firing, but then you don't show the actual threads that are started so that we can see what it is doing. Looks like you turned this off partway through your example, because earlier there is a line:
0.0211 | Achaea |Pattern: \b(?:@cityrooms)\b
0.0004 | Achaea |[40] Achaea Trigger : start : Pattern "\b(?:@cityrooms)\b" : 0.0010 | #CW royalblue
0.0044 | Achaea |[40] Achaea Trigger : stopped
so this shows that a thread was executed for your cityrooms trigger. So either you turned the thread messages off, or there is something really weird going on with your prompt trigger that causes it not to create a thread.
I can see from the timings that your prompt trigger is executing *very* slow (8.0030 seconds in the above example), so I think that is where the problem is. I think you need to show us the full XML script for your prompt trigger so that we can help determine what is so slow about it. |
|
|
![](templates/Classic/images/spacer.gif) |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Mon Nov 12, 2007 11:07 pm |
I suggest also ticking the "Show when settings compile". I'm getting a variable recompiling due to my prompt trigger and I think it may be indicative of a bug. As the variable is supposed to just be a string and therefore should not be compiled at all (but does contain %line). That could just be a zMUD Import issue though and I may have to set the variable type to String (literal) instead of whatever it is now. Hmm, no, that doesn't help - it's still compiled. I'll post a separate thread on that - could be something else I need to change. Maybe the recompilation is not actually a problem, but try ticking it anyway.
|
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Nov 12, 2007 11:34 pm |
Definitely post another thread about the string compiling issue. And yes, it's definitely useful to see the Compile messages when looking for speed issues.
|
|
|
![](templates/Classic/images/spacer.gif) |
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Tue Nov 13, 2007 6:50 am |
My prompt trigger just captures my current health and mana values into variables. It then captures the defensive values at the end of the prompt into a local variable and changes the value of my defenses based upon if the letter exists or not such as
Code: |
#if (%pos(e,$defs)) {Equilibrium=1} {Equilibrium=0}
|
I have an if statement for each letter.
I then call my autosip and eat moss function and turn off any class folders and triggers that should turn off at the prompt, which there are about six of those.
That is all I have in my prompt. |
|
|
![](templates/Classic/images/spacer.gif) |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Tue Nov 13, 2007 12:29 pm |
You haven't followed our suggestions though...
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|