Search found 3596 matches

by Sophia
18-Sep-18 22:38
Forum: Dungeon Master (DM)
Topic: Tutorial on how to remake the 1st-Person-View
Replies: 4
Views: 90

Re: Tutorial on how to remake the 1st-Person-View

Both CSBwin and DSB have their full source code available. :mrgreen:
by Sophia
18-Sep-18 16:19
Forum: Dungeon Strikes Back (DSB)
Topic: Experience/skills oddness...
Replies: 2
Views: 42

Re: Experience/skills oddness...

Level 4 has a 2x experience multiplier, there's a further bonus when you're in combat, and if you have 999 stamina then you're not going to need to take breaks like a normal low-level character would. This would allow for some pretty fast leveling, I think, especially at low levels that don't requir...
by Sophia
15-Sep-18 02:46
Forum: Dungeon Strikes Back (DSB)
Topic: dsb_party_coords() and sys_enter_level()...?
Replies: 2
Views: 43

Re: dsb_party_coords() and sys_enter_level()...?

The value of lev returned by dsb_party_coords is correct for that instant but seems strange, because sys_enter_level is called just before the party is actually moved into the new level. For the most part this isn't an issue because it takes the new level as a parameter, so you know what level the p...
by Sophia
12-Sep-18 18:21
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Random crashes viewing inventory
Replies: 12
Views: 159

Re: (probably fixed) Random crashes viewing inventory

Given your explanation, wouldn't the first replaced bitmap cause the crash? No, because most bitmaps are referenced in objects.lua which is not parsed until all (i.e., both base and custom) graphics have been loaded. Any replaced bitmaps there won't cause a problem. The crash was caused by a bitmap...
by Sophia
12-Sep-18 02:04
Forum: Dungeon Strikes Back (DSB)
Topic: (done) Specify med/far views for wallitems?
Replies: 6
Views: 104

Re: (done) Specify med/far views for wallitems?

Right now, the engine will still display the default front view for a wallitem even if it's on the left-front or the right-front wall, because the "side" images are used to render the perspective views. I could maybe add some new images, though, depending on what you wanted to do... !
by Sophia
12-Sep-18 02:02
Forum: Dungeon Strikes Back (DSB)
Topic: Wall rendering positions /order?
Replies: 7
Views: 126

Re: Wall rendering positions /order?

I'm pretty sure this will work already, actually!
by Sophia
12-Sep-18 02:01
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Random crashes viewing inventory
Replies: 12
Views: 159

Re: Random crashes viewing inventory

I just tested it. In 0.70 you'll be able to have a graphics.cfg , my test consisted of: graphics_paths = { ALCOVE_FRONT = "gfx/wall_items/alcove_front.png", WALLGRATE_FRONT = "gfx/wall_items/wallgrate_front.png", WALLGRATE_SIDE = "gfx/wall_items/wallgrate_side.png", } Even after removing your graphi...
by Sophia
11-Sep-18 18:31
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Random crashes viewing inventory
Replies: 12
Views: 159

Re: Random crashes viewing inventory

It's a very specific problem because it only affects graphics that have been passed to the engine before your custom graphics are loaded, and are then replaced by custom graphics. The obj table is not set up yet, so normally you wouldn't have an issue. Anyway, I think a more elegant solution would b...
by Sophia
10-Sep-18 22:18
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Random crashes viewing inventory
Replies: 12
Views: 159

Re: Random crashes viewing inventory

The way that you're replacing the graphics by just replacing all of graphics.lua is sort of a mess right now. It is definitely the source of one of the mysterious crashes, and given the way it happened, I wonder if there might be other memory corruption that was leading other crashes and strange pro...
by Sophia
9-Sep-18 23:45
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Random crashes viewing inventory
Replies: 12
Views: 159

Re: Random crashes viewing inventory

That's an extremely strange way for DSB to crash. What sort of custom Lua code are you using?
by Sophia
7-Sep-18 22:53
Forum: Dungeon Strikes Back (DSB)
Topic: Original DM Conversion for DSB?
Replies: 15
Views: 826

Re: Original DM Conversion for DSB?

