DSB Version 0.49

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

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
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

DSB Version 0.49

Post 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
Mon Ful Ir
Adept
Posts: 221
Joined: Sat Jan 07, 2006 1:54 am
Location: Britain

Re: DSB Version 0.49

Post by Mon Ful Ir »

Quick! Release 0.50 so as to break the curse!
User avatar
Qwerty
Apprentice
Posts: 55
Joined: Sun Aug 30, 2009 6:21 am

Re: DSB Version 0.49

Post 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...)
Last edited by Qwerty on Sun Sep 18, 2011 4:10 pm, edited 1 time in total.
User avatar
unskilledkite
Novice
Posts: 11
Joined: Sun Dec 12, 2010 4:32 pm
Location: Japan

Re: DSB Version 0.49

Post 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. :?
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: DSB Version 0.49

Post 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.
Stingm
Journeyman
Posts: 61
Joined: Wed Jan 26, 2011 7:36 pm

Re: DSB Version 0.49

Post by Stingm »

The dsb.exe link won't work for me.
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: DSB Version 0.49

Post by Sophia »

It works now!
User avatar
Joramun
Mon Master
Posts: 927
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

Re: DSB Version 0.49

Post 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.
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: DSB Version 0.49

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

Re: DSB Version 0.49

Post 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.
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: DSB Version 0.49

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

Re: DSB Version 0.49

Post by Gambit37 »

Cool :)
Post Reply