Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Sat Aug 01, 2009 6:22 pm   

[3.10a] Importing Map Pulls The Wrong File
 
I have a saved map with a name like mudmap.dbm. We share this map between a lot of people, but make changes in the ZMud version since it's apparently too much trouble for CMud to be able to export an mdb. I downloaded a new version of the mdb map named mudmap.mdb. With .dbm open in CMud, I go to File and Open, then select "Old Mapper Files" and select the .mdb file to convert it since it's newer, however the next dialog that pops up says "Opening map mudmap.dbm". It would seem that if you have two files with the same name but different extensions, CMud is grabbing the dbm.
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Sat Aug 01, 2009 6:24 pm   
 
Changed the name of the newer file to mudmap2.mdb and it imports properly.
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Sat Aug 01, 2009 6:30 pm   
 
Now the conversion has failed with an Access Violation. Getting kind of ridiculous. ;)

ZoneTreeTbl: Cannot perform this operation on a closed dataset.

Code:

date/time         : 2009-07-30, 15:47:49, 671ms
computer name     : STEPHEN-LAPTOP
user name         : Stephen <admin>
registered owner  : Microsoft / Microsoft
operating system  : Windows Vista x64 Service Pack 2 build 6002
system language   : English
system up time    : 1 day 4 hours
program up time   : 2 hours
processors        : 2x AMD Turion(tm) 64 X2 Mobile Technology TL-60
physical memory   : 1007/2942 MB (free/total)
free disk space   : (C:) 22.25 GB
display mode      : 1280x800, 32 bit
process id        : $13a0
allocated memory  : 118.74 MB
executable        : cMUD.exe
exec. date/time   : 2009-07-28 18:46
version           : 3.10.0.1
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : Stephen
contact email     : askjf@skfj.org
callstack crc     : $ebd7f7fd, $658171b2, $658171b2
exception number  : 1
exception class   : EcxInvalidDataControllerOperation
exception message : RecordIndex out of range.

Main ($10e0):
005cde69 +011 cMUD.exe     cxCustomData  2212  +1 InvalidOperation
005dc749 +055 cMUD.exe     cxCustomData 11889  +4 TcxCustomDataController.CheckRecordRange
005db52d +00d cMUD.exe     cxCustomData 11086  +1 TcxCustomDataController.GetRowIndexByRecordIndex
005db65b +007 cMUD.exe     cxCustomData 11140  +1 TcxCustomDataController.ChangeFocusedRecordIndex
005cf6bc +274 cMUD.exe     cxCustomData  3313 +62 TcxCustomDataProvider.InsertingRecord
00a36895 +045 cMUD.exe     cxDBData      1543  +3 TcxDBDataLink.DoInsertingRecord
00a364e0 +224 cMUD.exe     cxDBData      1417 +63 TcxDBDataLink.DataSetChanged
0051183d +0bd cMUD.exe     DB                     TDataLink.DataEvent
00a362a3 +00f cMUD.exe     cxDBData      1347  +1 TcxDBDataLink.DataEvent
00511e23 +03f cMUD.exe     DB                     TDataSource.NotifyLinkTypes
00511e52 +01e cMUD.exe     DB                     TDataSource.NotifyDataLinks
00511e7f +023 cMUD.exe     DB                     TDataSource.DataEvent
00515f0d +131 cMUD.exe     DB                     TDataSet.DataEvent
0051732c +088 cMUD.exe     DB                     TDataSet.EndInsertAppend
00516fc8 +058 cMUD.exe     DB                     TDataSet.Append
00d450d5 +035 cMUD.exe     MapList3      2877  +4 TMapNode.MakePortal
00ce79a5 +03d cMUD.exe     Portals3       250  +5 TPortalD.NewBtnClick
004bb528 +064 cMUD.exe     Controls               TControl.Click
00570f34 +000 cMUD.exe     RzButton      1861  +0 TRzCustomButton.Click
005724b6 +01e cMUD.exe     RzButton      2597  +4 TRzButton.Click
005736ed +03d cMUD.exe     RzButton      3369  +6 TRzMenuButton.Click
005716d8 +058 cMUD.exe     RzButton      2207  +8 TRzButton.ChangeState
00571424 +080 cMUD.exe     RzButton      2069 +10 TRzCustomButton.MouseUp
004bb92c +02c cMUD.exe     Controls               TControl.DoMouseUp
004bb9ae +076 cMUD.exe     Controls               TControl.WMLButtonUp
004bb023 +2bb cMUD.exe     Controls               TControl.WndProc
004bf027 +4fb cMUD.exe     Controls               TWinControl.WndProc
004be750 +02c cMUD.exe     Controls               TWinControl.MainWndProc
0047c400 +014 cMUD.exe     Classes                StdWndProc
75dd90de +00a USER32.dll                          DispatchMessageA
004a96fc +0fc cMUD.exe     Forms                  TApplication.ProcessMessage
004a9736 +00a cMUD.exe     Forms                  TApplication.HandleMessage
004a9a2b +0b3 cMUD.exe     Forms                  TApplication.Run
00e0015c +088 cMUD.exe     CMUD           352 +20 initialization
75caecc9 +00c kernel32.dll                        BaseThreadInitThunk

