--- Log opened Fri Sep 28 00:00:40 2012 20120928 00:00:48< anonymissimus> gn8 20120928 00:00:53-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.89 [Firefox 11.0/20120312181643]] 20120928 00:01:31-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120928 00:01:32-!- noy [~Noy@wesnoth/developer/noy] has quit [Excess Flood] 20120928 00:21:59< fendrin_> jamit: Okay, I have reassigned the bug report. 20120928 00:30:51-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20120928 01:03:22-!- MrBeast [~foo@pD950B274.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 20120928 01:13:12-!- MrBeast [~foo@pD950B274.dip0.t-ipconnect.de] has joined #wesnoth-dev 20120928 01:16:11-!- vultraz [~chatzilla@124.109.10.167] has quit [Ping timeout: 260 seconds] 20120928 01:55:23-!- MrBeast [~foo@pD950B274.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20120928 02:43:33-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20120928 02:55:32-!- markus__ [~mjs-de@d190184.adsl.hansenet.de] has joined #wesnoth-dev 20120928 02:57:28-!- markus__ [~mjs-de@d190184.adsl.hansenet.de] has quit [Client Quit] 20120928 02:58:53-!- mjs-de [~mjs-de@d117229.adsl.hansenet.de] has quit [Ping timeout: 245 seconds] 20120928 03:20:38-!- wesbot changed the topic of #wesnoth-dev to: 189 bugs, 332 feature requests, 15 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120928 03:31:32-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20120928 03:38:37-!- Alarantalara [~Adium@99.255.59.235] has quit [Quit: Leaving.] 20120928 04:07:03-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20120928 04:09:42-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20120928 04:27:34-!- Ivanovic_ [~ivanovic@dtmd-4db27ed9.pool.mediaWays.net] has joined #wesnoth-dev 20120928 04:31:04-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 265 seconds] 20120928 04:31:27-!- Ivanovic_ is now known as Ivanovic 20120928 04:37:04-!- xchat_sux [~eli@dhip-029.rrw.residences.colby.edu] has quit [Ping timeout: 246 seconds] 20120928 06:14:26-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120928 06:22:38-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20120928 07:21:23-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has quit [Read error: Connection reset by peer] 20120928 07:22:42-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has joined #wesnoth-dev 20120928 07:35:57-!- balrog [~balrog@discferret/developer/balrog] has quit [Ping timeout: 256 seconds] 20120928 07:36:24-!- Ivanovic [~ivanovic@dtmd-4db27ed9.pool.mediaWays.net] has quit [Changing host] 20120928 07:36:24-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120928 07:48:38-!- Upthorn [~ogmar@69.62.144.56] has quit [Ping timeout: 255 seconds] 20120928 07:49:20-!- Upth [~ogmar@69.62.144.56] has joined #wesnoth-dev 20120928 07:49:20-!- Upth is now known as Upthorn 20120928 07:52:20-!- balrog [~balrog@discferret/developer/balrog] has joined #wesnoth-dev 20120928 08:18:50-!- timotei [~timotei@86.124.100.155] has joined #wesnoth-dev 20120928 08:18:51-!- timotei [~timotei@86.124.100.155] has quit [Changing host] 20120928 08:18:51-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120928 08:21:42-!- ancestral [~ancestral@75-161-178-116.mpls.qwest.net] has joined #wesnoth-dev 20120928 08:22:17-!- stikonas [~gentoo@5.20.200.50] has joined #wesnoth-dev 20120928 08:22:18-!- stikonas [~gentoo@5.20.200.50] has quit [Changing host] 20120928 08:22:18-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120928 08:56:18-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120928 08:58:28-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 248 seconds] 20120928 08:59:42< Rhonda> I need some c(pp) help. I have log macro that takes two arguments: #define ERR_STRING(a,b) __log(LOG_ERR, APP_NAME ": " a " - %s\n", ((b != 0) ? b : "(null)")); 20120928 09:00:36< Rhonda> Now I though will have to put in there two variables instead of one, and I wonder what is the best way to do … would sprintf work with this macro? 20120928 09:01:01< Rhonda> Like, ERR_STRING("foo", sprintf("%s:%s", a, b) 20120928 09:01:29< Rhonda> (I *know* that this is unrelated to wesnoth, but I am uncertain where else I can find so much capable cpp coders. ;)) 20120928 09:03:31< boucman_work> Rhonda: that would probably work as in : it will compile, but I'm not sure it would do what you 20120928 09:03:54< boucman_work> first, sprintf doesn't return the string, the string is passed as an argument 20120928 09:04:12< boucman_work> it returns the length of the produced string 20120928 09:04:56< Soliton> (also the format string is the second parameter.) 20120928 09:05:12< boucman_work> I would call it as ERR_STRING("string 1","string2") and it should work 20120928 09:08:20< Soliton> i.e. first combine the two vars to string2 with snprintf or similar. 20120928 09:09:41< Rhonda> so I need to allocate the memory first into a seperate variable … 20120928 09:12:12< Soliton> yes, or you need something like std::string if you must do it all in one invocation. 20120928 09:13:56< Rhonda> I don't care about one invocation, I just don't want to stumble into some silly off-by-one errors or similar. %-) 20120928 09:15:03< Rhonda> aaah, asprintf \o/ 20120928 09:16:30< Soliton> non-standard though 20120928 09:17:54< Rhonda> Right, but windows compatibility doesn't matter in this environment. :) 20120928 09:19:59-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 260 seconds] 20120928 09:37:22-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120928 09:42:45-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20120928 09:46:23-!- balrog [~balrog@discferret/developer/balrog] has quit [Ping timeout: 245 seconds] 20120928 09:53:30-!- balrog [~balrog@discferret/developer/balrog] has joined #wesnoth-dev 20120928 09:58:53-!- balrog [~balrog@discferret/developer/balrog] has quit [Ping timeout: 245 seconds] 20120928 10:01:32-!- boucman_work1 [~rosen@193.56.60.161] has joined #wesnoth-dev 20120928 10:01:50-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 255 seconds] 20120928 10:03:03-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20120928 10:04:23-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120928 10:04:34-!- balrog [~balrog@discferret/developer/balrog] has joined #wesnoth-dev 20120928 10:05:02-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120928 10:05:02-!- shadowm_laptop is now known as Guest32406 20120928 10:05:03-!- Guest32406 [ignacio@wesnoth/developer/shadowmaster] has quit [Killed (wolfe.freenode.net (Nickname regained by services))] 20120928 10:05:03-!- shadowm_laptop2 is now known as shadowm_laptop 20120928 10:21:29-!- LordNasty [~NaSTy@93-43-163-192.ip92.fastwebnet.it] has quit [Ping timeout: 265 seconds] 20120928 10:22:14-!- LordNasty [~NaSTy@93-43-163-192.ip92.fastwebnet.it] has joined #wesnoth-dev 20120928 10:54:47-!- mjs-de [~mjs-de@80.171.190.184] has joined #wesnoth-dev 20120928 11:20:56-!- horon_ [~horon@nttkyo042189.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20120928 11:31:18-!- boucman_work1 is now known as boucman_work 20120928 11:31:28-!- boucman_work [~rosen@193.56.60.161] has quit [Changing host] 20120928 11:31:28-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120928 11:37:11-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20120928 11:47:26-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20120928 11:52:51-!- stikonas [~gentoo@5.20.200.50] has joined #wesnoth-dev 20120928 11:52:52-!- stikonas [~gentoo@5.20.200.50] has quit [Changing host] 20120928 11:52:52-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120928 12:04:29-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120928 12:15:31-!- ancestral [~ancestral@75-161-178-116.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120928 12:18:45< Rhonda> … I hate pointers in c code. 20120928 12:20:47-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 244 seconds] 20120928 13:24:41-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120928 13:33:25-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 246 seconds] 20120928 13:55:33-!- balrog [~balrog@discferret/developer/balrog] has quit [Ping timeout: 245 seconds] 20120928 14:02:54-!- balrog [~balrog@discferret/developer/balrog] has joined #wesnoth-dev 20120928 14:09:18-!- balrog [~balrog@discferret/developer/balrog] has quit [Ping timeout: 245 seconds] 20120928 14:16:49-!- balrog [~balrog@discferret/developer/balrog] has joined #wesnoth-dev 20120928 14:32:54-!- xchat_sux [~eli@dhip-029.rrw.residences.colby.edu] has joined #wesnoth-dev 20120928 14:41:46-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20120928 15:25:23-!- negusnyul [~negusnyul@dsl54020ABA.pool.t-online.hu] has joined #wesnoth-dev 20120928 16:23:01-!- negusnyul [~negusnyul@dsl54020ABA.pool.t-online.hu] has quit [Quit: Konversation terminated!] 20120928 16:32:48-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20120928 16:35:39-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120928 16:53:19-!- artisticdude [~artisticd@183.sub-70-192-207.myvzw.com] has joined #wesnoth-dev 20120928 17:15:37-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20120928 17:19:30-!- horon_ [~horon@nttkyo042189.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20120928 17:23:34-!- artisticdude [~artisticd@183.sub-70-192-207.myvzw.com] has quit [Ping timeout: 260 seconds] 20120928 17:25:42-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20120928 17:26:15-!- artisticdude [~artisticd@145.sub-70-192-195.myvzw.com] has joined #wesnoth-dev 20120928 17:31:35-!- artisticdude_ [~artisticd@145.sub-70-192-195.myvzw.com] has joined #wesnoth-dev 20120928 17:31:40-!- artisticdude [~artisticd@145.sub-70-192-195.myvzw.com] has quit [Read error: Connection reset by peer] 20120928 17:31:40-!- artisticdude_ is now known as artisticdude 20120928 18:02:00-!- LordNasty [~NaSTy@93-43-163-192.ip92.fastwebnet.it] has quit [] 20120928 18:09:42-!- MrBeast [~foo@pD9508BAF.dip0.t-ipconnect.de] has joined #wesnoth-dev 20120928 18:22:19-!- stikonas [~gentoo@5.20.200.50] has joined #wesnoth-dev 20120928 18:22:20-!- stikonas [~gentoo@5.20.200.50] has quit [Changing host] 20120928 18:22:20-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120928 18:22:53-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20120928 19:00:16-!- artisticdude_ [~artisticd@174.sub-70-192-196.myvzw.com] has joined #wesnoth-dev 20120928 19:02:12-!- artisticdude [~artisticd@145.sub-70-192-195.myvzw.com] has quit [Ping timeout: 248 seconds] 20120928 19:02:13-!- artisticdude_ is now known as artisticdude 20120928 19:02:38-!- artisticdude [~artisticd@174.sub-70-192-196.myvzw.com] has quit [Client Quit] 20120928 19:07:31-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 245 seconds] 20120928 19:11:51-!- Upthorn [~ogmar@69.62.144.56] has quit [Ping timeout: 256 seconds] 20120928 19:13:05-!- csarmi [csarmi@92-249-148-128.pool.digikabel.hu] has joined #wesnoth-dev 20120928 19:15:20-!- csarmi_home [csarmi@94-21-80-164.pool.digikabel.hu] has quit [Ping timeout: 255 seconds] 20120928 19:34:22-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120928 19:39:34-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20120928 19:42:14-!- ejls [~Epsilon01@88.190.209.93] has quit [Ping timeout: 240 seconds] 20120928 19:46:58-!- negusnyul [~negusnyul@dsl54020ABA.pool.t-online.hu] has joined #wesnoth-dev 20120928 20:03:28-!- Ingeniumed [u5855@gateway/web/irccloud.com/x-unozrydvwbqoeath] has joined #wesnoth-dev 20120928 20:21:23-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120928 20:39:47-!- ancestral [~ancestral@75-161-178-116.mpls.qwest.net] has joined #wesnoth-dev 20120928 20:56:06-!- vultraz [~chatzilla@124.109.10.167] has quit [Read error: Connection reset by peer] 20120928 20:56:53-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20120928 21:06:09-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20120928 21:11:27-!- negusnyul is now known as prkc 20120928 21:12:21-!- ancestral [~ancestral@75-161-178-116.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120928 21:13:42-!- timotei [~timotei@188.24.7.64] has joined #wesnoth-dev 20120928 21:13:42-!- timotei [~timotei@188.24.7.64] has quit [Changing host] 20120928 21:13:42-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120928 21:30:08-!- stikonas [~gentoo@5.20.200.50] has joined #wesnoth-dev 20120928 21:30:09-!- stikonas [~gentoo@5.20.200.50] has quit [Changing host] 20120928 21:30:09-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120928 21:36:44-!- kratara [~kratara@20.246.97.84.rev.sfr.net] has joined #wesnoth-dev 20120928 21:37:42< kratara> hi, is there a way to customise information displayed in wesnoth without building it ? 20120928 21:38:28< loonycyborg> That depends on what information you're talking about. 20120928 21:39:30< kratara> i want to customise the "damage calculation" or the "attack the ennemy" (where we chose the weapons) 20120928 21:39:40< kratara> to add some missing statistical data 20120928 21:40:10-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120928 21:40:33< kratara> a colleague said to me that it's possible but i didn't find doc on the wiki about that 20120928 21:45:04-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has quit [Quit: Konversation terminated!] 20120928 21:51:05-!- MrBeast [~foo@pD9508BAF.dip0.t-ipconnect.de] has left #wesnoth-dev ["Bye."] 20120928 21:58:44-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20120928 22:26:38-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20120928 22:39:39-!- kratara [~kratara@20.246.97.84.rev.sfr.net] has quit [Quit: Leaving] 20120928 22:58:10< shadowm> loonycyborg: Is it possible to make a campaignd request time out? 20120928 22:59:05< shadowm> I implemented a server identification command in a private branch some time ago, but I discovered that campaignd doesn't check for invalid requests, so a client sending the request to a campaignd that doesn't understand it could be waiting eternally for a response that will never arrive. 20120928 23:00:05< loonycyborg> There are two ways to handle that: keepalive and a timer. 20120928 23:00:15< shadowm> Granted, I _could_ rebuild all the campaignds on wesnoth.org with support for that request, but let's assume I still can't do that. :p 20120928 23:00:20< loonycyborg> I guess keepalive won't help in that particular case though.. 20120928 23:01:20< shadowm> The add-ons client in trunk basically just calls network_asio::connection::transfer(). 20120928 23:01:40< shadowm> So I would have to implement my own timer in the client layer? 20120928 23:02:08< loonycyborg> Yeah. 20120928 23:02:22< shadowm> And waits on gui2::tnetwork_transmission::show(). 20120928 23:03:11< shadowm> So the timer would have to be added to that dialog. 20120928 23:03:21< shadowm> Hm. 20120928 23:04:11< shadowm> GUI2 has a timer thing IIRC. 20120928 23:04:59< loonycyborg> Actually, I probably should add an arg to connection::transfer() for a timeout. 20120928 23:05:28< loonycyborg> But I was really hoping I could get away with using keepalive :P 20120928 23:06:10< loonycyborg> Actually, how exactly do you get infinite wait in your case? 20120928 23:06:32< shadowm> Uh, never mind, it doesn't have a timer thing, just a clock test that relies on a draw callback. 20120928 23:07:16< shadowm> loonycyborg: I didn't wait longer than a minute to see what happened. 20120928 23:08:07< shadowm> Since the idea is to ask campaignd for its identification when connecting, such a transaction should time out within less than 15 seconds. 20120928 23:08:44< shadowm> Hm. Or maybe I should stick to the "I can rebuild campaignd plan" and give all official campaignds this capability. 20120928 23:09:02< loonycyborg> I've once managed to produce such a situation by passing wrong size of compressed data to make other side wait for data that'll never will be sent. 20120928 23:09:12-!- prkc is now known as negusnyul 20120928 23:09:20< shadowm> I'm just not sure why campaignd wasn't designed to complain about invalid requests in the first place. 20120928 23:09:28< loonycyborg> But it's clearly a pathological situation. 20120928 23:18:44-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20120928 23:27:51-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20120928 23:51:25-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20120928 23:58:44-!- ejls [~Epsilon01@mszy.domu.7un.net] has joined #wesnoth-dev --- Log closed Sat Sep 29 00:00:40 2012