Search found 171 matches

by kaypy
Mon Mar 18, 2024 4:40 pm
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed) Why sabres seem to suck in DSB
Replies: 1
Views: 102

Re: (fixed) Why sabres seem to suck in DSB

Thankyou again

(of course, I can tweak the base files in my own install, but better to have an upsteam fix for everyone)
by kaypy
Sun Mar 17, 2024 9:01 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed) Why sabres seem to suck in DSB
Replies: 1
Views: 102

(fixed) Why sabres seem to suck in DSB

Code: Select all

obj.sabre = {
    name="SABRE",
...
	base_tpower=42,
	base_tpower=1,
...
}
by kaypy
Tue Mar 12, 2024 11:00 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed?) crash to desktop
Replies: 6
Views: 210

Re: (fixed?) crash to desktop

Nice!

I had a minimal level where I was smooshing groups of critters together with dsb_move, but I hadn't been able to reproduce the issue...
by kaypy
Mon Mar 11, 2024 12:26 pm
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed?) crash to desktop
Replies: 6
Views: 210

Re: crash to desktop

Grasping at straws here: What happens if we have monster group A+B and monster group C+D. Then A+B split, where one of them moves to a new tile and onto a teleporter dropping them instantly into C+D. Could A+B still be considered a group and one of them a boss long enough to cause some mishap? Or wo...
by kaypy
Mon Mar 11, 2024 11:46 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed?) crash to desktop
Replies: 6
Views: 210

Re: crash to desktop

Unfortunately, I cant see reproducing it as any more than random chance. There's nothing I can see that makes it likely here. The critters in question aren't particularly close to start with, and my last save was annoyingly old by the time it happened.
by kaypy
Sun Mar 10, 2024 11:31 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed?) crash to desktop
Replies: 6
Views: 210

Re: crash to desktop

(0.81 for the record. I do a bit of AI tweaking for my stairs stuff, but I don't think anything that should be causing problems in the engine-side code...)

10165 is a level transition, several teleporters and a bunch of walking away from 10095 but its not impossible for them to have grouped up.
by kaypy
Sun Mar 10, 2024 10:44 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed?) crash to desktop
Replies: 6
Views: 210

(fixed?) crash to desktop

"Monsters cant agree who is boss
This is more than likely a bug in DSB"

log.txt:
AI: Boss 10165 thinks 10095 is boss!
AI: 10095 thinks 10095 is boss
Error: Monsters can't agree who is boss.
This is more than likely a bug in DSB.

uh, is that actually a disagreement?
by kaypy
Fri Mar 08, 2024 5:04 am
Forum: Dungeon Strikes Back (DSB)
Topic: Aargh! Wrong start button!
Replies: 0
Views: 66

Aargh! Wrong start button!

It is now official: I have clicked the wrong start button too many times. local front_door_noclick=3 function front_door_click(x, y, b) if (b == 1) then if (x > 488 and x < 512) then if (y > 114 and y < 138) then dsb_sound(snd.click) -- dont start a new game unless we really mean it if (gt_savegames...
by kaypy
Sun Jan 07, 2024 1:17 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Subrenderer frequency?
Replies: 5
Views: 9445

Re: Subrenderer frequency?

After one too many "this was technically solvable but there was a key under a trash pile about 5 levels ago you missed so now you're stuck", the overall plan is I'm looking at implementing an Oracle for that random dungeon generator I have. My concept is a small permanent hit to a given ch...
by kaypy
Sun Jan 07, 2024 1:19 am
Forum: Dungeon Strikes Back (DSB)
Topic: Subrenderer frequency?
Replies: 5
Views: 9445

Re: Subrenderer frequency?

I knew messages were the proper way to do it, and I got things working pretty quickly once I stopped being lazy 8-)

But I figured I should find out the way it should behave and update the wiki. Now I get to be lazy there instead 8-)
by kaypy
Sat Jan 06, 2024 1:27 am
Forum: Dungeon Strikes Back (DSB)
Topic: Subrenderer frequency?
Replies: 5
Views: 9445

