Page 1 of 1

DSB Version 0.49

Posted: Sat Sep 17, 2011 9:31 pm
by Sophia
Otherwise known as the "Are all DM clones doomed to stop at 0.49?" release.

What's new:
- Now able to right click to cancel out of saving a game
- Fixed a crash when replacing the sys_font
- Fixed a crash when using dsb_replace_condition
- Fixed transparent PNGs that were not rendering properly
- Fixed the compass not updating facing direction properly when turning on stairs
- Internal changes to the graphics caches for dynamically scaled objects
- Fixed situations where not enough extra hp or mana was given on level up
- Made dsb_animate able to take a table of separate bitmaps

Download it here

Re: DSB Version 0.49

Posted: Sun Sep 18, 2011 1:07 am
by Mon Ful Ir
Quick! Release 0.50 so as to break the curse!

Re: DSB Version 0.49

Posted: Sun Sep 18, 2011 12:33 pm
by Qwerty
Congratulation on update!!...But...
I'm much afraid of report a trouble. :cry:
When function dsb_animate proceed, DSB is crashed with SegFault error.

Code: Select all

gfx.intro_lordorder = dsb_get_bitmap("Intro_lordorder", "./OPED/Intro_lordorder.pcx")
dsb_animate(gfx.intro_lordorder, 4, 1)
gfx.intro_lordchaos = dsb_get_bitmap("Intro_lordchaos", "./OPED/Intro_lordchaos.pcx")
gfx.intro_circle = dsb_get_bitmap("Intro_circle", "./OPED/Intro_circle.pcx")
dsb_animate(gfx.intro_circle, 5, 5)
gfx.intro_circle_blink = dsb_get_bitmap("Intro_circle_blink", "./OPED/Intro_circle_blink.pcx")
gfx.intro_circle_crack = dsb_get_bitmap("Intro_circle_crack", "./OPED/Intro_circle_crack.pcx")
dsb_animate(gfx.intro_circle_blink, 5, 5)
gfx.intro_dragon = dsb_get_bitmap("Intro_dragon", "./OPED/Intro_dragon.pcx")
dsb_animate(gfx.intro_dragon, 4, 3)

Code: Select all

PROGRAM CRASH!
Location: 0 1 3
Reason: Segmentation Fault
Stack Dump:
DSBmain
show_front_door
lua.sys_game_start
fullscreen_mode
fullscreen_mode
lua.dsb_bitmap_draw
draw_gfxicon
If dsb_animate was disregarded by comment out code, Seg-Fault didn't occurred.

This error hadn't happened on previous version.
How did working of dsb_animate on DSB0.49 and How should I write it?

[Edit]
I think that probably dsb_animate don't work on DSB0.49?
This error occurs not only in my dungeon but in test_dungeon of DSB.
(When Animation of mouse-chewing, Axe(club) flying and Ra door etc...)

Re: DSB Version 0.49

Posted: Sun Sep 18, 2011 4:01 pm
by unskilledkite
It is after a long time.
Sophia,The personal computer was OK? :idea:
It was anxious.

I, too, am confirming now.
The error occurred like QWERTY. :?

Re: DSB Version 0.49

Posted: Sun Sep 18, 2011 9:49 pm
by Sophia
It's a bug with the garbage collector.
For me, it sometimes only happens after I've been playing for a while, so I didn't notice it at first. :(
But I reproduced the bug and fixed it. :D

Here's a fixed DSB.exe.

I've also updated the download, so if you download DSB after this post is made, you'll get the fixed one.

Re: DSB Version 0.49

Posted: Tue Sep 20, 2011 3:27 am
by Stingm
The dsb.exe link won't work for me.

Re: DSB Version 0.49

Posted: Tue Sep 20, 2011 4:30 am
by Sophia
It works now!

Re: DSB Version 0.49

Posted: Mon Oct 10, 2011 8:58 pm
by Joramun
The sticky link points to 0.47.

I hope everyone is doing great !

Life is time consuming, I expect to do some DM/DSB stuff when I get a second head and an extra pair of arms grafted.

Re: DSB Version 0.49

Posted: Mon Oct 10, 2011 9:21 pm
by Sophia
Oops!
Of course, no real harm done, considering how long it took anyone to notice it shows how often people actually look at that. :P

I hope you're doing well too!

Re: DSB Version 0.49

Posted: Wed Oct 26, 2011 9:27 pm
by Gambit37
I tried this version -- monsters still don't seem to be distance shaded? Will you add this? It's one of the things that looks really weird ingame.

Re: DSB Version 0.49

Posted: Wed Oct 26, 2011 11:24 pm
by Sophia
I'm not sure how that slipped by, but the last time I seriously messed around with DSB dungeon building was a while ago and if I broke it in the meantime I might have failed to notice.

Anyway, I'll fix it.

Re: DSB Version 0.49

Posted: Thu Oct 27, 2011 12:13 am
by Gambit37
Cool :)