#gemrb@irc.freenode.net logs for 4 Jul 2010 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:15:32] <-- budlust has left IRC (Quit: leaving)
[00:16:06] --> budlust has joined #GemRb
[00:23:53] <-- Gekz_ has left IRC (Read error: Connection reset by peer)
[00:24:37] --> Gekz_ has joined #GemRb
[04:20:59] <-- budlust has left IRC (Quit: Lost terminal)
[05:56:52] --> edheldil_ has joined #GemRb
[06:12:33] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[08:35:03] --> lynxlynxlynx has joined #GemRb
[08:35:04] --- ChanServ gives channel operator status to lynxlynxlynx
[08:53:47] <-- raevol has left IRC (Quit: Leaving.)
[11:37:15] <-- Gekz has left IRC (Read error: Connection reset by peer)
[12:27:14] --> SiENcE has joined #GemRb
[14:54:06] --> Avenger has joined #GemRb
[14:54:10] --- ChanServ gives channel operator status to Avenger
[14:54:14] <Avenger> hello everyone
[14:58:01] <lynxlynxlynx> oj
[15:04:28] <Avenger> File "./GUIScripts/iwd/CharGen.py", line 340, in AcceptPress
[15:04:29] <Avenger> GemRB.LearnSpell (MyChar, "spin139", LS_MEMO)
[15:04:37] <Avenger> pfft
[15:05:41] <Avenger> hehe, i thought i can start the game, almost finished CG
[15:08:05] <lynxlynxlynx> LS_MEMO undefined?
[15:08:58] <lynxlynxlynx> yeah, looks like it
[15:10:11] <lynxlynxlynx> one missing in bg2 too
[15:10:29] <Avenger> it is in ie_spells
[15:10:38] <lynxlynxlynx> yep
[15:10:48] <lynxlynxlynx> pushing
[15:11:17] <Avenger> i wonder if there is some tool that checks imports
[15:11:22] <CIA-23> GemRB: 03lynxlupodian * re5bc9534bcc9 10gemrb/gemrb/GUIScripts/ (bg2/GUIMG.py iwd/CharGen.py): added two missing ie_spells imports
[15:11:46] <lynxlynxlynx> there is and i'm using it
[15:12:07] <lynxlynxlynx> but it's not working fully even if i disregard the generated main module
[16:18:22] <Avenger> i need some python help, there is a list of numbers in a table's first column, GetTableRowName(x) gets it. How can i put them in an array?
[16:22:40] <fuzzie> you mean, something like [table.GetTableRowName(i) for i in range(table.GetRowCount())] ?
[16:23:59] <fuzzie> or if that is too magic, simply make an empty array, then make a loop, and call your_array.append for every entry
[16:24:06] <fuzzie> but not sure if that's what you mean
[16:24:25] <Avenger> i like that, it is totally magic, but ok
[16:24:42] <Avenger> can i do that with a tuple as well?
[16:25:40] <fuzzie> well, you can change the list to a tuple afterwards
[16:26:20] <fuzzie> or if you change it to () and not [], you get a generator, which you can use in a 'for' statement
[16:27:35] <Avenger> i just want to use the most optimal one. The numbers are constants and get calculated only once
[16:28:21] <fuzzie> a list is fine, really
[16:28:42] <fuzzie> the difference in the structure is very outweighed by everything else
[16:29:15] <fuzzie> but, you can simply do tuple([i for i in blah]) if you really want a tuple
[16:31:22] <Lightkey> "it's magiiiic"
[16:36:19] <Avenger> ... the character is not created in iwd before the CG process
[16:37:35] <Avenger> i hate this code :) i wanted to implement a tiny little feature (test sound in the CG) but i already implemented a new guiscript function, and changed a lot of stuff O_o
[16:38:05] <Lightkey> kill it with firefox!
[16:38:48] <fuzzie> yes, the iwd CG is still old-style
[16:39:27] <fuzzie> it doesn't even use LUSpellSelection, i think
[16:39:31] <lynxlynxlynx> it's handy that it's all in one file, but hard to overview due to that
[16:39:54] <lynxlynxlynx> each game has a different cg system :/
[16:40:09] <lynxlynxlynx> iwd2 and bg2 have the most similar, since they were recently refactored
[16:40:11] <fuzzie> well, at least you don't have to worry about pst :P
[16:40:16] <lynxlynxlynx> yep
[16:40:27] <lynxlynxlynx> i was looking at the store the other day
[16:40:54] <lynxlynxlynx> luckily all the chu work is already done, i just need to fix the behaviour
[17:53:23] <CIA-23> GemRB: 03avenger_teambg * rbfd1238270de 10gemrb/gemrb/override/iwd/ability.2da: added missing column
[17:54:15] <Avenger> hmm this 2da seems to be candidate for sharing
[17:56:03] <lynxlynxlynx> if the contents match
[17:59:02] --> raevol has joined #GemRb
[18:00:58] <Avenger> i don't think bg2 chargen displays the bard/ranger skills correctly
[18:02:02] <lynxlynxlynx> elaborate
[18:02:06] <Avenger> it uses skills.2da but doesn't use BardSkills/RangerSkills so, i wonder how it figures out the skill name
[18:02:57] <Avenger> oh, i see, it simply writes any nonzero skills
[18:03:27] <Avenger> ok, actually that's a clever way :) whoever did it
[18:04:00] * lynxlynxlynx raises hand
[18:06:43] --> edheldil_ has joined #GemRb
[18:06:44] <fuzzie> lynxlynxlynx: did you try simply grepping for the IE_ defines and seeing if theimports are present?
[18:06:48] <fuzzie> or LS_, or whatever
[18:06:58] <fuzzie> i am bit terribly busy last few days, or else i'd do it myself
[18:07:00] <lynxlynxlynx> not systematically
[18:15:45] <-- edheldil_ has left IRC (Ping timeout: 260 seconds)
[18:19:06] <CIA-23> GemRB: 03avenger_teambg * r018a35bfd6fb 10gemrb/gemrb/ (GUIScripts/iwd/Start.py override/how/ability.2da): HoW also gets the new ability table
[18:21:00] <Avenger> halfway done in refactoring the HoW CG :)
[19:32:40] --> edheldil_ has joined #GemRb
[21:07:38] --> Maighstir_laptop has joined #GemRb
[21:10:16] <-- raevol has left IRC (Quit: Leaving.)
[21:13:06] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[21:16:45] <-- Maighstir_laptop has left IRC (Ping timeout: 240 seconds)
[21:34:18] <CIA-23> GemRB: 03avenger_teambg * rbe971bb1ea65 10gemrb/gemrb/ (GUIScripts/iwd/CharGen.py plugins/GUIScript/GUIScript.cpp):
[21:34:18] <CIA-23> GemRB: started refactoring iwd CG (imported characters are editable)
[21:34:18] <CIA-23> GemRB: implemented VerbalConstant (to be able to play character sounds in IWD)
[21:34:19] <Avenger> iwd chargen is probably still fragile, but i did most of it
[21:42:35] <fuzzie> cool
[21:49:39] <-- Avenger has left IRC (Quit: bye!)
[22:04:29] <-- SiENcE has left IRC (Quit: cya @all)
[23:17:45] <-- anji has left IRC (Ping timeout: 240 seconds)
[23:19:17] --> anji has joined #GemRb
[23:35:43] <-- edheldil_ has left IRC (Ping timeout: 260 seconds)