Subrenderer frequency?

The docs on the wiki imply a subrenderer would be called 6 times a second. In actual use, it seems that a subrenderer will be called much faster for an item looked at via the eye than if put in the hand. Is this intended? (I had thought I could use that 6 times a second for some idle activity, but l...
by kaypy
Sat Jan 06, 2024 1:21 am
Forum: Dungeon Strikes Back (DSB)
Topic: dsb_textformat seems wierd?
Replies: 4
Views: 6590

Re: dsb_textformat seems wierd?

Cool. Like I implied I wasn't planning on using it but it having that side effect was wierd and unsettling...
by kaypy
Fri Jan 05, 2024 5:17 pm
Forum: Dungeon Strikes Back (DSB)
Topic: dsb_textformat seems wierd?
Replies: 4
Views: 6590

Re: dsb_textformat seems wierd?

Had another look around. What I had missed was that it only affects dsb_bitmap_textout with the MULTILINE flag set. It still also breaks the main message area if you actually try to use it. But it wont affect most instances of dsb_bitmap_textout. Oh, and if you try to use it to format the main messa...
by kaypy
Fri Jan 05, 2024 8:17 am
Forum: Dungeon Strikes Back (DSB)
Topic: dsb_textformat seems wierd?
Replies: 4
Views: 6590

dsb_textformat seems wierd?

The way this works seems wierd? It looks like it has global effects, so if I ever use it for formatting my own text, then the main system UI goes wonky? dsb_bitmap_textout is used all over the system UI, but dsb_textformat is only used in the default subrenderer, so everything in the system is relyi...
by kaypy
Wed Jan 03, 2024 6:33 am
Forum: Dungeon Strikes Back (DSB)
Topic: Inventory weight glitch
Replies: 4
Views: 2493

Re: Inventory weight glitch

Nice, thanks!

I was about to ask whether "newly added" meant on_unlook was in the currect or next version. Then I saw the 0.81 post 8-)
by kaypy
Sat Dec 30, 2023 6:01 am
Forum: Dungeon Strikes Back (DSB)
Topic: Inventory weight glitch
Replies: 4
Views: 2493

Re: Inventory weight glitch

Yep, not exactly game breaking 8-) On a related note, is there any way to detect when a container gets an item added to it? I can do it fine in the subrenderer, but I couldn't find anything triggered by the aforementioned auto-put-away... And similarly, is there a better way to detect closing a subr...
by kaypy
Thu Dec 21, 2023 12:48 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Inventory weight glitch
Replies: 4
Views: 2493

Inventory weight glitch

If you drop an item onto a characters stat-bars, then it does an auto-put-away and drops the item somewhere onto that characters inventory. And if the character has a container in their inventory, then the item can wind up in that container. But I've just noticed that if the latter occurs, then the ...
by kaypy
Sun Jan 16, 2022 6:23 am
Forum: Dungeon Strikes Back (DSB)
Topic: How does boost_highlight_time work?
Replies: 4
Views: 2688

Re: How does boost_highlight_time work?

Have a look at base/xp.lua/perform_stat_increase(who, stat_num, value_up) for stat bumps with highlight
by kaypy
Fri Jan 14, 2022 2:21 pm
Forum: Dungeon Strikes Back (DSB)
Topic: How does boost_highlight_time work?
Replies: 4
Views: 2688

Re: How does boost_highlight_time work?

It seems to work to me? I set it ridiculously short/long, spawned a character with no skills but a bunch of mana, and cast potions till they got a level up. I can have the level up greenbox either vanish near immediately or loiter for a minute or so. How are you testing it? Note that this variable *...
by kaypy
Thu Jan 13, 2022 12:50 pm
Forum: Dungeon Strikes Back (DSB)
Topic: Questions about DSB/ESB
Replies: 433
Views: 1256350

Re: Questions about DSB/ESB

