#gemrb@irc.freenode.net logs for 1 Sep 2010 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[02:14:47] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[06:11:12] <-- spike411 has left IRC (Quit: Manga & anime pokec na Jabberu: manga.cz@conf.netlab.cz)
[07:21:42] --> edheldil_ has joined #GemRb
[07:45:43] --> lynxlynxlynx has joined #GemRb
[07:45:44] --- ChanServ gives channel operator status to lynxlynxlynx
[08:30:10] <xrogaan> there there
[08:31:06] <xrogaan> what's better: dev repository or official release ? :p
[08:38:38] --> spike411 has joined #GemRb
[08:38:56] <fuzzie> always dev repository, i think
[08:42:48] <spike411> Hi
[08:45:13] <xrogaan> is the save games compatible with the legacy game ?
[08:45:50] <xrogaan> are*
[08:47:36] <fuzzie> for bg1/bg2/iwd, in theory, but gemrb games often do weird things in the original..
[08:49:42] <xrogaan> okay
[08:52:06] <xrogaan> i've got some error, assignment problems. I assume it's normal ?
[08:52:40] <fuzzie> for actions/triggers?
[08:53:20] <xrogaan> yeah
[08:53:46] <xrogaan> but i don't use the dev repository
[08:55:44] <xrogaan> aah
[08:56:23] <xrogaan> i installed one or two mod on my windows version
[08:56:39] <xrogaan> and i try to run it now with gemrb on my unix post
[08:57:15] <xrogaan> can that provoke some problems ?
[08:59:28] <xrogaan> > i did have any menu in game, i got python traceback and shit
[09:00:42] <fuzzie> depends which mods :)
[09:01:03] <fuzzie> anything hacking the exe won't work with gemrb
[09:01:12] <fuzzie> widescreen mod should work if you set your resolution to *exactly* what you modded it to
[09:02:20] <-- lynxlynxlynx has left IRC (Read error: Operation timed out)
[09:03:34] <xrogaan> i just added more content
[09:03:41] <xrogaan> fixing bugs
[09:04:02] <xrogaan> the great bg2fixpack
[09:04:03] <fuzzie> i have the G3 fixpack and tweak pack installed, which are fine
[09:04:16] <fuzzie> although maybe some individual tweaks do exe hacks, i'm not sure
[09:05:15] <xrogaan> not so much mods : SETUP-ARIENA.DEBUG SETUP-BG2FIXPACK.DEBUG
[09:05:18] <xrogaan> oops
[09:05:23] <xrogaan> http://pastebin.mandriva.com/19725
[09:05:29] <xrogaan> tss
[09:06:34] <fuzzie> should be fine
[09:08:47] <xrogaan> i'll test with the dev version
[09:10:59] --> SiENcE has joined #GemRb
[09:11:33] <xrogaan> i still got some "[GameScript]: instant action 216 (addfamiliar()) doesn't exist, ignoring"
[09:12:00] <xrogaan> is there a way to disable the colors in the output logs ?
[09:12:29] <fuzzie> not yet .. there is a git branch to do so, but i guess it will be difficult to apply
[09:12:56] <xrogaan> there : [CHUImporter]: Cannot Load BackGround, skipping
[09:12:58] <xrogaan> is that normal ?
[09:16:11] <xrogaan> some of my tracebacks: the first is in red : http://pastebin.com/hWTgvfiL
[09:17:55] <fuzzie> ah
[09:18:00] <fuzzie> this is a savegame with a third-party NPC in it?
[09:18:10] <xrogaan> yeah
[09:18:26] <xrogaan> i guess i'll have to restart one game then :p
[09:20:15] --> lynxlynxlynx has joined #GemRb
[09:20:15] --- ChanServ gives channel operator status to lynxlynxlynx
[09:20:31] <fuzzie> i mean, lynx would know this better, but i assume we're doing something wrong with the kit
[09:22:01] <xrogaan> well, the game is too verbose to be hable to see what's going wrong :p
[09:23:02] <fuzzie> Dual[2] is meant to contain the class index, i don't see how that would go wrong
[09:24:44] <fuzzie> oh, right, because it just didn't append() anything in IsDualClasses
[09:24:46] <fuzzie> IsDualClassed.
[09:33:00] <edheldil> heh, I have found ~ 1 %% of PS:T's C++ sources ;-)
[09:34:49] <Lightkey> quick, delete it before anyone gets hurt!
[09:35:36] <edheldil> it's only MFC, to be frank :), but since the classes are used everywhere in the code, it's still helpful :)
[09:38:08] <xrogaan> fuzzie: so, with a new game, it'll be safe ?
[09:38:22] <xrogaan> will it be safe*
[10:14:00] <xrogaan> well, it works
[10:14:08] <lynxlynxlynx> so now new kits or classes from the mods?
[10:14:12] <lynxlynxlynx> arrr
[10:38:18] <xrogaan> yeah, could be nice
[10:40:41] <lynxlynxlynx> err
[10:42:57] <xrogaan> what ?
[10:43:22] <xrogaan> it is not hard coded, right ?
[11:00:08] <lynxlynxlynx> what is or isn't?
[11:00:16] <lynxlynxlynx> i'm more confused than you
[11:07:34] <xrogaan> what are you talking about ?
[11:08:54] <lynxlynxlynx> did you install any new kits?
[11:16:00] <xrogaan> from where ?
[11:16:13] <xrogaan> and what's a kit ? :p
[11:18:19] <xrogaan> i have this : http://pastebin.mandriva.com/19725
[11:25:30] <-- spike411 has left IRC (Remote host closed the connection)
[11:25:37] --> spike411 has joined #GemRb
[11:27:44] <lynxlynxlynx> ok
[11:30:16] <lynxlynxlynx> start the game
[11:30:17] <xrogaan> so, Ariena is a kit ?
[11:30:26] <lynxlynxlynx> no
[11:30:52] <xrogaan> okay
[11:31:23] <lynxlynxlynx> kits are class specialists
[11:32:04] <lynxlynxlynx> like tueur de magiciens
[11:33:18] <lynxlynxlynx> so, start the game, load the save, pause it, press ctrl+space, type import GUICommon, press enter, type: print GUICommon.IsDualClassed(x,1)
[11:33:41] <lynxlynxlynx> instead of x put the number of the character in there (1-6)
[11:34:15] <lynxlynxlynx> you should get a tuple printed on the console - (0, -1, -1) if the character isn't dualclassed
[11:35:07] <xrogaan> well, i don't have the "console"
[11:35:28] <xrogaan> but ctrl+space work
[11:36:02] <xrogaan> so, i don't know where is the character :p
[11:36:51] <lynxlynxlynx> it is the portrait number
[11:36:55] <lynxlynxlynx> the top one is 1
[11:37:12] <lynxlynxlynx> but if you don't have a console, first run gemrb so you can redirect the output to a log file
[11:37:23] <xrogaan> i know
[11:37:28] <xrogaan> but i don't see them
[11:37:57] <xrogaan> another problem, linked to the extra character and his items : http://pastebin.com/XcUfR9Jq
[11:38:25] <xrogaan> okay, i got the number
[11:38:28] <xrogaan> result: (0, -1, -1)
[11:39:18] <xrogaan> and crashed with the traceback
[11:40:05] * xrogaan is messy
[11:42:13] <xrogaan> note this: Ariena got a ArienaKit in it's directory
[11:44:03] <lynxlynxlynx> are you sure you picked the right number?
[11:44:14] <lynxlynxlynx> try all of them to be sure
[11:52:58] <-- spike411 has left IRC (Quit: Manga & anime pokec na Jabberu: manga.cz@conf.netlab.cz)
[12:35:52] <-- SiENcE has left IRC (Read error: Connection reset by peer)
[12:57:49] --> SiENcE has joined #GemRb
[13:25:15] <xrogaan> lynxlynxlynx: certain
[13:25:30] <xrogaan> lynxlynxlynx: i had a problem with my router/connexion
[13:27:04] <xrogaan> tss 1 hour and a half :(
[13:28:16] <xrogaan> i'll do for all if you want
[13:29:49] <xrogaan> err, nothing
[13:30:27] <xrogaan> what the hell
[13:34:38] <xrogaan> lynxlynxlynx: didn't work anymore
[13:35:02] <xrogaan> ah no, i forgot print. And i'm hungry
[13:37:58] <xrogaan> (0, -1, -1)
[13:37:58] <xrogaan> [1, 32]
[13:37:58] <xrogaan> (0, -1, -1)
[13:37:58] <xrogaan> (0, -1, -1)
[13:37:58] <xrogaan> (0, -1, -1)
[13:38:00] <xrogaan> [2, 6, 5]
[13:38:03] <xrogaan> 1-6
[13:39:25] <xrogaan> in the save directory, the extra pnj as portrt3.BMP
[13:39:55] <xrogaan> so, i was probably wrong, and he's got the 4th index
[13:41:52] <xrogaan> or not
[13:43:38] <xrogaan> or 2nd ?
[13:43:52] <wjp> given the IndexError you got, the 2nd seems likely
[13:44:14] <xrogaan> see my problem : http://bayimg.com/baOFpAAcl ?
[13:44:25] <xrogaan> i don't have any portait
[13:45:14] <xrogaan> then, that's the [1, 32]
[13:45:29] <wjp> that's an expected side effect of getting exceptions/tracebacks in the console
[13:45:38] <wjp> the GUI crashed, basically
[13:45:52] <wjp> we could probably handle it more gracefully :-)
[13:47:00] <xrogaan> i can see it
[13:47:06] <xrogaan> from time to time
[13:47:27] <xrogaan> i need to move the mouse on a specific area
[13:47:56] <xrogaan> but yeah, you're probably right
[13:52:50] <xrogaan> i'll eat, waiting for lynxlynxlynx to show up
[14:35:29] <xrogaan> ping lynxlynxlynx <3
[15:17:09] <lynxlynxlynx> oj
[15:17:19] <lynxlynxlynx> so who is at the second portrait?
[15:18:03] <xrogaan> the new npc
[15:19:02] <xrogaan> Ariena
[15:21:46] <xrogaan> the WeiDu script seems to add a new kit
[15:22:12] <lynxlynxlynx> yeh
[15:24:27] <lynxlynxlynx> please upload kitlist.2da to a pastebin
[15:24:36] <lynxlynxlynx> it should be in your game override folder
[15:26:05] <xrogaan> it Alike Kido there are stat -
[15:26:08] <xrogaan> oops
[15:26:13] <xrogaan> http://pastebin.mandriva.com/19732
[15:26:38] <xrogaan> i have some problems with the c/c here. That's weird
[15:28:59] <lynxlynxlynx> print GUICommon.GetKitIndex(2)
[15:30:01] <lynxlynxlynx> i see it has the same unusabilty flag as the barbarian
[15:30:27] <xrogaan> 32
[15:30:47] <lynxlynxlynx> good
[15:39:50] <xrogaan> will you need more data from the game ?
[15:40:16] <lynxlynxlynx> no
[15:40:30] <lynxlynxlynx> it's our bug, i'm amazed that it didn't show up earlier
[15:40:57] <lynxlynxlynx> the default kit table is already larger than the class one, so there are about five other ways to trigger this
[15:42:04] <xrogaan> I have no idea what you're talking about, but I'm glad you can locate the problem
[15:42:49] <lynxlynxlynx> i'm saying it is not the mods fault
[15:43:11] <xrogaan> i understand that
[15:43:28] <lynxlynxlynx> open gemrb/GUIScripts/LUCommon.py
[15:43:53] <lynxlynxlynx> change that line that errored out to:
[15:43:55] <lynxlynxlynx> Class = CommonTables.Classes.GetRowName (CommonTables.KitList.GetValue (Dual[2], 7))
[15:45:20] <xrogaan> which line ?
[15:46:00] <lynxlynxlynx> http://pastebin.ca/1930564
[15:46:19] <xrogaan> i have git skill you know :p
[15:49:53] <lynxlynxlynx> apply them
[15:50:32] <lynxlynxlynx> eh, wait, that'll get the wrong class, yet another lookup is needed
[15:51:05] <xrogaan> well, the patch is not good. You use tab, the patch's got spaces
[15:51:31] <lynxlynxlynx> use the direct download link, maybe it is ok
[15:51:48] <xrogaan> you mean the raw ?
[15:51:48] <lynxlynxlynx> but i did just copy/paste it there, so that might've killed them
[15:51:52] <lynxlynxlynx> yeah
[15:51:54] <xrogaan> no, it is not
[15:52:01] <xrogaan> that's what i did :)
[15:53:00] <lynxlynxlynx> your pit fighter will be treated as a fighter and not as a barbarian though
[15:53:01] <xrogaan> you can try a repository just for that 'bug' with a git instaweb :p
[15:53:29] <lynxlynxlynx> (due to the original's hack of a barbarian implementation)
[15:53:56] <xrogaan> so, it's not a barbarian
[15:54:20] <lynxlynxlynx> the table makes it use the barbarian item restrictions
[15:55:02] <lynxlynxlynx> we didn't cover this crap yet, since luckily you can't dual class a barbarian
[15:55:50] <xrogaan> barbarian are too dumb to do dual class :p
[15:57:56] <CIA-26> GemRB: 03lynxlupodian * r48d0e2875187 10gemrb/gemrb/GUIScripts/LUCommon.py:
[15:57:56] <CIA-26> GemRB: CanLevelUp: lookup dualclassed kits properly
[15:57:56] <CIA-26> GemRB: before the wrong class was found and could easily break
[16:01:33] <xrogaan> so, it's a fix ?
[16:04:12] <lynxlynxlynx> untested, only proven correctly
[16:04:20] <lynxlynxlynx> to be correct
[16:04:35] <xrogaan> i'm here to serve
[16:04:47] <xrogaan> i saw red strings
[16:05:20] <lynxlynxlynx> until you see them when something breaks, it doesn't matter
[16:05:28] <xrogaan> http://pastebin.ca/1930579
[16:05:39] <xrogaan> yeah, it's still broken
[16:06:56] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[16:07:29] <lynxlynxlynx> huh
[16:10:26] <lynxlynxlynx> humour me and open up the ingame console
[16:10:34] <lynxlynxlynx> import CommonTables
[16:10:50] <lynxlynxlynx> print CommonTables.KitList.GetValue (31, 7)
[16:10:53] <lynxlynxlynx> print CommonTables.KitList.GetValue (32, 7)
[16:14:25] <xrogaan> 2
[16:14:25] <xrogaan> 2
[16:14:59] <lynxlynxlynx> yeah ok, i just found the problem
[16:15:09] <lynxlynxlynx> this breaks on a different character, right?
[16:15:36] <xrogaan> if by different you mean "no in the legacy version" then yes
[16:17:19] <xrogaan> or original version ?
[16:17:46] <lynxlynxlynx> nevermind
[16:19:04] <-- SiENcE has left IRC (Quit: @all: cya)
[16:19:33] <xrogaan> ^^'
[16:23:08] <lynxlynxlynx> i messed this up :)
[16:25:11] <lynxlynxlynx> and it does break because of the barbarian bit
[16:26:35] <xrogaan> well well, it seems the bugs was a Dragon-Shapeshifter
[16:32:18] <xrogaan> bug$
[16:34:34] <lynxlynxlynx> but you don't have any kit like that in the table
[16:35:17] <xrogaan> ...
[16:35:26] <CIA-26> GemRB: 03lynxlupodian * re987f5fe3e5d 10gemrb/gemrb/GUIScripts/LUCommon.py:
[16:35:26] <CIA-26> GemRB: Revert "CanLevelUp: lookup dualclassed kits properly"
[16:35:26] <CIA-26> GemRB: I bet Knuth would be laughing
[16:35:26] <CIA-26> GemRB: This reverts commit 48d0e28751870a4b889b75838962c250b351f2a5.
[16:40:11] <lynxlynxlynx> can you go ingame again?
[16:43:14] <xrogaan> yeah
[16:43:24] <xrogaan> with reverted code ?
[16:43:30] <lynxlynxlynx> print GemRB.GetPlayerStat (2, IE_MC_FLAGS) & 0x01f8
[16:43:36] <lynxlynxlynx> doesn't matter
[16:44:13] <lynxlynxlynx> you can omit the GemRB.
[16:44:20] <lynxlynxlynx> print GetPlayerStat (2, IE_MC_FLAGS) & 0x01f8
[16:45:28] <xrogaan> it doesn't work
[16:45:40] <xrogaan> AttributeError: 'module' object has no attribute 'GetPlayerStats'
[16:45:45] <xrogaan> NameError: name 'GetPlayerStats' is not defined
[16:45:53] <lynxlynxlynx> Stat
[16:46:10] <xrogaan> -> 8
[16:46:18] <lynxlynxlynx> ok, that's good
[16:47:27] <lynxlynxlynx> print GetPlayerStat(2, IE_CLASS)
[16:47:59] <xrogaan> 2
[16:48:07] <lynxlynxlynx> ok
[16:48:59] <lynxlynxlynx> this is the problem
[16:49:16] <lynxlynxlynx> it's a fighter/fighter dual class, but that's illegal
[16:49:44] <lynxlynxlynx> i wonder how on earth this can work in the original
[16:50:07] <lynxlynxlynx> is this ariena or the dragon one?
[16:50:34] <xrogaan> the dragon was a joke
[16:50:41] <xrogaan> bug -> fly -> dragon
[16:50:54] <xrogaan> "We don't have bugs here, we have dragons"
[16:51:09] <xrogaan> dungeon and dragon, see ?
[16:51:26] <xrogaan> :p
[16:51:55] <lynxlynxlynx> oh :)
[16:53:49] <xrogaan> i'm not certain he's dual you know
[16:54:48] <xrogaan> it's just a pit fighter, a 'subclass' of barbarian
[16:58:35] <lynxlynxlynx> illegal
[16:58:50] <lynxlynxlynx> i just downloaded and will do some digging in dltcep
[16:59:40] <xrogaan> where did you get it ? :p
[16:59:45] <xrogaan> you need the 2.2 version
[16:59:50] <lynxlynxlynx> shs
[17:00:07] <xrogaan> okay
[17:00:27] <lynxlynxlynx> 2.1 apparently
[17:01:08] <lynxlynxlynx> well, that's what the tp says, the readme does 2.2
[17:01:22] <xrogaan> yeah
[17:01:35] <xrogaan> what's dltcep ?
[17:02:06] <xrogaan> can i play with it ?
[17:02:08] <lynxlynxlynx> ie editor
[17:02:27] <lynxlynxlynx> sure, it's the most powerful thing around
[17:03:35] <xrogaan> it's a .exe !
[17:03:42] <xrogaan> no sources ?
[17:03:47] <xrogaan> no unix version ?
[17:04:11] <lynxlynxlynx> sources are on the gemrb site
[17:04:23] <lynxlynxlynx> but it is all mfc, so it has to be run through wine
[17:04:35] <fuzzie> rather annoying, but it was created a long time ago
[17:04:56] <lynxlynxlynx> could be a nice project for a gui freak
[17:05:06] <lynxlynxlynx> windows users also complain about the interface
[17:07:03] <xrogaan> where is chitin.key ?
[17:07:16] <xrogaan> oh found
[17:08:23] <lynxlynxlynx> it's a great tool, but won't really help in this case
[17:08:38] <lynxlynxlynx> we already found all the important info through the game
[17:10:10] <lynxlynxlynx> you can fix her up though
[17:10:25] <xrogaan> it say : "Can't load MOREALEAT.ids!"
[17:10:36] <xrogaan> or
[17:10:41] <lynxlynxlynx> since this seems to work in the original, i guess we didn't find the correct way to detect dualclassed chars
[17:10:42] <xrogaan> "Can't load MOREALEAI.ids!"
[17:10:49] <lynxlynxlynx> you can ignore those
[17:11:22] <xrogaan> okay
[17:12:32] <lynxlynxlynx> if you want to look at her, choose the edit: creatures button
[17:12:46] <lynxlynxlynx> load the mwarn one
[17:14:09] <xrogaan> the what ?
[17:15:15] <xrogaan> mwarn ? :p
[17:16:12] <lynxlynxlynx> or mwarn25 if you're in tob
[17:16:29] <lynxlynxlynx> mw is the mod's prefix, so the filenames are unique
[17:17:16] <xrogaan> okay
[17:18:12] <xrogaan> her class is clearly fighter ...
[17:21:00] <lynxlynxlynx> yeah
[17:21:09] <lynxlynxlynx> barbarians are actually fighter kits
[17:21:20] <lynxlynxlynx> that's why you can't normally make barbarian kits
[17:21:23] <CIA-26> GemRB: 03lynxlupodian * r8a39ff113946 10gemrb/gemrb/GUIScripts/GUICommon.py: IsDualClassed: simplified the mc flag checking
[17:21:27] <CIA-26> GemRB: 03lynxlupodian * r51740c181108 10gemrb/gemrb/GUIScripts/GUICommon.py:
[17:21:27] <CIA-26> GemRB: IsDualClassed: don't break on invalid dualclasses
[17:21:27] <CIA-26> GemRB: looks like the original used a different way of determining this state or
[17:21:27] <CIA-26> GemRB: had a similar sanity check
[17:21:40] <lynxlynxlynx> the problem is that class flag
[17:21:59] <lynxlynxlynx> but it should now work in gemrb
[17:22:16] <lynxlynxlynx> at least as far as the guiscripts are concerned
[17:22:53] <xrogaan> he he
[17:22:56] <xrogaan> i'll check that
[17:24:56] <xrogaan> gui is ok
[17:25:12] <xrogaan> TlkImporter is still yelling
[17:25:30] <lynxlynxlynx> yeah, you can ignore that, only pst needs it
[17:25:52] <lynxlynxlynx> we should ifdef that out with a game flag
[17:26:45] <xrogaan> she seems naked
[17:26:54] <xrogaan> i'm not sure, with those pixels !
[17:27:31] <xrogaan> probably the items color
[17:28:09] --> SiENcE has joined #GemRb
[17:29:32] <xrogaan> your 'WARNING: Invalid dualclass combination, treating as a single class!' is all over the log
[17:34:13] <xrogaan> bloddy modders, they can't list the details of their mods
[17:34:47] <xrogaan> "Look, i have a great mod here ! Download and play, sure, it's great. It will add awesome content!"
[17:35:19] <xrogaan> lynxlynxlynx: items with blue border are like what ?
[17:35:25] <lynxlynxlynx> change that 0x000000008 in class flags to 0 (Normal), save it and restart the game or load before you had the char
[17:35:35] <lynxlynxlynx> magic, it's a thing from iwd2
[17:36:02] <lynxlynxlynx> ... or modify the savegame, but that's harder
[17:36:07] <lynxlynxlynx> oh
[17:36:08] <lynxlynxlynx> doh
[17:36:16] <lynxlynxlynx> you can fix it from gemrb
[17:36:28] <lynxlynxlynx> first do:
[17:36:36] <xrogaan> wat?
[17:36:40] <lynxlynxlynx> print GetPlayerStat (2, IE_MC_FLAGS)
[17:36:52] <lynxlynxlynx> if that's just 8, simply do:
[17:37:06] <lynxlynxlynx> SetPlayerStat (2, IE_MC_FLAGS, 0)
[17:37:13] <lynxlynxlynx> if not, tell me first
[17:37:45] <xrogaan> 32776 !
[17:37:56] <lynxlynxlynx> ok
[17:38:28] <lynxlynxlynx> we just need to disable that 0x8
[17:38:45] <xrogaan> for what ?
[17:38:51] <xrogaan> ah, the warnings ?
[17:39:07] <lynxlynxlynx> SetPlayerStat (2, IE_MC_FLAGS, 32768)
[17:39:10] <lynxlynxlynx> yes
[17:39:25] <xrogaan> no need to disable them you know :p
[17:39:47] <xrogaan> 32768, are you sure ?
[17:40:04] <lynxlynxlynx> yes, she'll only have the beeninparty bit set then
[17:40:17] <-- SiENcE has left IRC (Quit: @all: cya)
[17:40:22] <lynxlynxlynx> = 2^15
[17:41:02] <xrogaan> Is the talkative sword working ?
[17:41:24] <lynxlynxlynx> it should be able to talk, yes, but i haven't tried it
[17:41:34] <xrogaan> i have it
[17:41:37] <lynxlynxlynx> i think fuzzie did though, but that was a while ago
[17:41:48] <xrogaan> i'll go to dinner and then use it a bit
[18:51:46] --> SiENcE has joined #GemRb
[18:59:46] <xrogaan> i'd rather go to bed than playing. Good night, people
[19:04:25] --> Maighstir has joined #GemRb
[19:23:28] <-- SiENcE has left IRC (Ping timeout: 245 seconds)
[19:26:49] --> edheldil_ has joined #GemRb
[19:32:08] --> SiENcE has joined #GemRb
[19:39:31] --> Avenger has joined #GemRb
[19:39:31] --- ChanServ gives channel operator status to Avenger
[19:39:54] <Avenger> lynxlynxlynx: instead of dual &=~(some bits that are not needed) use dual &=(bits that needed)
[19:40:18] <Avenger> there are many other bits in mc flags that are not about dual stuff
[19:41:21] <fuzzie> are we sure of exactly which bits are needed?
[19:41:54] <Avenger> i hope so very much :)
[19:42:24] <Avenger> i guess, it is the 'WAS' bits?
[19:43:15] <fuzzie> huh, i wonder why we don't just mask with MC_WAS_ANY_CLASS
[19:43:19] <Avenger> why is it masking some bits out when later it uses MC_WAS_ANY_CLASS
[19:43:26] <Avenger> hehe, just the same question :)
[19:43:33] <fuzzie> :)
[19:43:41] <Avenger> i have to look at this code more
[19:45:10] <Avenger> looks like that masking is not needed at all
[19:45:26] <Avenger> oh, he just fixed that
[19:46:04] <fuzzie> hehe
[19:46:11] <fuzzie> preempted! :-)
[19:46:58] <Avenger> well, i should have looked at all the commits :)
[19:47:17] <lynxlynxlynx> do you two realise you read the diff in the wrong order?
[19:47:22] <lynxlynxlynx> i removed the negative masking
[19:47:24] <Avenger> yes
[19:47:40] <Avenger> apparently it is not needed, but it is not doing anything wrong :)
[19:47:53] <Avenger> it is good to clarify what you need, though
[19:48:22] <Avenger> actually, i would keep the masking you just added, and remove the masking later in the code
[19:48:27] <lynxlynxlynx> if the value ever got used also for something else, it could've been a problem, since now we know more of those bits
[19:48:49] <Avenger> yeah, almost all bits are used, though some are only internally
[19:48:55] <fuzzie> sorry, i wasn't even reading the diff, lynx
[19:48:58] <fuzzie> am a bit behind
[19:49:12] <lynxlynxlynx> no problem
[19:49:12] <Avenger> it was a good change, i just read it from the wrong side
[19:49:14] <fuzzie> and thought, if Avenger is talking about it, it must still be there :)
[19:50:00] <Avenger> fuzzie, 1-2 days ago i found more of the scripting stuff
[19:50:20] <Avenger> about blocking actions, breaking blocking actions and such
[19:50:23] <fuzzie> cool
[19:51:02] <Avenger> and now i'm looking at the animation schemes
[19:54:19] <Avenger> so, virtual function 0x78 calls execute action, and evaluates its return code
[19:54:46] <Avenger> -1,-2,-3 are handled all the same, it means, stop the current action always
[19:55:52] <Avenger> if breakaction (0x2b8) is set to 1, a return 0 means, the action is stopped. (so a return value of 0 means, breakable action)
[19:56:24] <Avenger> this can be defended by 0x366 (setinterrupt)
[19:57:27] <fuzzie> huh, so the actions always get one last run?
[19:57:36] <fuzzie> that is new :)
[19:57:56] <Avenger> oops, sorry, a return 1 is breakable :(
[19:58:23] <Avenger> no, when they are replaced with noaction at this point
[19:59:12] <Avenger> once it determined, an action is not broken, it increments a field i called 'actiontime'
[19:59:20] <Avenger> 0x2bc
[19:59:29] <Avenger> some actions check on this variable later
[19:59:41] <Avenger> if it is 0, it is the 'first apply' phase of the action
[19:59:59] <fuzzie> ok. i have CurrentActionState or something, controlled by the actions.
[20:00:01] <Avenger> some actions check for a sufficiently large value of it
[20:00:23] <Avenger> like randomwalk, i think
[20:00:27] <Avenger> it is used for timing
[20:01:20] <Avenger> i hope what i told you made some sense, if you want to look this code yourself, it is at 00478535
[20:02:35] <Avenger> the code is very complex because it always constructs a no_action action, and does a lot of redundant steps
[20:03:28] <Avenger> for some reason they always keep a no-action on top of the action queue, though there are still checks if it is zero length
[20:05:07] <Avenger> i still don't know what is the relationship of 0x60 and 0x74 virtual functions. They both seem to execute triggers, but i don't see the connection
[20:05:49] <Avenger> uh i mean 0x60 and 0xa4
[20:41:55] --- Maighstir is now known as Maighstir|away
[20:42:13] <-- Maighstir|away has left IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
[21:00:03] <Avenger> bye
[21:00:04] <-- Avenger has left IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716])
[22:27:29] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[22:29:07] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:50:07] --> spike411 has joined #GemRb
[23:09:58] <-- spike411 has left IRC (Quit: Manga & anime pokec na Jabberu: manga.cz@conf.netlab.cz)
[23:17:26] <-- SiENcE has left IRC (Quit: cya @all)