#exult@irc.freenode.net logs for 16 Nov 2012 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:34:14] <-- Marzo has left IRC (Ping timeout: 252 seconds)
[01:22:45] --> Dominus has joined #exult
[01:22:45] <-- Dominus1 has left IRC (Read error: Connection reset by peer)
[01:22:45] --- ChanServ gives channel operator status to Dominus
[01:35:02] --> Dominus1 has joined #exult
[01:35:02] <-- Dominus has left IRC (Read error: Connection reset by peer)
[04:00:22] --> redwar has joined #exult
[04:43:22] --> Serel has joined #exult
[05:43:13] --> Serel_ has joined #exult
[05:46:41] <-- Serel has left IRC (Ping timeout: 268 seconds)
[06:45:53] <-- Serel_ has left IRC (Ping timeout: 268 seconds)
[06:49:13] --> Serel_ has joined #exult
[07:01:17] <-- Serel_ has left IRC (Quit: If you can't laugh at yourself, make fun of other people.)
[09:17:02] --> Rottingbeef has joined #exult
[09:21:39] --> Baastuul_ has joined #exult
[09:29:49] <-- Rottingbeef has left IRC (*.net *.split)
[09:29:50] <-- redwar has left IRC (*.net *.split)
[10:32:23] <-- Colourless has left IRC (Ping timeout: 260 seconds)
[10:33:02] --> Colourless has joined #exult
[10:33:02] <-- Colourless has left IRC (Changing host)
[10:33:02] --> Colourless has joined #exult
[10:33:02] --- ChanServ gives channel operator status to Colourless
[12:03:22] <-- Kirben has left IRC ()
[12:06:48] <-- Baastuul_ has left IRC ()
[12:33:15] <Dominus1> wjp, I'm trying to bundle exultmsg.txt in the flx and am hitting a block in my hacking
[12:33:26] <Dominus1> so far I have http://pastebin.com/J4taAea3
[12:33:47] <Dominus1> and this errors on make with items.cc:215:23: error: reference to type 'const str_int_pair' could not bind to
[12:33:47] <Dominus1> an rvalue of type 'int'
[12:34:10] --- ChanServ gives channel operator status to Dominus1
[12:34:10] --- Dominus1 is now known as Dominus
[12:42:06] <wjp> I wouldn't use a str_int_pair at all, but just pass the two components directly to U7object txtobj(..., ...)
[12:42:37] <wjp> I'm not at all familiar with these functions, but I'm assuming something like U7object txtobj(BUNDLE_CHECK(BUNDLE_EXULT_FLX, EXULT_FLX), EXULT_FLX_EXULTMSG_TXT);
[12:43:14] --> Rottingbeef has joined #exult
[12:43:28] <Dominus> wow
[12:43:36] <Dominus> that compiled at least :)
[12:45:28] <Dominus> thanks. it loads the text file now but crashes eventually :(
[12:46:02] <Dominus> will bug you later more when I'm at the end of my hacking wits again :)
[13:11:03] --> TheCycoONE has joined #exult
[13:16:47] --> Marzo has joined #exult
[13:46:16] --- TheCycoONE is now known as ThCcoON
[16:03:47] --> redwar has joined #exult
[16:04:43] --> Matt_O has joined #exult
[17:08:46] <-- Dominus has left IRC (Ping timeout: 260 seconds)
[17:09:16] --> Dominus has joined #exult
[17:09:16] --- ChanServ gives channel operator status to Dominus
[18:09:40] --- ThCcoON is now known as TheCycoONE
[20:55:29] <-- ParuNexus has left IRC (Ping timeout: 260 seconds)
[20:57:55] --> ParuNexus has joined #exult
[21:09:45] <Dominus> bah, go the similar problem as I had with autonotes in the beginning. The whole setup of the exultmsg thing wants ifstream but when I read from the flex I'm getting a vector char or something like that
[21:11:26] <Eviltar_> cast aireal servant
[21:11:48] <Dominus> :)
[21:12:39] <Dominus> Eviltar_: items.cc:223:4: error: use of undeclared identifier 'cast'
[21:12:39] <Dominus> cast aireal servant;
[21:12:46] <Eviltar_> lol
[21:12:52] <Dominus> :)
[21:13:36] <Eviltar_> i would guess maybe there needs some casting to be done tho
[21:14:16] <Eviltar_> or other such wizardry
[21:26:28] <sh4rm4> Dominus, what is "the flex" ?
[21:26:49] <Dominus> depends on the context
[21:26:50] <Dominus> :)
[21:26:55] <Dominus> Exult or Vienna?
[21:27:02] <sh4rm4> i dont mean the vienna one
[21:27:13] <Dominus> :)
[21:28:02] <Dominus> flex is flx file format. and in the context I'm struggling with it's getting the exultmsg.txt into the flx (which is easy) and be correctly read form there :)
[21:28:51] <sh4rm4> a flx is some kind of sound file, right ?
[21:29:03] <Dominus> no, it's just a container
[21:29:09] <Dominus> can be anything
[21:29:23] <sh4rm4> ah
[21:29:30] <Dominus> most of our stuff in /data is flxed
[21:29:57] <Dominus> see data/flx.in for example
[21:29:59] <sh4rm4> so you'd need something like a FlexIfStream
[21:30:25] <sh4rm4> which implements the ifstream interface, but opens files inside the flex file
[21:39:20] <-- redwar has left IRC (Remote host closed the connection)
[21:49:54] <Dominus> I'm sure it can be done though... but I don't know how and can't collect any helpful fragments from other parts of the source :)
[21:55:05] <sh4rm4> you'd need to make a new class inherited from std::ifstream, that overwrites some of the functions
[21:56:07] <wjp> nothing so complicated
[21:56:34] <sh4rm4> how would you do it ?
[21:56:38] <wjp> do what?
[21:57:02] <sh4rm4> pass the flex file to functions that want an ifstream
[21:57:31] <wjp> you don't
[22:00:29] <Dominus> wjp I have http://pastebin.com/e5sJS98e
[22:01:08] <Dominus> because u7open chokes on msgs -> exult crashes after reading the file
[22:01:26] <Dominus> but read_text_msg_file doesn't compile
[22:02:15] <Dominus> the bigger problem is that Setup_item_names function also uses ifstream
[22:02:36] <Dominus> I'm starting to think I better leave exultmsg.txt out of the flx :)
[22:02:48] <wjp> in that U7open call 'msgs' is a filename
[22:03:11] <wjp> whereas after txtobj.retrieve() you already have the contents
[22:05:38] <wjp> probably easiest to have that function get msglist directly
[22:06:54] <wjp> so you'd have to move the Read_text_msg_file call to Setup_text for both the patch and non-petch case
[22:07:22] <wjp> is the goal of this just to put exultmsg.txt into the flx?
[22:08:16] <Dominus> yes, I thought I could make it cleaner after having fiddled with the autonotes but maybe this is too pointless
[22:12:26] <-- TheCycoONE has left IRC (Quit: And then there were n-1)
[22:20:50] <Dominus> sh4rm4: you seem to be from austria, possible vienna? this year we will organize the Santacon Vienna for the sixth time. Maybe something for you
[22:21:01] <Dominus> a little more up to date is the facebook page https://www.facebook.com/pages/Santacon-Vienna/150318111680311
[22:22:43] <sh4rm4> i'm currently in switzerland
[22:23:00] <sh4rm4> and i have facebook blocked ;)
[22:23:24] <sh4rm4> what's it about ?
[22:23:31] <Dominus> but you aren't clemens, right?
[22:23:33] <Dominus> :)
[22:23:36] <sh4rm4> uh, no
[22:24:06] <sh4rm4> i'm from gsiberg
[22:24:10] <Dominus> (someone i know from Vienna who works for google in zurich and has facebook blocked :))
[22:24:18] <sh4rm4> lol
[22:24:39] <Dominus> http://en.wikipedia.org/wiki/SantaCon
[22:25:34] <sh4rm4> ah.. interesting...
[22:26:14] <Dominus> I had to look up what gsiberg means :)
[22:26:23] <sh4rm4> voradlberg
[22:26:34] <Dominus> yeah, I know now
[22:27:09] <sh4rm4> because we say gsi instead of gewesen
[22:27:39] <Dominus> yeah, got that
[22:27:49] <sh4rm4> i bin amol im flex gsi means i was in the flex once
[22:28:00] <sh4rm4> which isn't true though
[22:28:21] <Dominus> I'm from southern germany and was often in switzerland. so it's not hard to figure out for me :)
[22:28:30] <sh4rm4> ah. :)
[22:29:34] <sh4rm4> my ultima 7 copy is from lyon, france
[22:30:00] <sh4rm4> i bought it there as a pupil for 40 francs or so
[22:30:11] <sh4rm4> (the cd edition)
[22:30:57] <sh4rm4> i picked it up from home the last time i travelled there
[22:31:07] --> Dominus1 has joined #exult
[22:32:02] --- ChanServ gives channel operator status to Dominus1
[22:32:02] --- Dominus is now known as Guest88743
[22:32:02] <-- Guest88743 has left IRC (Killed (holmes.freenode.net (Nickname regained by services)))
[22:32:02] --- Dominus1 is now known as Dominus
[23:00:38] --> Dominus1 has joined #exult
[23:00:38] <-- Dominus1 has left IRC (Client Quit)
[23:00:38] <-- Dominus has left IRC (Read error: Connection reset by peer)
[23:09:24] --> redwar has joined #exult
[23:12:14] --> Kirben has joined #exult
[23:12:14] --- ChanServ gives channel operator status to Kirben
[23:51:20] <Marzo> Hrm. The quintuple cycling buffer for NxBR scalers is done, but the performance improvements were rather modest
[23:51:47] <Marzo> It is faster, but now around 50% slower than HQx (instead of twice as slow)