[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: 197
Joined: 28-Feb-04 20:22
Location: Cologne, Germany
Contact:

[Fixed for V0.50] crash during export

Post by THOM » 9-Jun-08 20:54

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: 13154
Joined: 31-May-00 11:57
Location: Location, Location
Contact:

Post by Gambit37 » 10-Jun-08 01:43

Moved to the bugs forum. George will probably need to see your dungeon file to fix it.

User avatar
George Gilbert
Dungeon Master
Posts: 3021
Joined: 25-Sep-00 09:04
Location: London, England
Contact:

Post by George Gilbert » 10-Jun-08 07:38

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: 197
Joined: 28-Feb-04 20:22
Location: Cologne, Germany
Contact:

Post by THOM » 16-Jun-08 21:01

I've sent a file nearly one week ago.
Any results??

User avatar
George Gilbert
Dungeon Master
Posts: 3021
Joined: 25-Sep-00 09:04
Location: London, England
Contact:

Post by George Gilbert » 17-Jun-08 18:11

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: 197
Joined: 28-Feb-04 20:22
Location: Cologne, Germany
Contact:

Post by THOM » 17-Jun-08 21:26

ää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: 2465
Joined: 9-Mar-05 03:16
Location: Berlin, Germany
Contact:

Post by Trantor » 18-Jun-08 05:39

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: 13154
Joined: 31-May-00 11:57
Location: Location, Location
Contact:

Post by Gambit37 » 18-Jun-08 09:04

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: 3021
Joined: 25-Sep-00 09:04
Location: London, England
Contact:

Post by George Gilbert » 19-Jun-08 07:34

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: 197
Joined: 28-Feb-04 20:22
Location: Cologne, Germany
Contact:

Post by THOM » 19-Jun-08 11:20

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: 13154
Joined: 31-May-00 11:57
Location: Location, Location
Contact:

Post by Gambit37 » 19-Jun-08 11:51

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: 197
Joined: 28-Feb-04 20:22
Location: Cologne, Germany
Contact:

Post by THOM » 19-Jun-08 12:50

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

lets wait and see what it brings...

User avatar
Paul Stevens
CSBwin Guru
Posts: 4098
Joined: 8-Apr-01 16:00
Location: Madison, Wisconsin, USA

Post by Paul Stevens » 19-Jun-08 14:28

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: 3021
Joined: 25-Sep-00 09:04
Location: London, England
Contact:

Post by George Gilbert » 19-Jun-08 19:06

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: 3021
Joined: 25-Sep-00 09:04
Location: London, England
Contact:

Post by George Gilbert » 19-Jun-08 19:09

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: 197
Joined: 28-Feb-04 20:22
Location: Cologne, Germany
Contact:

Post by THOM » 19-Jun-08 21:45

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: 4098
Joined: 8-Apr-01 16:00
Location: Madison, Wisconsin, USA

Post by Paul Stevens » 19-Jun-08 23:48

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