#gemrb@irc.freenode.net logs for 25 Jan 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:06:11] <Seniorita> [commit] Brad Allred: Mac Build: use CoreFoundation to determine the correct bundle path regardless of... http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=34b4fc00c0b4b8652b4fd0be9032d3128d8a2be1
[00:18:05] <-- brada has left IRC (Quit: brada)
[00:23:08] <gembot> build #212 of osx-cmake is complete: Success [3build successful] Build details are at http://buildbot.gemrb.org/builders/osx-cmake/builds/212
[00:23:10] <Seniorita> Buildbot: osx-cmake Build #212
[00:41:26] --- ermo is now known as ermo^
[00:44:17] <tomprince> brada: That looks good, although it would be better as functions, rather than macro. And somewhere other than Interface.
[00:44:26] <tomprince> System/VFS suggests it self, possibly.
[00:54:29] --> snewdnil has joined #gemrb
[00:54:56] <snewdnil> there is anyone here?
[00:58:03] <tomprince> Ask your question, and stick around. most of the regulars are asleep, but will read the log and respond.
[00:59:00] <snewdnil> ok
[00:59:10] <snewdnil> I have a problem when I'm compiling it...
[00:59:25] <snewdnil> I think its a problem with Python
[00:59:49] --> brada has joined #gemrb
[00:59:55] <snewdnil> i've already download python and installed it, and its 3.3
[01:00:18] <snewdnil> but the cmake says: Detected version: 0.7.2-git CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at least version "2.3") Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindPythonLibs.cmake:186 (FIND_PA
[01:01:28] <brada> tomprince: yeah you are right
[01:01:35] <snewdnil> and I don't know if the problem is the CMakeLists.txt or that I havent install properly the python.
[01:01:35] <brada> ill move that to vfs
[01:03:42] <brada> snewdnil: you need python-devel
[01:08:30] <snewdnil> hmmm... it works now... I thought that I need to install the phytonlibs...
[01:08:39] <snewdnil> but thanks brada!
[01:10:00] <brada> yup
[01:41:24] <-- brada has left IRC (Quit: brada)
[01:55:56] --> brada has joined #gemrb
[02:54:30] <-- snewdnil has left IRC (Quit: Page closed)
[03:32:10] <-- brada has left IRC (Quit: brada)
[05:24:42] --> brada has joined #gemrb
[06:47:28] <-- brada has left IRC (Quit: brada)
[07:05:32] --> miha has joined #gemrb
[08:25:33] --> edheldil_ has joined #gemrb
[09:13:17] <-- Cable_ has left IRC (Ping timeout: 255 seconds)
[09:27:20] --> Cable_ has joined #gemrb
[10:50:12] --> rocket_hamster has joined #gemrb
[13:45:40] --> kida has joined #gemrb
[14:00:30] --> avenger has joined #gemrb
[14:00:56] <avenger> haha, epic fail: http://it.slashdot.org/story/13/01/25/132203/github-kills-search-after-hundreds-of-private-keys-exposed
[14:01:01] <Seniorita> Github Kills Search After Hundreds of Private Keys Exposed - Slashdot
[14:12:32] <rocket_hamster> yeah developers
[14:12:32] <rocket_hamster> :D
[14:22:54] <-- avenger has left IRC (Quit: Page closed)
[14:36:11] <-- miha has left IRC (Quit: Lost terminal)
[15:26:30] <-- tomprince has left IRC (Ping timeout: 264 seconds)
[15:38:35] --> hadrian_ has joined #gemrb
[15:46:27] --> i30817 has joined #gemrb
[15:50:28] <-- kida has left IRC (Read error: Operation timed out)
[15:54:54] --> brada has joined #gemrb
[15:58:19] <-- edheldil has left IRC (Read error: Connection reset by peer)
[16:01:47] <-- WingedHussar has left IRC (Quit: WingedHussar)
[16:12:32] <hadrian_> Could someone please help me read this formula: the MULTI column can be computed with this formula: 1«(ID1-1)|1«(ID2-1)|1«(ID3-1) (where the ids are the singleclass values in the ID column)
[16:13:48] <hadrian_> I understand the shift left..
[16:13:50] <fuzzie> it means the ids represent individual bits, and you OR the relevant singleclass bits together to get the multiclass column
[16:13:58] <hadrian_> ah
[16:14:10] <hadrian_> thank you. thats a start.
[16:33:06] <Seniorita> [wiki] plugins:ttf - [Support for non-ASCII (multibyte) languages] http://www.gemrb.org/wiki/doku.php?id=plugins:ttf&rev=1359131321&do=diff
[16:37:18] <Seniorita> [wiki] install:ios - [Known Issues (and bugs outside our control i.e. SDL bugs)] http://www.gemrb.org/wiki/doku.php?id=install:ios&rev=1359131538&do=diff
[16:43:11] <-- rocket_hamster has left IRC (Read error: Connection reset by peer)
[16:44:59] <Seniorita> [commit] Brad Allred: Languages: add Korean and Japanese (untested) http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=23c6a9ef9d22ed71c80bcc1b24270827c91d6136
[16:45:28] --> Canageek has joined #gemrb
[17:02:27] --> tomprince has joined #gemrb
[17:02:29] <Seniorita> [wiki] install:ios - [Known Issues (and bugs outside our control i.e. SDL bugs)] http://www.gemrb.org/wiki/doku.php?id=install:ios&rev=1359133154&do=diff
[17:07:23] <hadrian_> hello again. WeiDU-changes to unhardcoded files do not work because these resources are not found in chitin.key. Can anyone offer a clue as what to do?
[17:08:02] <hadrian_> (they are in the data directory though)
[17:08:31] <brada> lynx and avenger would probably be the ones to ask
[17:08:38] <brada> i have no clue about weidu
[17:10:31] <-- i30817 has left IRC (Quit: ChatZilla 0.9.89 [Firefox 18.0/20130107224407])
[17:10:37] <hadrian_> thank you, I will ask them.
[17:16:42] --> edheldil__ has joined #gemrb
[17:17:40] <brada> i need another simpleish task to complete for 0.8
[17:17:47] <brada> working on hotkey issue now
[17:20:43] <-- brada has left IRC (Quit: brada)
[17:23:45] <Seniorita> [wiki] developers:brad - [My Todo (no particular order)] http://www.gemrb.org/wiki/doku.php?id=developers:brad&rev=1359134232&do=diff
[17:47:28] --> brada has joined #gemrb
[17:58:41] <Seniorita> [wiki] installation - [Compile it yourself] http://www.gemrb.org/wiki/doku.php?id=installation&rev=1359136317&do=diff
[18:12:09] --> kida has joined #gemrb
[18:16:30] <Seniorita> [commit] Brad Allred: TTFFonts: be compatible with earlier versions of freetype http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=e074d479c53863787bbb66af606085c989097d2f
[18:19:59] <brada> edheldil_: does that work for you?
[18:22:42] <Seniorita> [wiki] plugins:ttf - [TrueType Fonts in GemRB] http://www.gemrb.org/wiki/doku.php?id=plugins:ttf&rev=1359137852&do=diff
[18:45:09] <-- Canageek has left IRC (Ping timeout: 276 seconds)
[18:48:19] <-- edheldil_ has left IRC (Ping timeout: 246 seconds)
[18:55:45] <Seniorita> [commit] Brad Allred: Font: fix clang warning http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=b5a7d5636fd81f362e74929a21a329ad06a75641
[19:04:26] --> Canageek has joined #gemrb
[19:21:27] --> Yoshimo has joined #gemrb
[19:34:00] --> brada_ has joined #gemrb
[19:36:48] <-- Canageek has left IRC (Ping timeout: 240 seconds)
[19:42:24] <-- brada has left IRC (*.net *.split)
[19:42:25] --- brada_ is now known as brada
[19:45:03] <-- hadrian_ has left IRC (Ping timeout: 245 seconds)
[19:56:31] --> Canageek has joined #gemrb
[20:01:59] --> hadrian_ has joined #gemrb
[20:02:40] <hadrian_> Hello. I have another question … What file is “import GemRB” loaded from (gui scripts)
[20:02:47] <hadrian_> there is no GemRB.py
[20:03:24] --> edheldil_ has joined #gemrb
[20:07:36] <fuzzie> hadrian_: The GemRB module is implemented in C++.
[20:07:57] <fuzzie> The relevant functions are in gemrb/plugins/GUIScript/GUIScript.cpp.
[20:11:32] <-- kida has left IRC (Ping timeout: 248 seconds)
[20:25:58] <-- edheldil__ has left IRC (Ping timeout: 246 seconds)
[20:26:44] <hadrian_> Ok, found it. It seems however the fighter/sorcerer mod is too difficult for me
[20:26:51] <-- Canageek has left IRC (Ping timeout: 276 seconds)
[20:34:41] <brada> how so?
[20:41:13] <hadrian_> There is an error in the LoadTables() function, stating that it could not find ‘*.2da’ when finishing character creation
[20:41:41] <brada> should be an easy fix
[20:41:49] <fuzzie> '*' is the default value, so you're missing an entry somewhere
[20:42:29] <hadrian_> I don’t even know which entry is missing. And this cpp file looks a bit too complicated
[20:43:06] <brada> you shouldnt need to mess with c++
[20:43:13] <brada> afik
[20:44:02] <hadrian_> True… but it would be helpful if I could trace the error back to its source.
[20:44:48] <hadrian_> Then I would know what file or what entry is missing.
[20:45:44] <brada> dont all tables get logged?
[20:46:52] <brada> so look for the last Found 'whatever.2da' entry in the log before the error
[20:50:06] <hadrian_> No found message. This is a resourceManager/Error
[20:51:06] <hadrian_> And it is in CharGenEnd.py -> LuCommon.py -> GemRB.LoadTables(SaveName)
[20:52:19] <brada> that doesnt mean anything to me
[20:53:07] <brada> what is the value of SaveName?
[20:53:21] <-- Yoshimo has left IRC (Ping timeout: 245 seconds)
[20:53:38] <hadrian_> I don’t know
[20:53:39] <brada> the * table?
[20:54:19] --- ermo^ is now known as ermo
[20:54:54] <hadrian_> SaveName = CommonTables.Classes.GetValue (RowName, "SAVE", 0)
[20:55:02] <brada> the 2da that it tries to load is taken from the value of a field in another 2da. thats why i asked you waht the last "found whatever.2da" message
[20:55:42] <hadrian_> There is no found message …
[20:55:50] <brada> ok
[20:55:59] <brada> well that line of code you posted is a clue
[20:56:17] <hadrian_> is there some sort of logfile of console output?
[20:56:33] <brada> the SAVE row of classes.2da
[20:56:34] <hadrian_> Ah
[20:56:46] <brada> first column
[20:56:49] <hadrian_> Yes! But that is a star for multiclasses
[20:57:25] <hadrian_> check with other multiclass
[20:58:17] <hadrian_> works
[20:58:21] <brada> what game?
[20:58:28] <brada> bg2 i guess?
[20:58:41] <hadrian_> Yes
[20:58:50] <brada> it should most definately not be a *
[20:59:13] <hadrian_> All the other multiclasses have a star in that col
[20:59:39] <brada> ok
[20:59:41] <brada> yeah
[20:59:45] <brada> what is RowName?
[21:00:09] <hadrian_> of the relevant column? it is SAVE
[21:00:15] <brada> when you try another multiclass does the same *.2da error occur?
[21:00:22] <hadrian_> No
[21:01:01] <fuzzie> are you making a multiclass char though?
[21:01:19] <hadrian_> yes, a fighter/sorcerer
[21:01:21] <fuzzie> sorceror is no class
[21:01:45] <hadrian_> it is a modification of lynx’ sorcerer/monk modification
[21:03:29] <fuzzie> ah
[21:04:17] <hadrian_> I haven’t tried lynx’ version yet. It should have been just a few different values in the tables …
[21:04:31] <hadrian_> to get a fighter/sorcerer instead of a sorcerer/monk
[21:04:46] <fuzzie> yes
[21:04:50] <fuzzie> well, sort of
[21:04:54] <brada> i would get it working with sorc/monk first
[21:05:04] <hadrian_> I’ll try that.
[21:05:27] <fuzzie> the SAVE lookup only happens on the base classes
[21:05:32] <fuzzie> so, the guiscript thinks you have a single-class char
[21:06:05] <brada> yeah
[21:06:08] <fuzzie> should only happen if you have 0 in the MULTI column of classes.2da though
[21:09:12] <fuzzie> lynx's mod seems to put 786432 in that column, which is 0x40000 plus 0x80000, so I guess the bits for both SORCERER (1 << (19-1)) and MONK (1 << (20-1))
[21:09:21] <fuzzie> which makes sense
[21:12:13] <hadrian_> yes. and mine is 262145, for fighter (1 << (1-1)) OR sorcerer (1<<(19-1)
[21:13:48] <fuzzie> isn't fighter's id 2?
[21:14:18] <hadrian_> right
[21:14:24] <hadrian_> !
[21:14:26] <fuzzie> not relevant I imagine
[21:14:35] <hadrian_> well perhaps it is!
[21:15:02] <fuzzie> and you get no other output on console, right?
[21:15:07] <fuzzie> no complaining about invalid combinations or anything?
[21:15:18] <fuzzie> honestly I have no idea how this code works but I can take a look
[21:15:38] <hadrian_> That is very kind of you
[21:15:50] <hadrian_> No…
[21:18:09] <fuzzie> I assume that IsMultiClassed (in GUICommon.py) is returning 0 classes.
[21:18:17] <hadrian_> Guess what, that fixed the *.tp2 issue!
[21:18:47] <-- brada has left IRC (Quit: brada)
[21:21:26] <fuzzie> you mean the *.2da one?
[21:21:35] <hadrian_> ohj yes
[21:21:43] <fuzzie> hoorah? :)
[21:22:34] <hadrian_> :) but I can’t do magic
[21:22:51] <hadrian_> but this is definitely ani mprovement. Thanks a lot!
[21:32:31] <hadrian_> Do you have any ideas why all spells would fail?
[21:33:21] <fuzzie> no, sorry. no output on console?
[21:34:07] <hadrian_> Nothing suspicious, except a warning that nested event handlers are not supported
[21:35:55] <hadrian_> I can cast from scrolls
[21:39:23] <hadrian_> Ah. Single class sorcerers can’t cast as well
[21:41:00] <hadrian_> Ok I’ll figure that out tomorrow. Have a nice weekend and thanks again for your help!
[21:46:55] --> brada has joined #gemrb
[21:54:33] --> Canageek has joined #gemrb