ToME Bug Tracker - http://www.tomedev.net/tome/bugs/ ToME Bug Tracker - T-Engine: Recently opened tasks 2010-05-03T05:59:33Z FS#207: Automatizer: equipment and inventory flags cannot be added correctly in-game http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=207 2010-05-03T05:59:33Z Sebastian Currently one can add subflags only to the &lt;and&gt;&lt;/and&gt;, &lt;or&gt;&lt;/or&gt;, &lt;not&gt;&lt;/not&gt; flags. and &lt;equipment&gt;&lt;/equipment&gt; flags should work like the &lt;not&gt;&lt;/not&gt; flag. probably a rather minor problem in tome3 but easy to fix. I attached a patch. 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.

]]>
FS#206: Window resize crash http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=206 2010-04-28T02:10:35Z Jon Sadler 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&rsquo;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=&lt;value optimized out&gt;, f=&lt;value optimized out&gt;, w=&lt;value optimized out&gt;, h=63) at z-term.c:437 437 *s_aa++ = *f_aa++; 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++;
]]>
FS#205: Map edge invisible in random levels http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=205 2010-04-26T19:59:38Z Lord Bucket Randomly levels are generated with an unmapped edge even though you&rsquo;re standing right next to it. For example, in the ToME module, go tho the barrow downs. You&rsquo;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. 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.

]]>
FS#204: Link problem on Fedora rawhide http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=204 2010-04-20T08:35:59Z Horst H. von Brand The current GCC/binutils toolchain doesn&rsquo;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: &mdash; 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 ## 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 ##

]]>
FS#203: Module savefile descriptors can permacrash and lock the engine http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=203 2010-03-22T01:24:32Z Lord Bucket 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. 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.

]]>
FS#202: Add Shigerello's new SDL code to the main repository http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=202 2010-03-05T16:59:02Z Eric Stevens This code looks good. Can someone please test on windows and, if all goes well, get it into the Hg repository? This code looks good. Can someone please test on windows and, if all goes well, get it into the Hg repository?

]]>
FS#200: Items are an unsavable data type http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=200 2010-03-05T14:31:09Z Lord Bucket Items native to the engine are not recognized as a savable data type. For example, this code: declare_globals { &quot;swag&quot;, } swag = {} add_loadsave(&quot;swag&quot;, {}) 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 &lt;115:file `/engine/load2.lua'&gt; at line 123 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
]]>
FS#199: Attempting to load a game starts a new one instead http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=199 2010-04-28T02:33:45Z Dan Levine Presumably starting a new game when the player tries to load a dead character&rsquo;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 &ldquo;new game&rdquo; interface at every try. Unfortunately I have no idea what causes this, or why it only affects some of my save files. 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.

]]>
FS#198: esettings does not work correctly http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=198 2009-12-08T06:45:48Z TheFalcon 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 &ldquo;bar.baz = 1&rdquo; things, rather than &ldquo;bar_baz = 1&rdquo; (i.e. esettings_get_int(&rdquo;sdl.graphics.thingy&rdquo;, 0) will always return 0, but esettings_get_int(&rdquo;sdl.graphics_thingy&rdquo;, 0) will behave correctly). 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).

]]>
FS#197: T-engine needs UI-accessible option to disable sound http://www.tomedev.net/tome/bugs/index.php?do=details&task_id=197 2010-04-28T02:28:38Z Anonymous Hero T-engine needs UI-accessible option to disable sound. I&rsquo;ve put this at High severity because it&rsquo;s absolutely infuriating to not be able to disable the sound when you *really* don&rsquo;t want it. 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.

]]>