At this point nobody really "owns" it so it's distinctly possible this has been noticed before and the bug report is buried in some thread nobody looks at anymore. I have noted it and I will fix it for the next release though!
by Sophia
6-Sep-18 21:00
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Random crashes viewing inventory
Replies: 12
Views: 159

Re: Random crashes viewing inventory

I guess, though if there's no consistent way to reproduce the bug then it's not likely there's much I can do.

Are you using custom graphics or something else that could be causing a problem?
by Sophia
6-Sep-18 02:04
Forum: Dungeon Strikes Back (DSB)
Topic: (done) Window spell mask
Replies: 5
Views: 84

Re: Window spell mask

What I meant was, it needs to draw the power pink at full alpha to "cut" a hole in the wall bitmap. This means that the hole must be in the part of the image that is drawn directly onto the wall-- this won't matter, because wanting a hole bigger than the wall won't make sense anyway. (This also mean...
by Sophia
6-Sep-18 01:59
Forum: Dungeon Strikes Back (DSB)
Topic: (done) Specify med/far views for wallitems?
Replies: 6
Views: 104

Re: (done) Specify med/far views for wallitems?

It was actually a very simple addition. DSB first looks for a bitmap for a given distance, and, if no bitmap exists, it then dynamically scales the base bitmap to create one. This was previously only used for flooritems, but all that is needed to make it work for wallitems is to add the configuratio...
by Sophia
5-Sep-18 22:42
Forum: Dungeon Strikes Back (DSB)
Topic: (done) Window spell mask
Replies: 5
Views: 84

Re: Window spell mask

The exact division between the images is up to you. I personally would put as little as possible in the part that drew the hole in the wall because DSB's handling of graphics that put 'holes' in other graphics (e.g., magic windows, door windows) is a bit strange, and if you're using alpha as opposed...
by Sophia
5-Sep-18 22:39
Forum: Dungeon Strikes Back (DSB)
Topic: Hooking into resurrect/reincarnate?
Replies: 6
Views: 88

Re: Hooking into resurrect/reincarnate?

Actually, yeah. I was thinking about how to move the subrenderer over to the Lua side but if you're using a custom fullscreen renderer there isn't really much of anything you need the DSB engine to be doing for you at that point. You can just invoke dsb_champion_toparty and then either sys_character...
by Sophia
5-Sep-18 22:24
Forum: Dungeon Strikes Back (DSB)
Topic: (done) Specify med/far views for wallitems?
Replies: 6
Views: 104

Re: Specify med/far views for wallitems?

This shouldn't be very hard to add, so I'll add it.

In 0.70 you'll optionally be able to specify additional views for wallitems: front_med, front_far, side_med, and side_far, as well as other_side_med and other_side_far if you're using other_side views for asymmetric wallitems.
by Sophia
4-Sep-18 21:26
Forum: Dungeon Strikes Back (DSB)
Topic: Hooking into resurrect/reincarnate?
Replies: 6
Views: 88

Re: Hooking into resurrect/reincarnate?

I will consider it!

It really depends on how much of a mess the code ends up being. Probably a mess... but who knows... :mrgreen:
by Sophia
4-Sep-18 21:19
Forum: Dungeon Strikes Back (DSB)
Topic: Bug: Monsters can be heard too far away
Replies: 15
Views: 2048

Re: Bug: Monsters can be heard too far away

To be honest, I built the same test map you did and while I could hear the giggler, it was just barely, and I honestly didn't see a problem. Maybe I'm just losing my hearing in my old age... :shock: Anyway, I can't say I'm excited about delving into all this again. A bigger issue is the version of F...
by Sophia
4-Sep-18 21:18
Forum: Dungeon Strikes Back (DSB)
Topic: Wall rendering positions /order?
Replies: 7
Views: 126

Re: Wall rendering positions /order?

You're right, the perspective views are drawn after the front walls. I'm not sure if changing it will break the default wallsets. There are no wall decorations on the far-left/right walls because that's how the wallsets used with DSB work. I think the distinction is that DM 2.x didn't draw the decor...
by Sophia
4-Sep-18 20:40
Forum: Dungeon Strikes Back (DSB)
Topic: (done) Window spell mask
Replies: 5
Views: 84

Re: Window spell mask

The wall that the window is on as well as the window itself are drawn onto a temporary bitmap, and then that temporary bitmap is drawn to the dungeon view. There is no easy way around this, but I have an alternate idea. Why don't we make your actual wall window image a simple mask that shows the hol...
by Sophia
4-Sep-18 20:30
Forum: Dungeon Strikes Back (DSB)
Topic: DM2 style sconces
Replies: 8
Views: 1047

Re: DM2 style sconces

There are actually two issues here. The first one is that if you're specifying a function definition with a colon instead of a dot, you don't need to actually have a self parameter, because Lua will automatically do so. So you can write function obj.sconce_light_manager:get_instance() Actually you c...
by Sophia
4-Sep-18 20:03
Forum: Dungeon Strikes Back (DSB)
Topic: (probably fixed) Party can frag monsters while kiting
Replies: 3
Views: 74

Re: Party can frag monsters while kiting

There is no actual "at the same time" in DSB: party movement and monster movement are handled in completely separate code, and each set of code has collision detection to ensure that this doesn't happen. If the party walked into a monster's square and telefragged them that means that the collision d...
by Sophia
2-Sep-18 17:41
Forum: Dungeon Strikes Back (DSB)
Topic: Hooking into resurrect/reincarnate?
Replies: 6
Views: 88

Re: Hooking into resurrect/reincarnate?

No, unfortunately not. The resurrect/reincarnate interface is pretty threadbare in general. The onscreen keyboard when you reincarnate doesn't even work. (Which a lot of people don't notice because nobody uses it!)
by Sophia
2-Sep-18 17:38
Forum: Dungeon Strikes Back (DSB)
Topic: Wall rendering positions /order?
Replies: 7
Views: 126

