RTC.ScaleBitmap(); crash

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. You may Image to help finance the hosting costs of this forum.
Post Reply
tksuoran
Neophyte
Posts: 3
Joined: Sun Mar 24, 2002 6:32 pm

RTC.ScaleBitmap(); crash

Post by tksuoran »

I can repeat this crash:

RTC Diagnostic file - Sun Mar 24 19:30:11 2002

Stack Dump:
RTC.ScaleBitmap(int 446, pointer 0x04A11828, int 0, int 0, int 0);
RTC.CacheBitmap(int 446, int 0);
RTC.DrawBitmap(pointer 0x00EF6730, int 446, int 0, int 186, int 262, word 105, float 0);
RTC.DrawMouseObject(int 1265);
RTC.DrawMouseInGame(int 198, int 274);
RTC.DoFrame(int 50);
RTC.WinMain();

I'd really like to continue my game, but this thing stops me.
User avatar
Gambit37
Should eat more pies
Posts: 13778
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: RTC.ScaleBitmap(); crash

Post by Gambit37 »

What were you doing at the time? How do you repeat the crash?
tksuoran
Neophyte
Posts: 3
Joined: Sun Mar 24, 2002 6:32 pm

Re: RTC.ScaleBitmap(); crash

Post by tksuoran »

I was playing chaos strikes back, not far from beginning. Well, in CSB you can quickly get into lots of places.. Anyway, I have a savegame where I am in some place where fireballs fly, through couple of make-turn-teleporters, and there are some ghosts. Now I kill the ghosts and walk past the fireballs, and in the end of the room there is a cavity in the wall. There is a key and some other item on the cavity. It crashes when I try to pick an item from the cavity. I've got Windows 2000.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: RTC.ScaleBitmap(); crash

Post by beowuuf »

There was a problem tied to this room before, where it was suddenly generating waaaaaaaay to many fireballs when you pick up the key (and vorpal blade), so that the game ran at a crawl with all the extra objects checkign for collision on the same tile...
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
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: RTC.ScaleBitmap(); crash

Post by George Gilbert »

Unfortunately I havn't been able to reproduce this - could you please send me a save-game file which gives this crash and I'll have another look into it?
tksuoran
Neophyte
Posts: 3
Joined: Sun Mar 24, 2002 6:32 pm

Re: RTC.ScaleBitmap(); crash

Post by tksuoran »

I'll pick up the save files next time I boot to Windows, I've got multiboot system now with Windows 2000 and RedHat 7.2 Linux. What files do you need? Also any chance for linux version? I don't know how RTC is currently implemented, but I'd suggest using SDL. With it, RTC would be easy to port other systems, including the good old Amiga :)
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: RTC.ScaleBitmap(); crash

Post by George Gilbert »

Excellent thanks - can you send me all the csb.sv? files in the modules directory and if there are more than one let me know the name you've given to the save game that gives the crash.

I've thought about the porting thing before and it should be relatively easy to do. 95% of the code is pure ANSI C (not even C++), the remainder being DirectX calls. If I've got the time (but not at the moment unfortunately) then I may well write an isolation layer to call onto any graphics handler and porting really will then be easy...
Post Reply