#pentagram@irc.freenode.net logs for 7 Jul 2008 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[00:17:06] --> Kirben has joined #pentagram
[00:17:06] --- ChanServ gives channel operator status to Kirben
[05:43:33] --- LordNAway is now known as Lord_Nightmare
[10:13:54] <wjp> bug #2012112 is rather interesting. The savegame seems to contain two actual Objects. (i.e., not Items)
[10:17:23] <wjp> that might mean one of our classes is missing some standard methods
[10:20:31] <Colourless> how odd
[10:20:57] <wjp> although my first guess would be if an Item-subclass missed some methods, it would end up being an Item, and not an Object
[10:21:15] <wjp> yes
[10:21:34] <wjp> the map-saving code that apparently emitted those Objects iterates over Item*'s, too
[10:26:32] <Colourless> maybe the save item code failed
[10:26:45] <Colourless> hmm
[10:26:59] <Colourless> there is a way it would fail
[10:27:22] <Colourless> let me restart that
[10:27:35] <Colourless> there is a reason why it would output Object instead of Item
[10:27:39] <Colourless> i think at least
[10:27:45] <Colourless> if RUNTIME_CLASSTYPE is wrong
[10:28:14] <Colourless> though i can't imagine it is wrong anywhere
[10:28:57] <wjp> wouldn't it even fail to link then because of a missing definition?
[10:29:05] <Colourless> the object type is saved using GetClassType().class_name
[10:30:18] <Colourless> i don't have much of an idea
[10:30:54] <Colourless> unless a destructed item was save
[10:30:57] <Colourless> *saved
[10:31:20] <Colourless> the vtable of a destructed object will be the Object vtable
[10:31:28] <Colourless> if it's save it will report itself as being an object
[10:31:33] <wjp> hm, that might be
[10:32:35] <wjp> I'll run it through valgrind later
[10:32:44] <wjp> bbl, lunch
[11:15:17] --> Jett has joined #pentagram
[11:15:28] --- Jett is now known as Darke
[11:42:46] <wjp> valgrind does give errors while saving, but not specific enough yet to draw any conclusions
[11:43:15] <wjp> I'll have to add some valgrind calls to the savegame code
[13:42:16] <-- watt has left IRC ()
[14:04:38] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[14:08:23] --> watt has joined #pentagram
[14:08:23] --- ChanServ gives channel operator status to watt
[19:15:51] <wjp> hm, weirdness
[19:17:39] <wjp> it somehow appears as if a container in CurrentMap contains an Item allocated in a different Map
[19:17:45] * wjp double-checks that
[19:30:43] <wjp> ah, the offending container appears to contain a skeleton Actor
[19:31:22] <wjp> that sounds like something we don't handle correctly
[22:35:52] <wjp> ok, it gets weirder
[22:36:15] <wjp> there are objects in the MAPS file that have been saved _with_ objid's
[23:08:25] <-- watt has left IRC ()