What do you get if you set both act_rate *and* quick_act_rate high? I got a rockpile close to immobile... As near as I can tell, with the base values a rockpile should be really slow, but if you hit it, then it will use the quick_act_rate which is >10x faster to try to counterattack, and can chase y...
by kaypy
Tue Jun 22, 2021 1:26 pm
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] DSB in ESB hang under weird circumstances
Replies: 7
Views: 4650

Re: [0.79] DSB in ESB hang under weird circumstances

Yep. Great feature: well worth not playing quake while debugging for 8-)
by kaypy
Fri Jun 18, 2021 7:38 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] DSB in ESB hang under weird circumstances
Replies: 7
Views: 4650

Re: [0.79] DSB in ESB hang under weird circumstances

Checked- DSB on its own is fine
by kaypy
Fri Jun 18, 2021 5:19 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] DSB in ESB hang under weird circumstances
Replies: 7
Views: 4650

[0.79] DSB in ESB hang under weird circumstances

This is probably too obscure to debug but leaving a note if anyone else runs across it: I have a situation where sometimes running Test in DSB will cause the DSB instance to hang at the Establishing link to ESB step. This happens reliably, but only if I have played Quake 2 in the current OS session....
by kaypy
Mon May 03, 2021 3:16 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] ESB fell over?
Replies: 3
Views: 2959

Re: [0.79] ESB fell over?

I was fiddling around with teleporter testing. Went to add a monster blocker and it crashed. Reloaded and it worked fine the next time round.
by kaypy
Sun May 02, 2021 10:43 am
Forum: Dungeon Strikes Back (DSB)
Topic: [0.79] ESB fell over?
Replies: 3
Views: 2959

[0.79] ESB fell over?

OBJ: 414 total archs
ESB shared memory [2f4 2ea0000]
Error: Lua function editor_spawn did not return a valid instance.

If you are using an unmodified editor.lua, this is a bug in ESB.


...

Hmm. I may have had two instances open, could that cause something like this?
by kaypy
Sun May 02, 2021 9:51 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed in 0.80) [0.79] Teleporter sound handling
Replies: 0
Views: 10636

(fixed in 0.80) [0.79] Teleporter sound handling

I was hacking a bit on the teleporter code just now, and noticed the sound handling is inconsistent between insts and the party. The party mode is set up the handle a sound table, which will crash if an inst goes through the teleporter. Also, the only-one-sound-per-teleport function doesn't take the...
by kaypy
Sun Apr 25, 2021 4:45 am
Forum: Dungeon Strikes Back (DSB)
Topic: DSB Version 0.79
Replies: 3
Views: 2923

Re: DSB Version 0.79

Awesome! Thanks 8-)
by kaypy
Fri Apr 23, 2021 11:42 am
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed in 0.79) [0.78] Crash on nonstandard party arrangement
Replies: 3
Views: 2436

Re: (fixed in 0.79) [0.78] Crash on nonstandard party arrangement

Thanks.

I was thinking it might possibly come up with multiple parties.

As opposed to playing with less than four members, and deciding to colour coordinate them in a manner that winds up with no-one for green...
by kaypy
Thu Apr 22, 2021 6:12 pm
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed in 0.79) [0.78] Crash on nonstandard party arrangement
Replies: 3
Views: 2436

Re: [0.78] Crash on nonstandard party arrangement

---DSB ESB--- --[[ Autogenerated by ESB. Trying to edit this file by hand may not give you particularly good results. ]] dsb_text2map(0, 5, 5, 100, 1, { "10100", "10110", "11110", "00110", "00100"} ) dsb_level_wallset(0, wallset.default) dsb_add_cha...
by kaypy
Thu Apr 22, 2021 6:07 pm
Forum: Dungeon Strikes Back (DSB)
Topic: (fixed in 0.79) [0.78] Crash on nonstandard party arrangement
Replies: 3
Views: 2436

(fixed in 0.79) [0.78] Crash on nonstandard party arrangement

Set up a minimal dungeon.
Spawn a character in part slot 2, but not party slot 1

result:

Code: Select all

FATAL LUA ERROR: Lua Function sys_render_magic: base/render.lua:214: dsb_get_charname requires int in param 1