date/time         : 2009-08-01, 14:29:05, 328ms
computer name     : STEPHEN-LAPTOP
user name         : Stephen <admin>
registered owner  : Microsoft / Microsoft
operating system  : Windows Vista x64 Service Pack 2 build 6002
system language   : English
system up time    : 3 days 3 hours
program up time   : 1 minute 25 seconds
processors        : 2x AMD Turion(tm) 64 X2 Mobile Technology TL-60
physical memory   : 1185/2942 MB (free/total)
free disk space   : (C:) 18.82 GB
display mode      : 1280x800, 32 bit
process id        : $750
allocated memory  : 90.97 MB
executable        : cMUD.exe
exec. date/time   : 2009-07-28 18:46
version           : 3.10.0.1
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : Stephen
contact email     : asdkfj@ddfkja.org
callstack crc     : $abff82f8, $c3cb7f9b, $c3cb7f9b
exception number  : 1
exception class   : EDatabaseError
exception message : ZoneTreeTbl: Cannot perform this operation on a closed dataset.

Main ($45c):
00506a7c +070 cMUD.exe     DB                       DatabaseError
005143f2 +03e cMUD.exe     DB                       TDataSet.CheckActive
00517728 +008 cMUD.exe     DB                       TDataSet.CheckBrowseMode
00516d81 +015 cMUD.exe     DB                       TDataSet.Refresh
00a29f5e +006 cMUD.exe     zMapDB3         829   +0 TzMDB.ZoneTblAfterPost
00d4389b +3bb cMUD.exe     MapList3       2112  +48 TMapNode.ConvertScripts
00d439c7 +027 cMUD.exe     MapList3       2127   +6 TMapNode.ActivateDB
00d40987 +24b cMUD.exe     MapList3       1212  +38 TMapNode.LoadMap
00d48745 +035 cMUD.exe     MapList3       4043   +3 AddMapDB
00d48774 +018 cMUD.exe     MapList3       4052   +2 GetMapDB
00d487e4 +044 cMUD.exe     MapList3       4064   +6 UpdateMapDB
00c4a76e +10a cMUD.exe     PARENT         2434  +23 TParentForm.CreateWindows
00d59679 +011 cMUD.exe     PrefDat        3264   +1 PkgData.CreateWindows
00d59cd0 +4fc cMUD.exe     PrefDat        3439  +94 PkgData.Load
00c4ab69 +275 cMUD.exe     PARENT         2586 +111 TParentForm.NewWindow
00c4f0ef +3bf cMUD.exe     PARENT         4296  +47 TParentForm.NewMUD
00c4b0da +01a cMUD.exe     PARENT         2874   +2 MUDWindow
00c4b189 +085 cMUD.exe     PARENT         2891  +13 TParentForm.CharAction
00c4b23e +006 cMUD.exe     PARENT         2921   +0 TParentForm.DoAction
004bb023 +2bb cMUD.exe     Controls                 TControl.WndProc
004bf027 +4fb cMUD.exe     Controls                 TWinControl.WndProc
004a1587 +553 cMUD.exe     Forms                    TCustomForm.WndProc
00bf5a90 +020 cMUD.exe     DXSounds       2128   +9 TCustomDXSound.FormWndProc
00bf3234 +00c cMUD.exe     DXClass         635   +1 TControlSubClass.WndProc
004be750 +02c cMUD.exe     Controls                 TWinControl.MainWndProc
0047c400 +014 cMUD.exe     Classes                  StdWndProc
75ddf639 +016 USER32.dll                            CallWindowProcA
006d43bf +0a7 cMUD.exe     aqDockingUtils 1728   +7 CallDefWndProc
006d44ad +0dd cMUD.exe     aqDockingUtils 1776  +41 TaqWindowEventFilter.WndProc
0047c400 +014 cMUD.exe     Classes                  StdWndProc
75dd90de +00a USER32.dll                            DispatchMessageA
004a96fc +0fc cMUD.exe     Forms                    TApplication.ProcessMessage
004a9736 +00a cMUD.exe     Forms                    TApplication.HandleMessage
004a9a2b +0b3 cMUD.exe     Forms                    TApplication.Run
00e0015c +088 cMUD.exe     CMUD            352  +20 initialization
75caecc9 +00c kernel32.dll                          BaseThreadInitThunk
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Sat Aug 01, 2009 6:56 pm   
 