Re: Wall rendering positions /order?

The first thing drawn is the ceiling, and then the floor is drawn immediately after. The code for rendering this stuff is a bit complicated due to the need to support alternate wallsets, but it all kind of "just works" from the perspective of someone designing a wallset. There are four range values ...
by Sophia
4-Jun-18 18:37
Forum: Dungeon Master (DM)
Topic: Crafts and Merchants(Pathfinder)
Replies: 2
Views: 282

Re: Crafts and Merchants(Pathfinder)

I am not sure about the specific problem you're having but in general I'd suggest that you read the Pathfinder books and materials carefully and they may give you some answers. My guess that you do not read things carefully is based on the fact that this forum rather obviously is not a D&D forum, de...
by Sophia
14-May-18 17:29
Forum: DSB
Topic: Original DM and CSB dungeons
Replies: 34
Views: 3326

Re: Original DM and CSB dungeons

Does the original author still come around?

The last time unskilledkite was seen on this forum was in 2014...
by Sophia
13-May-18 18:33
Forum: DSB
Topic: Original DM and CSB dungeons
Replies: 34
Views: 3326

Re: Original DM and CSB dungeons

The first video doesn't work. It says it "isn't available in my country." The second one does, though. It looks great! To get the dungeon working in DSB 0.69 (and have a more authentic CSB) I'd recommend replacing the dungeon with the prison.lua and dungeon.lua from the new port; all of the changes ...
by Sophia
12-May-18 17:11
Forum: DSB
Topic: Original DM and CSB dungeons
Replies: 34
Views: 3326

Re: Original DM and CSB dungeons

There's probably a rounding error somewhere in the load calculation. I'll add this one to my todo list but it's close enough for now. :mrgreen:
by Sophia
12-May-18 00:14
Forum: Dungeon Strikes Back (DSB)
Topic: Skipping intro and front door
Replies: 5
Views: 447

Re: Skipping intro and front door

If I use Dungeon=morgana or Dungeon=test dungeon (I don't remember if test dungeon uses space) it works but if I use Dungeon= and choose manually it fails to load some bitmaps even in the test dungeon (more exactly alphahaze). That is a strange bug. I can't reproduce it, unfortunately. The only gue...