 |
orphean Apprentice

Joined: 21 Oct 2008 Posts: 147 Location: Olympia, WA
|
Posted: Sat Oct 24, 2009 4:14 am
[3.11 Pro] Crash when creating new room in Mapper. |
Hi,
Since the update to 3.11 I can no longer create a map by walking around and having the mapper automatically create rooms. Every time I try it crashes. I have tried in a new blank session and with a brand new mapper configuration and database as well to no avail.
Going to miss my mapper :) Let me know if I can do anything further to help.
Code: |
date/time : 2009-10-23, 21:10:49, 4ms
computer name : <snipped>
user name : <snipped>
registered owner : <snipped>
operating system : Windows Vista x64 Service Pack 2, v.286 build 6002
system language : English
system up time : 4 hours 29 minutes
program up time : 3 minutes 15 seconds
processors : 2x Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz
physical memory : 1579/4094 MB (free/total)
free disk space : (C:) 149.08 GB
display mode : 1920x1200, 32 bit
process id : $1780
allocated memory : 84.15 MB
executable : cMUDPro.exe
exec. date/time : 2009-10-23 16:42
version : 3.11.0.0
compiled with : BCB 2006/07
madExcept version : 3.0h
contact name : <snipped>
contact email : <snipped>
callstack crc : $a6cb1e5c, $b95b21e6, $b95b21e6
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00ECE6FD in module 'cMUDPro.exe'. Read of address 00000000.
Main ($17dc):
00ece6fd +0005 cMUDPro.exe PrefDat 10147 +1 DirRec.Get_Dir
00e880d0 +00e0 cMUDPro.exe MapLoc3 2192 +10 TMapLoc.AddExitTagLinks
00e88476 +02da cMUDPro.exe MapLoc3 2244 +31 TMapLoc.SaveRoom
00e8a25f +01fb cMUDPro.exe MapLoc3 2775 +43 FollowLink
00e8c7ae +21ce cMUDPro.exe MapLoc3 3269 +368 CheckForRoom
00e8ccba +0106 cMUDPro.exe MapLoc3 3316 +9 TMapLoc.MapLine
00e88a6f +0273 cMUDPro.exe MapLoc3 2329 +38 TMapLoc.AddLine
00def033 +18d3 cMUDPro.exe MAIN 8852 +458 TMUDForm.HandleTrigger
00ded22f +000f cMUDPro.exe MAIN 8218 +1 TMUDForm.UserOutNewLine
00ae75ff +0067 cMUDPro.exe term 9686 +6 TTerm.DoTriggerLine
00ae5f20 +0218 cMUDPro.exe term 9244 +34 HandleNewLine
00ae678f +06ef cMUDPro.exe term 9372 +104 TTerm.PutText
00ae6d6f +0053 cMUDPro.exe term 9479 +2 TTerm.Add
00dd6b9a +00b6 cMUDPro.exe MAIN 1790 +8 TMUDForm.OutputStr
00dd6eba +011a cMUDPro.exe MAIN 1878 +29 TMUDForm.NextMUDLine
00dd738a +0022 cMUDPro.exe MAIN 1959 +4 TMUDForm.DoNextLine
004bf787 +02bb cMUDPro.exe Controls TControl.WndProc
004c378b +04fb cMUDPro.exe Controls TWinControl.WndProc
004a5ceb +0553 cMUDPro.exe Forms TCustomForm.WndProc
004c2eb4 +002c cMUDPro.exe Controls TWinControl.MainWndProc
0047c970 +0014 cMUDPro.exe Classes StdWndProc
75df90de +000a USER32.dll DispatchMessageA
004ade60 +00fc cMUDPro.exe Forms TApplication.ProcessMessage
004ade9a +000a cMUDPro.exe Forms TApplication.HandleMessage
004ae18f +00b3 cMUDPro.exe Forms TApplication.Run
00f68260 +0088 cMUDPro.exe cMUDPro 364 +20 initialization
75d4ec1b +000c kernel32.dll BaseThreadInitThunk
|
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Oct 24, 2009 5:02 am |
Looks like you are using Exit Tags. Please show me the text from the MUD with the room you are trying to create and tell me the value of your #TAG command for the exits.
|
|
|
 |
orphean Apprentice

