#gemrb@irc.freenode.net logs for 16 Oct 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[01:08:30] <-- Canageek has left IRC (Ping timeout: 272 seconds)
[01:25:52] <-- |Cable| has left IRC (Ping timeout: 272 seconds)
[01:39:35] --> |Cable| has joined #gemrb
[02:23:51] --> Eli2 has joined #gemrb
[02:25:36] <-- Eli2_ has left IRC (Ping timeout: 245 seconds)
[04:13:52] --> Canageek has joined #gemrb
[05:45:10] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[06:30:54] --> lynxlynxlynx has joined #gemrb
[06:30:54] <-- lynxlynxlynx has left IRC (Changing host)
[06:30:54] --> lynxlynxlynx has joined #gemrb
[06:30:54] --- ChanServ gives channel operator status to lynxlynxlynx
[07:35:39] <-- Canageek has left IRC (Quit: Leaving)
[07:47:11] --> edheldil_ has joined #gemrb
[07:50:28] <-- edheldil_ has left IRC (Client Quit)
[09:42:58] <-- WingedHussar has left IRC (Remote host closed the connection)
[10:20:05] --> WingedHussar has joined #gemrb
[13:53:32] <-- lynxlynxlynx has left IRC (Ping timeout: 248 seconds)
[13:53:50] <-- WingedHussar has left IRC (Ping timeout: 246 seconds)
[14:08:02] --> lynxlynxlynx has joined #gemrb
[14:08:02] <-- lynxlynxlynx has left IRC (Changing host)
[14:08:02] --> lynxlynxlynx has joined #gemrb
[14:08:02] --- ChanServ gives channel operator status to lynxlynxlynx
[14:52:00] --> WingedHussar has joined #gemrb
[16:10:08] --> raevol has joined #gemrb
[16:37:16] --> oZt has joined #gemrb
[17:07:14] --> Canageek has joined #gemrb
[17:07:26] <-- Canageek has left IRC (Client Quit)
[17:10:58] --> Canageek has joined #gemrb
[17:24:31] <oZt> Hello, asked in here a few days ago about not getting XP from killing monsters in BG2+ToB+bg2fixpack-v10 on gemrb 0.8? Well, the problem persists after installing 0.8.0-git and I wonder if anyone knows anything about this? Can my install of BG2 be at fault?
[17:25:35] <raevol> oZt: this channel is pretty quiet (i'm not a dev) but have you tried posting on the forum?
[17:25:50] <raevol> http://forums.gibberlings3.net/index.php?s=5923a6f9e1f91378d02c22136e8ee5fd&showtopic=25745
[17:25:52] <Pepelka> No XP for killing monsters? - The Gibberlings Three Forums
[17:25:52] <raevol> i see you have
[17:25:53] <Pepelka> »Hello, for those to which it applies: Great job with gemrb! I have a small problem though, I'm running 0.8 on arch linux, BG2 and the proble...«
[17:30:37] <oZt> Yeah, that's me.
[17:31:20] <oZt> I was just trying all the channels I could think of to solve this :D
[17:32:51] <raevol> hehe
[17:33:06] <raevol> might want to learn to code and fork the project :P
[17:38:50] <oZt> :p Don't really have that much spare time, atm my additions to this project consist of complaining.
[17:42:58] <raevol> haha ;)
[17:43:23] <oZt> Would take me quite some time to get a grip of the code base...
[17:57:49] <lynxlynxlynx> ok, that was as expected
[17:58:26] <lynxlynxlynx> did you notice any pattern?
[17:58:39] <lynxlynxlynx> if you load a save game, do the same monsters grant/not grant xp?
[17:58:49] <lynxlynxlynx> *load repeatedly
[18:04:11] <raevol> oZt: this is your moment buddy
[18:05:52] <-- edheldil has left IRC (Ping timeout: 260 seconds)
[18:14:30] <oZt> No, not really.
[18:15:08] <oZt> The only thing I can think of is that hte first kill of a type of monster grants me XP, but furhter kills does not.
[18:15:39] <oZt> This does not apply to the Otyugh or Gambion in the dungeon, since I haven't recieved XP from those, ever.
[18:16:15] <lynxlynxlynx> ok, that's a good starting point
[18:16:15] <oZt> I have done it with several (2) characters.
[18:16:28] <lynxlynxlynx> do you have gdb?
[18:16:33] <oZt> Yeah
[18:16:43] <oZt> (checks just to be sure)
[18:17:09] <oZt> Nope, did not. Installing it as we speak.
[18:18:00] <lynxlynxlynx> you'll need a debug build of gemrb for optimal results
[18:18:07] <lynxlynxlynx> oh, maybe not
[18:18:28] <lynxlynxlynx> try ccmake . # in the build dir - is it RelWithDebSym?
[18:18:42] <lynxlynxlynx> the first line i mean
[18:19:14] <oZt> Yeah
[18:19:18] <lynxlynxlynx> ok
[18:19:27] <lynxlynxlynx> did you install gemrb or just build it?
[18:19:34] <oZt> installed
[18:19:42] <lynxlynxlynx> did you remove the package first?
[18:19:50] <lynxlynxlynx> or any previous installed
[18:19:56] <lynxlynxlynx> arrr, installs
[18:20:39] <oZt> installed arch pack, installed git, removed arch pack, make install of git again
[18:21:03] <lynxlynxlynx> ok, that should be fine
[18:21:05] <oZt> Should be ok
[18:21:13] <lynxlynxlynx> it runs fine from the build dir too btw
[18:21:17] <lynxlynxlynx> so
[18:21:26] <lynxlynxlynx> now you need to run it through the debugger
[18:21:33] <oZt> yeah
[18:21:40] <lynxlynxlynx> just prepend gdb to whatever you did before
[18:21:56] <lynxlynxlynx> b GemRB::Actor::AddExperience
[18:22:42] <lynxlynxlynx> r
[18:23:00] <lynxlynxlynx> if it ran by itself, just ctrl-c first
[18:23:09] <lynxlynxlynx> and use c instead of r
[18:23:22] <oZt> So, wait
[18:23:57] --> edheldil has joined #gemrb
[18:23:57] --- ChanServ gives channel operator status to edheldil
[18:25:55] <oZt> I get something about my configfile not being a core dump, do I need to enclose my cmd with something?
[18:26:25] <lynxlynxlynx> what did you run?
[18:26:38] <oZt> gdb gemrb -c .gemrb/gemrb.cfg
[18:26:43] <lynxlynxlynx> aha
[18:27:18] <lynxlynxlynx> gdb gemrb --args -c .gemrb/gemrb.cfg
[18:27:28] <lynxlynxlynx> this way the options won't be passed to gdb itself
[18:27:53] <oZt> Ok, but I can run it as gdb gemrb now (wasn't possible before latest git)
[18:28:12] <lynxlynxlynx> if it finds your config, then ok
[18:28:42] <oZt> it does. Asks if I want to make the breakpoint pending, yes?
[18:29:18] <oZt> ".. on future shared lib load..."
[18:29:38] <lynxlynxlynx> sure
[18:29:51] <oZt> r
[18:29:53] <oZt> It's running.
[18:30:05] <oZt> Loading save game.
[18:30:10] <lynxlynxlynx> ok, now go straight for the otyugh
[18:30:38] <lynxlynxlynx> if you kill anything before, that's fine, but i want something that will fail to give xp in the end
[18:30:57] <oZt> On my way
[18:31:24] <oZt> Will take me a minute or two.
[18:33:07] <oZt> If I get XP (released sewer golem), do I just type r to conitue?
[18:34:10] <oZt> c - continue
[18:35:02] <lynxlynxlynx> c, yes
[18:35:15] <lynxlynxlynx> you can use ctrl-j to jump over the door
[18:36:24] <oZt> Oh, didn't know. Anyway, it is dead.
[18:36:43] <oZt> It did not break to give me XP, nor did it say so in-game.
[18:37:08] <lynxlynxlynx> ok
[18:37:11] <oZt> So, how do I save the dump?
[18:37:19] <lynxlynxlynx> what dump?
[18:37:44] <oZt> The run from gdb?
[18:37:55] <lynxlynxlynx> there's no need for that
[18:38:01] <oZt> Ah, ok.
[18:38:11] <lynxlynxlynx> b GemRB::Game::ShareXP
[18:38:26] <lynxlynxlynx> then find someone else that is problematic or reload
[18:38:50] <oZt> How do I get back the prombt in gdb?
[18:43:55] <lynxlynxlynx> ctrl-c
[18:44:15] <lynxlynxlynx> with the terminal in focus
[18:44:46] <oZt> Or ctrl-z I found... Duh.
[18:47:40] <oZt> Ok, killed two goblins. No XP.
[18:47:50] <oZt> After adding hte breakpoint for ShareXP
[18:47:57] <oZt> Nothing.
[18:48:27] <oZt> Or do I need to add the breakpoints and rerun the program?
[18:49:32] <lynxlynxlynx> no, that's fine
[18:51:13] <lynxlynxlynx> we don't show xp in the debug dump
[18:52:07] <lynxlynxlynx> but that doesn't matter, since the function would still get called
[18:52:26] <lynxlynxlynx> ctrl-m on one of the dead goblins and put the results in a pastebin
[18:54:34] <oZt> cursor hovering over dead goblin and pressing ctrl-m?
[18:54:53] <oZt> If yes: http://pastebin.com/Z1Qtai36
[18:54:55] <Pepelka> dead goblin - Pastebin.com
[18:56:26] <oZt> http://pastebin.com/xjX6K7Py
[18:56:27] <Pepelka> dead otyughb - Pastebin.com
[18:56:45] <lynxlynxlynx> that's better, you missed the goblin
[18:56:48] <oZt> Might have missed the goblin with the cursor, results differ quite a lot from goblin and otyugh
[18:56:54] <oZt> ^^
[18:57:44] <oZt> http://pastebin.com/4nNPbwiG
[18:57:46] <Pepelka> deader goblin - Pastebin.com
[18:59:36] <lynxlynxlynx> otyugh looks normal
[19:06:49] <lynxlynxlynx> ok, back
[19:06:59] <lynxlynxlynx> let's go further back
[19:07:08] <lynxlynxlynx> break in GemRB::Actor::Die
[19:07:35] <oZt> I did kill another goblin now, game me 60 XP
[19:07:56] <lynxlynxlynx> when you hit it, press n until you hit the end (do you get code snippets when it hits the breakpoint?)
[19:08:20] <lynxlynxlynx> if (killer) { // is where it get's interesting
[19:12:30] <oZt> Want the whole thing?
[19:13:29] <oZt> Duh, I need to redo this. Sry, using a term w/o scroll and forgot tmux for this session.. So I can't scroll back
[19:15:05] <lynxlynxlynx> no rush
[19:18:38] <oZt> Actor::Die should break on all deaths, right?
[19:18:41] <oZt>
[19:18:46] <oZt> d
[19:18:58] <oZt> 
[19:19:33] <oZt> Just killed the otyugh with the three breaks in place, nothing happened.
[19:23:45] <oZt> And now a goblin, breakpoint.
[19:30:40] <oZt> http://pastebin.com/seZ7pQwS
[19:30:42] <Pepelka> outpyt - Pastebin.com
[19:31:08] <oZt> Had some pasting problems, but now, there it is. The output! :D
[19:41:06] <oZt> Btw, if I disconnect it is due to my connection being.. not mine but my neighbour's.
[19:45:20] <lynxlynxlynx> ok, this is also as expected, but it shows the problem
[19:46:09] <lynxlynxlynx> did you continue from there or are you still at the end of the function?
[19:49:00] <oZt> I'm still at the end (unless you count the return OpenAL statements)
[19:49:42] <lynxlynxlynx> ok
[19:49:50] <lynxlynxlynx> something is odd in your output though
[19:50:16] <lynxlynxlynx> probably just scrolling related
[19:50:32] <lynxlynxlynx> if you type: bt
[19:50:47] <lynxlynxlynx> it says pcf_hitpoint for the first case?
[19:51:43] <oZt> nope
[19:53:13] <oZt> http://pastebin.com/M18sQvmy
[19:53:14] <Pepelka> more output - Pastebin.com
[19:58:01] <lynxlynxlynx> nevermind, you were out
[19:58:30] <lynxlynxlynx> what happens is that the otyugh dies from negative hitpoints and there's nobody to blame
[19:58:41] <lynxlynxlynx> since there's nobody, there's nobody to give xp to
[19:59:29] <oZt> Aha
[19:59:40] <raevol> huh
[19:59:48] <raevol> where's the negative hitpoints coming from?
[20:00:02] <oZt> So I need to be in the same area as the otyugh to get the XP? As in not firing skull traps/MMs?
[20:00:13] <oZt> from the corridor...
[20:00:30] <lynxlynxlynx> that doesn't matter
[20:00:42] <lynxlynxlynx> raevol: a kill
[20:00:55] <raevol> mmk
[20:00:56] <lynxlynxlynx> you die once the hitpoints get to zero
[20:00:59] <lynxlynxlynx> or less
[20:01:51] <oZt> I do not fully understand, why were I not there to be found by the function?
[20:02:33] <lynxlynxlynx> another object reference was null, so both ways to find the killer failed
[20:02:41] <lynxlynxlynx> i see 0.8 was in april
[20:03:14] <lynxlynxlynx> so this was before the possibly problematic change in june
[20:04:06] <lynxlynxlynx> so no progress with what went wrong
[20:04:31] <lynxlynxlynx> i get xp in code from june
[20:04:53] <lynxlynxlynx> and i'm pretty sure it worked at the time of release
[20:07:20] <oZt> Can you reproduce the problem with the current code in git?
[20:12:07] <lynxlynxlynx> i can't try now
[20:12:41] <lynxlynxlynx> but you had problems in 0.8 too, so that should be irrelevant
[20:12:46] <oZt> Yeah, right.
[20:12:54] <oZt> Well, can you reproduce at all?
[20:13:04] <lynxlynxlynx> you can try building my revision, but i expect the same results
[20:13:13] <lynxlynxlynx> git checkout 489ade9
[20:13:22] <oZt> K, I
[20:13:28] <oZt> I'll try that one.
[20:16:04] <oZt> Might lose connection now
[20:26:19] <oZt> Am I connected again?
[20:27:21] <oZt> Anyway, I've run git checkout HASH and I'm currently recompiling everything.
[20:31:51] <oZt> And unfortunately, I need to go to bed now. Start working very early tomorrow, I'm very grateful for your help, and I must say that gemrb is very nice (except for this), it's wonderful quicksaving just to see how fast it is compared to IE. Well, good night!
[20:31:55] <-- oZt has left IRC (Quit: leaving)
[21:16:39] <-- Canageek has left IRC (Ping timeout: 240 seconds)
[21:27:45] --> Canageek has joined #gemrb
[21:36:10] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:47:28] <-- Canageek has left IRC (Ping timeout: 244 seconds)
[23:51:14] <-- raevol has left IRC (Quit: Leaving.)