Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Bug: Import/Export problems with my hold, build 27
New Topic New Poll Post Reply
Poster Message
eytanz
Level: Smitemaster
Avatar
Rank Points: 2708
Registered: 02-05-2003
IP: Logged

File: Nameless hold 3.hold (6.3 KB)
Downloaded 45 times.
License: Other
From: Unspecified
icon Bug: Import/Export problems with my hold, build 27 (0)  
If I import my hold (attached), then edit it, and leave DROD, DROD will refuse to restart later (same effect as datafile corruptions in earlier version; just no crash involved).

[Edited by eytanz on 07-06-2003 at 08:24 PM]

____________________________
I got my avatar back! Yay!
07-06-2003 at 08:15 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
eytanz
Level: Smitemaster
Avatar
Rank Points: 2708
Registered: 02-05-2003
IP: Logged
icon Bug: Import/Export problems with my hold, build 27 (0)  
One more thing: I tried copy&pasting my hold, room by room (except the empty rooms which I simply re-created), to a new one, in order to see if exporting it and reimporting causes the same problem or not.

Unfortunately, the game crashed upon exporting.

[Edited by eytanz on 07-06-2003 at 08:23 PM]

____________________________
I got my avatar back! Yay!
07-06-2003 at 08:23 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
eytanz
Level: Smitemaster
Avatar
Rank Points: 2708
Registered: 02-05-2003
IP: Logged

File: Nameless Hold v4.hold (6.3 KB)
Downloaded 47 times.
License: Other
From: Unspecified
icon Re: Bug: Import/Export problems with my hold, build 27 (0)  
Yet more info -

- Playing the hold in 27 also seems to work well, but after leaving DROD it's impossible to come back.

- I reinstalled build 26; it works perfectly with the imported hold.

- In build 26, I copied the hold over room by room, and re-exported. The new version works fine in 27. I'm attaching it in case it will be useful.

[Edited by eytanz on 07-07-2003 at 01:10 AM]

____________________________
I got my avatar back! Yay!
07-07-2003 at 01:03 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged
icon Re: Bug: Import/Export problems with my hold, build 27 (0)  
Yikes! What in the world is happening?! I'll put in a bug report for "DROD not starting".

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
07-07-2003 at 01:20 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Snicker
Level: Delver
Rank Points: 30
Registered: 07-07-2003
IP: Logged
icon Re: Bug: Import/Export problems with my hold, build 27 (0)  
This appears to be happening a lot. The process starts (I show a process in Win XP utilizing 90% or more resources), but no actual game begins, and no error is logged.
You may want to create a special error-trapping version to track this one, something that logs all processes so we can duplicate the error and see where it's halting.
07-08-2003 at 06:37 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged

File: BadData.zip (136.7 KB)
Downloaded 45 times.
License: Other
From: Unspecified
icon Re: Bug: Import/Export problems with my hold, build 27 (0)  
I think this indicates a data file is corrupted -- not just incorrect hold or player data, etc., but that the file itself is now bad (it happened to me -- so attached are my data files for developers and posterity to look at).

Here's some developer jive for those who want to look into how to fix it. Metakit is throwing an assertion at (here's the function trace):

c4_Persist::Load(c4_Stream * 0x00d29e68) line 1121 + 32 bytes
c4_Storage::LoadFrom(c4_Stream & {...}) line 408 + 9 bytes
CDbBase::-Open(const unsigned short * 0x00000000) line 210 + 18 bytes
InitDB() line 225 + 13 bytes
Init(const unsigned short * 0x00d444d2, unsigned char 0, unsigned char 0) line 173 + 5 bytes

So it's actually Metakit getting stuck in an infinite loop. Maybe there's a way to check whether the file data is incorrect before calling LoadFrom() -- KitViewer, for example, won't open the drod1_6.dat file either -- or tweak this assertion in the Metakit code (although I'm sure that's discouraged), or maybe specialize the storage class so our code persists as we upgrade the Metakit library... Maybe getting rid of that stream stuff to speed up the load like we earlier discussed would then side-step this unpleasant situation as well.

[Edited by mrimer on 07-08-2003 at 08:13 PM]

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
07-08-2003 at 08:12 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Bug: Import/Export problems with my hold, build 27
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.