To verify I reinstalled 3.08 and tried to convert the map again. It seems to go a lot slower than what I was seeing in 3.10a, but it worked perfectly, and all the changes that were made are there and appear to be correct.
Reply with quote
Ithilion
Wanderer


Joined: 02 Sep 2005
Posts: 85

PostPosted: Thu Oct 08, 2009 12:44 pm   
 
I'm getting this error, as well. (3.10a) and yes, I'm running windows 7 RC with latest patches
Code:

date/time         : 2009-10-08, 05:40:39, 864ms
computer name     : KATTALES7-PC
user name         : KatTales7 <admin>
registered owner  : KatTales7
operating system  : Windows NT New build 7100
system language   : English
system up time    : 7 hours 32 minutes
program up time   : 33 seconds
processors        : 4x AMD Phenom(tm) II X4 920 Processor
physical memory   : 2147/3326 MB (free/total)
free disk space   : (C:) 20.86 GB
display mode      : 1680x1050, 32 bit
process id        : $304
allocated memory  : 108.44 MB
executable        : cMUD.exe
exec. date/time   : 2009-07-28 15:46
version           : 3.10.0.1
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : Ithilion
contact email     : frostpaw(at)kattales.net
callstack crc     : $abff82f8, $ec3d566e, $ec3d566e
exception number  : 2
exception class   : EDatabaseError
exception message : ZoneTreeTbl: Cannot perform this operation on a closed dataset.

