--- Log opened Sat Aug 07 00:00:36 2010 --- Day changed Sat Aug 07 2010 20100807 00:00:36-!- Trilby [~Augustus@87.114.205.238] has joined #wesnoth-dev 20100807 00:04:34-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]] 20100807 00:05:07-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 276 seconds] 20100807 00:06:41-!- Trilby [~Augustus@87.114.205.238] has quit [Quit: Leaving] 20100807 00:12:17-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20100807 00:12:36< boucman> night all 20100807 00:12:39< Upthorn> crab_ come back, I want to talk to you 20100807 00:12:53-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100807 00:13:39 * Upthorn should have gone to sleep 10 minutes earlier this morning. 20100807 00:16:26-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100807 00:33:43-!- Sapient [~patrickp@wesnoth/developer/sapient] has quit [Ping timeout: 276 seconds] 20100807 00:42:06-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100807 00:56:18-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Ping timeout: 246 seconds] 20100807 00:56:53-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20100807 00:57:02-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 252 seconds] 20100807 01:05:11-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100807 01:09:35-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20100807 01:10:13-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100807 01:11:09-!- Upthorn [ogmar@adsl-75-26-198-150.dsl.scrm01.sbcglobal.net] has quit [Ping timeout: 240 seconds] 20100807 01:11:54-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100807 01:12:07-!- joo [~joo@188-221-182-115.zone12.bethere.co.uk] has joined #wesnoth-dev 20100807 01:13:03-!- alink [~alink@wesnoth/developer/alink] has quit [Remote host closed the connection] 20100807 01:19:28-!- Upthorn [~ogmar@adsl-75-26-198-150.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100807 01:23:33-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has quit [Ping timeout: 260 seconds] 20100807 01:24:20-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100807 01:28:53-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has joined #wesnoth-dev 20100807 01:29:54-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100807 01:31:41-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100807 01:34:49-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 276 seconds] 20100807 01:35:25-!- noy_ is now known as noy 20100807 01:56:59-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 260 seconds] 20100807 01:58:00< CIA-87> ai0867 * r45300 /trunk/src/ (5 files in 2 dirs): Make (mapgen|io|editor)_exception inherit from game::error, rather than std::exception 20100807 02:04:12-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100807 02:13:26-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100807 02:16:19-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20100807 02:25:05-!- billynux [~billy@wesnoth/developer/billynux] has quit [Quit: Leaving] 20100807 02:25:35-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 252 seconds] 20100807 02:26:35-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 02:52:37-!- ancestral [~ancestral@mobile-166-137-142-107.mycingular.net] has joined #wesnoth-dev 20100807 03:00:12-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 246 seconds] 20100807 03:01:06-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 20100807 03:02:15-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 03:02:20-!- Blueblaze [~Blueblaze@99.148.245.166] has joined #wesnoth-dev 20100807 03:21:44< CIA-87> ai0867 * r45301 /trunk/src/ (help.cpp variant.cpp variant.hpp): Make type_error and parse_error inherit from game::error 20100807 03:22:24< Upthorn> I need someone knowledgable about the networking code, at the playmp_controller level 20100807 03:23:03< Upthorn> I don't need to know how the actual send and receive functions are implemented, but I need to know how to make use of them 20100807 03:29:41< Upthorn> my end-goal is to be able to tell remote players to sync replay up to the current point and get a decision from a remote player during the processing of a wml handler function. 20100807 03:38:49< joo> There's recurring bug where most of the GUI doesn't redraw properly when going in and out of fullscreen in the multiplayer game screen when waiting for players. I can't seem to find any filed bugs referring to it... is this known? 20100807 03:49:19< Upthorn> joo: I can't tell you if any of the developers know about it, but if there isn't a ticket already you might as well file one. the worst case is that someone will mark it as a duplicate of a known issue 20100807 03:55:37-!- Mythological_ [Mythologic@77.29.4.106] has joined #wesnoth-dev 20100807 03:55:52< joo> Right. I'll do that then. 20100807 03:57:59-!- Mythological [Mythologic@77.28.89.241] has quit [Ping timeout: 258 seconds] 20100807 04:02:47< joo> Would that be "minor" or "normal?" 20100807 04:04:50-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Read error: Connection reset by peer] 20100807 04:08:58-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 04:09:09-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20100807 04:28:44-!- Daltx` [~Daltx@unaffiliated/daltx] has quit [] 20100807 04:31:16-!- Blueblaze [~Blueblaze@99.148.245.166] has quit [Quit: Blueblaze] 20100807 04:33:44-!- Daltx` [~Daltx@unaffiliated/daltx] has joined #wesnoth-dev 20100807 04:41:01-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 276 seconds] 20100807 04:42:17-!- Ivanovic_ [~ivanovic@dtmd-4db2db1a.pool.mediaWays.net] has joined #wesnoth-dev 20100807 04:45:55-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 276 seconds] 20100807 04:46:15-!- Ivanovic_ is now known as Ivanovic 20100807 04:52:20-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 04:54:17-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Quit: Ramble on.] 20100807 05:03:37-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 05:04:09-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20100807 05:04:15-!- shadowm_laptop2 is now known as shadowm_laptop 20100807 05:04:32-!- joo [~joo@188-221-182-115.zone12.bethere.co.uk] has quit [Quit: Removing a HD.] 20100807 05:05:44-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100807 05:08:20-!- Mythological_ [Mythologic@77.29.4.106] has quit [] 20100807 05:12:10-!- gblfxt [gblfxt@c-71-231-58-16.hsd1.wa.comcast.net] has joined #wesnoth-dev 20100807 05:28:17-!- gblfxt is now known as racertom 20100807 05:28:19-!- wesbot changed the topic of #wesnoth-dev to: 134 bugs, 286 feature requests, 13 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100807 05:28:31-!- racertom [gblfxt@c-71-231-58-16.hsd1.wa.comcast.net] has quit [] 20100807 05:30:48-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20100807 05:35:25-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100807 05:40:49-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819]] 20100807 05:46:11-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 06:26:06-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 06:26:18-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20100807 06:26:25-!- shadowm_laptop2 is now known as shadowm_laptop 20100807 06:31:55-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100807 06:35:57-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100807 06:40:57-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ...] 20100807 06:46:02-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100807 06:54:32< silene> Elvish_Pillage2: so it was the version attribute? you should complain to Crab_; i have no idea what this attribute is for 20100807 06:54:49-!- orn [ogmar@adsl-75-26-198-150.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100807 06:54:54< Elvish_Pillage2> indeed: I now have a cool AI working 20100807 06:54:55-!- Upthorn [~ogmar@adsl-75-26-198-150.dsl.scrm01.sbcglobal.net] has quit [Disconnected by services] 20100807 06:54:56-!- orn is now known as Upthorn 20100807 07:16:19< gabba> hmm, it seems like unit doesn't have an == operator, which makes it impossible to use std::find on a vector of units, among other things. Maybe I could implement one that returns true if unitA.id() == unitB.id()? 20100807 07:18:51< gabba> silene, boucman, alink, Crab_: maybe you have an opinion on this^ 20100807 07:19:18< silene> gabba: std::find takes a comparator 20100807 07:19:52-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20100807 07:19:57-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 07:20:20-!- shadowm_laptop2 is now known as shadowm_laptop 20100807 07:20:35< silene> gabba: defining an operator== that compares only one single field in a big structure could be misleading 20100807 07:23:08< gabba> silene: thanks for the reminder about the comparator. It's true that comparing a single field would be misleading... 20100807 07:24:13< gabba> but beyond that I wouldn't know which fields to pick for the comparison. In any case I'll write a custom comparator for this situation, it solves my problem nicely. 20100807 07:25:08< silene> it depends on your case; buf if i had to choose one field, it would be underlying_id 20100807 07:27:11< gabba> I think I was told underlying_id is only meaningful for units that are inside the unit_map, which is not the case here (the vector of units is the team recall list) 20100807 07:27:40< gabba> also, std::find doesn't take a comparator, I guess you were thinking of another std algorithm? 20100807 07:28:31-!- eleazar_ [~eleazar@ppp-70-226-208-182.dsl.spfdil.ameritech.net] has quit [Ping timeout: 276 seconds] 20100807 07:28:39-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 20100807 07:29:01< silene> gabba: find_if 20100807 07:29:02< gabba> ok, std::find_if takes a predicate that I can use as a comparator 20100807 07:29:51-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100807 07:34:34-!- ancestral [~ancestral@mobile-166-137-142-107.mycingular.net] has quit [Ping timeout: 258 seconds] 20100807 07:39:59-!- ancestral [~ancestral@mobile-166-137-142-107.mycingular.net] has joined #wesnoth-dev 20100807 08:00:55-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20100807 08:01:44-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Read error: Connection reset by peer] 20100807 08:02:22-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 08:07:11-!- Upth [~ogmar@adsl-75-26-198-150.dsl.scrm01.sbcglobal.net] has quit [Ping timeout: 248 seconds] 20100807 08:12:31-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 265 seconds] 20100807 08:37:01-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100807 08:37:15< timotei> morning 20100807 08:48:06-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100807 08:57:27< timotei> fendrin: hi:) 20100807 09:01:29< boucman> hey all 20100807 09:01:41< timotei> hi boucman 20100807 09:09:02-!- Crab_ [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev 20100807 09:09:09-!- Crab_ [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit [Changing host] 20100807 09:09:09-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20100807 09:18:38-!- ancestral [~ancestral@mobile-166-137-142-107.mycingular.net] has quit [Remote host closed the connection] 20100807 09:21:32-!- Ivanovic [~ivanovic@dtmd-4db2db1a.pool.mediaWays.net] has quit [Changing host] 20100807 09:21:32-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20100807 09:22:26< Ivanovic> moin 20100807 09:22:50< timotei> hi Ivanovic 20100807 09:46:13-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100807 09:46:33-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100807 10:02:08-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100807 10:03:02-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100807 10:07:02< Upthorn> Crab_: there you are, I've been wanting to talk to you all day 20100807 10:07:11< Crab_> hi 20100807 10:07:36< Crab_> (I've got time now) 20100807 10:08:12< Crab_> aha, I see in the logs. yes, a bit unfortunate timing, just 22 seconds.. 20100807 10:08:18< Upthorn> yeah 20100807 10:08:36< Upthorn> I did some mp testing, and the current code does work except for sides support 20100807 10:09:09< Crab_> that is cool. 'sides support' is where you need data from non-active side ? 20100807 10:09:15< Upthorn> I hacked it side support (but haven't committed) and it will work as long as the requested side is local to the active player 20100807 10:09:59< Upthorn> Crab_: yeah, side support is actually taking the "side=" and using it. 20100807 10:10:18-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 260 seconds] 20100807 10:10:52< Crab_> well, there's already one use case where active side waits for remote data - attacks 20100807 10:11:09< Upthorn> yeah that's what I was going to ask about 20100807 10:11:16< Upthorn> right now, if the requested side is network, it will trigger an error as it looks for data in the replay that the other side hasn't written yet. 20100807 10:11:46< Upthorn> I had one other question I wanted to ask about, as well. 20100807 10:11:49< Crab_> active side sends a attack command to server, and waits for server-side rng to send a reply to replay 20100807 10:12:05< Crab_> meanwhile, active side sits and waits for that random value, processing chat messages 20100807 10:12:08< Upthorn> Way way back, either just after the coding period started, or a little bet before-hand 20100807 10:12:24< Upthorn> you said that in MP, it is well known who the host player is 20100807 10:13:22< Upthorn> I've been trying to find a way to get the side number of the current host player, to substitute in for "side=global" on [get_global_variable], and haven't had any luck 20100807 10:15:48< Crab_> I'll take a look. at least the mp server knows (game has a owner_ field) 20100807 10:16:02< Upthorn> I'm not sure if I should abandon support for "side=global" and "side=host", or if do some sort of workaround 20100807 10:16:23< Upthorn> all the references I could find to "host" in the source code seemed to be dealing directly with IP address. 20100807 10:17:34< Upthorn> except for a private bool is_host_ in playmp_controller 20100807 10:18:23< Upthorn> err protected and in play_controller, actually 20100807 10:18:58< Crab_> yes, this seems to be it 20100807 10:19:48< Crab_> the initial host knows it, and the mp server knows who the host is 20100807 10:20:02< Crab_> and, if the host transfers, mp server notifies the newly chosen host 20100807 10:20:13-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100807 10:20:16< Crab_> is_host should be enough, I think 20100807 10:20:40< Crab_> since each side would be able to tell if it's host or not 20100807 10:21:02< Upthorn> I could do a work around where get_global_variable checks is_host() and substitutes any non-local side number for "side=global" or "side=host" 20100807 10:21:23< Crab_> why do you need to substitute any non-local side number ? 20100807 10:21:32< Crab_> how you use that side= number ? 20100807 10:22:35< Upthorn> well what I currently do, which is insufficient, and might make silene mad if I committed it, is I added an "int side" parameter to the mp_sync::get_user_choice 20100807 10:22:51< Upthorn> which defaults to resources::controller->current_side() 20100807 10:23:47< Upthorn> of course, this doesn't work because there is no mechanism provided to wait for a remote side to write to the replay 20100807 10:24:14< Upthorn> so it may not be the best way to proceed. 20100807 10:25:09< Crab_> well, provided that you get that mechanism working, you can use your "int side" parameter thing, using two special values - "0" for active side and "-1" for 'host' 20100807 10:26:11< silene> Upthorn: obviously it will make me mad; synchronization has been an issue in wesnoth for years; 1.9 may be the very first release where we no longer have oos caused by the engine; so you need a good reason for changing the synchronization code 20100807 10:26:57< Upthorn> silene: that's why I've only used it locally and have not commited. 20100807 10:27:08< silene> Crab_: have you read elvish pillager's try at writing an ai in the logs? it seems like the version= attribute is mandatory, but it is not documented anywhere, and if missing it will cause really strange errors 20100807 10:27:10< gabba> hi boucman 20100807 10:27:30< boucman> nothing of notice since yesterday ? 20100807 10:27:32< gabba> boucman: brace yourself for a flurry of commits pretty soon :P 20100807 10:27:49 * boucman is ready to roll :) 20100807 10:27:55< Upthorn> gabba lives to make me feel inadequate. 20100807 10:28:49< gabba> Upthorn: I make a lot of small commits, so it may look like I work more than I actually do ;). 20100807 10:29:15< Upthorn> I'm still glad it isn't a competition. :) 20100807 10:29:16< Crab_> silene: no, I'll take a look. the version= field is inserted automatically if the person strictly follows the http://wiki.wesnoth.org/Customizing_AI_in_Wesnoth_1.8 suggestions. I'll add a note about version= there. 20100807 10:29:48< gabba> boucman: one question, I'm facing the following problem: unit un; { un = some_function(); } use_unit(un); 20100807 10:29:53< timotei> Upthorn: hey 20100807 10:30:10< gabba> but unit doesn't have a default constructors, and I can't find a default parameter that makes sense. 20100807 10:30:21< Upthorn> timotei: hey. 20100807 10:30:38< timotei> Upthorn: have you updated the projectfile to current revision? 20100807 10:30:49< Upthorn> timotei: not since yesterday, why? 20100807 10:30:50< boucman> let me have a look at the different constructors... 20100807 10:30:52< timotei> Upthorn: in the way, you have the latest wesnoth.sln 20100807 10:30:55< Crab_> silene: missing version= will make the c++ code consider the ai code to be a 1.6-style AI configuration code, and activate the autoconvert procedure to convert it to new-style syntax. 20100807 10:31:02< gabba> boucman: I'm considering using either: 1/ unit* un = malloc(sizeof(unit)); 20100807 10:31:10-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 265 seconds] 20100807 10:31:18< timotei> Upthorn: it seems vs doesn't recognize wesnoth.sln (unkown version) and maybe it's because I converted CRLF->LF 20100807 10:31:41< gabba> boucman: or 2/ allocate an array of unit[1] (at least this uses new[] :P) 20100807 10:31:47< boucman> wouldn't unit un= some_function() work ? I thought that would make use of the default copy operation (my c++ is a bit flacky in some area, and I tend to mix up the fine details with Ada) 20100807 10:31:54< Upthorn> timotei: try converting back and see if that fixes it? 20100807 10:32:01< timotei> doesn't work 20100807 10:32:15< timotei> I guess something from me 20100807 10:32:18< timotei> if for you works 20100807 10:32:30< gabba> boucman: no, since I can't define the variable inside the {} scope and then use it outside... that's my whole problem. 20100807 10:32:53< Upthorn> timotei: now isn't a very good time for me to test. 20100807 10:32:55< gabba> the scope in question is a planned unit map scope btw 20100807 10:33:01< timotei> Upthorn: yes. I understand 20100807 10:33:25< silene> Crab_: so it seems the conversion doesn't work; and the engine examples in the wiki don't work either by the way (for the same reason), i tested them 20100807 10:33:47< boucman> ok, I understand your problem... 20100807 10:33:56< Upthorn> silene: don't worry. I will not repeat the mistake of committing a change to the sync framework without consulting you first. 20100807 10:34:07< boucman> in this case you need to init the unit, since you do "something" between definition and initialization 20100807 10:34:12< Crab_> silene: hmm.. I've tested them when I wrote them. I'll have to recheck, then. 20100807 10:34:21< Crab_> Upthorn: a question. would the following WML trickery work ? 20100807 10:34:27< boucman> however adding a parameterless constructor to unit doesn't sound like a good idea to me 20100807 10:34:37< silene> gabba: then use pointers: u = new unit(whatever) 20100807 10:35:03< gabba> silene: same problem, since I can't find suitable "whatever" parameters 20100807 10:35:20< Crab_> Upthorn: start game, on start of turn 1 of side 1 get needed persistent vars of side 1 and end_turn, repeat for side 2, 3, ... (for all sides). on turn 2, set a 'done' flag, reset turn to 1, let the game play as usual. 20100807 10:35:21< silene> Crab_: if you add a version= attribute they work, otherwise they don't 20100807 10:35:25< boucman> i'd tend to agree with silene here... it's abit hackish from a "pure CS point of view" but pointers being the swiss army knife they are in c++ that's fine 20100807 10:35:42< silene> gabba: what is your unit used for? 20100807 10:35:55< CIA-87> timotei * r45302 /trunk/projectfiles/VC9/wesnoth.vcproj: add 'recall.(c|h)pp' to vs projectfiles 20100807 10:35:55< Upthorn> Crab_: yes, that would work, but the delay could be visible 20100807 10:36:25< gabba> silene: its used to make a copy of the appropriate unit from the recall lsit 20100807 10:36:27< Crab_> Upthorn: ok, at least it allows to get all the variables at game start. 20100807 10:36:28< gabba> *list 20100807 10:36:47< silene> gabba: then u = new unit(the_unit_on_the_recall_list) will obviously work 20100807 10:37:02 * boucman was going to say the same thing 20100807 10:37:03< Upthorn> oh wait, I understand now 20100807 10:37:17< timotei> Upthorn: I guess it's from .. DevC++ which I installedf yesterday :P 20100807 10:37:24< Upthorn> you were saying that for side x turn 1 you load the variables and then immediately end turn 20100807 10:37:29< Crab_> Upthorn: yes 20100807 10:37:29< timotei> Upthorn: he broke some file associations 20100807 10:37:51< Upthorn> yes, that would work. 20100807 10:38:00< gabba> silene, boucman: you know what, you're right. I guess I'm a bit too tired to miss the obvious like this :-/ 20100807 10:38:14< Upthorn> at least for init. 20100807 10:38:16< boucman> gabba: you're todo list for today 20100807 10:38:19< boucman> 1) commit 20100807 10:38:21< gabba> lol@myself wanting to use malloc :D 20100807 10:38:22< boucman> 2)bed :P 20100807 10:38:41< Crab_> Upthorn: init would be enough for most use cases 20100807 10:38:51< Upthorn> It wouldn't work very well for something like a moveto x,y which does get_global_variable side="host", though 20100807 10:39:25< Crab_> Upthorn: yes, I agree. but the 'prefetch' approach will work, which is still a lot better than nothing. 20100807 10:39:53< Crab_> Upthorn: can you make a MP scenario which will demonstrate that approach of 'collecting' all mp data at start of the game ? 20100807 10:40:16< Upthorn> Crab_: if I can figure out how to end turn from WML, it would be easy. 20100807 10:40:39< Upthorn> though it might cause problems with time limits... 20100807 10:41:01< Crab_> [end_turn] tag, http://wiki.wesnoth.org/DirectActionsWML#.5Bend_turn.5D 20100807 10:41:24< Upthorn> Ah, thanks. 20100807 10:41:57< Crab_> Upthorn: that's why 'set a 'done' flag and reset turn back to 0' ) 20100807 10:42:00< Crab_> s/0/1 20100807 10:42:20< Upthorn> I see. yes that would work. 20100807 10:44:38< CIA-87> silene * r45303 /trunk/src/unit_frame.cpp: Reduced cost of frame_builder constructor by directly initializing fields. 20100807 10:44:44< CIA-87> silene * r45304 /trunk/src/ (dialogs.cpp dialogs.hpp mouse_events.cpp): Avoided copying and destroying temporary units when displaying them in dialogs. 20100807 10:45:58< Crab_> Upthorn: and after that we can try to see if we can make 'wait for replay event from remote' to happen (after all, it's already done for attacks and ssrng seed) 20100807 10:46:15< Upthorn> yeah, I see how it is done for attacks and it looks fairly simple. 20100807 10:46:53-!- Mythological [Mythologic@77.28.80.80] has joined #wesnoth-dev 20100807 10:47:20< Crab_> note that messages can still fly while we're waiting 20100807 10:49:52< Crab_> Upthorn: and note https://gna.org/bugs/?15865 - it was a very evil bug which was very hard to reproduce and find, but which caused much trouble for MP players 20100807 10:49:52< Crab_> Upthorn: so, it is really important to ensure that the 'wait' implementation works without glitches 20100807 10:55:06< Upthorn> Crab_: yes, I understand. 20100807 10:55:45< Crab_> Upthorn: but let the MP test scenario be ready before, it'll be a good thing for WML writers. 20100807 10:56:10< Crab_> Upthorn: and we'll be able to say "there's a way to have SP/MP persistence variables in wesnoth, with limitations, but quite usable" 20100807 10:56:21< Crab_> Upthorn: which is the main goal of our project. 20100807 10:57:07< Crab_> and, if, later, we'll be able to improve the `limitations` part, even better ) 20100807 10:59:23< Upthorn> I just noticed a problem for the get_global_variable with side="global" or side="host". while playmp_controller does have public "bool is_host()", play_controller does not. so I can't access it from resources::controller 20100807 11:00:58< Upthorn> but I suppose that won't really matter until I can make it so that get_global_variable works for not active side, so that side="global" can work reliably at all. 20100807 11:01:02< silene> Upthorn: i'm not sure what you are trying to do, but you should never need the host; you should assume that the current side is always the host 20100807 11:02:14< Upthorn> silene: my project is to add a way for WML authors to save information in a way that persists across new starts of the scenario 20100807 11:03:02< silene> Upthorn: so, if the host changes during a game, the data suddenly change, that's so wrong; persistent data should be associated to sides, not to hosts 20100807 11:03:05< Upthorn> in multiplayer it should be assumed that each different player has completely different information saved, so in cases where consistence is very important, the host's data should be used 20100807 11:03:46< timotei> umm, silene, I think there is a problem... what should do one in case he would need to call a macro from a directory that has spaces in it's name? 20100807 11:03:51< timotei> {~add-ons/timo tei/macros} 20100807 11:03:53< timotei> this won't work 20100807 11:03:59< Crab_> silene: well, control of a given side can change, too. same issues there. 20100807 11:04:03< silene> timotei: no, it won't 20100807 11:04:19< timotei> so, no spaces in macros calls folders right? 20100807 11:04:34< Upthorn> timotei: can you do {~"add-ons/timo tei/macros"}? 20100807 11:04:43< timotei> Upthorn: hmm, let me try 20100807 11:05:10< silene> Crab_: but at least the players can be expect it 20100807 11:05:27< timotei> Upthorn: nop 20100807 11:05:38< timotei> both {~"path"} and {"~path"} don't work. 20100807 11:05:41< timotei> so no spaces 20100807 11:05:42-!- silene [~plouf@wesnoth/developer/silene] has quit [Quit: Leaving.] 20100807 11:06:40< Upthorn> Crab_: I have been assuming that the host only changes when the host quits or loses connection. Are there other reasons? 20100807 11:07:12< zookeeper> eh, this is bizarre. i have a UMC campaign (made with 1.8, trying to port to trunk atm) in which the main map is just invisible: http://imagebin.org/108457 20100807 11:07:21< zookeeper> i've tried to create a whole new map, so it can't be the map 20100807 11:07:32< zookeeper> frankly i have no idea what could be causing that 20100807 11:08:04< Crab_> Upthorn: looks like that. 20100807 11:08:09< timotei> zookeeper: what are those units? unit snake? 20100807 11:08:29< Crab_> Upthorn: but, it's not that important atm - since we must make it work with well-defined non-active player first 20100807 11:08:36< timotei> and wow, the hexes are all over the map 20100807 11:09:10< Crab_> Upthorn: since it would be of little use if we, say, figured out the host (it's easy enough to modify the MP server to announce the side id of the host on each change to all sides, like it does with "host_transfer" msg) 20100807 11:09:18< Upthorn> Crab_: yes, and first we need to make it work properly with the active player while taking side= into account.. 20100807 11:09:31< Crab_> Upthorn: since we still need to fix the 'non-active side' issue first. 20100807 11:12:19-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 265 seconds] 20100807 11:12:48< Upthorn> Crab_: yes, I understand. 20100807 11:13:19< Crab_> but, even before that, we need to wrap up things which already work, for others to see and use 20100807 11:15:51< Upthorn> right. 20100807 11:18:58< zookeeper> well, this is interesting...something in the [campaign] tag breaks it 20100807 11:19:53< CIA-87> gabba * r45305 /trunk/src/whiteboard/ (7 files): Whiteboard/recall: implemented more methods. 20100807 11:19:58< zookeeper> bingo! 20100807 11:20:04< CIA-87> gabba * r45306 /trunk/src/whiteboard/recruit.cpp: Whiteboard/recruit: minor adjustments. 20100807 11:20:19< zookeeper> bizarre. the rendering of the main map breaks when my campaign has no difficulty levels. 20100807 11:20:20< CIA-87> gabba * r45307 /trunk/src/whiteboard/ (recall.cpp recall.hpp): Whiteboard/recall: progress on future unit map methods. 20100807 11:20:30< CIA-87> gabba * r45308 /trunk/src/whiteboard/recall.cpp: Whiteboard/recall: logging. 20100807 11:20:36< CIA-87> gabba * r45309 /trunk/src/ (menu_events.cpp menu_events.hpp): Split a part of menu_events::recall() into a new do_recall() method, so the whiteboard can call do_recall() directly on planned recall execution. 20100807 11:20:43< CIA-87> gabba * r45310 /trunk/src/whiteboard/ (recall.hpp recruit.cpp): Whiteboard/recruit: use internal team_index() method instead of the viewing side. 20100807 11:20:50< CIA-87> gabba * r45311 /trunk/src/whiteboard/recall.cpp: Whiteboard/recall: execute method and destructor. 20100807 11:20:59< CIA-87> gabba * r45312 /trunk/src/whiteboard/recall.hpp: Whiteboard/recall: forgot to set some member functions to non-pure-virtual. 20100807 11:21:06< CIA-87> gabba * r45313 /trunk/src/whiteboard/ (manager.cpp side_actions.cpp side_actions.hpp): Whiteboard/recall: code in side_actions and manager to create planned recalls. 20100807 11:21:19< CIA-87> gabba * r45314 /trunk/src/whiteboard/ (4 files): Whiteboard/recall: mapbuilder and validate visitors. 20100807 11:21:31< CIA-87> gabba * r45315 /trunk/src/ (4 files in 2 dirs): Whiteboard: moved unit_comparator_predicate into the wb:: namespace, in manager.[hc]pp 20100807 11:21:43< CIA-87> gabba * r45316 /trunk/src/whiteboard/recruit.cpp: Whiteboard/recruit: avoid referencing a potentially invalid pointer. 20100807 11:21:51< CIA-87> gabba * r45317 /trunk/src/whiteboard/validate_visitor.cpp: Whiteboard/validate_visitor: forgot to call the superclass on recruit/recall once they're known as valid. 20100807 11:21:56< CIA-87> gabba * r45318 /trunk/src/whiteboard/recall.cpp: Whiteboard/recall: remove unit from recall list when applying the future unit map, and put it back afterwards. 20100807 11:22:04< CIA-87> gabba * r45319 /trunk/src/whiteboard/ (highlight_visitor.cpp highlight_visitor.hpp): Whiteboard/recall: highlight visitor. 20100807 11:22:14< CIA-87> gabba * r45320 /trunk/src/ (menu_events.cpp whiteboard/recall.cpp): Whiteboard/recall: planned recalls now affect display of available units in recall list, as well as the message about not enough gold being available. 20100807 11:22:20< CIA-87> gabba * r45321 /trunk/src/whiteboard/recall.cpp: Whiteboard/recall: small code simplification. 20100807 11:23:22< gabba> boucman: ^enjoille :) 20100807 11:26:49< gabba> @everybody: I won't be there during the w-e, so if you want to play around with planned recruit/recall and tell me how it went on monday, you are welcome. Those new planned actions are nice since they let you see the effect on your treasury right away, and you can change your mind and replace a recruit with another one before committing the whole thing. 20100807 11:27:35 * gabba RRZZZZzzzzzz..... 20100807 11:27:57-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20100807 11:32:39-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20100807 11:33:24< zookeeper> ok, filed a bug for the main map bug 20100807 11:33:35< zookeeper> +report 20100807 11:36:29< zookeeper> strangest bug i've seen for a while, actually :p 20100807 11:36:47< timotei> zookeeper: well, you're not supposed to add difficulty levels? 20100807 11:39:08< zookeeper> yes, i'm not supposed to 20100807 11:39:20< timotei> well, this is a simple fix, I think. 20100807 11:39:41< zookeeper> what's a fix to what? 20100807 11:39:43< timotei> just return false in new_campaign() 20100807 11:39:51< timotei> game.cpp: 1135 20100807 11:40:01< timotei> add an else branch to that, that returns false 20100807 11:40:32< timotei> what are EI and AToTB? 20100807 11:40:36< zookeeper> okay...i'd prefer not to touch c++ code blindly 20100807 11:40:47< zookeeper> eas inv and tale of two bro 20100807 11:40:48< timotei> ei=eastern_invasion? 20100807 11:40:53< timotei> ok, I'll test it 20100807 11:40:53< timotei> :P 20100807 11:42:44< timotei> wow, nice effects :D 20100807 11:46:00< CIA-87> gabba * r45322 /trunk/src/actions.cpp: Whiteboard: fix crash caused by draw (which now uses the future unit map in places) right after a unit move. 20100807 11:46:09< CIA-87> gabba * r45323 /trunk/src/whiteboard/recall.cpp: Whiteboard/recall: logging. 20100807 11:47:23< timotei> zookeeper: so a map should have difficulty levels right? 20100807 11:47:45-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100807 11:48:44< zookeeper> timotei, umm, what? 20100807 11:49:02< timotei> zookeeper: a campaign *needs* to have at least 1 diff level set 20100807 11:49:04< zookeeper> the bug i reported is that a campaign without difficulty levels doesn't work 20100807 11:49:16< zookeeper> no it doesn't, the bug doesn't occur in 1.8 20100807 11:49:29< zookeeper> nor does such a requirement make any sense 20100807 11:49:33< timotei> oh 20100807 11:49:48< zookeeper> someone must have been touching that bit of code and forgot that sometimes there might be no difficulty levels 20100807 11:51:49-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Read error: No route to host] 20100807 11:52:40-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100807 11:53:44-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20100807 11:54:42< Upthorn> damn. 20100807 11:54:54< timotei> Upthorn: missed Crab_ again? 20100807 11:55:03< Upthorn> yeah. maybe someone else can answer 20100807 11:55:22< timotei> well, just ask :P 20100807 11:55:33< Upthorn> [modify_turns] isn't working to reset the turn number to 1, what can I use? 20100807 11:56:30< zookeeper> i guess there's no way 20100807 11:56:42< timotei> better restart the game? 20100807 11:56:58< timotei> the game as in: current scenario 20100807 11:57:42< Upthorn> timotei: is there a way to do that in wml? 20100807 11:57:54< timotei> hmm, I don't know. zookeeper could know :P 20100807 11:58:00< timotei> as, he's the 'wml wizz' 20100807 11:58:06< timotei> Upthorn: but from code surely can be done 20100807 11:58:20< timotei> maybe add a new tag for restarting current scenario 20100807 11:58:33< Upthorn> also, on the wiki, a number of tags on the sidebar are taking me to "ThemeWML" which doesn't have anything to do with the tag 20100807 11:58:46< timotei> yeah, wml wiki is pretty chaos 20100807 11:59:09< timotei> usually it's better to look in the code than on the wiki, for getting right asnwers 20100807 11:59:23< zookeeper> Upthorn, well, you can [endlevel] to the current scenario...if you know the scenario id 20100807 11:59:53< Upthorn> zookeeper: would that clear WML variables? 20100807 12:00:05< Upthorn> because it won't work if it clears WML variables. 20100807 12:00:08< zookeeper> Upthorn, the tag for modifying the turn number or limit is [modify_turns], and it can't set the turn number to lower than what it is atm 20100807 12:00:25< zookeeper> no, variables aren't cleared except by using [clear_variable] 20100807 12:00:48< Upthorn> ok. 20100807 12:01:55-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Connection reset by peer] 20100807 12:01:56< Upthorn> how do I determine the scenario ID? 20100807 12:02:13< zookeeper> there's no way to do that from WML 20100807 12:02:19< zookeeper> unless lua can, but i doubt it 20100807 12:03:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100807 12:03:51< zookeeper> Upthorn, what is it that you're trying to do? 20100807 12:04:07< Upthorn> I don't mean from WML, I mean, how do I personally figure out what the ID of a scenario is? 20100807 12:04:52< zookeeper> oh, right. by looking at the [scenario]'s id= 20100807 12:05:01< Upthorn> zookeeper: crab_ wants me to code a quick MP scenario to demonstrate persistence, but currently persistent variables can only be read from the active side 20100807 12:05:24< zookeeper> s/[scenario]/[multiplayer], if that's what you have... 20100807 12:06:01< Upthorn> so I want, when the scenario starts, to read side 1's variables, end turn, and so on until I've got each side's, then set a flag saying "done" and reset to turn 1 20100807 12:09:30< zookeeper> sounds pretty straightforward 20100807 12:10:56< timotei> fendrin: yey. macro navigation works :) 20100807 12:11:08< Upthorn> oh huh. 20100807 12:11:39< Upthorn> endlevel will trigger prestart and start again, won't it? 20100807 12:12:28< zookeeper> well, it'll end the current scenario and start the next one, so yeah, if the next one is the same one... 20100807 12:13:13< Upthorn> and wesnoth is also telling me it needs a closing tag! 20100807 12:13:16< Upthorn> such a hassle. 20100807 12:13:21< Upthorn> :) 20100807 12:30:10-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]] 20100807 12:49:23< fendrin> timotei: hello 20100807 12:49:32< timotei> hi fendrin 20100807 12:49:49< fendrin> timotei: The plugin works much better with the right java jdk :-) 20100807 12:49:58< timotei> fendrin: Good to hear 20100807 12:50:04< timotei> fendrin: I think I must precise this in the readme 20100807 12:50:08< fendrin> timotei: I would like to do some work on LoW with the plugin. 20100807 12:50:18< timotei> so we won't hunt stupid bugs 20100807 12:50:25< timotei> fendrin: what exaclty to do on it? 20100807 12:50:37< fendrin> timotei: Maybe you mention that some linux distributions go with the non working openjdk 20100807 12:50:50< timotei> ok 20100807 12:51:13< timotei> fendrin: I like how the plugin evolves :D 20100807 12:51:22< fendrin> timotei: Some wml coding related to the multiplayer part of the campaign, scenario 14 needs to be rebalanced it's much to hard. 20100807 12:51:29< timotei> oh 20100807 12:51:30< timotei> ok 20100807 12:51:53< fendrin> timotei: So I would like to request a feature from you. 20100807 12:52:00< timotei> yes, say please 20100807 12:52:22< fendrin> Can you include the mainline campaign in the workspace when setting up as well? 20100807 12:52:35< timotei> as a project right? 20100807 12:53:09< fendrin> timotei: I think it is okay to have one project per configuration set. 20100807 12:53:40< fendrin> timotei: So a developer can have different versions around, each with it's own .wesnoth folder. 20100807 12:53:54< timotei> what's a 'configuration set'? 20100807 12:54:01< CIA-87> timotei * r45324 /trunk/utils/java/ (4 files in 3 dirs): 20100807 12:54:02< CIA-87> eclipse plugin: change the storage type for defines 20100807 12:54:02< CIA-87> from a list to a map, for a faster look-up 20100807 12:54:17< CIA-87> timotei * r45325 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/ (3 files in 3 dirs): eclipse plugin: add navigation to macro definition 20100807 12:54:34< CIA-87> timotei * r45326 /trunk/utils/java/eclipse_plugin/changelog: eclipse plugin: update changelog 20100807 12:55:01< fendrin> A valid set of configuration entries like: Executable, path to core, path to .wesnoth, path to wmltools. 20100807 12:55:58< timotei> hmm 20100807 12:56:08< fendrin> It is basically like it works now, with the exception that the project created for a workspace only contains the addons from a config set, but not the mainline content. 20100807 12:57:12< timotei> so a configuration set is something like... a set of preferences? 20100807 12:57:22< fendrin> yes 20100807 12:57:46< timotei> I don't know if it's possible (without big hacks) but I'll investigate 20100807 12:57:59< timotei> but still, I don't get the: that the project created for a workspace only contains the addons from a config set 20100807 12:58:10< timotei> maybe give me a straight example? 20100807 13:05:55< timotei> fendrin: you know what? I think I'll work today on the Wesnoth View ok? 20100807 13:05:57< fendrin> timotei: That is currently the case for me. If I feed the preferences with pathes and do "Setup Workspace" eclipse builds me a project/folder with only the addons. 20100807 13:06:29< timotei> fendrin: and the view will have the special project: User Addons and Mainline 20100807 13:07:12< fendrin> timotei: Okay, that sounds fine. 20100807 13:07:20< timotei> but I have a question for that 20100807 13:07:27< timotei> what we use for, the User Addons? 20100807 13:07:43< timotei> I think I added that before thinking actually on it's use 20100807 13:08:16< fendrin> It is very useful for testing. 20100807 13:08:36< timotei> so, a quick .cfg file 20100807 13:08:39< timotei> right? 20100807 13:08:49< fendrin> ? 20100807 13:09:04< timotei> I was thinking to not allow users to use that project as a 'campaign project' 20100807 13:09:19< timotei> but just for testing 'isolated' config files 20100807 13:13:50-!- AnMaster [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20100807 13:13:56< fendrin> Sorry, I still don't get what you are talking about. 20100807 13:14:33< timotei> Actually it was a presumption on how you do testing in 'user addons' 20100807 13:15:16< fendrin> timotei: A no. I meant the current 'user addons' feature is quite usable to test the eclipse plugin. 20100807 13:28:30< Upthorn> hrm 20100807 13:28:41< Upthorn> [end_turn] is causing me a crash in multiplayer 20100807 13:29:49< Upthorn> on line 71 in playturn.cpp "if (resources::undo_stack->empty()) {" 20100807 13:30:22< Upthorn> debugger tells me that resources::undo_stack == 0 20100807 13:31:04-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 258 seconds] 20100807 13:31:46-!- AnMaster [~AnMaster@unaffiliated/anmaster] has quit [Quit: ZNC - http://znc.sourceforge.net] 20100807 13:35:20-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100807 13:36:56< fendrin> zookeeper: I would like to balance scenario 14 by making the ai do better. That is why I set the aggression to 0, the caution to 1 and the grouping to defensive. It seems not to work like expected. Are those values reasonable? 20100807 13:38:11< zookeeper> fendrin, i don't know the AI params well, it's probably best to ask crab 20100807 13:38:34< zookeeper> anyway, how did you expect it to work and how does it work? 20100807 13:39:04< zookeeper> i can imagine that maybe with those settings the AI just doesn't attack at all 20100807 13:39:41< fendrin> zookeeper: The humans and elves win in scenario 14 when the turns run out. 20100807 13:39:58< fendrin> zookeeper: It is a defend the leader long enough like scenario. 20100807 13:41:32-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100807 13:45:15-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100807 13:49:28-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100807 13:53:08< fendrin> zookeeper: So I would be very satisfied if the humans don't attack at all during the night. But the choosen values don't seem to make much difference. 20100807 13:54:01-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Remote host closed the connection] 20100807 14:02:11-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100807 14:05:25-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20100807 14:59:44-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100807 15:03:39< Upthorn> okay, I misidentified the problem. 20100807 15:04:14< Upthorn> it isn't that resources::undo_stack is null, it is that playmp_controller::turn_data_ is null 20100807 15:06:14< Upthorn> apparently [end_turn] in event=side x turn x causes "after_human_turn" to fire before "before_human_turn" happens. 20100807 15:06:22< Upthorn> at least, I'm assuming. 20100807 15:37:21< CIA-87> zookeeper * r45327 /trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/ (08_Clearwater_Port.cfg 12_A_Final_Spring.cfg): Wired in the AI controller to 'Clearwater Port' and 'A Final Spring'. 20100807 15:43:32< CIA-87> zookeeper * r45328 /trunk/data/campaigns/Heir_To_The_Throne/scenarios/19c_Cliffs_of_Thoria.cfg: 20100807 15:43:32< CIA-87> Removed traits from the drake leader, removed the lvl1's and lvl2's of the 20100807 15:43:32< CIA-87> clasher line from the list of possible spawns, fixed some missing punctuation, 20100807 15:43:32< CIA-87> used "nest" instead of "base" in dialogue and improved a message filter. 20100807 15:44:31-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100807 15:48:47< CIA-87> zookeeper * r45329 /trunk/data/campaigns/Legend_of_Wesmere/scenarios/ (01_The_Uprooting.cfg 16_The_Chief_must_die.cfg): Converted the carryover note in 'The Uprooting' to use the [gold_carryover] tag, and removed the carryover notes from 'The Chief Must Die' since the player can't gain or lose any gold there anyway. 20100807 15:56:50-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Remote host closed the connection] 20100807 16:32:52-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100807 16:55:09-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100807 16:56:12-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100807 16:59:21-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 265 seconds] 20100807 17:27:09-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100807 17:28:19-!- wesbot changed the topic of #wesnoth-dev to: 136 bugs, 286 feature requests, 13 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100807 17:28:19-!- Greywhind [~Greywhind@pool-96-238-43-241.prvdri.fios.verizon.net] has joined #wesnoth-dev 20100807 17:32:33< elias> hehe, what busy ants you all are http://www.youtube.com/watch?v=ZYc0mMvxD3I 20100807 17:36:43< timotei> haha elias ++ 20100807 17:37:17-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100807 17:37:53< zookeeper> nice 20100807 17:38:17< timotei> haha, ivanovic is much really on the 'po' part :D 20100807 17:39:36< timotei> great. I shouldn't have named those folder so lon 20100807 17:39:38< timotei> long* 20100807 17:46:08-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100807 17:46:15< timotei> hey fendrin :) 20100807 17:46:29< fendrin> hi 20100807 17:46:51< timotei> I want to ask you something. how should we add the data/core and data/campaigns folder to the view? 20100807 17:46:58< timotei> should we add them to each project? 20100807 17:47:14< timotei> just like is in package explorer: JRE System Library and stuff? 20100807 17:48:01< fendrin> timotei: I would like to have the data folder like it is on disc browsable. 20100807 17:49:43< fendrin> And a "resource" like categorized view that contains, factions, units, campaigns... 20100807 17:50:36< fendrin> all of this would be bound into a single project that corresponds to a config. So that every version of wesnoth installed can have it's own project with config and it's own resources. 20100807 17:51:06< timotei> aha 20100807 17:51:19-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100807 17:51:41< timotei> how can I know what version of wesnoth does the user have? 20100807 17:52:05< timotei> I mean, that means I have to make preferences a bit... complicated, to support different wesnoth versions 20100807 17:53:00< fendrin> timotei: Currently preferences are some kind of toplevel config for the wesnoth mode. Just move them to each project based on the wesnoth mode and you are fine. 20100807 17:54:08< fendrin> timotei: All you need extra is a field where the user can name the project. It can default to the binary name. So if the binary is called wesnoth-1.8 that is a good start. 20100807 17:55:14< timotei> fendrin: something like this?: http://imagebin.org/108478 20100807 17:55:21< timotei> and a folder like that fo each version 20100807 17:56:29< fendrin> timotei: yes, that is exactly what I had in mind. But the "Simple Campaign" would be in the addons filder of Wesnoth1.8. 20100807 17:56:38< fendrin> s/filder/folder 20100807 17:57:07< fendrin> The create new campaign dialog should add the new campaign to the addons folder of the current project. 20100807 18:01:58< fendrin> timotei: still around? 20100807 18:03:06< timotei> fendrin: yes 20100807 18:03:21< timotei> well, this will get things very complicated 20100807 18:03:30< timotei> let me think more 20100807 18:21:06-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100807 18:28:31< timotei> fendrin: hmm, so actually you're talking about working sets :) 20100807 18:31:50< CIA-87> zookeeper * r45330 /trunk/data/ (22 files in 8 dirs): 20100807 18:31:51< CIA-87> Improvements to the objectives dialog: made each objective and other note be 20100807 18:31:51< CIA-87> prefixed with a bullet, added support for an optional caption= key to 20100807 18:31:51< CIA-87> [objective], added a few new helper macros for adding footnotes to objectives 20100807 18:31:51< CIA-87> and converted all current alternative and bonus objective texts accordingly. 20100807 18:32:18< fendrin> timotei: yes. 20100807 18:32:27< timotei> fendrin: well, I think that should work 20100807 18:32:44< timotei> fendrin: that means in the preferences I have to setup an auxiliary list for chosing a profile (wesnoth 1.x) 20100807 18:33:45< fendrin> timotei: No. Not necessarily. The current active project determines the set of pathes. 20100807 18:34:16< timotei> fendrin: you mean the current working set 20100807 18:34:46< timotei> fendrin: oh, and based on that, I set the preferences right? 20100807 18:35:00< fendrin> timotei: No, I mean the current active project. 20100807 18:35:18< fendrin> You have, say 1.8 and 1.9 and 1.10 projects around. 20100807 18:35:54< fendrin> When you switch to a file from 1.9 the config from there is used. 20100807 18:36:22-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100807 18:36:32< timotei> Ok. If you think this way, is easy. But still we have to handle this: 20100807 18:36:39< timotei> 1) We don't know what version of wesnoth a project uses 20100807 18:37:10< timotei> 2) currently only 1.9 is able to be used with the plugin 20100807 18:38:53< timotei> but as a fix, we should ask the user of what version the project should use 20100807 18:38:59< timotei> is that good enough? 20100807 18:39:07< timotei> and I'll store that info into the .wesnoth file 20100807 18:39:46< fendrin> timotei: Don't ask the user for a version number. Just let him name the project. 20100807 18:42:03< timotei> fendrin: Well, then how we handle this? 20100807 18:42:50< timotei> fendrin: ok. we have: wesnoth --version 20100807 18:43:22< fendrin> timotei: Good idea. Fetch the --version and make a naming proposal out of it. 20100807 18:44:15< timotei> So... we ask the user first time for it's settings. it specifies the paths 20100807 18:44:19< timotei> and create the working set 20100807 18:44:25< timotei> how we handle addin another version? 20100807 18:44:40< fendrin> timotei: Via a new project dialog? 20100807 18:44:44-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20100807 18:44:58< timotei> Didn't you said we don't ask for version from the user? 20100807 18:46:00< timotei> I mean, the user will eventually face the 'versioning stuff' 20100807 18:46:07< timotei> when he uses the working sets 20100807 18:46:36< timotei> if we are going with that 20100807 18:46:48< timotei> using a working set, hides any other projects that are not part of it 20100807 18:46:57< timotei> so if we go 'hiding' version stuff from the user... 20100807 18:47:11< timotei> we need to have multiple visible (in the same time): 20100807 18:47:13< timotei> _Wesnoth 1.8 20100807 18:47:16< timotei> _wesnoth 1.0... 20100807 18:47:28< timotei> or however the users names it 20100807 18:51:25< timotei> fendrin: because, basically, a working set isn't just a "folder" that hold subfolder 20100807 18:59:07< zookeeper> wait, what, [message] has supported [show_if] for a year without me noticing? O.o 20100807 18:59:46-!- AnMaster [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20100807 18:59:56< Elvish_Pillage2> why would [message] have [show_if] when you can just put an [if] around the message?! 20100807 19:00:23< zookeeper> because the former is shorter and prettier 20100807 19:00:33< Elvish_Pillage2> shorter by ONE tag 20100807 19:00:55< timotei> Elvish_Pillage2: It's still shorter;) 20100807 19:01:02< Elvish_Pillage2> yeah, but so is using macros. 20100807 19:01:02< anonymissimus> if..variable..then 20100807 19:01:14< Elvish_Pillage2> anonymissimus: show_if..variable 20100807 19:01:21< Elvish_Pillage2> only the [then] can be omitted here 20100807 19:01:40-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 240 seconds] 20100807 19:01:40< Elvish_Pillage2> and if you want to check the inversion of a condition, it's not shorter at all! 20100807 19:01:57< Elvish_Pillage2> because you can do if..variable..else, but you'd have to do show_if..not..variable 20100807 19:02:01< zookeeper> well, wrapping in an [if] takes two lines more 20100807 19:02:50< Elvish_Pillage2> and if you use the standard IF_VAR macros, it's shorter to do IF_VAR regardless 20100807 19:03:08< Elvish_Pillage2> *macro 20100807 19:04:31< anonymissimus> maybe silene wanted to test wesnoth.eval_conditional :P 20100807 19:05:13< Elvish_Pillage2> ...I wouldn't be ragging on this so much if it wasn't completely useless :P 20100807 19:05:43-!- Golbeeze [~Golbeeze@c-76-124-219-232.hsd1.nj.comcast.net] has joined #wesnoth-dev 20100807 19:05:54< Elvish_Pillage2> Golbeeze! 20100807 19:06:04< Golbeeze> Hello 20100807 19:06:06< alink> zookeeper: btw campaign without difficulty has also a (smaller) bug in 1.8, they get the difficulty define from previously played campaign. 20100807 19:06:11< Elvish_Pillage2> I finished writing my 6pss AI. 20100807 19:06:16< Golbeeze> awesome! 20100807 19:06:23< Elvish_Pillage2> Want to see it in action? 20100807 19:06:28< Golbeeze> Yes 20100807 19:06:31< Golbeeze> Give me 5 minutes 20100807 19:06:34< Elvish_Pillage2> :) 20100807 19:06:47< zookeeper> alink, right...luckily that'd very rarely cause any problems i guess, since the campaign likely won't use the defines for anything :P 20100807 19:06:59-!- Gallaecio [~Gallaecio@191.148.60.213.dynamic.mundo-r.com] has joined #wesnoth-dev 20100807 19:07:07< Elvish_Pillage2> Golbeeze: I'm afraid I don't have it on the most current version of your map; we're going to have to figure out how to coordinate development somehow 20100807 19:07:42< Golbeeze> How did you add the AI into it? 20100807 19:07:53< Elvish_Pillage2> well, I just replaced the AI tag. 20100807 19:08:13< Elvish_Pillage2> and got rid of the choice. I don't know of a way to substitute in different AIs... 20100807 19:08:22< alink> zookeeper: yes I think so too, unless there is a macro name collision with the difficulty name. Not sure how preprocessor handles that 20100807 19:08:37< Elvish_Pillage2> there should be, but I think it might be buggy in the current wesnoth; I'll have to talk to Crab_ 20100807 19:08:54< zookeeper> alink, so is that bug fixed in trunk? 20100807 19:08:58< Golbeeze> EP: ok, is this the AI that should work with EoHS or was it just a SMART AI for the map? 20100807 19:09:08< Elvish_Pillage2> just a smart AI for the map. 20100807 19:09:15< Golbeeze> awesome 20100807 19:09:22< Elvish_Pillage2> it, uh 20100807 19:09:30< Elvish_Pillage2> people haven't lived past turn 7 yet on Sissies difficulty 20100807 19:09:37< alink> zookeeper: I can fix it, but I prefer simplify code first (a lot of suokko's dead code :-/ ) 20100807 19:09:45< Elvish_Pillage2> although that's probably partially because Yarg likes leader saccing too much :p 20100807 19:10:22< Golbeeze> hehe 20100807 19:10:28< alink> zookeeper: does it break a mainline trunk campaign ? 20100807 19:11:49< CIA-87> alink * r45331 /trunk/src/config_cache.hpp: Remove dead code 20100807 19:11:49< CIA-87> alink * r45332 /trunk/src/ (config_cache.cpp config_cache.hpp): Remove dead code (about weird unused path-specific defines) 20100807 19:11:49< CIA-87> alink * r45333 /trunk/src/config_cache.hpp: Remove dead code 20100807 19:12:45< zookeeper> alink, no, just the new tutorial i'm working on, but i've added a dummy difficulty level as a workaround for now 20100807 19:13:08< zookeeper> how the heck did suokko have time to touch that much code? seems like he was everywhere :P 20100807 19:13:30< alink> zookeeper: it this case it's whole new files ;-p 20100807 19:14:59< anonymissimus> zookeeper: when doing [modify_unit]type= do you want it to behave like the advance_unit macro ? or transform_unit ? 20100807 19:16:15< Golbeeze> EP: I am almost ready 20100807 19:18:04< alink> zookeeper: to be fair the terrain bug you reported is there because we never cleared defines when there was no difficulty. And when I added a NO_TERRAIN_GFX define in title screen, that exposed that error in a slightly more visible way. 20100807 19:21:21< zookeeper> anonymissimus, i don't know, i'm still thinking about the whole [modify_unit] idea...i guess i was a bit hasty in proposing that 20100807 19:21:59< anonymissimus> :( 20100807 19:22:30< anonymissimus> hm well...I think my "table confusion" has lessened now 20100807 19:23:57-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100807 19:24:14< zookeeper> anonymissimus, i don't know how long it'll take me to figure out how i'd like that tag to work exactly; any chance you'd rather spend your time on [move_unit] for now? 20100807 19:24:47-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100807 19:25:47 * zookeeper goes afk for a while 20100807 19:25:51< anonymissimus> ok 20100807 19:25:56-!- Golbeeze [~Golbeeze@c-76-124-219-232.hsd1.nj.comcast.net] has quit [Quit: So long King Bowser!] 20100807 19:39:48< CIA-87> alink * r45334 /trunk/src/game.cpp: 20100807 19:39:49< CIA-87> Fix bug #16377 (Main map broken if campaign has no difficulties) 20100807 19:39:49< CIA-87> This also fix a bug where campaign without difficulty was contaminated by the difficulty define of other campaign. This at least caused caches multiplication. 20100807 19:39:53< alink> zookeeper: fixed^ 20100807 19:40:47< timotei> alink nice fix 20100807 19:40:55< timotei> alink: I would wrote instead of that: return false :)) 20100807 19:41:37< alink> timotei: you mean forbid campaign without difficulty ? 20100807 19:41:46< timotei> alink: yeah. until zookeeper stopped me :D 20100807 19:42:43< alink> but now I have discovered several things broken there. (that was just a quick fix btw, more cleaning ahead) 20100807 19:43:07< alink> also other code just give the "NORMAL" difficulty where none is provided 20100807 19:43:09< timotei> :D 20100807 19:44:37< CIA-87> zookeeper * r45335 /trunk/data/ (4 files in 3 dirs): 20100807 19:44:37< CIA-87> Moved the new caption and footnote macros from scenario-utils.cfg to 20100807 19:44:37< CIA-87> carryover-utils.cfg for now and converted a few remaining objective descriptions 20100807 19:44:37< CIA-87> embedded in note= to proper [objective] tags with captions and/or footnotes. 20100807 19:45:14< zookeeper> fendrin, ^ i've made a few changes to LoW objectives too (in that commit and some others), i presume you don't mind. 20100807 19:45:59< fendrin> zookeeper: No, I don't. I am sure you know what you are doing. 20100807 19:46:00< alink> Ivanovic: when next 1.8.4 is planned ? 20100807 19:46:09< zookeeper> i think all the bonus/alternative objectives are now displayed in a uniform manner in all the campaigns 20100807 19:46:21< zookeeper> fendrin, i hope so ;) 20100807 19:48:50-!- Gallaecio [~Gallaecio@191.148.60.213.dynamic.mundo-r.com] has quit [Remote host closed the connection] 20100807 19:55:21-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20100807 20:03:12< CIA-87> zookeeper * r45336 /trunk/data/core/macros/ (carryover-utils.cfg objective-utils.cfg scenario-utils.cfg): Moved all the objectives-related macros to a new objective-utils.cfg file. 20100807 20:11:12-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 20:15:01-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100807 20:15:01< timotei> alink: eleazar asked that yesterday 20100807 20:17:17< alink> timotei: you mean about 1.8.4? then it was 2 days ago, and the answer was not very clear, that's why I ask again 20100807 20:17:28< timotei> alink: hmm 20100807 20:17:34< timotei> let me check 20100807 20:17:47< alink> I am guessing sunday, but wanted to be sure 20100807 20:18:09-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100807 20:18:42< timotei> 20100805 20:07:32< eleazar_> Ivanovic: what is the soonest release you are considering? 20100807 20:18:42< timotei> 20100805 20:07:45< timotei> eleazar_: iirc end of gsoc 20100807 20:18:42< timotei> 20100805 20:07:46< Ivanovic> 1.8.4 on sunday 20100807 20:20:02< alink> yeah but they talked more after that, and I am not sure what part was about 1.9.0 20100807 20:20:23< alink> for example 20:08 ah, wait, no, this would be sunday, this is too soon for me 20100807 20:20:50< alink> mmh ok that part was probably for 1.9.0 20100807 20:21:20< alink> anyway if tomorrow, maybe add it in topic 20100807 20:23:19< timotei> fendrin: well, I think I'm done for today. 20100807 20:23:35< timotei> fendrin: I don't know if I will enter tomorrow, I need to study something for exam 20100807 20:24:57< timotei> alink: I saw you had generated some statistics for the host server 20100807 20:26:08< fendrin> timotei: fine, so we see again on monday. 20100807 20:26:54< alink> timotei: i didn't generate anything, just posted a link 20100807 20:27:10< timotei> fendrin: I'm commiting now the 'complete closing tag' thing 20100807 20:27:25< timotei> fendrin: links for macros works now :) 20100807 20:27:45< CIA-87> timotei * r45337 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/navigation/WMLHyperlinkHelper.java: 20100807 20:27:45< CIA-87> eclipse plugin: create the link even if we have 20100807 20:27:45< CIA-87> an absolute location 20100807 20:27:50< fendrin> timotei: cool, is there any tab completion working for macros or other thingsß 20100807 20:27:52< fendrin> ? 20100807 20:27:55< timotei> of course 20100807 20:27:56< timotei> :D 20100807 20:27:58< CIA-87> timotei * r45338 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/WMLUiModule.java: eclipse plugin: disable debug info for now 20100807 20:28:03< timotei> macros+keynames + tag names 20100807 20:28:15< timotei> macros that have arguments insert the arguments too ;) 20100807 20:28:17< CIA-87> timotei * r45339 /trunk/utils/java/ (7 files in 6 dirs): 20100807 20:28:17< CIA-87> eclipse plugin: cleanup 20100807 20:28:17< CIA-87> - rename the eclipse plugin project so the id generation will be better 20100807 20:28:17< CIA-87> - add wesnoth projects view 20100807 20:28:17< CIA-87> - cleanup 20100807 20:28:26< timotei> I need to beatufy that, but it's there 20100807 20:28:28< CIA-87> timotei * r45340 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/ (WMLUiModule.java editor/WMLAbstractDirtyEditorCallback.java): 20100807 20:28:28< CIA-87> eclipse plugin: override the default editorcallback 20100807 20:28:28< CIA-87> so we have full control of when we add xtext nature 20100807 20:28:36< timotei> fendrin: it seems things have gone well till now 20100807 20:28:41< CIA-87> timotei * r45341 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/autoedit/ (ClosingEndTagAutoEditStrategy.java WMLAutoEditStrategy.java): eclipse plugin:add auto closing end tag on '[/' 20100807 20:28:57< CIA-87> timotei * r45342 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/autoedit/ClosingEndTagAutoEditStrategy.java: eclipse plugin: prevent adding invalid tag end, when none need to be completed 20100807 20:29:09< CIA-87> timotei * r45343 /trunk/utils/java/eclipse_plugin/plugin.xml: eclipse plugin: add a broader range of filters 20100807 20:29:20< timotei> fendrin: the next stops are: show macro definitions 20100807 20:29:23< timotei> when pressing F2 20100807 20:29:26< timotei> over the name;) 20100807 20:29:53< fendrin> timotei: nice. Do you also plan to make macros expandable? 20100807 20:30:09< timotei> fendrin: yes, that will be done too 20100807 20:30:16< fendrin> very cool 20100807 20:30:21< timotei> fendrin: actually till now it's too much easier than I thought :)) 20100807 20:30:31< timotei> fendrin: just do some iterations based on some flags, and replace things 20100807 20:30:55< timotei> alink: oh, I though you have access to the server 20100807 20:31:23< timotei> alink, fendrin: I would like to see how many people used the eclipse plugin, by seeing the number of downloads fromeclipse.wesnoth.org 20100807 20:35:31-!- eleazar [~eleazar@ppp-70-226-206-189.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100807 20:36:07< CIA-87> timotei * r45344 /trunk/utils/java/eclipse_plugin/changelog: eclipse plugin: update the changelog 20100807 20:37:41< timotei> ok, good night fendrin, alink 20100807 20:38:12-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: Leaving] 20100807 20:45:43-!- dtiger [~dtiger@dynamic-vpdn-93-125-16-193.telecom.by] has joined #wesnoth-dev 20100807 20:53:59-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 20:54:04-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20100807 20:54:17-!- shadowm_laptop2 is now known as shadowm_laptop 20100807 21:03:56< Ivanovic> alink: no, 1.9.0 will not be tomorrow 20100807 21:04:04< Ivanovic> might be on thursday though, not sure yet at all 20100807 21:04:22< alink> Ivanovic: ok and 1.8.4? 20100807 21:04:34< Ivanovic> maybe tomorrow, we will see 20100807 21:05:01< Ivanovic> (and since the number of commits in 1.8 is not this high i don't considet it crucial to have this date listed in the topic 20100807 21:05:30< alink> yes not important indeed 20100807 21:10:18< alink> timotei: no, I don't have any special access to the server 20100807 21:12:26< billynux> Ivanovic, will 1.9 include the ANA implementation? 20100807 21:12:42< alink> If you want user feedback, maybe open a forum thread? 20100807 21:12:44< billynux> (currently on in trunk) 20100807 21:13:01< alink> timotei:^ 20100807 21:16:54< alink> timotei: note that forum feedback has often more complains (people are less vocal about things working well)? 20100807 21:17:06< alink> s/?/ 20100807 21:20:43-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100807 21:51:59< Ivanovic> billynux: 1.9.0 will be a trunk snapshot 20100807 21:52:08< Ivanovic> so if it is in trunk: yeah, it will include ana 20100807 21:52:14< billynux> ok 20100807 22:08:02-!- dtiger [~dtiger@dynamic-vpdn-93-125-16-193.telecom.by] has quit [Remote host closed the connection] 20100807 22:13:19< billynux> Sirp, around? 20100807 22:15:35-!- shadowmaster [~ignacio@wesnoth/developer/shadowmaster] has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number] 20100807 22:15:47< billynux> Sirp, most operations in network.hpp are naturally blocking, I re-implemented that API using ANA (which in turn uses boost::asio) using asio's asynchronous model. Now, you have a connect operation that takes a threading::waiter argument and you use that to keep the GUI fresh while connecting 20100807 22:15:56-!- shadowmaster [~ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100807 22:17:01< billynux> Sirp, my question is: can I use threading::waiter for this purpose with asio's own async. operations? Or is the thread.hpp API only intended for SDL? 20100807 22:17:07< billynux> shadowmaster, Do you know? ^ 20100807 22:17:26< shadowmaster> I have no idea. 20100807 22:18:04< shadowmaster> in fact, I have no idea about threading at all ;) 20100807 22:18:05< billynux> I'm dealing with the following bug: While attempting to connect, the GUI won't refresh with ANA 20100807 22:25:35< CIA-87> zookeeper * r45345 /trunk/ (changelog players_changelog): Updated changelogs. 20100807 22:39:13-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100807 22:46:11-!- Mythological_ [Mythologic@77.28.92.132] has joined #wesnoth-dev 20100807 22:48:43-!- Mythological [Mythologic@77.28.80.80] has quit [Ping timeout: 265 seconds] 20100807 23:08:39< fendrin> wesbot: seen crab? 20100807 23:08:39< wesbot> fendrin: Sorry, I don't know of crab. 20100807 23:08:45< fendrin> wesbot: seen crab_? 20100807 23:08:45< wesbot> fendrin: The person with the nick Crab_ last spoke 11h 55m ago. 11h 15m ago they left with the message: Quit: Leaving. 20100807 23:15:09-!- alink [~alink@wesnoth/developer/alink] has quit [Remote host closed the connection] 20100807 23:16:35< CIA-87> zookeeper * r45346 /trunk/data/campaigns/Under_the_Burning_Suns/units/quenoth/ (27 files in 5 dirs): My assorted tweaks and changes to the Quenoth elves; nothing final, just my suggestion with quite a few pieces still missing. Also made all strings untranslatable as to not bother the translators. 20100807 23:54:26-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 265 seconds] 20100807 23:58:50-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev --- Log closed Sun Aug 08 00:00:00 2010