Compiling a non existant dungeon, v0.19 (and all previous)

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Compiling a non existant dungeon, v0.19 (and all previous)

Post by Gambit37 »

If you compile a TXT file that doesn't exist, RTC crashes with this error:

<pre> Error: an access violation exception.Stack Dump: RTC.InitSecondary(); RTC.DoFrame(int 7); RTC.WinMain();</pre>

I think a proper error message is in order here! :)
User avatar
amaprotu
Adept
Posts: 211
Joined: Thu Jan 25, 2001 9:47 pm
Location: California, USA
Contact:

Re: Compiling a non existant dungeon, v0.19 (and all previou

Post by amaprotu »

Maybe its just cuz I program, but accessing a file that isn't there would seem to be an access violation.....
- Amaprotu
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: Compiling a non existant dungeon, v0.19 (and all previou

Post by beowuuf »

I think it is because you program, because that message wouldn't lead me to think it was an incorrect path.
However, because of where it crashes, befrore it gets to the file, I've instantly worked out it was the compiler path that would be wrong
So perhaps simply a warning just before compiling saying ENSURE PATH CORRECT, so if it crashes your mind is focused on this anyway.
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Compiling a non existant dungeon, v0.19 (and all previou

Post by Gambit37 »

I don't get where you're coming from. A basic error check needs to be made before doing any of this stuff, even before the DM/RTC logos - if the file you're trying to compile doesn't exist (or you've spelt the filename wrong), there's no point in RTC continuing to load.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: Compiling a non existant dungeon, v0.19 (and all previou

Post by George Gilbert »

I have fixed this and will be in V0.20
Post Reply