Main ($144c):
00506a7c +070 cMUD.exe       DB                       DatabaseError
005143f2 +03e cMUD.exe       DB                       TDataSet.CheckActive
00517728 +008 cMUD.exe       DB                       TDataSet.CheckBrowseMode
00516d81 +015 cMUD.exe       DB                       TDataSet.Refresh
00a29f5e +006 cMUD.exe       zMapDB3         829   +0 TzMDB.ZoneTblAfterPost
00d4389b +3bb cMUD.exe       MapList3       2112  +48 TMapNode.ConvertScripts
00d439c7 +027 cMUD.exe       MapList3       2127   +6 TMapNode.ActivateDB
00d40987 +24b cMUD.exe       MapList3       1212  +38 TMapNode.LoadMap
00d48745 +035 cMUD.exe       MapList3       4043   +3 AddMapDB
00d48774 +018 cMUD.exe       MapList3       4052   +2 GetMapDB
00d487e4 +044 cMUD.exe       MapList3       4064   +6 UpdateMapDB
00c4a76e +10a cMUD.exe       PARENT         2434  +23 TParentForm.CreateWindows
00d59679 +011 cMUD.exe       PrefDat        3264   +1 PkgData.CreateWindows
00d59cd0 +4fc cMUD.exe       PrefDat        3439  +94 PkgData.Load
00c4ab69 +275 cMUD.exe       PARENT         2586 +111 TParentForm.NewWindow
00c4f0ef +3bf cMUD.exe       PARENT         4296  +47 TParentForm.NewMUD
00c4b0da +01a cMUD.exe       PARENT         2874   +2 MUDWindow
00c4b189 +085 cMUD.exe       PARENT         2891  +13 TParentForm.CharAction
00c4b23e +006 cMUD.exe       PARENT         2921   +0 TParentForm.DoAction
004bb023 +2bb cMUD.exe       Controls                 TControl.WndProc
004bf027 +4fb cMUD.exe       Controls                 TWinControl.WndProc
004a1587 +553 cMUD.exe       Forms                    TCustomForm.WndProc
00bf5a90 +020 cMUD.exe       DXSounds       2128   +9 TCustomDXSound.FormWndProc
00bf3234 +00c cMUD.exe       DXClass         635   +1 TControlSubClass.WndProc
004be750 +02c cMUD.exe       Controls                 TWinControl.MainWndProc
0047c400 +014 cMUD.exe       Classes                  StdWndProc
76083c50 +016 USER32.dll                              CallWindowProcA
006d43bf +0a7 cMUD.exe       aqDockingUtils 1728   +7 CallDefWndProc
006d44ad +0dd cMUD.exe       aqDockingUtils 1776  +41 TaqWindowEventFilter.WndProc
0047c400 +014 cMUD.exe       Classes                  StdWndProc
76061b16 +00a USER32.dll                              DispatchMessageA
004a96fc +0fc cMUD.exe       Forms                    TApplication.ProcessMessage
004a9736 +00a cMUD.exe       Forms                    TApplication.HandleMessage
004a9a2b +0b3 cMUD.exe       Forms                    TApplication.Run
00e0015c +088 cMUD.exe       CMUD            352  +20 initialization
74fca643 +062 KERNELBASE.dll                          GetFileAttributesW
768a10da +010 kernel32.dll                            BaseThreadInitThunk
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Oct 08, 2009 4:48 pm   
 
Yes, I can see the bug where CMUD will grab the *.DBM file if it has the same name as the *.MDB file. The internal MapOpen routine does this automatically to be sure that the newer DBM file is loaded rather than the old MDB file. I'll try to change the File/Open option so that it tells MapOpen not to do this automatically.

However, do you still get a failure with the renamed map file? If you have a *.MDB file that is not converting properly in v3.10 when renamed, please email it to me ASAP at sales@zuggsoft.com. I haven't seen any failures with any of my MDB files here, so there is no way for me to fix this bug without an example map file that shows the error. But it's very possible that the speed optimizations done in the 3.10 conversion have resulting in a problem in some cases, so it's very important that I get your map file to test this.

Also, CMUD will never be able to *export* an old MDB file. The whole point of the 3.x version of CMUD is to get rid of the Microsoft ADO/MDAC format dependence (which is what the old MDB file is). Also, new features being added to the mapper do not allow compatibility with the old format, so exporting to an old MDB file would lose map information. It's the new DBM format that will allow the new mapper to finally move forward and start having the new mapper features that people have wanted for years. It's just like how newer zMUD versions are not able to export the really old *.MAP map files.

Sorry this means the new CMUD maps are not useable in zMUD, but once CMUD 3.x is a Public version, then you should be telling friends to use CMUD and not stick with the 5-year old zMUD.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net