Page 1 of 1

[Fixed for V0.50] crash during export

Posted: Mon Jun 09, 2008 10:54 pm
by THOM
every time I try export the second level of my costum dungeon I get a crash and that message:

Code: Select all

RTC Editor (V0.49) Diagnostic file - Mon Jun 09 22:42:09 2008

Error:
  an access violation exception.

Stack Dump:
  RTCEditCommon.DrawMagicMapBitmap(pointer 0x0012ACDC, int 2);
  RTCEditView.OnFileExportLevel();
  RTCEditApp.WinMain();
all other levels i can export. does anyone have an idea??

Posted: Tue Jun 10, 2008 3:43 am
by Gambit37
Moved to the bugs forum. George will probably need to see your dungeon file to fix it.

Posted: Tue Jun 10, 2008 9:38 am
by George Gilbert
Gambit37 wrote:George will probably need to see your dungeon file to fix it.
Yes please!

Can you email it to me and I'll take a look...

Posted: Mon Jun 16, 2008 11:01 pm
by THOM
I've sent a file nearly one week ago.
Any results??

Posted: Tue Jun 17, 2008 8:11 pm
by George Gilbert
Apologies - Real Life has been busy!

I had a quick look and your dungeon is *enormous*; well over 10,000 items :shock:

It's quite likely that you're hitting some internal limit but I can't reproduce the crash because I don't have the graphics / sound files that the dungeon depends on. Can you send me everything needed for your dungeon so I can run it under a debugger and see exactly what's causing the problem. I'll then fix it and remove any limits completely.

Posted: Tue Jun 17, 2008 11:26 pm
by THOM
äähm - well - ...

Sending everything would mean I should send you nearly 13 MB Data. That would probably hit my email limit...

I have doubts that I can manage this.

In fact it must have something to do with the second level (Level 2 "Keller"). I can not see what Item/Bitmap/Sound is only used there and is corrupted. But maybe there is another possibility to find it out??...


And thanks, George, for your reply. I know how real life can sometimes occupy one.

Posted: Wed Jun 18, 2008 7:39 am
by Trantor
THOM, how about sending all the data in several steps? 5 MB per mail should be managable, so you only need to sent three mails.

Posted: Wed Jun 18, 2008 11:04 am
by Gambit37
THOM wrote:äähm - well - ...

Sending everything would mean I should send you nearly 13 MB Data. That would probably hit my email limit...
Do you have FTP space with your ISP? If so, make a zip of the whole folder, then FTP it up to your space and send GG the link.

Or use a service like Rapidshare.

Posted: Thu Jun 19, 2008 9:34 am
by George Gilbert
THOM wrote:In fact it must have something to do with the second level (Level 2 "Keller"). I can not see what Item/Bitmap/Sound is only used there and is corrupted.
I don't think it is an issue with any given item in any particular place, simply a question of there being so many of them!

Posted: Thu Jun 19, 2008 1:20 pm
by THOM
George Gilbert wrote: ... simply a question of there being so many of them!
...but not on Level 2 :(

Posted: Thu Jun 19, 2008 1:51 pm
by Gambit37
THOM, these speculations are pointless. You need to find a way of getting the entire folder to GG -- he can't diagnose the problem if he can't recreate it.

Did you manage to use Rapidshare, or similar?

Posted: Thu Jun 19, 2008 2:50 pm
by THOM
yes, I finally sent a file to George...

lets wait and see what it brings...

Posted: Thu Jun 19, 2008 4:28 pm
by Paul Stevens
George wrote:*enormous*; well over 10,000 items
My Conflux savegame has 17,808 objects in
addition to about 30,000 dungeon cells.
Maybe we should give up converting it to RTC? :wink:

Posted: Thu Jun 19, 2008 9:06 pm
by George Gilbert
THOM wrote:yes, I finally sent a file to George...

lets wait and see what it brings...
That's great thanks - solved the problem straight away.

As it turns out, you were right all along and I was wrong :oops: - it is a specific item that's causing the crash. On level 2 at coordinates 24,47 you have a door frame without a door which causes the mapping function to crash.

Clearly I'll fix the bug as this is a perfectly valid thing to have in a dungeon - for now add an open door to that tile and everything should work for you!

Posted: Thu Jun 19, 2008 9:09 pm
by George Gilbert
Paul Stevens wrote:
George wrote:*enormous*; well over 10,000 items
My Conflux savegame has 17,808 objects in
addition to about 30,000 dungeon cells.
Maybe we should give up converting it to RTC? :wink:
As above, it turned out not to be a problem with scalability. Checking through the code, RTC scales to 10.2 million dungeon cells; should be OK for *most* dungeons...even Conflux :wink:

Posted: Thu Jun 19, 2008 11:45 pm
by THOM
Well - it works!! :lol:
George Gilbert wrote: On level 2 at coordinates 24,47 you have a door frame without a door which causes the mapping function to crash.


I always thought that doors/-frames/-buttons ar special items. I remember a problem with my first dungeon, that was near to that one. Last time I had doorframs with doorbuttons without doors...
George Gilbert wrote:*enormous*; well over 10,000 items


at long last that could be a result of me having on 4 of 5 tiles an alt_wallset object...

Posted: Fri Jun 20, 2008 1:48 am
by Paul Stevens
George wrote:RTC scales to 10.2 million dungeon cells
Conflux is pushing CSBwin's ultimate limits.
And I mean 'ULTIMATE'. No more after this.
Nearly 50 percent of everything. If Zyx
gets many more ideas, we will be forced
to convert. :cry:

On the other hand, these limits may give
the man a small hope that he can someday
quit such foolishness. :D

'Tis an ill wind that blows no good.