ToME Bug Tracker - ToME Bug Tracker - T-Engine: Recently opened tasks http://www.tomedev.net/tome/bugs/ 2010-05-03T05:59:33Z FS#207: Automatizer: equipment and inventory flags cannot be added correctly in-game 2010-05-03T05:59:33Z 2010-05-03T05:59:33Z

Currently one can add subflags only to the <and></and>, <or></or>, <not></not> flags.
and <equipment></equipment> flags should work like the <not></not> flag.

probably a rather minor problem in tome3 but easy to fix. I attached a patch.

Sebastian http://www.tomedev.net/tome/bugs/:207
FS#206: Window resize crash 2010-04-28T02:10:35Z 2010-04-28T02:10:35Z

I just got an unusual crash. It happened on a window re-size (max screen). I will log this as an unconfirmed bug, since I haven’t been able to duplicate this. Got this stack trace out of GDB.

Starting program: /usr/local/bin/tome3 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6f4a8e0 (LWP 12336)]
[New Thread 0xb2c8db70 (LWP 12339)]
[Thread 0xb2c8db70 (LWP 12339) exited]
[New Thread 0xb2c8db70 (LWP 12340)]
[New Thread 0xb248cb70 (LWP 12341)]

Program received signal SIGSEGV, Segmentation fault.
term_win_copy (s=<value optimized out>, f=<value optimized out>, 
    w=<value optimized out>, h=63) at z-term.c:437
437				*s_aa++ = *f_aa++;
Jon Sadler http://www.tomedev.net/tome/bugs/:206
FS#205: Map edge invisible in random levels 2010-04-26T19:59:38Z 2010-04-26T19:59:38Z

Randomly levels are generated with an unmapped edge even though you’re standing right next to it. For example, in the ToME module, go tho the barrow downs. You’ll appear on a staircase with 6 out of nine adjacent squares visible, and the 3 map-edge squares invisible. Walking off and back on does not map them. You have to walk into them to make them visible.

I think this behavior was new with alpha 18.

Lord Bucket http://www.tomedev.net/tome/bugs/:205
FS#204: Link problem on Fedora rawhide 2010-04-20T08:35:59Z 2010-04-20T08:35:59Z

The current GCC/binutils toolchain doesn’t include libraries which are linked into others autmatically, so it is now needed to add -lm to the link line.
I.e. the following patch:

— src/makefile.std 2010-04-20 10:56:18.000000000 -0400
+++ src/makefile.std.HvB 2010-04-18 19:17:39.000000000 -0400
@@ -115,7 +115,7 @@ -DSUPPORT_GAMMA \ -DUSE_PRECISE_CMOVIE \ -DUSE_UNIXSOCK
-LIBS = -lcurses -L$(X11BASE)/lib -lX11
+LIBS = -lcurses -L$(X11BASE)/lib -lX11 -lm ##

Horst H. von Brand http://www.tomedev.net/tome/bugs/:204
FS#203: Module savefile descriptors can permacrash and lock the engine 2010-03-22T01:24:32Z 2010-03-22T01:24:32Z

This code:

function player.make_savefile_descriptor()
   return anything_undefined
end

Results in T-Engine loading to a blackscreen and locked condition, requiring a forced close and deletion of the relevant savefile to correct. Presumably babyface is grabbing all savefile descriptors for all modules before it displays the menu, and is failing to confirm that function returns are valid. So if one savefile in a single module has a bug...the entire engine dies.

Proposed solution: Add some error checking to babyface. T-Engine should not depend on every single module savefile to be error free to load its menu.

Lord Bucket http://www.tomedev.net/tome/bugs/:203
FS#202: Add Shigerello's new SDL code to the main repository 2010-03-05T16:59:02Z 2010-03-05T16:59:02Z

This code looks good. Can someone please test on windows and, if all goes well, get it into the Hg repository?

Eric Stevens http://www.tomedev.net/tome/bugs/:202
FS#200: Items are an unsavable data type 2010-03-05T14:31:09Z 2010-02-22T02:11:52Z

Items native to the engine are not recognized as a savable data type. For example, this code:

declare_globals {
"swag",
}
swag = {}
add_loadsave("swag", {})
local obj = create_object(tv, sv)
swag[1] = obj

will generate this error:

error: Unsavable type userdata in swag[1]
stack traceback:
1:  function `error' [C]
2:  function `f' at line 120 [file `/engine/load2.lua']
3:  function `__savefile_recurse_one' at line 82 [file `/engine/load2.lua']
4:  function `__savefile_recurse_table' at line 95 [file `/engine/load2.lua']
5:  function `__savefile_recurse_one' at line 80 [file `/engine/load2.lua']
6:  function `__savefile_recurse' at line 73 [file `/engine/load2.lua']
7:  function <115:file `/engine/load2.lua'> at line 123
Lord Bucket http://www.tomedev.net/tome/bugs/:200
FS#199: Attempting to load a game starts a new one instead 2010-04-28T02:33:45Z 2009-12-16T13:49:27Z

Presumably starting a new game when the player tries to load a dead character’s savefile is (convenient) intended behavior. However, it seems not to be working quite properly, because several times I have tried to load saved games with characters very much alive, only to be presented with the “new game” interface at every try. Unfortunately I have no idea what causes this, or why it only affects some of my save files.

Dan Levine http://www.tomedev.net/tome/bugs/:199
FS#198: esettings does not work correctly 2009-12-08T06:45:48Z 2009-12-08T06:45:48Z

esettings_get_int and esettings_get_str are returning the default values for things, even when I *know* that the values exist in the config file.

It seems to affect only “bar.baz = 1” things, rather than “bar_baz = 1” (i.e. esettings_get_int(”sdl.graphics.thingy”, 0) will always return 0, but esettings_get_int(”sdl.graphics_thingy”, 0) will behave correctly).

TheFalcon http://www.tomedev.net/tome/bugs/:198
FS#197: T-engine needs UI-accessible option to disable sound 2010-04-28T02:28:38Z 2009-11-14T02:12:12Z

T-engine needs UI-accessible option to disable sound.

I’ve put this at High severity because it’s absolutely infuriating to not be able to disable the sound when you *really* don’t want it.

Anonymous Hero http://www.tomedev.net/tome/bugs/:197