[Fixed for V0.50] crash during export

Things in RTC that do not work as expected (compared to Dungeon Master) or at all! Please read previous posts carefully to see if the bug has already been reported.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

[Fixed for V0.50] crash during export

Post 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??
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Moved to the bugs forum. George will probably need to see your dungeon file to fix it.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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...
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

Post by THOM »

I've sent a file nearly one week ago.
Any results??
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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.
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

Post 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.
User avatar
Trantor
Duke of Banville
Posts: 2466
Joined: Wed Mar 09, 2005 4:16 am
Location: Berlin, Germany
Contact:

Post 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.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post 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.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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!
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

Post by THOM »

George Gilbert wrote: ... simply a question of there being so many of them!
...but not on Level 2 :(
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post 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?
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

Post by THOM »

yes, I finally sent a file to George...

lets wait and see what it brings...
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post 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:
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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!
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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:
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

Post 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...
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post 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.
Post Reply