#gemrb@irc.freenode.net logs for 11 Aug 2015 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:54:58] <-- brada has left IRC (Quit: brada)
[01:07:17] --> brada has joined #gemrb
[02:49:26] <-- phao has left IRC (Ping timeout: 272 seconds)
[02:49:48] <-- brada has left IRC (Quit: brada)
[03:54:38] --> brada has joined #gemrb
[04:18:14] <-- brada has left IRC (Quit: brada)
[04:45:51] --> brada has joined #gemrb
[05:59:59] <-- brada has left IRC (Quit: brada)
[06:13:49] --> edheldil_ has joined #gemrb
[06:32:55] <-- Drakkar has left IRC (Read error: Connection reset by peer)
[06:34:19] <-- edheldil_ has left IRC (Ping timeout: 250 seconds)
[06:36:51] --> Drakkar has joined #gemrb
[06:44:06] <-- Lightkey has left IRC (Ping timeout: 244 seconds)
[06:57:03] --> Lightkey has joined #gemrb
[07:29:13] --> edheldil_ has joined #gemrb
[07:40:05] <-- edheldil_ has left IRC (Ping timeout: 246 seconds)
[07:42:55] --> edheldil_ has joined #gemrb
[08:13:35] --> Eli2 has joined #gemrb
[08:16:07] <-- Eli2_ has left IRC (Ping timeout: 264 seconds)
[10:42:36] <Pepelka> [commit] lynxlynxlynx: pst has no constitution bonus to fatigue https://github.com/gemrb/gemrb/commit/637f44706833182098d91d52ebbe7bf6c93da6c7
[10:42:37] <Pepelka> [commit] lynxlynxlynx: Actor: implemented TNO regeneration https://github.com/gemrb/gemrb/commit/09da51d1b45299c4710a1f5ba647402d5285ea32
[10:42:38] <Pepelka> [commit] lynxlynxlynx: pst::floatwindow: show the default weapon if none is equipped https://github.com/gemrb/gemrb/commit/7a4eab9b38d3fbfc39fd19e5a343963cdf621b6d
[11:06:00] <DrMcCoy> Yay PST stuff :)
[13:11:46] <lynxlynxlynx> yesterday's wtf came down to one line
[13:12:05] <lynxlynxlynx> initial implementation was weird
[13:29:32] <Pepelka> [commit] lynxlynxlynx: converted last_spawndate to unsigned to match GameTime (that it stores) https://github.com/gemrb/gemrb/commit/3ffa5fc1789fd3466a9502ea56ab0c8a10684ad4
[13:29:33] <Pepelka> [commit] lynxlynxlynx: IniSpawn::SpawnGroup: fixed interval calculation https://github.com/gemrb/gemrb/commit/1b146fc3f2c90d19dd5ad74b1bfd7d3a646a51f6
[13:50:12] <lynxlynxlynx> ok, next one
[13:50:39] <lynxlynxlynx> we don't consider if ~~ as if ~true()~, so one dialog here fails, since it has no other state but that one
[13:59:19] <lynxlynxlynx> yeah, it's computed as -1 in the dlg, so we just skip it since it's over the state trigger count (underflows)
[14:26:12] <Pepelka> [commit] lynxlynxlynx: DLGImporter::GetStateTrigger: also treat -1 as special https://github.com/gemrb/gemrb/commit/7a2b55a8de735c3eae76029690f81a8eb533e132
[14:26:13] <Pepelka> [commit] lynxlynxlynx: GameScript::CutSceneID: print the initiator in the debug message https://github.com/gemrb/gemrb/commit/0896de48c41c45201f03b4fd72692233f13ed6ce
[15:53:46] --> brada has joined #gemrb
[15:58:40] --> phao has joined #gemrb
[16:03:08] <-- edheldil_ has left IRC (Ping timeout: 244 seconds)
[16:08:56] <-- brada has left IRC (Quit: brada)
[16:09:51] --> brada has joined #gemrb
[16:19:00] <-- brada has left IRC (Quit: brada)
[16:50:57] --> PixelScum has joined #gemrb
[16:52:43] <-- Drakkar has left IRC (Ping timeout: 246 seconds)
[16:55:42] <-- PixelScum has left IRC (Ping timeout: 256 seconds)
[17:11:39] --> Drakkar has joined #gemrb
[17:21:39] --> edheldil_ has joined #gemrb
[17:26:35] <-- edheldil_ has left IRC (Ping timeout: 265 seconds)
[17:47:37] --> brada has joined #gemrb
[18:09:23] <-- brada has left IRC (Quit: brada)
[18:18:43] --> fizzle has joined #gemrb
[18:29:04] --> brada has joined #gemrb
[18:52:29] <-- brada has left IRC (Quit: brada)
[19:08:19] <-- fizzle has left #gemrb
[20:15:51] <-- phao has left IRC (Quit: Leaving)
[20:37:36] <Pepelka> [commit] lynxlynxlynx: reverted part of 296a7f5b90b3 to maintain counting speed https://github.com/gemrb/gemrb/commit/72f7e8f4e420455cc631ea758c8831a4b087b691
[20:37:38] <Pepelka> [commit] Tomsod: Actor: added support for multi-shot items https://github.com/gemrb/gemrb/commit/4ccaf96a4af6ddc3cf0e41723f1ea23080d065bd
[20:37:39] <Pepelka> [commit] Tomsod: GUISTORE: removed jewelry price deprecation https://github.com/gemrb/gemrb/commit/66571f5a2a39d390d648ddd909e6ae848b13153a
[20:37:40] <Pepelka> [commit] Tomsod: GameScript: prevent movement from polluting aura https://github.com/gemrb/gemrb/commit/0dcbeb68ebf2b358ca4d05e3ff2240a23f75de24
[20:37:41] <Pepelka> [commit] Tomsod: GameScript: fix happiness calculation https://github.com/gemrb/gemrb/commit/9823067f13d05f65751177aee63ead92fb95ed5b
[20:37:42] <Pepelka> [commit] Tomsod: GUIScript: fixed item stealing https://github.com/gemrb/gemrb/commit/57ce5f4912a4852dfbe1bd452ce1fbef70993fe1
[20:37:44] <Pepelka> [commit] Tomsod: Spellbook: fixed bonus spells https://github.com/gemrb/gemrb/commit/cc183c3ab244a674445b0101152e768ac8ba8bde
[20:37:45] <Pepelka> [commit] Tomsod: GUISTORE: add buy amount window https://github.com/gemrb/gemrb/commit/c167b643074304ff43542df2c22982a6964f4780
[20:37:46] <Pepelka> [commit] Tomsod: InterfaceConfig: recognise ~/.gemrb directory https://github.com/gemrb/gemrb/commit/641d83604f51968da1d18e34ed84a4f409c2e105
[20:37:47] <Pepelka> [commit] lynxlynxlynx: GUISTORE: only bg2 and iwd2 have item amount windows https://github.com/gemrb/gemrb/commit/78417f800d2bd684f15b656114d357c9a50fa992
[21:41:47] <ebarrett> hey
[21:49:21] <ebarrett> eh, how to you get debug symbols in gemrb?
[21:49:35] <ebarrett> -DCMAKE_BUILD_TYPE=debug not enough...
[21:55:16] <lynxlynxlynx> it's Debug
[21:55:38] <lynxlynxlynx> the default of RelWithDebInfo should also have the basic ones
[22:04:25] <ebarrett> Debug didn't yield any symbols
[22:04:47] <ebarrett> SaveGameIterator/FATAL]: Rename error -1 when pruning quicksaves!
[22:04:52] --> brada has joined #gemrb
[22:08:24] <ebarrett> lynxlynxlynx: maybe make install strips?
[22:11:26] <ebarrett> hrm, even running out of source dir i have no debug syms
[22:12:40] <lynxlynxlynx> make sure to remove CMakeCache and the cmake dir in the build dir
[22:12:54] <lynxlynxlynx> otherwise reruning cmake won't recreate the files
[22:13:25] <ebarrett> ah
[22:13:57] <ebarrett> let's see
[22:14:09] <ebarrett> hoping i can get a trace on these crashes im seeing
[22:16:08] <ebarrett> bleh, im failing at this
[22:16:15] <ebarrett> fresh build dir and still no symbols
[22:18:03] <wjp> what are the exact commands you're running?
[22:18:17] <ebarrett> mkdir build
[22:18:19] <ebarrett> cd build
[22:18:28] <ebarrett> cmake -DDISABLE_WERROR=1 -DPREFIX=/opt/gemrb -DCMAKE_BUILD_TYPE=Debug ..
[22:18:30] <ebarrett> make
[22:18:32] <ebarrett> make install
[22:19:07] <lynxlynxlynx> make VERBOSE=112
[22:19:13] <lynxlynxlynx> you'll get the gcc lines
[22:19:17] <ebarrett> right
[22:19:31] <lynxlynxlynx> -g there? Is strip used later?
[22:20:09] <wjp> (hm, does cmake not allow having two build directories per project?)
[22:20:25] <wjp> (I thought I'd test it in a new build2/ dir without touching my own build/ dir, but it doesn't seem to like that?)
[22:20:33] <ebarrett> lynxlynxlynx: no -g
[22:20:36] <ebarrett> that explains it
[22:21:07] <ebarrett> no idea why -- sorry i dont know much about cmake
[22:22:25] <ebarrett> lynxlynxlynx: oh an i just noticed: -lpthread
[22:22:30] <ebarrett> this should be -pthread
[22:22:55] <lynxlynxlynx> -g is not something we add manually, so it's starting to sound like a cmake bug
[22:23:15] <ebarrett> yay
[22:23:40] <ebarrett> im on cmake-3.2.3p1
[22:23:43] <lynxlynxlynx> neither -lpthread, but they could be pulled in by the deps
[22:23:49] <lynxlynxlynx> except that doesn't make sense for you
[22:24:19] <lynxlynxlynx> i'm on 2.8
[22:24:53] <lynxlynxlynx> and 3.1.3 (though a while since regenerating)
[22:25:30] <ebarrett> lynxlynxlynx: perhaps you can repro on your 3.1.3?
[22:29:43] <lynxlynxlynx> jul 18, so not that far ago
[22:30:03] <lynxlynxlynx> i'm sure people would be screaming if something so bad failed on linux
[22:40:06] <ebarrett> mailed our package maintainer
[22:40:16] <ebarrett> lynxlynxlynx: thanks for the help
[22:41:55] <lynxlynxlynx> we set a cmake flag to prefer pthreads btw
[22:42:27] <lynxlynxlynx> another flag should be good for openbsd
[22:42:38] <lynxlynxlynx> it's not mentioned in earlier docs, but i see it for 3.2
[22:42:48] <lynxlynxlynx> THREADS_PREFER_PTHREAD_FLAG
[22:42:50] <ebarrett> right
[22:42:54] <ebarrett> perhaps another bug then
[22:43:25] <lynxlynxlynx> this would be added on our side if cmake can't detect the platform properly
[22:43:29] <ebarrett> i think -pthread is preferred in case of an architecture which doesn't support shared libs, but does support threads
[22:44:09] <ebarrett> such strange places exist
[22:45:45] <ebarrett> (vax apparently)
[22:46:46] <lynxlynxlynx> i'll let you figure this out
[22:47:04] <lynxlynxlynx> i have to go sleep too, silly me
[22:47:29] <ebarrett> yeh, zzz