#gemrb@irc.freenode.net logs for 13 Aug 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[02:39:46] <CIA-58> GemRB: 03bradallred * r5d95ce92aca0 10gemrb/gemrb/ (10 files in 4 dirs):
[02:39:47] <CIA-58> GemRB: Logger: add ability to set a log level such that we can filter messages on a per-logger basis.
[02:39:47] <CIA-58> GemRB: As a result change the GUIScript command to accept multiple values to change the log level.
[04:26:07] <-- brad_ has left IRC (Quit: brad_)
[05:23:52] <-- wrotek_ has left IRC (Ping timeout: 252 seconds)
[05:54:55] <-- joneirik has left IRC (Quit: Get used to disappointment.)
[06:03:20] --> wrotek has joined #gemrb
[07:18:06] --> lynxlynxlynx has joined #gemrb
[07:18:06] <-- lynxlynxlynx has left IRC (Changing host)
[07:18:06] --> lynxlynxlynx has joined #gemrb
[07:18:06] --- ChanServ gives channel operator status to lynxlynxlynx
[07:39:16] --> traveler has joined #gemrb
[08:21:33] <traveler> regarding officer vai, i think that you just shouldn't be able to buy from her scalps, becouse 50gp sounds correct for selling price
[08:21:53] <traveler> *because
[08:26:15] <-- traveler has left IRC (Ping timeout: 245 seconds)
[10:08:41] --> traveler has joined #gemrb
[10:09:24] <traveler> huh
[10:09:35] <traveler> it looks there were more official updates
[10:09:45] <traveler> than just totsc 5512
[10:09:57] <traveler> i have merged 1 dvd edition with 5512 totsc
[10:10:01] <traveler> but...
[10:10:19] <CIA-58> GemRB: 03lynxlupodian * r0e6d81165864 10gemrb/gemrb/plugins/GUIScript/GUIScript.cpp:
[10:10:19] <CIA-58> GemRB: GemRB_RemoveSpell: clear pyerr buffer, so we don't print wrong parsing errors
[10:10:19] <CIA-58> GemRB: fixes type error on known spell removal
[10:10:22] <traveler> http://www.sorcerers.net/forums/showpost.php?p=45037&postcount=6
[10:10:49] <traveler> i wonder if 3 cd edition identifies itself as 5512 too
[10:11:18] <traveler> "In the original BG release, the name used was Jon Icarus. If you have The Original Saga (the later 3CD set) the name is changed to Jon Irenicus."
[10:11:36] <traveler> i have icarus 5512
[10:11:39] <traveler> *with
[10:14:01] <traveler> anyone knows how totsc from gog calls itself?
[10:20:55] <lynxlynxlynx> that's probably just the build number, so it's not related to data
[10:21:45] <traveler> yup
[10:21:58] <traveler> http://appdb.winehq.org/objectManager.php?sClass=version&iId=4530&iTestingId=63005 according to this gog calls itself 5512 too
[10:22:57] <traveler> well, they should have bumped version somehow if changed data, but that's not the first time when ie engine game has different versions with same build (iwd2!)
[10:56:58] <edheldil> It would be nice to document the various versions of the games ...
[11:01:03] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[11:05:51] --> Yoshimo has joined #gemrb
[11:36:19] <traveler> Kelddath at the Song of the Morning in Temple should buy wyvern heads- he does not. He gives gp for first one, but you can't sell antyhing in his store.
[11:38:51] <CIA-58> GemRB: 03lynxlupodian * rb0277a23e13c 10gemrb/gemrb/ (9 files in 9 dirs): only bg1 actors start active by default
[11:42:05] <edheldil> lynxlynxlynx: you should document the new game flag
[11:42:52] <lynxlynxlynx> oh right
[11:44:46] --> frostgram has joined #gemrb
[11:45:51] <-- Yoshimo has left IRC (Ping timeout: 276 seconds)
[11:48:55] <lynxlynxlynx> time for some general plumbing there
[11:50:35] <traveler> did i pull in wrong itme?
[11:50:40] <-- frostgram has left IRC (Quit: frostgram)
[11:50:52] <traveler> i have segfaul now
[11:51:03] --> Yoshimo has joined #gemrb
[11:51:08] <lynxlynxlynx> where?
[11:51:26] <lynxlynxlynx> ah
[11:52:01] <traveler> http://pastebin.com/8DnSAkyr
[12:02:49] <CIA-58> GemRB: 03lynxlupodian * r4378428f5f18 10gemrb/gemrb/core/Scriptable/Scriptable.cpp: fixed crash from two commits ago
[12:02:50] <CIA-58> GemRB: 03lynxlupodian * r36ae74994df8 10gemrb/gemrb/override/ (how/gemrb.ini iwd/gemrb.ini pst/gemrb.ini): moved the StartActive flag to the right section
[12:07:31] --> wrotek_ has joined #gemrb
[12:11:17] <-- wrotek has left IRC (Ping timeout: 272 seconds)
[12:29:54] <traveler> btw, i must say that path searching looks considerable better than in original engine- i have yet to have my character stuck, even if choosing destination on the other side of map
[12:47:36] <-- Yoshimo has left IRC (Ping timeout: 276 seconds)
[13:04:59] <edheldil> traveler: it, however, does not do bumping. That's a pita in narrow corridors
[13:44:52] <traveler> true, not many such corridors in bg1 though. but i remember from bg2.
[13:46:07] <traveler> aahh. I forgot that i'm playing bg1 solo heh, so maybe that's why it didn't struck me.
[13:52:05] <lynxlynxlynx> exiting areas can be tricky too
[13:52:15] <CIA-58> GemRB: 03lynxlupodian * rb543eefa57b9 10gemrb/gemrb/override/ (bg1/gemrb.ini bg2/gemrb.ini): ups, it's bg2 that has active actors
[13:52:19] <CIA-58> GemRB: 03lynxlupodian * r814a7c0d0751 10gemrb/gemrb/override/ (6 files in 6 dirs): synced gemrb.inis so they all contain all the settable game flags
[13:52:20] <CIA-58> GemRB: 03lynxlupodian * rbbdb21334ab3 10gemrb/gemrb/override/ (6 files in 6 dirs): gemrb.ini: sorted all game flags
[14:18:13] --> barra_home has joined #gemrb
[14:24:30] --> Yoshimo has joined #gemrb
[14:24:46] <-- Yoshimo has left IRC (Read error: Connection reset by peer)
[14:39:23] <-- tomprince has left IRC (*.net *.split)
[14:41:15] <-- traveler has left IRC (Ping timeout: 245 seconds)
[14:41:35] --> traveler has joined #gemrb
[14:44:56] --> tomprince has joined #gemrb
[14:45:24] <-- traveler has left IRC (Changing host)
[14:45:25] --> traveler has joined #gemrb
[15:04:11] <edheldil> lynxlynxlynx: btw, I see there's already gemrb/docs/en/gemrb_ini.txt , no need to start a new file ;-)
[15:04:22] <lynxlynxlynx> yes
[15:04:33] <lynxlynxlynx> i'm fixing that up now
[15:04:42] <lynxlynxlynx> sorting and adding all the missing vars
[15:15:21] --> Yoshimo has joined #gemrb
[15:25:25] <-- barra_home has left IRC (Quit: Verlassend)
[16:23:08] <-- Yoshimo has left IRC (Read error: Connection reset by peer)
[17:32:27] --> brad__ has joined #gemrb
[17:33:43] <brad__> lynx: i assume there are files/wiki pages i should document the new debug function in?
[17:34:51] <lynxlynxlynx> docs dir
[17:35:10] <lynxlynxlynx> there's a template in there too
[17:36:40] <brad__> cool
[17:46:07] --> wrotek__ has joined #gemrb
[17:49:29] <-- wrotek_ has left IRC (Ping timeout: 272 seconds)
[17:50:00] <-- traveler has left IRC (Ping timeout: 245 seconds)
[17:52:42] <CIA-58> GemRB: 03bradallred * r9f9f73c9e4be 10gemrb/gemrb/core/System/Logger.cpp: Logger: use LogInternal for forced messages.
[17:52:53] <CIA-58> GemRB: 03bradallred * r7321cc98a140 10gemrb/gemrb/docs/en/GUIScript/MessageWindowDebug.txt: Add documentation for GUIScript command "GemRB.MessageWindowDebug"
[17:59:38] <CIA-58> GemRB: 03bradallred * rdc64f0af322c 10gemrb/gemrb/docs/en/GUIScript/MessageWindowDebug.txt: Docs: forgot to document logger values for disabling message window logger.
[17:59:58] <brad__> wiki updated as well
[18:02:11] <brad__> looking thought the SDL docs i see the oddly have a clipboard API
[18:02:34] --> Adam007 has joined #gemrb
[18:03:02] <brad__> i think it might be fun/useful to make a command to copy portions of the message window to the clipboard
[18:05:21] --> Yoshimo has joined #gemrb
[18:06:11] <lynxlynxlynx> perhaps
[18:26:19] <brad__> lynx: do you have some specific goals in mind for next release?
[18:27:18] <lynxlynxlynx> not really, but i was hoping we would solve the remaining config saving issues
[18:27:25] --> kettuz has joined #gemrb
[18:28:03] <lynxlynxlynx> for that i need to merge the guiopts, since that other guy didn't do a thing
[18:28:19] <lynxlynxlynx> then it's likely just a few tweaks and extra keys in the core
[18:29:11] <lynxlynxlynx> hmm, since you like working with input, another thing we lack are shortcuts outside of the gamecontrol (eg switching from inventory to spellbook doesn't work)
[18:30:00] <brad__> sure
[18:30:11] <brad__> i think i can manage that
[18:33:13] <brad__> i think i finally fixed all the issues with font rendering. (other than the scrolling text)
[18:33:43] <brad__> it would be nice to now make it multibyte compatible
[18:34:01] <brad__> if somebody can help me make/acquire some dataset i could do that
[18:34:17] <lynxlynxlynx> nasty little bastard, uh?
[18:35:43] <lynxlynxlynx> bg2 also has multiparagraph textscreens, so you should already be set
[18:36:13] <brad__> oh yes for the scrolling text i have what i need to fix that i just dont have the will right now
[18:36:51] <brad__> it is surprisingly clumsy. then again ive never had to actually do layout and wrapping myself
[18:38:07] <brad__> looking at the code i already know where the problem is tho
[18:39:00] <brad__> id rather work on multibyte support. it has been frequently requested
[18:39:07] <-- tomprince has left IRC (Ping timeout: 240 seconds)
[18:40:24] <brad__> even if its just our TTF plugin that works with it it will be a huge step. and now that the TTF plugin only requires freetype and not SDL_ttf it will be pretty easy for people to have it by default
[18:40:58] <lynxlynxlynx> i think edheldil copied a few of the far eastern tlks somewhere
[18:41:08] <lynxlynxlynx> he has the czech one for sure
[18:41:17] <brad__> czech is multibyte?
[18:41:24] <lynxlynxlynx> latin2 probably
[18:41:53] <lynxlynxlynx> the chinese one was, it required an extension to the 255 bam limit
[18:42:39] <brad__> yes. i think i will ignore bam fonts at first
[18:42:44] <brad__> just to get things working
[18:43:09] <brad__> just start with a tlk and appropriate ttf font
[18:43:21] <lynxlynxlynx> http://forums.gibberlings3.net/index.php?showtopic=22143 <-- some info
[18:43:57] <brad__> most of that is obsolete now :)
[18:44:25] <lynxlynxlynx> yeah, ignore the patch
[18:46:14] <brad__> so i probably just need a tlk file i guess
[18:47:04] <brad__> the setupstring method from that patch may be of use
[18:47:22] <brad__> but i cant help but wonder if it is compatible with other encodings
[18:47:36] <lynxlynxlynx> korean tlk uses euc-kr encoding, or rather some extension of it (but not CP949)
[18:48:09] <lynxlynxlynx> russian patch replace only tlk and some bam files (fonts)
[18:48:46] <brad__> where can i get that?
[18:48:54] <lynxlynxlynx> same for japs
[18:52:57] <lynxlynxlynx> can't find any urls in the log
[18:54:54] <lynxlynxlynx> nothing on eowyn
[18:55:20] <lynxlynxlynx> and nobody that was talking about it is present
[18:55:49] <lynxlynxlynx> some of these tlks were extracted from the full patches
[18:56:03] --> tomprince has joined #gemrb
[18:56:05] <lynxlynxlynx> so i'm sure they are somewhere on the net
[18:57:15] <brad__> ill poke around later this week
[18:59:34] <brad__> which font in fonts.2da do we use to draw the gemrb version?
[19:00:40] <lynxlynxlynx> where?
[19:01:07] <lynxlynxlynx> the GEMRB_VERSION string is a fallback, so it can occur in various places
[19:04:13] --> traveler has joined #gemrb
[19:10:11] <traveler> hi
[19:10:21] <traveler> somebody talked about font issuses
[19:10:32] <traveler> this is not info textes, yes?
[19:10:37] <traveler> they are still missing
[19:11:23] <brad__> oh yeah i forgot about those
[19:12:44] <traveler> np i'm just checking if i understood correctly
[19:13:44] <brad__> i was talking about rendering issues
[19:13:51] <brad__> im not sure what the problem with those are
[19:14:08] <brad__> i assume you checked as of todays git?
[19:16:11] <traveler> freshest possible
[19:16:16] <traveler> moment i asked
[19:16:43] <traveler> i've sent lynx bisection where they have broken
[19:17:38] <lynxlynxlynx> and i've redirected them to brad__
[19:17:53] <traveler> 82287de6a8afe93546c84e04ff1a8438eab33ecc commit
[19:18:33] <CIA-58> GemRB: 03lynxlupodian * r99980fb06541 10gemrb/gemrb/docs/en/gemrb_ini.txt: gemrb_ini.txt: sorted
[19:18:34] <CIA-58> GemRB: 03lynxlupodian * rf7e562c64e45 10gemrb/gemrb/docs/en/gemrb_ini.txt: gemrb_ini.txt: unified the parameter type for booleans
[19:18:35] <CIA-58> GemRB: 03lynxlupodian * r91b6bf5bb330 10gemrb/gemrb/docs/en/gemrb_ini.txt:
[19:18:35] <CIA-58> GemRB: gemrb_ini.txt: added note about variables that may be interesting to players
[19:18:35] <CIA-58> GemRB: and ~safe to change
[19:18:47] <CIA-58> GemRB: 03lynxlupodian * r9486a4eb1888 10gemrb/gemrb/docs/en/gemrb_ini.txt: gemrb_ini.txt: documented the rest of the options
[19:19:18] <brad__> traveler: can you send me that commit hash if you have it handy?
[19:19:27] <brad__> ah
[19:19:30] <brad__> i see you did
[19:19:32] <brad__> :p
[19:20:11] <brad__> btw i have ping on for "brad" so you dont have to type the underscores to get my attention
[19:21:36] <brad__> the only mistakes i see in that commit are the ones i already fixed
[19:22:02] <brad__> guess ill have to debug
[19:23:49] <brad__> i do see a potential mistake in there
[19:24:12] <brad__> i changed glyph.ypos to glyph.height for IE_FONT_SINGLE_LINE
[19:24:29] <brad__> but if that were bad i would have thought that button labels and the like would be broken
[19:24:50] <traveler> button labels were broken but in different way, fixed now
[19:24:51] <lynxlynxlynx> you have infopoints right in the start area of bg2, so it is easy to test
[19:25:06] <traveler> same as bg1
[19:25:10] <traveler> with feldepost
[19:25:24] <traveler> i have bg2 demo to test if you would like
[19:25:36] <traveler> but there is no difference with bg1 as of now
[19:26:23] <brad__> im pretty sure i should be using height anyway there. it seems like a bug to use the ypos when calculating height :p
[19:26:35] <brad__> however, maybe it did effect info points
[19:26:46] <brad__> maybe there was a hack or some other mistake in their code
[19:27:17] <traveler> im around, just not always around keyboard :) feel free to ask me to test whatever i could
[19:35:02] <brad__> traveler: what happens if you remove IE_FONT_ALIGN_TOP from the text?
[19:35:17] <brad__> or remove both the flags
[19:39:16] <brad__> scriptible.cpp line 292 FYI
[19:41:55] <traveler> i'm back
[19:42:01] <traveler> yes i was looking in fonts.cpp
[19:42:06] <traveler> we will see in a momnt
[19:42:51] <brad__> well if you want to try you can change the IE_FONT_SINGLE_LINE cases in font.cpp to use YPos instead of Height too
[19:42:56] <brad__> since thats the way it was before
[19:43:04] <brad__> except
[19:43:12] <brad__> i dont think info points use IE_FONT_SINGLE_LINE
[19:43:24] <brad__> at least if they do its not set at the call to font->print
[19:43:41] <brad__> and im pretty sure there are multiline info points IIRC
[19:44:38] <traveler> no difference
[19:44:54] <traveler> i've removed both from scriptable
[19:51:30] <brad__> looks like there is some useless code in there too
[19:51:38] <brad__> not sure nor do i care atm
[19:52:23] <brad__> ill have to run through with the debugger when i have time unless you want to do it
[19:54:31] <lynxlynxlynx> there are, yes
[19:54:40] <lynxlynxlynx> multiline ips that is
[19:58:50] <brad__> i want to question the region calculation in DrawOverheadText
[19:59:00] <brad__> can i assuem all overhead text is broken?
[19:59:04] <brad__> or just IPs?
[20:00:39] <lynxlynxlynx> you know what happens when you assume
[20:03:45] <brad__> sometimes im right and sometimes im wrong :p
[20:04:04] <brad__> are you trying to say its just IPs that are broken?
[20:04:19] <brad__> if so then the bug certainly must be outside font.cpp
[20:05:03] <lynxlynxlynx> i don't know
[20:05:32] <lynxlynxlynx> Adam007: have you tried your invisibility peeve recently? it was hopefully fixed in git
[20:11:37] <-- kettuz has left IRC (Quit: Leaving)
[20:28:43] <-- wrotek__ has left IRC (Read error: Connection reset by peer)
[20:34:35] <lynxlynxlynx> brad__: i'm not sure if it is possible nicely, but it would be helpful if two successive sigterms would kill gemrb without asking
[20:34:46] <brad__> i agree
[20:35:44] <brad__> i think that should be possible using sdl event id or something
[20:37:27] <CIA-58> GemRB: 03lynxlupodian * ref97e9451997 10gemrb/gemrb/core/Inventory.cpp:
[20:37:27] <CIA-58> GemRB: Inventory::EquipBestWeapon: don't change the weapon if a cursed weapon is equipped
[20:37:27] <CIA-58> GemRB: fixes infinite loop with cursed berserking sword (bg1: sw2h03)
[20:37:59] <brad__> if the QUIT_ASK flag is set and SDL_QUIT event is processed we could then set the QF_KILL
[20:38:09] <brad__> that should work
[20:38:28] <brad__> ill test it
[20:40:03] <brad__> ha forgot i nixed that flag and did this another way
[20:40:13] <brad__> still the logic could work
[20:42:24] <lynxlynxlynx> or check if the same windowpack is loaded
[20:45:01] <brad__> either way it will work but with one problem
[20:45:19] <brad__> it will also quit if you select quit from teh menu or close the window twice
[20:45:34] <brad__> maybe thats not a problem per se but it may be undesired/unexpected behavior
[20:47:16] <brad__> how do you check if a window pack is loaded?
[20:47:57] --> nutron has joined #gemrb
[20:51:25] <brad__> that may not be a good idea anyway
[20:51:45] <brad__> wont that mean you can quit anytime any option window is open?
[20:52:50] <lynxlynxlynx> yep
[20:53:19] <lynxlynxlynx> that's only a tiny fragment of time
[20:54:03] <lynxlynxlynx> you could check deeper, but it can get ugly
[20:56:13] <brad__> nah :)
[20:58:22] <-- Yoshimo has left IRC (Quit: Yoshimo)
[21:00:24] <brad__> ok lets do it the easy way and check the window pack then
[21:00:32] <brad__> how do you check it?
[21:15:20] <lynxlynxlynx> no idea
[21:26:16] <Adam007> lynx: hello, i will try tomorrow i was away for some days so im not familiar with recent patches
[21:26:40] <lynxlynxlynx> i committed what we discussed by accident :)
[21:27:10] <Adam007> excellent :)
[22:12:44] <CIA-58> GemRB: 03lynxlupodian * r3d399a433e89 10gemrb/gemrb/GUIScripts/ (15 files in 6 dirs): guiscripts: externalised window visibility adjustment vs. state
[22:12:56] <CIA-58> GemRB: 03lynxlupodian * rfd4384028530 10gemrb/gemrb/GUIScripts/ (GUICommon.py InventoryCommon.py ie_stats.py):
[22:12:56] <CIA-58> GemRB: also grey out windows when berserking
[22:12:56] <CIA-58> GemRB: which also prevents further mucking around in the inventory
[22:15:01] <traveler> uh one stupid question
[22:15:18] <traveler> how do i purge git repo from local changes?
[22:16:29] <traveler> i've skimmed manual few times
[22:20:34] <traveler> ok, that's what's i was looking for http://www.szakmeister.net/blog/2011/oct/12/reverting-changes-git/ anyway
[22:26:45] --> gembot has joined #gemrb
[22:29:01] <traveler> nice, sw2h03 does not segfault
[22:29:04] <traveler> berserk is not 100
[22:29:15] <traveler> % right i think though
[22:29:28] <traveler> i can command character still
[22:29:41] <traveler> i just can't travel between maps
[22:30:04] <traveler> and he actually doesn't attack anybody nor i can make him to
[22:30:07] <traveler> even hostiles
[22:31:52] <traveler> still, great improvement :)
[22:37:10] <brad__> traveler: what do you mean by "purge git repo from local changes"
[22:37:21] <brad__> i think you mean git reset --hard HEAD
[22:37:46] <brad__> but you should be sure before you use that :)
[22:41:05] <traveler> i'm already fine, thanks
[22:41:24] <traveler> i'm little more used to svn
[22:52:24] <traveler> i've answered your question about sex change lynx ;)
[22:55:42] <lynxlynxlynx> good
[22:56:29] <traveler> i think
[22:56:37] <traveler> that cursed sword changes situation a bit
[22:56:45] <traveler> did before cursed items worked at all?
[22:57:10] <-- Adam007 has left IRC (Quit: Leaving)
[22:57:23] <lynxlynxlynx> i think you could still remove them, but not sure anymore
[22:57:32] <lynxlynxlynx> you can't now
[22:57:36] <lynxlynxlynx> anyway, zzz
[22:57:42] <traveler> yes, that's what i have thought
[22:57:48] <traveler> so now is a bit better
[22:57:49] <traveler> thanks
[22:57:52] <traveler> gn
[22:58:07] <-- lynxlynxlynx has left IRC (Read error: Connection reset by peer)
[23:08:42] <gembot> build #778 of cmake clang++ is complete: Failure [4failed minimal test] Build details are at http://buildbot.gemrb.org/builders/cmake%20clang%2B%2B/builds/778 blamelist: Willem Jan Palenstijn <wjpalenstijn@users.sourceforge.net>, lynxlynxlynx, brad_a
[23:18:54] <traveler> huh? that clang doesn't build -git is nothing new
[23:22:10] <gembot> build #425 of nmake-msvc++10 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/nmake-msvc%2B%2B10/builds/425 blamelist: Willem Jan Palenstijn <wjpalenstijn@users.sourceforge.net>, lynxlynxlynx, brad_a
[23:33:26] <gembot> build #386 of cmake g++-4.2 is complete: Failure [4failed minimal test] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.2/builds/386 blamelist: Willem Jan Palenstijn <wjpalenstijn@users.sourceforge.net>, lynxlynxlynx, brad_a
[23:33:58] <gembot> build #689 of mingw32 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/mingw32/builds/689 blamelist: Willem Jan Palenstijn <wjpalenstijn@users.sourceforge.net>, lynxlynxlynx, brad_a
[23:40:50] <gembot> build #668 of msvc++6 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/msvc%2B%2B6/builds/668 blamelist: Willem Jan Palenstijn <wjpalenstijn@users.sourceforge.net>, lynxlynxlynx, brad_a
[23:43:41] <gembot> build #434 of nmake-msvc++6 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/nmake-msvc%2B%2B6/builds/434 blamelist: Willem Jan Palenstijn <wjpalenstijn@users.sourceforge.net>, lynxlynxlynx, brad_a