I've been looking at the code, and while I can't pinpoint exactly what happened (obviously, a monster on the center tile tried to move into another's tile, but why it didn't get caught before, I can't tell), but I have a couple of suggestions about the function in general.
First, there's a few ...
Search found 111 matches
- Mon Nov 19, 2007 2:51 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: (fixed) Size 2 monster bug... strikes back ?
- Replies: 2
- Views: 1270
- Sat Nov 17, 2007 8:48 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: (fixed) Combat balance
- Replies: 13
- Views: 3010
- Sat Nov 17, 2007 10:20 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: DSB can do that!
- Replies: 8
- Views: 2402
- Fri Nov 16, 2007 9:21 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: DSB can do that!
- Replies: 8
- Views: 2402
- Fri Nov 16, 2007 8:59 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: (done) default values for exvar when nil
- Replies: 6
- Views: 1943
If it's oriented towards just getting through playtesting and debugging, it should report it so the designer remembers to fix it. If it's supposed to act as an alternative to setting those values - i.e., a true default value - it shouldn't.
I tend to lean towards the first in the two given examples ...
I tend to lean towards the first in the two given examples ...
- Fri Nov 16, 2007 2:19 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: DSB can do that!
- Replies: 8
- Views: 2402
DSB can do that!
So, after a very long night, I decided to take a peek at all the new rendering code that Sophia has lua-ized. While poking through the files, I realized something that I should have realized awhile ago.
Anyway, after about an hour of playing with bitmaps and writing some code, I came up with what is ...
Anyway, after about an hour of playing with bitmaps and writing some code, I came up with what is ...
- Thu Nov 15, 2007 11:21 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Fun DSB fact...
- Replies: 12
- Views: 3315
- Thu Nov 15, 2007 11:18 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: (fixed) Dungeon display bug at low luminosity
- Replies: 3
- Views: 1471
- Thu Nov 15, 2007 10:52 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: (fixed) Methods bugs (renderer and throw method)
- Replies: 2
- Views: 1162
- Wed Nov 14, 2007 11:47 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Gigglers as size 4 monsters?
- Replies: 11
- Views: 3040
The problem with an individual AI system is that monsters are preset to move randomly if they don't sense the player's party anywhere nearby. This is supposed to result in them being in slightly different places every time you play - it makes the dungeon seem "alive".
But with individual AIs, they ...
But with individual AIs, they ...
- Wed Nov 14, 2007 12:25 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: Fun DSB fact...
- Replies: 12
- Views: 3315
- Tue Nov 13, 2007 1:44 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Level size, offsets etc.
- Replies: 8
- Views: 2411
- Sun Nov 11, 2007 8:37 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Level size, offsets etc.
- Replies: 8
- Views: 2411
- Sun Nov 11, 2007 7:19 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Querying instance state...
- Replies: 2
- Views: 1164
- Sun Nov 11, 2007 7:13 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Level size, offsets etc.
- Replies: 8
- Views: 2411
- Sun Nov 11, 2007 6:23 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: DDM bug report and suggestions...
- Replies: 32
- Views: 10068
- Sat Nov 10, 2007 4:28 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: DDM bug report and suggestions...
- Replies: 32
- Views: 10068
- Sat Nov 10, 2007 2:03 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: DDM bug report and suggestions...
- Replies: 32
- Views: 10068
- Thu Nov 08, 2007 5:50 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Fun DSB fact...
- Replies: 12
- Views: 3315
Now pop this info in a wiki, documenting each function along the way, creating an über dsb-api.
Can I just first say, I dislike this use of the acronym "API". Yes, I know that that makes me stuffy and dated, but a webpage cannot act as a programming interface unless you use a hefty web-scraper to ...
Can I just first say, I dislike this use of the acronym "API". Yes, I know that that makes me stuffy and dated, but a webpage cannot act as a programming interface unless you use a hefty web-scraper to ...
- Thu Nov 08, 2007 5:37 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Function calls : from_inv_slot / to_inv_slot / after_...
- Replies: 12
- Views: 3003
- Thu Nov 08, 2007 2:44 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: Function calls : from_inv_slot / to_inv_slot / after_...
- Replies: 12
- Views: 3003
Okay, well, then I have another question: if two insts are being swapped (one going from MOUSE_HAND to an inventory slot, and one going the other way), does sys_inventory get called just once for both, with both arguments - 'pickup' and 'putdown' - set?
'Cause if that's the case, I think there needs ...
'Cause if that's the case, I think there needs ...
- Wed Nov 07, 2007 9:53 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Function calls : from_inv_slot / to_inv_slot / after_...
- Replies: 12
- Views: 3003
n that case, the return value is ignored-- the instance is going into the inventory no matter. In those cases, the force parameter is set to true.
Perhaps I'm reading it wrong, but if 'force' is supposed to work no matter what, shouldn't the second half of the function - after all the "fit" stuff ...
Perhaps I'm reading it wrong, but if 'force' is supposed to work no matter what, shouldn't the second half of the function - after all the "fit" stuff ...
- Wed Nov 07, 2007 6:36 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Function calls : from_inv_slot / to_inv_slot / after_...
- Replies: 12
- Views: 3003
I don't really understand when exactly "after_to_l_hand" and "after_from_l_hand" are called also...
Well, to_l_hand is called before the obj is popped from the mouse cursor, after_to_l_hand is called after. Both, however, occur after the DSB Engine does a "fit_[slot]" check (so if that check fails ...
Well, to_l_hand is called before the obj is popped from the mouse cursor, after_to_l_hand is called after. Both, however, occur after the DSB Engine does a "fit_[slot]" check (so if that check fails ...
- Wed Nov 07, 2007 6:01 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: Fun DSB fact...
- Replies: 12
- Views: 3315
Fun DSB fact...
In case anyone is keeping score, as of DSB .22 the base scripts define some 400 global functions (including dsb_* s - okay, so those aren't defined in the base, but I include them anyway; if you're wondering, they are about a third of that total), 60 or so global tables, and about 140 constants and ...
- Mon Nov 05, 2007 11:31 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: DDM bug report and suggestions...
- Replies: 32
- Views: 10068
Okay, so, I was going to fix the typo, and discovered another bug. The Archtype Library Editor tool is broken - it adds "blank" exvars when it shouldn't, since those blanks prevent adding the archtype to a dungeon (what's strange is that it just silently fails - it shouldn't...).
Now, I'm going to ...
Now, I'm going to ...
- Mon Nov 05, 2007 4:01 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: (fixed) Floor Triggers don't call 'func' exvar...
- Replies: 3
- Views: 1375
(fixed) Floor Triggers don't call 'func' exvar...
I was experimenting with the 'func' exvar and noticed a peculiar thing - floor triggers don't "trigger" the function call. I tracked it down to the floor_trigger and floor_trigger_off handlers ( base\triggers.lua:176, :214 ), and what happens is they bail out before calling on_trigger if 'exvar[id ...
- Sun Nov 04, 2007 6:22 pm
- Forum: General Archive
- Topic: Logic of dsb_text2map dsb_get/set_cell etc.
- Replies: 8
- Views: 8772
Well, why it's generally a bad idea to override dsb_* s - in fact, I don't know if it's possible because DSB may re-register those functions (overriding your overrides), you might be able to gat away with it here, instead of rewriting alot of code.
old_get_cell = dsb_get_cell
old_set_cell = dsb_set ...
old_get_cell = dsb_get_cell
old_set_cell = dsb_set ...
- Fri Nov 02, 2007 1:16 am
- Forum: Dungeon Strikes Back (DSB)
- Topic: DDM bug report and suggestions...
- Replies: 32
- Views: 10068
- Thu Nov 01, 2007 10:36 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Parsing order of '.lua' files
- Replies: 3
- Views: 1484
- Thu Nov 01, 2007 7:17 pm
- Forum: Dungeon Strikes Back (DSB)
- Topic: Parsing order of '.lua' files
- Replies: 3
- Views: 1484
Parsing order of '.lua' files
Okay, I know there's a 'lua_manifest' in 'globals' which gives the order of most of the base lua files, but my question is about those not listed and any that happen to be in the dungeon's folder.
In which order do 'global.lua', 'startup.lua', and 'objects.lua' get parsed in base? And in dungeon ...
In which order do 'global.lua', 'startup.lua', and 'objects.lua' get parsed in base? And in dungeon ...