--- Log opened Mon Nov 21 00:00:37 2011 20111121 00:01:23-!- Blueblaze [~Blueblaze@adsl-99-171-162-79.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20111121 00:04:33-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20111121 00:09:26< anonymissimus> Soliton: thats about what I had in mind/tried 20111121 00:09:53< anonymissimus> although I guess just do_init_side is better 20111121 00:10:15< anonymissimus> thats what gets called by the replay code directly in case the side sends init_side 20111121 00:10:37< anonymissimus> in case it doesn't disconnect or quit 20111121 00:10:59< anonymissimus> fendrin: under what circumstances is that function called ? 20111121 00:11:08< anonymissimus> cfun_ai_execute_recruit 20111121 00:11:38< anonymissimus> is that function called even if no lua ai is present ? 20111121 00:12:18< Soliton> anonymissimus: you tried that and it failed? 20111121 00:12:53< anonymissimus> Soliton: I dont know why it failed...I'll give it another shot 20111121 00:12:53< Soliton> anonymissimus: you need to call init_side or otherwise make sure [init_side] is added to the replay. 20111121 00:13:00< anonymissimus> yep 20111121 00:13:52< anonymissimus> fendrin: cfun_ai_execute_recruit looks like a callback function which is only called by the lua ai coder 20111121 00:13:56< Soliton> (so do_init_side is not enough but you get the idea...) 20111121 00:14:23< anonymissimus> meaning if there is no lua ai in the scenario it's not called (as here) 20111121 00:19:11< fendrin> anonymissimus: Ah yes, thank you. That information is bringing me forward, at least I know where I don't have to search for the cause. 20111121 00:24:54< anonymissimus> fendrin: well why don't you set a breakpoint into that function and reproduce the test case ? so you could see that it is (probably) not called 20111121 00:25:36< anonymissimus> thats about what I'd do to be sure 20111121 00:26:02< fendrin> anonymissimus: hmm, good point. May I ask how exactly the test case is? It isn't exactly clear to me. What is a "survival style" scenario? 20111121 00:29:08< anonymissimus> fendrin: play any MP game with 2 human sides and an ai 20111121 00:29:17< anonymissimus> isars cross for instance 20111121 00:29:38< anonymissimus> survival is humans vs 1 powerful ai 20111121 00:30:33< fendrin> Cool, seems easy. Too bad that my workaround already fixed the crash. But I can reastate the bug. 20111121 00:31:33< anonymissimus> and it needs to be on the server 20111121 00:31:45< anonymissimus> the crash only happens for the non-host instance 20111121 00:32:24< fendrin> good to know 20111121 00:33:37< fendrin> Does that mean that I have to start several instances of Wesnoth and connect them to the mp server or is it enough with one instance and many virtual players? 20111121 00:34:20-!- Kolbur [~die@89.204.130.82] has left #wesnoth-dev [] 20111121 00:37:55< anonymissimus> the former 20111121 00:38:09< anonymissimus> at least 2 instances 20111121 00:38:36< anonymissimus> otherwise you don't have networked mp 20111121 00:39:06< anonymissimus> or even better 2 computers, but I never did that 20111121 00:48:26< anonymissimus> atm I'm seeing the usual quads-font-not-working-on-win-bug 20111121 00:49:00-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20111121 00:49:09< anonymissimus> in the titlescreen quick trai tip, and precisely the words enclose in ... 20111121 00:52:56-!- happygrue [~George@wesnoth/developer/wintermute] has quit [Read error: Connection reset by peer] 20111121 00:56:31-!- happygrue [~George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20111121 00:58:39< fendrin> anonymissimus: Thank you, good night :-) 20111121 00:59:58-!- Gallaecio [~quassel@84.120.216.157.dyn.user.ono.com] has quit [Remote host closed the connection] 20111121 01:01:24-!- Gambit is now known as Gambit[\test] 20111121 01:01:58-!- Gambit[\test] is now known as Gambit[test] 20111121 01:02:04-!- Gambit[test] is now known as Gambit 20111121 01:02:45-!- happygrue [~George@wesnoth/developer/wintermute] has quit [Read error: Connection reset by peer] 20111121 01:08:59-!- happygrue [~George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20111121 01:22:20-!- vultraz [~chatzilla@124.109.10.221] has quit [Ping timeout: 252 seconds] 20111121 01:32:45< anonymissimus> is it normal that in the first turn one doesn't get income addded to current gold ? 20111121 01:35:31< anonymissimus> at least ti worked now 20111121 01:37:59-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: done building targets] 20111121 01:58:18-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20111121 02:05:53-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20111121 02:16:01-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20111121 02:21:02-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20111121 02:23:35-!- knotwork [~markm@unaffiliated/knotwork] has quit [Read error: Connection reset by peer] 20111121 02:24:04-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20111121 02:24:41-!- knotwork [~markm@unaffiliated/knotwork] has quit [Read error: Connection reset by peer] 20111121 02:25:05-!- knotwork [~markm@142.177.233.143] has joined #wesnoth-dev 20111121 02:25:05-!- knotwork [~markm@142.177.233.143] has quit [Changing host] 20111121 02:25:05-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20111121 02:29:01-!- Romster [~Romster@unaffiliated/romster] has quit [Quit: Geeks shall inherit properties and methods of object earth.] 20111121 02:52:12-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20111121 03:03:11-!- Blueblaze [~Blueblaze@adsl-99-171-162-79.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20111121 03:03:43-!- Blueblaze [~Blueblaze@adsl-99-171-162-79.dsl.hstntx.sbcglobal.net] has quit [Client Quit] 20111121 03:52:37-!- Elvish_Pillager [~eli@dhip-149.coburn.residences.colby.edu] has quit [Ping timeout: 244 seconds] 20111121 03:52:38-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20111121 03:56:50-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20111121 04:05:13-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20111121 04:31:14-!- un214 [~un214@75.45.20.64] has joined #wesnoth-dev 20111121 04:55:34-!- Ivanovic_ [~ivanovic@dtmd-4db2e61c.pool.mediaWays.net] has joined #wesnoth-dev 20111121 04:58:29-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 252 seconds] 20111121 04:59:30-!- Ivanovic_ is now known as Ivanovic 20111121 05:12:58-!- dtiger [~dtiger@dynamic-vpdn-93-125-15-143.telecom.by] has joined #wesnoth-dev 20111121 05:14:52-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20111121 05:25:15-!- un214 [~un214@75.45.20.64] has quit [Remote host closed the connection] 20111121 05:26:32< AI0867> Soliton: so, shards are shared by a number of threads, the number of which can vary depending on whether they're managed or not? 20111121 05:32:53< CIA-81> ai0867 * r52033 /trunk/src/network_worker.cpp: Flush buffers when closing a funtioning socket. This fixes a race between error messages and disconnections. 20111121 05:32:55< AI0867> Soliton: please verify ^ 20111121 05:33:26< AI0867> flush_buffers *could* check return values, but I doubt this matters much 20111121 05:59:23-!- dtiger [~dtiger@dynamic-vpdn-93-125-15-143.telecom.by] has quit [Remote host closed the connection] 20111121 06:46:58-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Quit: ZNC - http://znc.sourceforge.net] 20111121 07:35:21-!- crimson_pingvin [~ben@S0106602ad06b8003.vc.shawcable.net] has joined #wesnoth-dev 20111121 07:35:32-!- crimson_pingvin [~ben@S0106602ad06b8003.vc.shawcable.net] has quit [Changing host] 20111121 07:35:32-!- crimson_pingvin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20111121 07:38:00-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Ping timeout: 260 seconds] 20111121 07:38:00-!- crimson_pingvin is now known as crimson_penguin 20111121 07:50:17-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20111121 07:52:18< zookeeper> anonymissimus, yes, that's how it's supposed to work. 20111121 08:33:30-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20111121 09:04:33< Soliton> AI0867: no, actually i was wrong before the total number of threads is shards times min_threads (--threads), so 7*30=210 threads for stable servers. 20111121 09:06:09< Soliton> AI0867: commit looks good. 20111121 09:17:32< Soliton> trunk server restarted. 20111121 09:20:50< zookeeper> Ivanovic, umm, boucman asked me to commit a patch which adds a new terrain type (the unwalkable overlay). is that acceptable compatibility breaking? 20111121 09:22:35< zookeeper> well... to be more precise he asked me to "handle" it and even the submitter noted that it's too late for 1.10, so i guess i'll just postpone it. 20111121 09:23:57-!- vultraz [~chatzilla@124.109.10.221] has joined #wesnoth-dev 20111121 09:30:02-!- Sytyi [~Sytyi@176.8.137.49] has joined #wesnoth-dev 20111121 09:37:09-!- horon [~horon@nttkyo732168.tkyo.nt.adsl.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20111121 09:55:23-!- Sytyi [~Sytyi@176.8.137.49] has quit [Read error: Connection timed out] 20111121 10:04:44-!- vultraz_ubuntu [~chatzilla@124.109.10.106] has joined #wesnoth-dev 20111121 10:11:47-!- Samual [gitkf-e@c-71-195-88-69.hsd1.pa.comcast.net] has quit [Read error: Connection reset by peer] 20111121 10:11:48-!- Samual [gitkf-e@c-71-195-88-69.hsd1.pa.comcast.net] has joined #wesnoth-dev 20111121 10:15:49-!- Samual [gitkf-e@c-71-195-88-69.hsd1.pa.comcast.net] has quit [Ping timeout: 240 seconds] 20111121 10:16:46-!- Samual [gitkf-e@c-71-195-88-69.hsd1.pa.comcast.net] has joined #wesnoth-dev 20111121 10:24:12-!- vultraz_ubuntu [~chatzilla@124.109.10.106] has quit [Ping timeout: 245 seconds] 20111121 11:01:12-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has joined #wesnoth-dev 20111121 11:11:58-!- Ivanovic [~ivanovic@dtmd-4db2e61c.pool.mediaWays.net] has quit [Changing host] 20111121 11:11:58-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20111121 11:13:22< Ivanovic> moin 20111121 11:21:57-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20111121 12:02:00-!- fendrin [~fabi@88-134-14-215-dynip.superkabel.de] has quit [Remote host closed the connection] 20111121 12:10:28-!- loonybot [~loonybot@ppp109-252-63-154.pppoe.spdop.ru] has joined #wesnoth-dev 20111121 12:10:34-!- loonybot [~loonybot@ppp109-252-63-154.pppoe.spdop.ru] has quit [Changing host] 20111121 12:10:34-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20111121 12:23:46< CIA-81> ivanovic * r52034 /trunk/po/ (wesnoth-dm/gl.po wesnoth-ei/gl.po): updated Galician translation 20111121 13:32:15-!- Vorpal [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20111121 13:47:52-!- Octalot [~noct@host86-182-34-115.range86-182.btcentralplus.com] has quit [Ping timeout: 240 seconds] 20111121 14:00:50-!- Elvish_Pillager [~eli@dhip-149.coburn.residences.colby.edu] has joined #wesnoth-dev 20111121 14:33:47-!- horon_ [~horon@nttkyo235080.tkyo.nt.adsl.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20111121 14:35:21-!- horon [~horon@nttkyo732168.tkyo.nt.adsl.ppp.infoweb.ne.jp] has quit [Ping timeout: 244 seconds] 20111121 14:36:29-!- Octalot [~noct@host86-182-34-115.range86-182.btcentralplus.com] has joined #wesnoth-dev 20111121 14:39:34-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20111121 15:24:40-!- chpln [~chpln@ppp118-210-200-155.lns20.adl6.internode.on.net] has quit [Ping timeout: 260 seconds] 20111121 15:25:59-!- kahoot [~kahootbir@c-71-236-48-27.hsd1.tn.comcast.net] has joined #wesnoth-dev 20111121 15:26:15-!- chpln [~chpln@ppp121-45-16-86.lns20.adl2.internode.on.net] has joined #wesnoth-dev 20111121 15:28:15-!- mjs-de [~mjs-de@g224183099.adsl.alicedsl.de] has joined #wesnoth-dev 20111121 15:46:23-!- horon_ [~horon@nttkyo235080.tkyo.nt.adsl.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20111121 16:06:06-!- negusnyul [~negusnyul@dsl51B64BFB.pool.t-online.hu] has joined #wesnoth-dev 20111121 16:50:45-!- brunowolff [~bruno@cerberus.csd.uwm.edu] has joined #wesnoth-dev 20111121 16:51:32< brunowolff> I am seeing a weird error trying to rebuild the fedora rawhide wesnoth package for boost 1.48. 20111121 16:51:42< brunowolff> Have you guys already run into that? 20111121 16:52:11< brunowolff> An error on the foreach define in foreach.cpp is getting reported. 20111121 16:53:01< brunowolff> Rawhide still has the 1.8 version (though we will be switching soon). 20111121 16:54:22< brunowolff> Adding in: #include "shared_object.hpp" in language.cpp works around the problem, though i don't know why. 20111121 16:55:07< brunowolff> The error message is: 20111121 16:55:10< brunowolff> In file included from language.cpp:18:0: 20111121 16:55:10< brunowolff> foreach.hpp:6:17: error: ‘boost::BOOST_FOREACH’ has not been declared 20111121 16:56:13< Gambit> So if nobody has done it already, I'm thinking of emailing cjhopman and asking if he's still alive. 20111121 16:56:40-!- chpln [~chpln@ppp121-45-16-86.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 20111121 16:58:20-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20111121 16:58:54-!- chpln [~chpln@ppp118-210-92-197.lns20.adl2.internode.on.net] has joined #wesnoth-dev 20111121 17:02:21< Gambit> We always put out the fact that the game is free and the developers are unpaid and that there's no obligation to do feature X or Y. And that the game will only be what the people developing it want to be. 20111121 17:02:32< Gambit> But he is being paid. And he put out an unfinished product. 20111121 17:02:49< Gambit> This is even worse than the iOS port. It was incomplete. There were features that he promised. He even put out a time-table. 20111121 17:04:55< Gambit> And so once again we have people buying an incomplete product with no updates in sight and getting ripped off. 20111121 17:08:48-!- Grimling [~FKint@91.181.241.90] has joined #wesnoth-dev 20111121 17:10:06-!- Grimling [~FKint@91.181.241.90] has quit [Client Quit] 20111121 17:10:44-!- stikonas [~gentoo@bermondsley.girton.cam.ac.uk] has joined #wesnoth-dev 20111121 17:10:44-!- stikonas [~gentoo@bermondsley.girton.cam.ac.uk] has quit [Changing host] 20111121 17:10:44-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20111121 17:13:06-!- mordante [~mordante@87.215.201.26] has joined #wesnoth-dev 20111121 17:13:09< mordante> servus 20111121 17:13:42< mordante> brunowolff, I saw that boost error mentioned in the logs a while ago, IIRC loonycyborg joined that discussion 20111121 17:14:18< loonycyborg> mordante: brunowolff: That problem is fixed in boost trunk. 20111121 17:15:01< loonycyborg> https://svn.boost.org/trac/boost/ticket/6131 20111121 17:15:59-!- oldtopman [~oldtopman@71-208-213-204.hlrn.qwest.net] has joined #wesnoth-dev 20111121 17:15:59-!- oldtopman [~oldtopman@71-208-213-204.hlrn.qwest.net] has quit [Changing host] 20111121 17:15:59-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20111121 17:16:35< brunowolff> Thanks for that. I can report it to the boost maintainer. 20111121 17:18:05< Espreon> Gambit: Email him. 20111121 17:18:40< mordante> thanks loonycyborg 20111121 17:18:45< mordante> I'm off again, bye 20111121 17:18:50-!- mordante [~mordante@87.215.201.26] has quit [Quit: Leaving] 20111121 17:44:36-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20111121 17:54:56-!- stikonas [~and@bermondsley.girton.cam.ac.uk] has joined #wesnoth-dev 20111121 17:54:56-!- stikonas [~and@bermondsley.girton.cam.ac.uk] has quit [Changing host] 20111121 17:54:56-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20111121 17:58:08-!- dtiger [~dtiger@dynamic-vpdn-46-53-166-210.telecom.by] has joined #wesnoth-dev 20111121 17:59:35-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20111121 18:02:22< CIA-81> ai0867 * r52035 /trunk/src/server/server.cpp: Swap two arguments of the failed login logger. This fixes the single-failure-causes-ban issue. 20111121 18:02:23< AI0867> Espreon: ^ 20111121 18:02:39< AI0867> I got the time and attempts mixed up 20111121 18:03:32-!- negusnyul_ [~negusnyul@dsl51B64BFB.pool.t-online.hu] has joined #wesnoth-dev 20111121 18:03:32-!- negusnyul [~negusnyul@dsl51B64BFB.pool.t-online.hu] has quit [Read error: Connection reset by peer] 20111121 18:05:41< AI0867> Soliton: you probably want to get this fix on the server asap too 20111121 18:07:23< AI0867> Gambit: he released some sources, which should certainly be easier to merge than the iOS port, but they're outdated and are missing instructions on how to build them... 20111121 18:08:08< AI0867> there are some scripts in the root, but they refer to things in the parent directory 20111121 18:13:52-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20111121 18:21:23-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20111121 18:23:26< Soliton> AI0867: trunk server recompiled and restarted. i'll update 1.9 server later. 20111121 18:35:11-!- Upthorn [~ogmar@c-76-105-37-245.hsd1.ca.comcast.net] has quit [Ping timeout: 248 seconds] 20111121 18:37:46-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20111121 18:47:58-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20111121 18:50:48-!- dtiger [~dtiger@dynamic-vpdn-46-53-166-210.telecom.by] has quit [Read error: Connection reset by peer] 20111121 18:54:36-!- dtiger [~dtiger@dynamic-vpdn-93-125-116-73.telecom.by] has joined #wesnoth-dev 20111121 18:56:35< Espreon> AI0867: Ah, I see. Well, thanks for fixing it. 20111121 19:05:14< Soliton> Espreon: please test on the trunk server together with the ban reason thingy. 20111121 19:05:21< Espreon> OK. 20111121 19:16:11< Espreon> AI0867: OK, new problem: after three incorrect tries, I could get in using my username. 20111121 19:16:47< Espreon> AI0867: The second time, I get this error: "Error in the login procedure (the server had no seed for your connection)." 20111121 19:17:00< Espreon> One more incorrect try, and I'm in. 20111121 19:19:40-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20111121 19:20:31-!- mjs-de [~mjs-de@g224183099.adsl.alicedsl.de] has quit [Remote host closed the connection] 20111121 19:24:16< shadowmaster> Gambit: go ahead. If anyone had done so already I imagine they'd have mentioned that somewhere. 20111121 19:27:35< CIA-81> ai0867 * r52036 /trunk/src/server/server.cpp: Move seed erasure before new password request 20111121 19:27:37< AI0867> Espreon: ^ 20111121 19:27:43< Espreon> Cool. 20111121 19:46:56-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20111121 20:09:57-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20111121 20:10:12< mordante> servus 20111121 20:10:14-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20111121 20:10:58< Soliton> Espreon: everything working now? 20111121 20:11:22< Espreon> Let's see, 20111121 20:12:00< Espreon> Soliton: Yeah. 20111121 20:12:32< Soliton> well, if we discount that the server just crashed... 20111121 20:13:07< Soliton> AI0867: "src/network_worker.cpp:705: int::process_queue(void*): Assertion `lock_it != sockets_locked[shard].end()' failed." 20111121 20:14:14-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20111121 20:20:15< AI0867> Soliton: looking... 20111121 20:20:42< Soliton> AI0867: in general please log as early as possible so if something goes wrong we know pretty well where it went wrong. (re logging failed login) 20111121 20:21:26< AI0867> the socket_lock entry got removed?? 20111121 20:22:20< AI0867> I didn't actually do anything to that 20111121 20:22:47< Soliton> ah, ok. 20111121 20:23:49< AI0867> if it's related to my commit, I can't see how 20111121 20:23:58< Soliton> last log entry before the assert: "rejected banned user. Reason: Maximum login attempts exceeded" 20111121 20:24:11< AI0867> k =/ 20111121 20:24:21< Soliton> might be related to the flushing rather. 20111121 20:25:12< AI0867> may have to do with immediate disconnects 20111121 20:25:26< AI0867> I'll patch flush_buffers to check the socket state 20111121 20:34:47< Soliton> AI0867: just move the flush call one line up? 20111121 20:38:02< AI0867> could work 20111121 20:39:03< Soliton> i can test on the server if your tests can't verify that. 20111121 20:39:50< AI0867> please 20111121 20:40:58< AI0867> I don't see how control would move back to process_queue, but it would fix a latent issue in send_buf 20111121 20:41:23< AI0867> s/send_buf/send_buffer 20111121 20:42:46-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has quit [Read error: Operation timed out] 20111121 20:46:53< Soliton> process_queue() is done in a thread. 20111121 20:48:45< AI0867> yeah 20111121 20:49:16< AI0867> and flush_buffers certainly shouldn't queue more work 20111121 20:50:00-!- Upth [~ogmar@public-nat1.scc.losrios.edu] has joined #wesnoth-dev 20111121 20:50:00-!- Upth is now known as Upthorn 20111121 20:50:41< Soliton> yeah, it sends directly which i'm not sure is allowed. 20111121 20:53:46< AI0867> close_socket already locks the socket 20111121 20:53:49< Soliton> another problem is that transmit_buf is called from different threads and there is no locking. 20111121 20:53:54< AI0867> so that shouldn't be a problem 20111121 20:54:33< Soliton> i mean using a socket from a different thread then it was created in. 20111121 20:55:06< Soliton> QTcpSocket from qt doesn't like that for example. no idea about the SDL stuff. 20111121 20:57:03< Soliton> AI0867: process_queue() doesn't lock the transmit_buf() call. 20111121 20:58:07-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20111121 20:59:12< Soliton> it locks while getting the buffer though so that might be enough. 20111121 20:59:43-!- Sytyi [~Sytyi@130-62-133-95.pool.ukrtel.net] has joined #wesnoth-dev 20111121 21:00:13< Soliton> AI0867: ah, flush_buffers() doesn't remove from outgoing_bufs. 20111121 21:00:24< AI0867> remove_buffers does that 20111121 21:01:10< Soliton> hmm, i see. 20111121 21:01:44< Soliton> isn't the buffer deleted twice there though? 20111121 21:02:03< Soliton> transmit_buf() deletes as well. 20111121 21:02:13-!- chpln [~chpln@ppp118-210-92-197.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 20111121 21:02:29< Soliton> doesn't explain the assert though. 20111121 21:04:03-!- chpln [~chpln@ppp118-210-172-33.lns20.adl6.internode.on.net] has joined #wesnoth-dev 20111121 21:04:12< AI0867> hmm 20111121 21:08:11< AI0867> looks like I made a mistake there 20111121 21:17:04< Soliton> send_buffer() locks as well, so not sure how flush_buffers() can work. 20111121 21:17:49-!- Ivanovic changed the topic of #wesnoth-dev to: 1.9.11 planned on Tuesday 22nd | String/feature-freeze active for trunk | 174 bugs, 326 feature requests, 13 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20111121 21:18:28< Soliton> looks like you need to get the buffers out of outgoing_bufs, unlock and then send. 20111121 21:19:13-!- brunowolff [~bruno@cerberus.csd.uwm.edu] has quit [Quit: Leaving] 20111121 21:24:00< AI0867> code is even more complex than I originally thought =/ 20111121 21:25:18-!- negusnyul__ [~negusnyul@dsl4E5CD566.pool.t-online.hu] has joined #wesnoth-dev 20111121 21:25:21< Soliton> threading is complicated if you don't have the big picture. and there is certainly not much documentation to get said big picture. :-P 20111121 21:26:09< Soliton> which means it'd be cool if you document a bit as you go along. 20111121 21:26:55-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has quit [Ping timeout: 260 seconds] 20111121 21:27:03< Soliton> i've not looked too much into the low-level network code so i don't really have the big picture either. 20111121 21:28:16-!- negusnyul_ [~negusnyul@dsl51B64BFB.pool.t-online.hu] has quit [Ping timeout: 240 seconds] 20111121 21:31:31< loonycyborg> Soliton: I've read Sirp's chapter in that book about FOSS software design when it was linked here. 20111121 21:31:57< loonycyborg> From what I gather threads are only used because SDL_net doesn't support async i/o 20111121 21:34:21< Soliton> loonycyborg: so when is migration to boost asio finished? :-) 20111121 21:35:11< loonycyborg> Probably that's incompatible with feature freeze :P 20111121 21:35:34< Soliton> for the server side there is no feature freeze! 20111121 21:36:20< loonycyborg> Really? Server seems the next logical target anyway. 20111121 21:36:36< loonycyborg> Probably will be simpler than clientside mp. 20111121 21:38:14< Soliton> the problem is that currently the network layer is used by client and server (which is cool) of course. but otherwise there is a new (server side) "release" whenever i rebuild the official servers... 20111121 21:39:29< Soliton> nevertheless it'd be nice to not ship a broken server with a wesnoth release though. ;-) 20111121 21:39:30-!- Gallaecio [~quassel@84.120.216.157.dyn.user.ono.com] has joined #wesnoth-dev 20111121 21:41:48< mordante> I'm off bye 20111121 21:42:01-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20111121 21:46:01-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20111121 21:55:08-!- dtiger [~dtiger@dynamic-vpdn-93-125-116-73.telecom.by] has quit [Remote host closed the connection] 20111121 22:05:16-!- grzywacz [~grzywacz@89-72-193-138.dynamic.chello.pl] has joined #wesnoth-dev 20111121 22:05:16-!- grzywacz [~grzywacz@89-72-193-138.dynamic.chello.pl] has quit [Changing host] 20111121 22:05:16-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20111121 22:10:53< AI0867> Soliton: I think the safest thing would be to revert r52033 for the time being 20111121 22:23:44< Soliton> AI0867: ok. 20111121 22:28:55< CIA-81> ai0867 * r52037 /trunk/src/network_worker.cpp: Revert r52033. This restores the race between error messages and disconnections. 20111121 22:35:00-!- uncleshelby [~uncleshel@2001:470:a:683:2c0:9fff:fea1:ce83] has joined #wesnoth-dev 20111121 22:41:21< shadowmaster> wesbot: seen Elvish_hunter 20111121 22:41:21< wesbot> shadowmaster: The person with the nick Elvish_Hunter 1d 1h ago they left with the message: Quit: Ciao! 20111121 22:55:59-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 248 seconds] 20111121 23:02:04-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20111121 23:11:20-!- vultraz [~chatzilla@124.109.10.221] has quit [Ping timeout: 260 seconds] 20111121 23:13:41-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20111121 23:14:32< gabba> 'evening 20111121 23:15:41-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has quit [Remote host closed the connection] 20111121 23:16:01< gabba> anybody around that could give me a crash-course in wesnoth's game events system? 20111121 23:17:01< uncleshelby> Here is a page online: http://wiki.wesnoth.org/EventWML. 20111121 23:17:18< uncleshelby> I don't know if that's what you wanted. 20111121 23:17:44< uncleshelby> Or what you meant... 20111121 23:19:14-!- negusnyul__ [~negusnyul@dsl4E5CD566.pool.t-online.hu] has quit [Remote host closed the connection] 20111121 23:27:23< gabba> I'm mainly interested in the difference between "raise" and "fire" and how they're implemented in the C++ code 20111121 23:29:02-!- uncleshelby [~uncleshel@2001:470:a:683:2c0:9fff:fea1:ce83] has quit [Quit: Leaving] 20111121 23:36:06-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Read error: Connection reset by peer] 20111121 23:37:17-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20111121 23:53:17-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20111121 23:56:44-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20111121 23:57:12< anonymissimus> gabba: you've read my messages from yesterday afternoon ? 20111121 23:57:37< gabba> anonymissimus: yep, and no I'm not sure about the assert 20111121 23:57:52< anonymissimus> 15 i'clock GMT (i think) 20111121 23:58:04< gabba> fire does call raise, isn't it? 20111121 23:58:29< gabba> I'm not really sure of the difference between fire and raise, so any explanations would really help 20111121 23:58:54< anonymissimus> the difference raise vs fire seems to be that raise is called if the engine needs to delay an event 20111121 23:59:22< anonymissimus> that is, the C++ code isn't ready to execute a wml block at the point where the event is raised 20111121 23:59:24-!- Sytyi1 [~Sytyi@119-2-133-95.pool.ukrtel.net] has joined #wesnoth-dev 20111121 23:59:36< anonymissimus> otherwise, fire is used --- Log closed Tue Nov 22 00:00:09 2011