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

Archive Today Yesterday Tomorrow
GemRB homepage


[00:04:35] --> edheldil has joined #gemrb
[00:04:36] --- ChanServ gives channel operator status to edheldil
[00:14:26] <-- edheldil has left IRC (Ping timeout: 265 seconds)
[00:23:27] --> edheldil has joined #gemrb
[00:23:28] --- ChanServ gives channel operator status to edheldil
[00:41:54] <-- edheldil has left IRC (Ping timeout: 255 seconds)
[00:46:50] --> edheldil has joined #gemrb
[00:46:50] --- ChanServ gives channel operator status to edheldil
[02:10:29] <-- edheldil has left IRC (Ping timeout: 268 seconds)
[02:58:45] <-- |Cable| has left IRC (Remote host closed the connection)
[03:02:30] --> |Cable| has joined #gemrb
[03:02:59] <-- |Cable| has left IRC (Remote host closed the connection)
[03:03:25] --> |Cable| has joined #gemrb
[03:09:20] <-- |Cable| has left IRC (Ping timeout: 255 seconds)
[03:21:13] --> |Cable| has joined #gemrb
[04:29:19] <-- kida_laptop has left IRC (Remote host closed the connection)
[04:55:31] --> kida_laptop has joined #gemrb
[04:58:50] <-- kida_laptop has left #gemrb
[07:08:55] --> lynxlynxlynx has joined #gemrb
[07:08:55] --- ChanServ gives channel operator status to lynxlynxlynx
[07:50:50] --> edheldil has joined #gemrb
[07:50:50] --- ChanServ gives channel operator status to edheldil
[07:57:18] <-- edheldil has left IRC (Ping timeout: 252 seconds)
[09:10:59] <-- Drakkar has left IRC (Ping timeout: 252 seconds)
[09:20:46] --> Drakkar has joined #gemrb
[09:37:41] <-- tomprince has left IRC (Ping timeout: 255 seconds)
[09:37:41] <-- gembot has left IRC (Ping timeout: 255 seconds)
[10:03:49] --> gembot has joined #gemrb
[10:11:52] --> tomprince has joined #gemrb
[10:12:02] <-- lynxlynxlynx has left IRC (*.net *.split)
[10:12:04] <-- nutron has left IRC (*.net *.split)
[10:12:04] <-- kamui_ has left IRC (*.net *.split)
[10:13:11] --> WingedHussar has joined #gemrb
[10:15:50] --> lynxlynxlynx has joined #gemrb
[10:15:50] --> nutron has joined #gemrb
[10:15:50] --> kamui_ has joined #gemrb
[10:15:50] <-- WingedHussar has left IRC (Remote host closed the connection)
[10:16:07] --> WingedHussar has joined #gemrb
[10:20:38] <-- DrMcCoy has left IRC (*.net *.split)
[10:21:59] --> DrMcCoy has joined #gemrb
[10:28:18] <-- fuzzie has left IRC (*.net *.split)
[10:28:43] --> fuzzie has joined #gemrb
[10:28:43] <-- WingedHussar has left IRC (Remote host closed the connection)
[10:28:58] --> WingedHussar has joined #gemrb
[10:30:01] <-- duckpunch has left IRC (*.net *.split)
[10:30:23] --> duckpunch has joined #gemrb
[11:00:54] <-- gembot has left IRC (Ping timeout: 240 seconds)
[11:01:10] <-- tomprince has left IRC (Ping timeout: 252 seconds)
[11:03:43] --> tomprince has joined #gemrb
[11:05:23] --> gembot has joined #gemrb
[11:07:41] --> duckpunc1 has joined #gemrb
[11:07:46] <-- duckpunc1 has left IRC (Client Quit)
[11:10:02] --> duckpunc1 has joined #gemrb
[11:10:18] <-- duckpunc1 has left IRC (Client Quit)
[17:01:49] <-- WingedHussar has left IRC (Quit: WingedHussar)
[17:23:24] --> barra_home has joined #gemrb
[18:47:08] --> avenger has joined #gemrb
[18:47:09] --- ChanServ gives channel operator status to avenger
[18:47:15] <avenger> hello
[18:52:06] <avenger> lynxlynxlynx do you know of any bug you want to fix before release?
[19:03:58] <lynxlynxlynx> yes
[19:04:56] <lynxlynxlynx> i guess you didn't manage to reproduce nalia and others getting copied?
[19:05:44] <lynxlynxlynx> monk can't use restoration scroll - nothing happens; could be related to the resistance changes (no resisted msg printed though)
[19:05:54] <lynxlynxlynx> monk apr bonus doesnt work most of the time anymore:
[19:05:54] <lynxlynxlynx> GetNumberOfAttacks: p Equipped
[19:05:54] <lynxlynxlynx> $12 = -25
[19:06:20] <lynxlynxlynx> the value just varies, without doing any (r)equipping
[19:07:20] <lynxlynxlynx> and then i have to test again, since you did some intrusive changes (will revert the djini one for the release, but there was another that looks suspicious)
[19:07:56] <avenger> i fixed that
[19:07:59] <avenger> i think
[19:08:07] <avenger> i mean the nalia copy
[19:08:14] <lynxlynxlynx> oh, great
[19:08:33] <avenger> if it was the same as imoen appearing at Gaelan
[19:08:48] <avenger> hmm, wait, no, you said you got Jaheira duplicating in the cage
[19:08:50] <lynxlynxlynx> no, that was earlier
[19:08:53] <avenger> i couldn't reproduce that
[19:09:41] <lynxlynxlynx> i'll try without the fixpack
[19:10:22] <avenger> i doubt a fixpack would mess something up like that
[19:11:58] <lynxlynxlynx> me too
[19:12:06] <lynxlynxlynx> just thought you don't have it installed
[19:13:17] <avenger> i think i have it
[19:13:41] <avenger> so, i just started a brand new game, did and EndCutScene()+ctrl-y on irenicus
[19:13:48] <avenger> then walked up to jaheira, talked to her
[19:14:02] <avenger> (She turned towards me ) i saw only one copy
[19:14:10] <avenger> you say, you see an overlapped actor there?
[19:14:23] <avenger> when does she gets a copy?
[19:15:06] <avenger> i did a save/reload
[19:15:11] <lynxlynxlynx> i can't reproduce it with vanilla
[19:15:13] <avenger> still no spawning
[19:15:23] <avenger> i meant gemrb :)
[19:15:27] <lynxlynxlynx> yes
[19:15:36] <avenger> then how do you reproduce it
[19:15:39] <lynxlynxlynx> i was wrong about her, she just talks the same dialog when you get in range
[19:20:06] <lynxlynxlynx> just mta to ar0406
[19:20:19] <lynxlynxlynx> i get several copies immediately
[19:20:28] <lynxlynxlynx> she calms down if you let her talk to you
[19:21:14] <avenger> nalia walked up to me
[19:21:22] <avenger> so, what do i do now
[19:21:31] <lynxlynxlynx> don't let her talk to you
[19:21:47] <avenger> i was sitting in a safe place for some time
[19:21:57] <avenger> but i went close to her after a minute
[19:22:50] <avenger> how else can i do this?
[19:23:41] <lynxlynxlynx> sent you a screenshot
[19:23:57] <avenger> i'm sitting in the small circle
[19:23:57] <lynxlynxlynx> i just started a new game and mtad there
[19:24:09] <avenger> the arena or what is it
[19:24:12] <lynxlynxlynx> it put me in a corner, but as soon as i jumped in the room, there were already many
[19:24:25] <avenger> i see only one
[19:24:40] <avenger> i waited some time after mta, then went near nalia
[19:24:43] <avenger> no duplos
[19:25:17] <lynxlynxlynx> i can see dupes of anomen easily too
[19:25:21] <avenger> btw, if nalia duplicates, what does korgan
[19:25:23] <lynxlynxlynx> animation overlap
[19:25:37] <avenger> he is also in the tavern
[19:25:47] <avenger> and korgan seems to be ok too
[19:26:06] <avenger> you must have some changes
[19:26:12] <lynxlynxlynx> korgan too, though it is not obvious
[19:26:21] <lynxlynxlynx> i'm on head without anything else
[19:27:37] <lynxlynxlynx> look at the Equipped stuff, we need a third opinion :)
[19:29:05] <avenger> what equipped stuff
[19:29:39] <lynxlynxlynx> <lynxlynxlynx> monk apr bonus doesnt work most of the time anymore:
[19:29:39] <lynxlynxlynx> <lynxlynxlynx> GetNumberOfAttacks: p Equipped
[19:29:39] <lynxlynxlynx> <lynxlynxlynx> $12 = -25
[19:29:39] <lynxlynxlynx> <lynxlynxlynx> the value just varies, without doing any (r)equipping
[19:29:42] <avenger> is that only for monks?
[19:30:02] <lynxlynxlynx> i don't know, but that's where i noticed, since they have special apr
[19:31:06] <avenger> ok created a monk
[19:31:10] <avenger> now what to do
[19:31:47] <lynxlynxlynx> attack stuff
[19:32:07] <lynxlynxlynx> i created a fighter and don't get nalia bugs, so maybe this is also monk related somehow
[19:32:36] <avenger> lol
[19:33:12] <avenger> jaheira doesn't duplicate
[19:33:17] <avenger> i will do the mta
[19:33:43] <lynxlynxlynx> like i said, jaheira is fine, minsc seemed too
[19:33:55] <lynxlynxlynx> oh, this is a level 16 monk
[19:34:19] <avenger> no, nope, i got no duplicated nalia
[19:34:55] <lynxlynxlynx> i'm trying with a standard monk now
[19:35:19] <avenger> i see a bad thing
[19:35:25] <avenger> no scripts set for my player
[19:35:32] <avenger> it should have dplayer something
[19:36:26] <avenger> that can break stuff
[19:40:56] <avenger> we should assign dplayer3 to player1 if HasDPLAYER is true
[19:43:08] <avenger> if ((Slot == 1) && core->HasFeature(GF_HAS_DPLAYER) ) {
[19:43:08] <avenger> actor->SetScript(SC_DEFAULT,"DPLAYER3");
[19:43:08] <avenger> }
[19:43:16] <avenger> something like this
[19:45:57] <avenger> i wonder if iwd1/2 has separate dplayers
[19:47:19] <avenger> interesting, iwd has them, but they are empty
[19:54:42] <avenger> so how do i check the monk?
[19:56:48] <avenger> i attacked a few rats, apr = 1
[19:59:50] <avenger> leveled up to lvl13, changed weapon to mfist5, but i still dont see any weird apr
[20:04:35] <lynxlynxlynx> apr should be greater
[20:05:04] <lynxlynxlynx> +1 (0,5) every 3 levels after the first
[20:05:23] <lynxlynxlynx> so even at 7 it should be 2 (4) or close
[20:06:38] <lynxlynxlynx> no problem with a lvl7 monk here either
[20:06:44] <lynxlynxlynx> wtf
[20:07:47] <avenger> well my apr didn't change
[20:07:50] <avenger> it was always 1
[20:07:53] <avenger> weird
[20:08:01] <avenger> my thac0 changed
[20:08:38] <lynxlynxlynx> the only thing i can think of is that an effect got buggy
[20:08:40] <avenger> when i said i see no weird apr, i meant it is not -25 :)
[20:08:45] <lynxlynxlynx> i'll try with valgrind
[20:09:18] <lynxlynxlynx> like i said, apr should be greater than 2 (stored)
[20:09:24] <lynxlynxlynx> -25 was the slot number
[20:09:30] <lynxlynxlynx> or 0 in another break
[20:10:18] <lynxlynxlynx> got an idea
[20:11:09] <lynxlynxlynx> nope, no calls to setfist{stat,slot} were removed
[20:11:32] <avenger> well, i could kill the golem barehanded
[20:11:39] <avenger> so i'm pretty sure mfist7 was used :D
[20:12:09] <avenger> something with the apr is buggy
[20:12:21] <avenger> the apr is not in the item, right?
[20:12:54] <avenger> its some weird hack in the original engine
[20:13:04] <lynxlynxlynx> yes
[20:13:15] <lynxlynxlynx> see the aforementioned GetNumberOfAttacks
[20:13:22] <lynxlynxlynx> the lookup is just fine
[20:13:59] <lynxlynxlynx> the Equipped check is either incomplete or the var is not always set properly
[20:15:56] <avenger> monkbon is loaded?
[20:19:14] <avenger> ok, i see bonus = 2 on level 7
[20:19:32] <avenger> the gui doesn't use this value , i guess
[20:20:37] <avenger> yeah, nothing in GUIScript.cpp calls it
[20:22:22] <avenger> GetCombatDetails need a new call. actor->GetNumberOfAttacks()
[20:22:30] <avenger> and then use that value instead of the raw stat value
[20:28:08] <avenger> hmm, it is working now
[20:30:17] <lynxlynxlynx> yes, it aligns sometimes
[20:31:00] <lynxlynxlynx> guirec doesn't reflect it, since the stat mechanics changed and it is using it directly
[20:31:29] <avenger> chr 188 is 1/4 not 1/2 it seems
[20:31:47] <avenger> it is working now, because i fixed it ;P
[20:31:56] <avenger> except that i see 1/4 instead of 1/2
[20:32:03] <lynxlynxlynx> ... but we do a lot of the apr stuff directly in combat, so eg. fighter bonus is not visible either
[20:32:37] <lynxlynxlynx> cool
[20:33:07] <lynxlynxlynx> i hope you mean more than just the display, because that is just a cosmetic glitch
[20:33:24] <lynxlynxlynx> it's easy to see wrong apr, since most enemies have only 1 too
[20:33:45] <avenger> i fixed the display
[20:34:19] <avenger> it should give the fighter bonus, but i didn't fix that
[20:37:16] <avenger> lynx: do you know if our monkbon.2da apr_bonus units are half attacks or whole?
[20:37:26] <avenger> because the engine uses them as half
[20:37:39] <avenger> so when you write 1, it is actually 1/2
[20:39:28] <lynxlynxlynx> they are half
[20:39:48] <lynxlynxlynx> this was working before and nothing changed in the table, so the data is fine
[20:40:13] <lynxlynxlynx> anyway, even at level 7 with halved values you'd get more than 1 apr
[20:45:21] <avenger> i think it is because chargen doesn't set APR to 2
[20:45:43] <avenger> the base apr value needs to be set up
[20:46:07] <lynxlynxlynx> we used to do that, but i might have very well removed it
[20:46:23] <lynxlynxlynx> iirc charbase already has it set
[20:46:32] <avenger> but that is an invalid value
[20:46:42] <avenger> charbase has an invalid value there
[20:46:52] <avenger> you need to set it based on level
[20:47:13] <avenger> somewhere in derived stats, i guess
[20:47:27] <avenger> or in pcf_level
[20:48:40] <lynxlynxlynx> GemRB.SetPlayerStat (MyChar, IE_NUMBEROFATTACKS, 2) <-- we still set it in chargen
[20:49:55] <lynxlynxlynx> but that's not affecting the base probably
[20:50:19] <lynxlynxlynx> anyway, i don't see how it could mess with the inventory
[20:51:30] <avenger> all setplayerstats alter the base
[20:51:59] <lynxlynxlynx> good
[20:52:06] <avenger> and that's correct, only the base is saved the modified stats should be altered only by effects
[20:52:22] <lynxlynxlynx> the game isn't started at that point anyway too
[20:52:36] <avenger> ?
[20:52:59] <lynxlynxlynx> no game loop and ticks
[20:53:02] <lynxlynxlynx> nevermind
[20:53:12] <avenger> i see
[20:53:45] <avenger> so, nothing sets the base number of attacks at levelup?
[20:54:24] <avenger> RefreshPCStats does
[20:54:26] <lynxlynxlynx> probably not, apr doesn't change with level except for the two tresholds for warriors and the special monks
[20:55:30] <lynxlynxlynx> yeah, guiscripts only use the stat for cg and display
[20:56:18] <avenger> i see a lot of comments not done by me at this point
[20:56:26] <avenger> in refreshpcstats
[20:58:25] <lynxlynxlynx> that was me
[20:58:37] <lynxlynxlynx> silly complicated systems
[20:59:20] <lynxlynxlynx> but why are you looking there? :s
[21:26:04] <avenger> because refreshpcstats is supposed to finalize this value
[21:31:21] <lynxlynxlynx> eh?
[21:31:32] <lynxlynxlynx> then why did you move the monk bonus out of it?
[21:31:42] <avenger> i didn't
[21:31:50] <avenger> did i?
[21:31:50] <lynxlynxlynx> it was handled there iirc
[21:31:53] <lynxlynxlynx> but anyway
[21:32:07] <lynxlynxlynx> it's that simple Equipped == IW_NO_EQUIPPED that is the problem
[21:32:19] <avenger> ah yes, that's why it was moved out :P
[21:32:20] <lynxlynxlynx> if you use a different fist check, everything is fine
[21:32:26] <avenger> only barehanded monks get that bonus
[21:32:32] <lynxlynxlynx> yes
[21:32:47] <lynxlynxlynx> but Equipped is not always sane
[21:32:57] <avenger> then it should be fixed
[21:33:05] <lynxlynxlynx> well dug
[21:33:07] <lynxlynxlynx> duh
[21:33:21] <avenger> GetAttackNumber is correct
[21:33:27] <lynxlynxlynx> i started the discussion with this info
[21:33:41] <avenger> if it gives wrong result because of Equipped, then that problem should be fixed
[21:33:52] <avenger> but i have not seen that problem yet
[21:34:17] <avenger> anyway, fixing stuff around it will just clear the picture
[21:34:39] <lynxlynxlynx> well, it's the same highlevel monk as with nalia, so i hope it's just some wierd corner case
[21:34:57] <lynxlynxlynx> but i can't imagine what could much with these internals all of a sudden
[21:35:09] <avenger> you should find what causes the actor duplications
[21:35:16] <avenger> it is very strange
[21:36:03] <avenger> i you cannot find it, i might debug it in the weekend. But then i need your save
[21:36:14] <lynxlynxlynx> yeah
[21:37:59] --> edheldil has joined #gemrb
[21:37:59] --- ChanServ gives channel operator status to edheldil
[21:39:06] <lynxlynxlynx> btw, this last iwd2 commit is buggy, the variable was not used just there
[21:41:26] <avenger> which variable
[21:41:50] <avenger> numOfAttacks?
[21:41:51] <avenger> ahh
[21:42:29] <avenger> wait, they don't have 1/2 attacks?
[21:42:59] <lynxlynxlynx> it's a saner system
[21:45:19] <avenger> something is weird in iwd2
[21:45:27] <avenger> default party: geldin - drow
[21:45:29] <avenger> lol
[21:45:34] <avenger> geldin is a half-oc
[21:45:36] <avenger> orc
[21:46:12] <avenger> i think this worked before
[21:47:04] <avenger> i see now, the race is only updated if you select the first window
[21:47:37] <avenger> the race should always be updated
[22:58:40] <-- barra_home has left IRC (Quit: Verlassend)
[23:24:58] <-- edheldil has left IRC (Ping timeout: 260 seconds)
[23:47:25] <-- avenger has left IRC (Remote host closed the connection)