DSB Version 0.46
Moderator: Sophia
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
DSB Version 0.46
Otherwise known as "The release that invariably follows when I have the audacity to call a release stable"
What's new:
- Fixed a potentially very ugly problem with dsb_get_font and dsb_get_sound
- Added dsb_replace_topimages(char, hands_background, portrait_background, death_icon)
- All archs now have a msg_handler_ext that can be used just like a msg_handler, for easier overriding
- Monster special attacks can now return a modified damage type, amount, and zone
- Moved most "housekeeping" tasks of sys_character_die into a new function
- Fixed a bug causing monsters to attack doors with missiles that will never open them
- Fixed a rare bug causing multiple copies of the same rune to appear in a spell when entered very fast
Download it here
What's new:
- Fixed a potentially very ugly problem with dsb_get_font and dsb_get_sound
- Added dsb_replace_topimages(char, hands_background, portrait_background, death_icon)
- All archs now have a msg_handler_ext that can be used just like a msg_handler, for easier overriding
- Monster special attacks can now return a modified damage type, amount, and zone
- Moved most "housekeeping" tasks of sys_character_die into a new function
- Fixed a bug causing monsters to attack doors with missiles that will never open them
- Fixed a rare bug causing multiple copies of the same rune to appear in a spell when entered very fast
Download it here
-
- Adept
- Posts: 221
- Joined: Sat Jan 07, 2006 1:54 am
- Location: Britain
Re: DSB Version 0.46
Ok, who's typing so fast that it has the same rune multiple times ? I call that crazy. (however, I use the mouse, that's probably the reason).
As for tests, aren't all your embarrassing fans / dsb modders a very proficient group of testers ?
As for tests, aren't all your embarrassing fans / dsb modders a very proficient group of testers ?
What Is Your Quest ?
Re: DSB Version 0.46
1. Don't remove stuff like spawn_door for now in utils, cheers.... I could always create my own utils I suppose.
2. I get an error using dsb_get_font, since maybe 0.36 or 0.37:
The error for 0.46 is:
The thing in brackets is new for this version. Obviously the file is located relative to my 'test' sub-directory: ./fonts/gaudymedieval.pcx
2. I get an error using dsb_get_font, since maybe 0.36 or 0.37:
Code: Select all
gfx["GAUDYMEDIEVALFONT"] = dsb_get_font("./fonts/gaudymedieval")
Code: Select all
Error: Font not found:
./fonts/gaudymedieval (Hý")
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: DSB Version 0.46
Like I mentioned in the other thread, that syntax can cause problems. I'll fix what's going wrong here, but, in general, it's better to specify a short name and a long name when you want to use a path:
That should make it work for now. 
(If it still doesn't work, there is something wrong with your PCX file!)
Code: Select all
gfx["GAUDYMEDIEVALFONT"] = dsb_get_font("GAUDYMEDIEVAL", "fonts/gaudymedieval.pcx")

(If it still doesn't work, there is something wrong with your PCX file!)
- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: DSB Version 0.46
Out of interest, why are you using PCX? It's a horrible, inflexible ancient format 

- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: DSB Version 0.46
It's a 256 color bitmap format that is well-supported in Allegro. 
DSB also supports PNG, but didn't originally, and it would just be a waste of time to convert all the stuff that is already PCX.
Why people use it in new dungeons, I don't know.

DSB also supports PNG, but didn't originally, and it would just be a waste of time to convert all the stuff that is already PCX.
Why people use it in new dungeons, I don't know.

Re: DSB Version 0.46
Confirmed.
Thanks Sophia I must have completely missed that reply :O I'll update the documentation.
Thanks Sophia I must have completely missed that reply :O I'll update the documentation.
- linflas
- My other avatar is gay
- Posts: 2445
- Joined: Tue Nov 04, 2003 9:58 pm
- Location: Lille, France
- Contact:
Re: DSB Version 0.46
just got a crash in 0.46 for test_dungeon : clicking Enter > entrance door opens > crash :
Lua function sys_tick: base/system/lua:583: attempt to perform arithmetic on global 'g_last_party_move' (a boolean value)
Lua function sys_tick: base/system/lua:583: attempt to perform arithmetic on global 'g_last_party_move' (a boolean value)
"The only way out is another way in." Try Sukumvit's Labyrinth II
Re: DSB Version 0.46
Same too.linflas wrote:just got a crash in 0.46 for test_dungeon : clicking Enter > entrance door opens > crash :
Lua function sys_tick: base/system/lua:583: attempt to perform arithmetic on global 'g_last_party_move' (a boolean value)