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
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jan 24, 2010 1:00 am   

[MapConv]doofus errors (harmless stuff that should be better handled before GO)
 
1)duplicate filenames

When you select a filename to convert, the utility automatically fills in the destination fields with the info based on the destination format (ie, same filename with the dropdown-determined extension, same file location). On the destination side, two labels appear below the textboxes that seem to indicate the tasks involved:

backup existing file
create new file

In the case where you are converting to the same format, if you then press GO without changing to a unique filename it brings up an SQLError popup box:

SQL Error: table IconTbl already exists, with the CREATE TABLE SQL statement on the line below that
CREATE TABLE IconTbl [IconId] INTEGER, [Bitmap] BLOB, [Filename] VARCHAR(255), [UID1] INTEGER DEFAULT 0,[UID2] INTEGER DEFAULT 0, [UserID] INTEGER DEFAULT 0,[Modified] TIMESTAMP

It's not checking for duplicate names, and tries to go ahead with the file creation by attempting the write to the existing file.

2)no from file selected

If you don't choose a file to convert, the converter goes through the motions of converting anyways. Harmless because nothing's being done, but should be checked for and handled. Probably should also not tell the user that the conversion was successful. Wink

3)no destination filename or destination path

Ok, so you choose a file to convert and obviously the utility then fills in the destination fields. For some reason, you then blank the destination name/path fields and press GO. This brings up a "strange" error box from the MapConvert errorhandler with the phrase "Database already exists". Which database is being referred to? Very Happy

All of this was just in "safe mode" playing around with copies of my real mapfiles, next up is seeing what broke (if anything) when the file is used within CMud and then ZMapper.
_________________
EDIT: I didn't like my old signature
Reply with quote
wrym
Magician


Joined: 06 Jul 2007
Posts: 349
Location: The big palace, My own lil world

PostPosted: Sun Jan 24, 2010 7:37 pm   
 
4) doubled paths

1)find a map file to convert
2)change the PATH of where you want to save the new file

i end up with a path like d:\games\c:\users\......

If you click convert you get a funny sql error
_________________
"To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jan 25, 2010 5:52 pm   
 
Confirmed Matt's issues and added them to the list. I was actually already aware of stuff like that and released MapConvert early mainly to test the actually functionality.

Wyrm: I couldn't reproduce this, but I'm not sure exactly how you are changing the path. I selected a file in the Source to convert, then edited the path in the Destination and didn't see the problem. Can you give me a step-by-step?
Reply with quote
wrym
Magician


Joined: 06 Jul 2007
Posts: 349
Location: The big palace, My own lil world

PostPosted: Mon Jan 25, 2010 6:21 pm   
 
1) launch converter program
2) on the source pane, click browse, locate a map click open
3) on the destination pane, click browse, move to a new folder, click open

Clicking on the favorites tab or browsing to the folder makes no difference. I'm not selecting a file in the Destination pane but just selecting a folder. and lastly this is on vista.
_________________
"To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jan 26, 2010 1:24 am   
 
Ahh, I see that now. I wasn't clicking the Browse button in the destination pane, I was just changing the path manually. Added to bug list, thanks.
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