Joined: 21 Oct 2008 Posts: 147 Location: Olympia, WA
|
Posted: Sat Oct 24, 2009 5:17 am |
I'm not sure how to show you the value of my #TAG for the exits. Aardwolf sends tags like {rname}, {exits}, and {rdesc}{/rdesc} and I use the following triggers to convert those to MXP tags (<rname>foo</rname> etc):
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<class name="AutoMap">
<trigger priority="12250" ansi="true">
<pattern>^%e[37m~{rname~}(*)</pattern>
<value>#sub {<RName>%1</RName>}
#say</value>
</trigger>
<trigger priority="12290">
<pattern>~{rdesc~}</pattern>
<value>#sub <rdesc></value>
</trigger>
<trigger priority="12300">
<pattern>~{/rdesc~}</pattern>
<value>#sub {</rdesc>}</value>
</trigger>
<trigger priority="12310" ansi="true">
<pattern>^%e[37m~{exits~}(*)</pattern>
<value>#sub <rexits>%1</rexits>
#say</value>
</trigger>
<event event="onLoad" priority="12320">
<value><![CDATA[#MXP 1 {<!ELEMENT RName FLAG="RoomName">}
#MXP 1 {<!ELEMENT RDesc FLAG='RoomDesc'>}
#MXP 1 {<!ELEMENT RExits FLAG='RoomExit'> }]]></value>
</event>
</class>
</cmud> |
It uses onLoad to add those tags as elements and flag them for the mapper when the session opens. This has worked fine for a while now. (note that I didn't create the above triggers, they are in the package library as 'Aardwolf map')
It crashes on any room but I just tried it again and here is the text of the room I was moving into:
Code: |
Before the Academy Courtyard (G)
You step through the archway leading into the academy courtyard, stopping to
take in the splendor around you. You notice an older gentleman leaning
against the wall. He steps from his post and approaches you with an easy and
friendly smile, introducing himself as the Academy Recruiter. Perhaps you
should pay attention to what he has to say.
[Exits: north south]
The academy recruiter is ready to help you enlist. |
The mapper autoconfigure correctly sees the room name, desc, and exits if that helps at all. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Oct 24, 2009 3:54 pm |
In your script where you do:
#sub %1
also do a
#DEBUG %1
and that will write the value of your exit tag to the Script Debugger window. I need to see the exact text for the exit tag to debug this. I added a new routine to the mapper that creates room exit stubs from the ExitTag data, and it obviously doesn't like something in that exit string. |
|
|
 |
orphean Apprentice

Joined: 21 Oct 2008 Posts: 147 Location: Olympia, WA
|
Posted: Sat Oct 24, 2009 5:51 pm |
Room and Description:
Code: |
0.1947 | a Aardwolf |{rname}Before the Academy Courtyard (G)
0.0005 | f Aardwolf | Pattern: ^%e[37m~{rname~}(*) : (%1="& #27;[1;32mBefore the Academy Courtyard (G)& #27;[0m")
0.0005 | c Aardwolf | exec : Pattern "^%e[37m~{rname~}(*)" : #debug %1 #sub {<RName>%1...
0.0004 | Aardwolf |Before the Academy Courtyard (G)
0.0006 | a Aardwolf |Before the Academy Courtyard (G)
0.0006 | g Aardwolf =& #27;[1;32mBefore the Academy Courtyard (G)& #27;[0m
0.0004 | a Aardwolf |{rdesc}
0.0003 | f Aardwolf | Pattern: ~{rdesc~}
0.0005 | c Aardwolf | exec : Pattern "~{rdesc~}" : #sub <rdesc>
0.0003 | g Aardwolf =
0.0004 | a Aardwolf | You step through the archway leading into the academy courtyard, stopping to
0.0005 | a Aardwolf |take in the splendor around you. You notice an older gentleman leaning
0.0005 | a Aardwolf |against the wall. He steps from his post and approaches you with an easy and
0.0052 | a Aardwolf |friendly smile, introducing himself as the Academy Recruiter. Perhaps you
0.0007 | a Aardwolf |should pay attention to what he has to say.
0.0005 | a Aardwolf |{/rdesc}
0.0003 | f Aardwolf | Pattern: ~{/rdesc~}
0.0005 | c Aardwolf | exec : Pattern "~{/rdesc~}" : #sub {</rdesc>} |
Exit:
Code: |
0.0076 | a Aardwolf |{exits}[Exits: north south]
0.0043 | f Aardwolf | Pattern: ^%e[37m~{exits~}(*) : (%1="& #27;[1;32m[Exits: north south]&# 27;[0m")
0.0040 | c Aardwolf | exec : Pattern "^%e[37m~{exits~}(*)" : #debug %1 #sub <rexits>%1...
0.0081 | Aardwolf |[Exits: north south]
0.0046 | a Aardwolf |[Exits: north south]
0.0036 | g Aardwolf =& #27;[1;32m[Exits: north south]& #27;[0m |
For "& #27;" there is actually no space between the ampersand and hash mark but I had to add one so the forums would display it. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Oct 24, 2009 11:23 pm |
OK, thanks for the extra info. I'll try to reproduce this on Monday. I've got the flu or something this weekend and won't be able to release a quick patch for a couple of days.
|
|
|
 |
orphean Apprentice

Joined: 21 Oct 2008 Posts: 147 Location: Olympia, WA
|
Posted: Sun Oct 25, 2009 12:24 am |
Sorry to hear that! Take all the time you need and get better so we can continue to get Cmud releases for a long time to come :)
|
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Sat Oct 31, 2009 4:25 am |
I was getting the crash as well. Looks like 3.12 fixed it.
|
|
|
 |
|
|