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

Archive Today Yesterday Tomorrow
GemRB homepage


[00:46:56] <-- brad_ has left IRC (Quit: brad_)
[00:51:31] <-- xrogaan has left IRC (*.net *.split)
[00:58:00] --> xrogaan has joined #gemrb
[01:09:17] --> joneirik has joined #gemrb
[01:10:46] --> brad_ has joined #gemrb
[01:23:06] <brad_> tomprince, lynx, wjp: https://github.com/bradallred/gemrb/compare/bradallred:master...bradallred:MessageWindowLogger
[01:24:05] <brad_> i hope others find this as usefull as i do :)
[02:12:02] <-- brad_ has left IRC (Quit: brad_)
[02:31:37] --> xrogaan_ has joined #gemrb
[02:31:37] <-- xrogaan_ has left IRC (Changing host)
[02:31:37] --> xrogaan_ has joined #gemrb
[02:31:54] <-- xrogaan has left IRC (Ping timeout: 260 seconds)
[02:52:37] --> jzmer_ has joined #gemrb
[02:52:50] <jzmer_> how do gemrb folks think of bgee?
[02:53:10] <jzmer_> from overhaul, a division of beamdog, a collection of former bioware employees?
[04:04:12] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[05:32:54] <-- joneirik has left IRC (Quit: Get used to disappointment.)
[08:58:00] --> nutron has joined #gemrb
[09:06:02] --> Yoshimo has joined #gemrb
[09:28:09] --> kettuz has joined #gemrb
[09:50:33] <-- jzmer_ has left IRC (Ping timeout: 245 seconds)
[09:58:43] <-- wrotek has left IRC (Read error: Connection reset by peer)
[10:04:45] --> wrotek has joined #gemrb
[10:06:36] --> CIA-58 has joined #gemrb
[10:08:00] --> kettuz_ has joined #gemrb
[10:09:02] <-- kettuz has left IRC (*.net *.split)
[10:09:03] <-- CIA-31 has left IRC (*.net *.split)
[11:53:14] <traveler> hi guys
[11:53:26] <traveler> i rethought few things about xptables
[11:53:33] <traveler> anybody want to talk about it?
[11:54:04] <-- Yoshimo has left IRC (Quit: Yoshimo)
[12:07:44] <-- kettuz_ has left IRC (Quit: Leaving)
[12:08:38] <-- wrotek has left IRC (Read error: Connection reset by peer)
[12:08:42] <traveler> very funny :P
[12:17:08] --> Yoshimo has joined #gemrb
[13:37:58] --> barra_home has joined #gemrb
[13:41:00] --> brad_ has joined #gemrb
[13:42:12] <traveler> hi brad, are you interested in continuation of xptable talk? I rethought few things.
[13:42:27] <brad_> go ahead and share
[13:43:01] <traveler> ok
[13:43:37] <traveler> in original games, there are 2 files controlling levelling of characters
[13:43:47] <traveler> xplevel.2da and
[13:43:56] <traveler> xpcap.2da
[13:44:35] <traveler> although game share ruleset (ad&d 2nd) there are differences
[13:44:46] <traveler> druid path different for example
[13:45:11] <traveler> *not speaking of iwd2 which is 3rd
[13:45:17] <traveler> now some links
[13:45:18] <brad_> right
[13:45:29] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_tots/xplevel.htm
[13:45:40] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_tots/xpcap.htm
[13:46:10] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_tob/xplevel.htm
[13:46:26] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_tob/xpcap.htm
[13:46:58] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_totl/xplevel.htm
[13:47:24] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_totl/xpcap.htm
[13:47:29] <traveler> and iwd2
[13:47:46] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_iwd2/xplevel.htm
[13:47:54] <brad_> cool
[13:48:12] <brad_> should have thought to look on iesdp yesterday
[13:48:17] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_iwd2/xpcap.htm
[13:48:26] <traveler> yes
[13:48:36] <traveler> bear with me a little longer
[13:48:45] <brad_> does gemrb have xpcap.2da?
[13:48:56] <traveler> that's the point
[13:49:09] <traveler> looks like gemrb doesn't have cap
[13:49:16] <traveler> nor properly imports xptables
[13:49:49] <traveler> original mods (uncapping) just modified xpcap by addinfg '-1'
[13:50:10] <traveler> those that expanded beyond 20, 30 or 40lvl
[13:50:15] <traveler> needed to expand xptables
[13:50:54] <traveler> but when I played gemrb with tots I had those error after 18lvl or 2750000
[13:51:01] <traveler> this should not be end of table
[13:51:48] <traveler> moreover I couldn't find xptables.2da in my data. is it possible that it's zipped somwehre?
[13:52:04] <wjp> are you mixing xptables and xplevel?
[13:52:18] <traveler> essentialy, i have no idea where does gemrb takes tables now, as just taking from tots should give to 20
[13:52:47] <traveler> could be
[13:53:13] <traveler> NextLevel = GemRB.LoadTable ("xplevel")
[13:53:40] <traveler> but i have no xplevel.2da in date in my install and i don't know where from gemrb gets it
[13:53:45] <traveler> *in data
[13:53:55] <wjp> how are you looking?
[13:54:06] <wjp> I assume with some kind of IE data viewer?
[13:54:14] <traveler> find /mnt/* -name '*2da*
[13:54:19] <wjp> ah
[13:54:29] <traveler> find /mnt/* -name '*2DA*
[13:54:33] <wjp> almost all data files are in BIF archives
[13:54:46] <traveler> hah
[13:55:07] <wjp> (by the way, -iname is a case insensitive version of -name)
[13:55:07] <brad_> doesnt gemrb override system allow you to add a 2da to override any that are in game?
[13:55:14] <wjp> yes
[13:55:22] <traveler> ok, so one prroblem is explained
[13:55:24] <brad_> so there is no problem
[13:55:32] <traveler> but it does not explain
[13:55:52] <traveler> why xplevel in gemrb ends at 18lvl
[13:56:21] <brad_> well you would have to unarchive and examine the 2da from TOSC
[13:56:40] <traveler> i will
[13:56:49] <traveler> but i'm assuming it should be the same as iesdp
[13:56:50] <brad_> or simply add an override of your own
[13:56:59] <traveler> that is,
[13:57:03] <brad_> well try it
[13:57:05] <traveler> http://iesdp.gibberlings3.net/files/2da/2da_tots/xplevel.htm
[13:57:15] --> wrotek has joined #gemrb
[13:57:42] <brad_> yeah i saw that
[13:58:03] <brad_> but if it is that way it doesnt explain why my hack let you get farther
[13:58:20] <traveler> *and mods authors who want to go beyond ... wil probably just put proper 2da anyway, so it's their buisness
[13:58:29] <traveler> your hack
[13:58:36] <traveler> made mu jump after 18lvl
[13:58:39] <traveler> to 40lvl
[13:58:44] <traveler> instantly
[13:58:52] <traveler> which is not right too
[13:58:53] <brad_> right because i wasnt calculating xp correctly at all
[13:58:57] <traveler> but should be at the limit of tob
[13:59:06] <brad_> it was just a test you know :)
[13:59:30] <traveler> np, i thought it was supposed to go x2 at each lvl
[13:59:43] <brad_> well i assume i made a mistke
[14:00:00] <brad_> or you used one of my previous ones
[14:00:01] <traveler> or I incorrectly edited, nvm
[14:00:04] <brad_> either way
[14:00:06] <traveler> now question is,
[14:00:18] <traveler> how too unbiff on freebsd :P
[14:00:28] <brad_> well you dont really need to
[14:00:38] <brad_> just make an override 2da and see if that works
[14:00:55] <brad_> just needs to have the same name i think
[14:01:36] <traveler> will try in a moment
[14:05:30] <traveler> assuiming i correctly made .2da file
[14:05:34] <traveler> same problem
[14:06:30] <traveler> how can i check if it's using .2da from override?
[14:07:18] <traveler> [ResourceManager]: Found 'xplevel.2da' in 'Override'
[14:07:22] <traveler> that would be it i think
[14:08:01] <wjp> yes
[14:08:40] <traveler> http://pastebin.com/vP6V0Qdn
[14:08:52] <traveler> essentially the same as before
[14:10:05] <brad_> curious
[14:10:32] <brad_> you could and some print statements to the python function
[14:10:47] <brad_> in LUCommon.GetNextLevelExp
[14:11:04] <traveler> btw, my fabulous instadeath upon entering ar5900 save is available at request ;)
[14:11:04] <brad_> just output the column count and requested lvl
[14:11:06] <traveler> brb
[14:21:05] <wjp> the current level determined from XP is 40 according to that levelup output
[14:22:49] <traveler> that's wrong too
[14:23:52] <wjp> how much XP does this char have?
[14:24:56] <brad_> a slightly tweaked version of what i posted yesterday
[14:24:57] <brad_> https://github.com/bradallred/gemrb/compare/bradallred:master...bradallred:MessageWindowLogger
[14:26:15] <brad_> hmm maybe thats why you leveled up to 40 with my hack
[14:26:31] <brad_> i see current lvl 18 and nextlvl 19 tho
[14:27:11] <wjp> "Levels: [40, 0, 0]" is the output from GetNextLevelFromExp
[14:27:16] <brad_> but i asume the array of 3 is for the 3 possible classes
[14:27:19] <brad_> right
[14:27:21] <wjp> yes
[14:27:29] <wjp> (and 40 is a fallback for XP > table)
[14:28:08] <brad_> where?
[14:28:26] <wjp> in GetNextLevelFromExp
[14:28:29] <traveler> yes
[14:28:35] <traveler> i confirmed it with clean install
[14:29:00] <traveler> after 18lvl/2500000 -> 2750000 it gets suddenly 40
[14:29:28] <brad_> wjp: what table?
[14:30:48] <traveler> xplevel i think?
[14:31:21] <wjp> just looking at the source is no doubt faster than asking me :-)
[14:31:32] <wjp> (yes, xplevel)
[14:32:02] <traveler> but it does not end at 2750000 that's the problem
[14:32:42] <traveler> it should end at 3750000/ 20lvl for fighter
[14:38:38] <-- brad_ has left IRC (Quit: brad_)
[15:09:19] --> brad_ has joined #gemrb
[15:31:02] <traveler> basically '19' and '20' column in xptable.2da are ignored. Maybe column count is incorrect? But it does not make sense, as XPs required to next lvl are correct. Maybe last columns are not imported/used? Sorry, it's beyond me.
[15:31:10] <traveler> i'm going away
[15:43:25] <wjp> more likely just an off-by-one in there
[15:48:07] <traveler> yes, right. 2750000 is displayed.
[15:56:55] <traveler> i wonder how other games behave. but i presume you also know exactly how .2da files are imported, so we could say, thats, uhm.. 'solved'. reported at least.
[16:54:18] <CIA-58> GemRB: 03bradallred * rce3ffe068cbf 10gemrb/gemrb/core/ (DialogHandler.cpp GUI/TextArea.cpp): TextArea: prevent recursion when using a MessageWindowLogger
[16:54:19] <CIA-58> GemRB: 03bradallred * r394b67bd6036 10gemrb/ (11 files in 7 dirs): Merge branch 'MessageWindowLogger'
[16:54:19] <CIA-58> GemRB: 03bradallred * r89cb74687095 10gemrb/gemrb/ (3 files in 3 dirs): Add a GUIScript command to add/remove a MessageWindowLogger
[16:54:21] <CIA-58> GemRB: 03bradallred * r49ebbee131f2 10gemrb/ (4 files in 3 dirs): Add a MessageWindowLogger class
[16:54:21] <CIA-58> GemRB: 03bradallred * r997134a482a6 10gemrb/gemrb/core/System/ (Logging.cpp Logging.h): Logging: add a method to remove loggers
[16:54:31] <CIA-58> GemRB: 03bradallred * r7467ec5a6daa 10gemrb/gemrb/core/System/Logger/ (MessageWindowLogger.cpp MessageWindowLogger.h): Add a MessageWindowLogger class
[17:00:32] <brad_> we need to go on a major bug hunt
[17:00:59] <brad_> unfortunately i dont know if i can be much help
[17:08:33] <-- brad_ has left IRC (Quit: brad_)
[18:11:11] <traveler> who broke GUIScript.cpp ? :P
[18:11:14] --> brad_ has joined #gemrb
[18:13:27] <traveler> GUIScript.cpp:(.text+0x1c36): undefined reference to `GemRB::getMessageWindowLogger()' GUIScript.cpp:(.text+0x1c41): undefined reference to `GemRB::getMessageWindowLogger()' GUIScript.cpp:(.text+0x1c61): undefined reference to `GemRB::getMessageWindowLogger()' GUIScript.cpp:(.text+0x1cb1): undefined reference to `GemRB::createMessageWindowLogger()' collect2: error: ld returned 1 exit status *** [gemrb/plugins/GUIScript.so] Error code
[18:16:30] <brad_> how are you building?
[18:17:25] <traveler> http://pastebin.com/ZpuVqKdW
[18:17:29] <traveler> that should be more readable
[18:17:41] <traveler> by issuing 'make' in build/
[18:17:44] <traveler> sama as always
[18:17:50] <traveler> gcc47
[18:17:56] <traveler> i will be back in a while
[18:17:57] <brad_> did you do a clean? and re-run cmake?
[18:18:27] <brad_> you cant just keep using the same make set and expect it to work when new source files are added :)
[18:18:36] <traveler> well doh
[18:18:39] <traveler> i cleaned
[18:18:47] <traveler> but will see with cmake
[18:19:14] <brad_> id delete the build dir and start over
[18:19:38] <brad_> but doing make clean and re running cmake should also work
[18:26:20] <brad_> wow. finally SDL has a cross-platform API for the soft keyboard
[18:27:15] <brad_> should help the android build out if beholder can ever get events to work at all
[18:27:28] <traveler> still
[18:27:39] <traveler> i've nuked build directory
[18:27:44] <traveler> and run cmake
[18:28:03] <traveler> and was ready to say that was not my brightest moment
[18:28:28] <traveler> but the problem stands
[18:28:41] <brad_> then i probably should have tested the cmake :p
[18:29:05] <brad_> i added the cpp file to it i dont know what else i shoud have done
[18:32:36] <traveler> i'm still confused by cmake to be honest
[18:32:47] <traveler> i barely comprehend simple makefiles ;)
[18:32:57] <brad_> yeah. cmake is great but i have a hard time finding documentation
[18:33:08] <brad_> and the docs that are out there are hard to follow for a noob
[18:33:43] <brad_> im not sure what to do here
[18:34:49] <brad_> oh im dumb i think
[18:35:02] <brad_> i should have added that to GUIScripts.so and not where i did
[18:35:53] <traveler> do you confirmed my problem?
[18:36:02] <brad_> except the way im building it it is in gemrb_core and it links fine
[18:36:05] <brad_> well yes
[18:36:07] <traveler> there is always a possibility theres my fault ;)
[18:36:59] <brad_> no
[18:37:13] <brad_> its mine i just dont know how to fix it off the top of my head
[18:37:41] <brad_> as far as i can see it should be build into gemrb_core and when guiscript.so is linked to that it should find it
[18:40:06] <brad_> i have to go but wjp or tomprince may know what i did wrong
[18:40:13] <traveler> np
[18:40:15] <-- brad_ has left IRC (Quit: brad_)
[18:40:48] <wjp> this is a symbol visibility issue
[18:40:52] <wjp> not related to cmake
[18:41:41] <wjp> let me try to remember how gemrb handled this
[18:44:54] <CIA-58> GemRB: 03wjpalenstijn * raa7a36d87586 10gemrb/gemrb/core/System/Logger/MessageWindowLogger.h: Fix build (symbol visibility)
[18:44:57] <wjp> traveler: try now?
[18:58:53] <traveler> ok
[19:00:11] <wjp> (clean/re-cmake really shouldn't be necessary)
[19:00:56] <traveler> works
[19:01:03] <traveler> thanks
[19:01:05] <wjp> great
[19:01:06] <wjp> no problem
[19:24:59] --> kettuz has joined #gemrb
[19:54:18] --> lynxlynxlynx has joined #gemrb
[19:54:18] <-- lynxlynxlynx has left IRC (Changing host)
[19:54:18] --> lynxlynxlynx has joined #gemrb
[19:54:18] --- ChanServ gives channel operator status to lynxlynxlynx
[20:46:50] <traveler> i have replicable segmentation fault
[20:47:01] <traveler> and save before
[20:55:52] <lynxlynxlynx> good
[20:56:11] <lynxlynxlynx> do you have a debug build?
[21:08:30] <traveler> hm
[21:08:35] <traveler> hard to say
[21:08:41] <traveler> i think that by default
[21:08:47] <traveler> git build with debug
[21:08:57] <traveler> but i had to tinker with cmakecache
[21:09:07] <traveler> to change compiler/flags
[21:10:38] <traveler> which cmake flags are used by default in git?
[21:10:58] <traveler> just 'make' in build/
[21:11:07] <traveler> //Flags used by the compiler during Release with Debug Info builds. ?
[21:21:26] <wjp> -O2 -g I think
[21:24:45] <traveler> it is
[21:25:49] <traveler> if this is default flagset it's -02 -g indeed (release with debug)
[21:29:40] <-- lynxlynxlynx has left IRC (Read error: Operation timed out)
[22:18:55] <-- Yoshimo has left IRC (Quit: Yoshimo)
[22:40:48] <traveler> i've met elminster in beregost, chapter3... near blacksmith. chloe was nowhere to be found
[22:40:50] <traveler> and
[22:40:53] <traveler> [GSUtils]: Executing DestroySelf() in EscapeAreaCore
[22:41:00] <traveler> Segmentation fault (core dumped)
[22:41:24] --> Yoshimo has joined #gemrb
[22:45:15] <traveler> but it's not replicable
[22:47:37] <-- Drakkar has left IRC (Ping timeout: 240 seconds)
[22:49:17] <-- kettuz has left IRC (Quit: Leaving)
[22:51:50] --> Drakkar has joined #gemrb
[22:54:34] <-- Yoshimo has left IRC (Quit: Yoshimo)
[23:09:14] <-- DrMcCoy has left IRC (Read error: Operation timed out)
[23:16:37] --> DrMcCoy has joined #gemrb