--- Log opened Thu Apr 18 00:00:22 2013 20130418 00:01:06< flix> mattsc: but anyhow, i think like {~scenarios/} should be defined by default within #ifdef TEST 20130418 00:01:15< flix> *something like... 20130418 00:02:40< mattsc> Well, there is no ~scenarios/ by default (right?), but that could be created pretty easily. 20130418 00:02:56< flix> mattsc: no, I created it 20130418 00:05:32< mattsc> I see no harm in doing that (I'd call it test_scenarios/ though, just to make it absolutely clear what it is for). Suggestion: go on the Ideas forum and suggest this, and if none of the devs objects, I can commit that later. 20130418 00:06:44-!- mjs-de [~mjs-de@g224177129.adsl.alicedsl.de] has quit [Remote host closed the connection] 20130418 00:07:11< mattsc> I have to be off now, not sure when I'll be back today (or if). 20130418 00:07:54< fendrin> hi LordBob_ 20130418 00:08:26< LordBob_> welcome back ^^ 20130418 00:10:16-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: bye] 20130418 00:11:02< LordBob_> fendrin: I've been working on backgrounds for the editor: http://forums.wesnoth.org/viewtopic.php?f=9&t=24598&start=45#p551750 20130418 00:12:41< fendrin> LordBob_: Let's use them all. A dark one for the undead campaign, a wooden one for elve campaigns, a blue one for the merman campaign and so on. 20130418 00:13:47< LordBob_> Woah there. Let's first achieve a single, functional theme :p 20130418 00:14:02< LordBob_> (Though to be honest, the thought did cross my mind ) 20130418 00:14:35< LordBob_> (I even have a nice grunge texture that'll be perfect for undeads) 20130418 00:16:35< fendrin> LordBob_: Having derivates using the same sized art but with different texture is not a big coding problem. 20130418 00:17:10< fendrin> LordBob_: In fact this is already doable with theme wml without any c++ coding. 20130418 00:17:49< fendrin> LordBob_: But if we start with a single one, I suggest to pick one for genaral multiplayer maps. 20130418 00:17:52< fendrin> general 20130418 00:18:03< fendrin> a neutral one if you like 20130418 00:19:07< fendrin> LordBob_: The thing in the corner is great. 20130418 00:19:38< LordBob_> I'd be quite pleased to produce as many as need. However, coning set aside, doing several still doubles the amount of graphic work. And there are many more elements to create than just the background for a proper theme 20130418 00:19:48< fendrin> LordBob_: But I am not sure if we can have transparent stuff above the game map. 20130418 00:19:52< LordBob_> *coDing set aside 20130418 00:20:19< LordBob_> Yeah, I was afraid of something like that 20130418 00:22:03< fendrin> LordBob_: Yeah, this could be a problem that is not easily coded around. 20130418 00:22:37< LordBob_> Ah, so those still exist ^^;; 20130418 00:23:13< fendrin> Yeah, it is a refreshing problem. 20130418 00:23:39< fendrin> Whenever the content of the game map changes (which happens quite often) the overlay border needs to be redrawn as well. 20130418 00:23:48< vultraz> ooo 20130418 00:23:54< vultraz> finally, alternate theme plans 20130418 00:23:59< LordBob_> refreshing as in "map refresh", or as in "you're glad to have it" ? ôo 20130418 00:24:32< fendrin> map redraw event issue 20130418 00:24:40< vultraz> LordBob_: I like the thing in the corner 20130418 00:24:59< fendrin> LordBob_: But, we have that border overlapping the map. 20130418 00:24:59< vultraz> as well as the border 20130418 00:25:05< fendrin> LordBob_: Did you notice it? 20130418 00:25:12< vultraz> and personally I like the wood bg 20130418 00:25:15< fendrin> LordBob_: It is already some transparent thing. 20130418 00:25:20< LordBob_> vultraz: yup. I'll first try to produce a single, consistent theme, but no doubt leftover concepts will later be recycled 20130418 00:25:28< fendrin> LordBob_: We will just use this feature, so consider it doable. 20130418 00:26:17-!- _trewe [~trewe@87-196-86-251.net.novis.pt] has quit [Quit: Verlassend] 20130418 00:26:34< LordBob_> Fendrin: I'm not sure which border you're refering to. I did notice a shadow when one reaches the edge of the map, but that doesnt seem to be it. Lemme check 20130418 00:28:12-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20130418 00:28:47< fendrin> LordBob_: Yes, I will just copy the codepath for the border, but make this image appear always. 20130418 00:29:27< fendrin> LordBob_: Thus some c++ coding is involved but I am confident to reuse and modify already existing functions. 20130418 00:29:52< LordBob_> I guess it's worth a shot. Let's not break the map, though. :p 20130418 00:30:38< vultraz> fendrin: is this about adding that fancy border? 20130418 00:31:29< fendrin> vultraz: Not the border, it's about that thing in the corner that overlayps the game map. 20130418 00:31:50< vultraz> ah 20130418 00:32:01< vultraz> good, bc that's really an awesome bit :) 20130418 00:32:06< vultraz> (can we get the border too?) 20130418 00:32:19< fendrin> The border is no problem. 20130418 00:33:48< fendrin> LordBob_: Shall we use the one you called "ebony" as the general theme? 20130418 00:34:06< vultraz> works for me 20130418 00:34:43-!- razvan_florea [~chatzilla@p5.eregie.pub.ro] has quit [Ping timeout: 264 seconds] 20130418 00:35:06< LordBob_> Mmh. I'd rather go with "tinted leather" or "tinted grey" 20130418 00:36:35< fendrin> LordBob_: Tinted leather is exiting. 20130418 00:36:45< LordBob_> exiting ? 20130418 00:36:46-!- jetrel2 [~jetrel2@184-100-81-171.mpls.qwest.net] has joined #wesnoth-dev 20130418 00:37:20< LordBob_> I'm not sure I understood that 20130418 00:37:21< fendrin> LordBob_: It's a little uncommon, never seen such a game interface. I would prefer this one. 20130418 00:38:15< shadowm> I think he means "exciting". 20130418 00:38:18< vultraz> LordBob_: exciting 20130418 00:38:46< LordBob_> fendrin: only thing I'm worried about is how its texture will mix with a large number of buttons 20130418 00:38:47< fendrin> yeah, shadowm is right. 20130418 00:39:03< LordBob_> (yeah, I realized eventually. Thanks guys) 20130418 00:39:12< fendrin> LordBob_: That is why I called for "Ebony". It is very near to our current one. 20130418 00:39:18< bumbadadabum> Is there an option to display variables in a theme? 20130418 00:39:30< fendrin> bumbadadabum: huh? 20130418 00:40:04< bumbadadabum> fendrin: In a scenario, I would like to have a variable displayed in the sidebar of the theme 20130418 00:40:17< vultraz> fendrin: display the values of WML variables as theme items 20130418 00:40:25-!- Nephro [516e7ce1@gateway/web/freenode/ip.81.110.124.225] has quit [Quit: Page closed] 20130418 00:40:36< bumbadadabum> but AFAICT, this isn't possible 20130418 00:40:59< fendrin> hmmm, good question. 20130418 00:41:06< bumbadadabum> if it in fact isn't, would it be easy to implement? 20130418 00:41:24< shadowm> Isn't there an ancient FR for that? 20130418 00:41:29< LordBob_> Fendrin: you were right, maybe we will end using them all ^^ 20130418 00:42:13< fendrin> LordBob_: Well, just a different background isn't a new theme. It is just a modification. 20130418 00:42:50< LordBob_> Absolutely. On my part at least, it's only a matter of showing one layer or the other 20130418 00:43:25< fendrin> Indeed. The only show stopper might be the scaling vs tiling gui. 20130418 00:43:52< flix> mattsc: you think something like this is fine?: value="Elvish Archer => Elvish Marksman, Spearman => Swordsman" 20130418 00:44:08< LordBob_> Agreed. The work-intensive part is designing borders and other decorative elements that match the new theme, and possibly that part where we try to turn a flat picture into a resizing theme 20130418 00:45:30< LordBob_> Either way, once this resizing thing is settled, I can create slices in the source file and from then on, things will be a lot faster 20130418 00:47:12< LordBob_> But enough for now. Tempting though it may be to spend the night drawing UIs, sleep is calling. 20130418 00:47:43< LordBob_> Good night, gentlemen (and ladies ? Are there actually any among the devs ?) 20130418 00:48:01< vultraz> don't think so :P 20130418 00:48:15< LordBob_> (I'd be surprised too) 20130418 00:48:28< shadowm> ... 20130418 00:48:59-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has quit [Quit: Zzzzz] 20130418 00:49:19< vultraz> shadowm: yes? 20130418 00:53:14-!- pj__ [8148b48b@gateway/web/freenode/ip.129.72.180.139] has joined #wesnoth-dev 20130418 00:57:32-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130418 00:59:30-!- neph [~neph@cpc4-broo8-2-0-cust224.14-2.cable.virginmedia.com] has quit [Ping timeout: 264 seconds] 20130418 01:05:50-!- kelpy [~forrest@c-67-201-222-79.reshall.wwu.edu] has joined #wesnoth-dev 20130418 01:17:56-!- pj__ [8148b48b@gateway/web/freenode/ip.129.72.180.139] has quit [Quit: Page closed] 20130418 01:18:36-!- pj__ [8148b48b@gateway/web/freenode/ip.129.72.180.139] has joined #wesnoth-dev 20130418 01:18:40-!- pj__ [8148b48b@gateway/web/freenode/ip.129.72.180.139] has left #wesnoth-dev [] 20130418 01:20:18-!- jetrel2 [~jetrel2@184-100-81-171.mpls.qwest.net] has quit [Quit: jetrel2] 20130418 01:25:24-!- pj__ [8148b48b@gateway/web/freenode/ip.129.72.180.139] has joined #wesnoth-dev 20130418 01:25:52-!- pj__ [8148b48b@gateway/web/freenode/ip.129.72.180.139] has left #wesnoth-dev [] 20130418 01:28:00-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has joined #wesnoth-dev 20130418 01:28:39-!- pjte [8148b48b@gateway/web/freenode/ip.129.72.180.139] has joined #wesnoth-dev 20130418 01:28:46-!- pjte [8148b48b@gateway/web/freenode/ip.129.72.180.139] has quit [Client Quit] 20130418 01:29:01< mattsc> flix: I had imagined that you'd pass the unit that is advancing to the function, and so the return value would simply be the advances-to type. 20130418 01:29:21-!- pjte [8148b48b@gateway/web/freenode/ip.129.72.180.139] has joined #wesnoth-dev 20130418 01:29:25< mattsc> flix: I'm really not here right now though ;) 20130418 01:31:12< flix> mattsc: according to Crab_: "so, you can make a new aspect of string type (and let this string be 'advance unit1 to unit2, ... ')" 20130418 01:32:23< mattsc> Well, but I might want to advance an archer in one part of the map to one unit type, and an archer in a different part of the map to another unit type. 20130418 01:32:25< flix> mattsc: and you can always answer late. I read logs. 20130418 01:32:46< mattsc> So you don't just want to know what a unit type advances to, but a specific unit. 20130418 01:33:08< mattsc> My preference would be to pass the unit in question to the evaluation function and return its advancement type. 20130418 01:33:32< mattsc> That way the AI coder has full felxibility. 20130418 01:34:48< flix> mattsc but LUA could generate the String dynamically. But you are right. I think there is no way, that LUA will know what exact unit will be advanced, right? 20130418 01:36:50< flix> mattsc: the problem is, there is no way to handle other things then Strings, ints, ... inside contexts.cpp 20130418 01:37:34< mattsc> Maybe I don't understand you correctly, I have no issue with the return value being a string. 20130418 01:37:54< mattsc> I just would like it to be a string for the exact unit advancing at the given time. 20130418 01:38:07< mattsc> I think it should be possible to do that? 20130418 01:38:34< mattsc> Anyways, I _really_ have to be off now and I likely won't be back on today. Sorry for that. 20130418 01:39:56< flix> mattsc: I will first get the static thing working and tomorrow we can discuss the functions again 20130418 01:40:08< flix> mattsc: bye! 20130418 01:40:49< mattsc> flix: sure, that's a good idea. I'm just saying what I'd like to see in the end, so that you don't take a route that you'll then have to redo completely. 20130418 01:40:59< mattsc> Ciao. 20130418 01:41:09-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: bye] 20130418 01:43:25-!- jetrel2 [~jetrel2@c-71-195-42-37.hsd1.mn.comcast.net] has joined #wesnoth-dev 20130418 02:23:04-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20130418 02:36:14-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20130418 02:37:16-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130418 02:39:42-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130418 03:04:36-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20130418 03:07:29-!- threkk [~threkk@55.Red-83-55-180.dynamicIP.rima-tde.net] has joined #wesnoth-dev 20130418 03:07:51< threkk> hello 20130418 03:10:47< shadowm> Hello there. 20130418 03:11:17-!- Kexoth [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130418 03:11:36-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20130418 03:12:13< threkk> I'm interested in participating in the GSoC with this project, but your pages at the wiki don't provide too much info :P 20130418 03:13:40 * shadowm hears the muffled sobbing of the mentors in the distance. 20130418 03:13:58< shadowm> threkk: I'm not a mentor, but maybe there's something specific you want to ask? 20130418 03:14:54< threkk> well, the ideas provided are very general, meanwhile in other projects are very concise 20130418 03:15:17< threkk> so I'm a little bit lost 20130418 03:23:20< threkk> one of the things that seems the strangest to me is that nor lua nor c++ is required at first 20130418 03:24:28< threkk> I've worked with C and Lua, so at least I've got some idea, but I was strange to see taht 20130418 03:24:29< threkk> that 20130418 03:25:43< shadowm> Okay, I'm not sure about 'required'. C++ and Lua seem to be listed in the "suggested skills" for every project. 20130418 03:25:58< ancestral> Apparently there’s an Official Thread of the Wesnoth Ladder now 20130418 03:26:06< ancestral> Heh 20130418 03:26:08< shadowm> It seems to me like 'suggested' actually means 'required' in context. 20130418 03:26:37< ancestral> This outside of the other πOfficial new ladder thread” 20130418 03:26:41< shadowm> I suppose that you might get a more specific answer for a more specific project. 20130418 03:30:38-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 03:31:47< threkk> well, the most of the projects seems to go towards the deployment of AI 20130418 03:32:52< threkk> but the deployment of a complete AI with only one person in 3 months looks like a huge project 20130418 03:41:42-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 256 seconds] 20130418 03:42:50-!- vernon_ [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 256 seconds] 20130418 03:46:52-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 03:46:53-!- GrayS [~gray@2607:f470:22:15:22cf:30ff:fe1b:be4d] has joined #wesnoth-dev 20130418 03:49:20< shadowm> They are AI improvement projects. The framework for AI development in Wesnoth has existed for a good while. 20130418 03:51:28< threkk> oh, now it looks very different :) 20130418 03:51:36< shadowm> All three AI projects have pages with additional information and background, as well as mentioning the person whom you should ask about stuff. 20130418 03:52:18< threkk> Ok, I'll check them and will return to ask the mentors 20130418 03:52:21< threkk> thanks! 20130418 03:52:31-!- threkk [~threkk@55.Red-83-55-180.dynamicIP.rima-tde.net] has left #wesnoth-dev [] 20130418 03:57:39-!- flix [~flix@178.77.159.154] has left #wesnoth-dev [] 20130418 03:59:14-!- dragos_ [~quassel@5-15-209-121.residential.rdsnet.ro] has quit [Read error: Operation timed out] 20130418 04:00:12-!- Crendgrim [~quassel@port-92-204-100-181.dynamic.qsc.de] has quit [Read error: Operation timed out] 20130418 04:04:09-!- Crendgrim [~quassel@port-92-204-79-214.dynamic.qsc.de] has joined #wesnoth-dev 20130418 04:07:50-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20130418 04:14:55-!- Guest77092 [~eli@dhip-029.rrw.residences.colby.edu] has quit [Ping timeout: 276 seconds] 20130418 04:30:58-!- jfagan [~James@149.125.172.116] has quit [Ping timeout: 256 seconds] 20130418 04:47:31-!- beda [~mono@206-248-163-51.dsl.teksavvy.com] has joined #wesnoth-dev 20130418 04:52:49-!- Ivanovic_ [~ivanovic@dtmd-4db23c46.pool.mediaWays.net] has joined #wesnoth-dev 20130418 04:56:36-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 264 seconds] 20130418 04:56:43-!- Ivanovic_ is now known as Ivanovic 20130418 05:14:27-!- Df458 [~df458@stu-7-150-171-184.champlain.edu] has joined #wesnoth-dev 20130418 05:14:59-!- Df458 [~df458@stu-7-150-171-184.champlain.edu] has left #wesnoth-dev [] 20130418 05:15:31-!- _8680_ [~8680@2002:44e1:f952:0:76de:2bff:fed4:2766] has quit [Ping timeout: 264 seconds] 20130418 05:20:48-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20130418 05:30:39-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 252 seconds] 20130418 05:32:20-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 05:40:23-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20130418 05:56:27-!- elf11 [~elf@p5.eregie.pub.ro] has joined #wesnoth-dev 20130418 06:00:26-!- viku [uid11086@gateway/web/irccloud.com/x-oimuaweddorfxhlk] has quit [Ping timeout: 245 seconds] 20130418 06:03:44-!- _8680_ [~8680@2002:44e1:f952:0:76de:2bff:fed4:2766] has joined #wesnoth-dev 20130418 06:06:16-!- pjte [8148b48b@gateway/web/freenode/ip.129.72.180.139] has quit [Quit: Page closed] 20130418 06:10:09-!- badola_ [~Freenode@1.38.20.17] has quit [Read error: Connection reset by peer] 20130418 06:16:15-!- badola_ [~Freenode@1.38.20.17] has joined #wesnoth-dev 20130418 06:21:06-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20130418 06:27:17-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 252 seconds] 20130418 06:30:43-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 06:47:30-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 264 seconds] 20130418 06:52:16-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 06:56:36-!- badola [73b80b8f@gateway/web/freenode/ip.115.184.11.143] has joined #wesnoth-dev 20130418 07:00:08-!- badola_ [~Freenode@1.38.20.17] has quit [Ping timeout: 245 seconds] 20130418 07:04:00-!- badola_ [~Freenode@1.38.20.17] has joined #wesnoth-dev 20130418 07:08:44< shadowm> esr: How's the recompression doing? 20130418 07:13:01< nurupo> bringing to attention that a bug that is fixed in 1.11.1 is, for some reason, still in Open state http://gna.org/bugs/?15651 20130418 07:13:46< shadowm> Uhm. 20130418 07:14:16< shadowm> nurupo: Note ancestral's last comment there. Did you check against the "new" lobby? 20130418 07:14:35-!- badola_ [~Freenode@1.38.20.17] has quit [Ping timeout: 245 seconds] 20130418 07:14:44< shadowm> For reference, every mention of the "new" lobby in old bugs refers to the GUI2 lobby that is enabled by going to Preferences -> Advanced and choosing an option. 20130418 07:14:45< nurupo> --new-gui-something? 20130418 07:14:56< shadowm> No, 20130418 07:15:07< shadowm> Preferences -> Advanced -> Experimental multiplayer lobby. 20130418 07:15:10< nurupo> okay, i see 20130418 07:16:26< shadowm> There's an important story behind that option, but I should probably resist the urge to tell it again, lest I trigger some developer's rage again. :) 20130418 07:16:27< nurupo> to answer your question: didn't test it with gui2 20130418 07:16:53< shadowm> (Although it was 50% the user community's fault anyway.) 20130418 07:17:30< shadowm> So yeah, I suspect the bug isn't actually fixed for the experimental lobby. 20130418 07:18:28< nurupo> whoa, my Preferences -> Advanced is a little off 20130418 07:18:31-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 264 seconds] 20130418 07:18:41< shadowm> How so? 20130418 07:19:24< nurupo> the list of options is sticking out of the window 20130418 07:19:45< shadowm> Oh, you are probably using a translation. 20130418 07:19:50-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 255 seconds] 20130418 07:19:53< nurupo> yes, i do 20130418 07:20:14< shadowm> Yeah, that's an issue inherent to the old GUI framework, which is used by the Preferences dialog. 20130418 07:20:36-!- GrayS [~gray@2607:f470:22:15:22cf:30ff:fe1b:be4d] has quit [Ping timeout: 264 seconds] 20130418 07:21:25-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20130418 07:22:21< nurupo> the Preferences menu looks a little odd. i mean, why no to use checkboxes instead of lables, when you use checkbox after clicking on a needed label anyway. 20130418 07:23:13< shadowm> A limitation of the old GUI framework. You cannot have checkboxes in listboxes items with that code. 20130418 07:23:14< nurupo> *lable 20130418 07:23:24< nurupo> oh 20130418 07:24:05< shadowm> Just as you cannot have horizontal scrolling, which is why long strings cause the dialog geometry to glitch. 20130418 07:24:11< nurupo> i think i'm starting understand why gui2 appeared :) 20130418 07:24:53< fendrin> shadowm: I could easily add a listbox that features checkboxes if wanted. 20130418 07:24:56< shadowm> Yeah, both of those limitations are already solved in GUI2. The problem is that GUI2 doesn't support tabbed dialogs like Preferences yet -- or at least not cleanly. 20130418 07:25:06< shadowm> Hence Preferences doesn't use GUI2 yet. 20130418 07:25:52< nurupo> whoa, the experimental gui for lobby is something 20130418 07:26:06< shadowm> fendrin: I'd rather have you and mordante figure out a way to have tabbed dialogs in GUI2 instead. :I 20130418 07:26:16-!- Trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 245 seconds] 20130418 07:26:36< shadowm> fendrin: Not that there's much to figure out. Technically stacked_widget is a good beginning. 20130418 07:27:11< nurupo> shadowm: confirming, the bug is still present in 1.11.2 20130418 07:27:34< shadowm> (I once explained specifically what stacked_widget lacks. Not sure if I feel like repeating myself right now.) 20130418 07:28:11< shadowm> s/lacks/lacks on account of not being intended for that purpose/ 20130418 07:28:58< shadowm> shadowm@nanacore:~/src/archive/wesnoth$ git branch | fgrep preferences gui2-preferences 20130418 07:29:21< shadowm> I still have the local branch in my git-svn tree where I played around with stacked_widget just to see if I could. 20130418 07:40:27-!- badola_ [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 07:42:44-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 07:48:09-!- Ivanovic [~ivanovic@dtmd-4db23c46.pool.mediaWays.net] has quit [Changing host] 20130418 07:48:10-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20130418 07:53:37-!- badola_ [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 07:59:10-!- badola_ [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 07:59:55-!- viku [uid11086@gateway/web/irccloud.com/x-keuttfizkwzbdkax] has joined #wesnoth-dev 20130418 08:00:30-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20130418 08:16:14-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130418 08:16:39-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Client Quit] 20130418 08:27:45-!- badola_ [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 08:28:08-!- badola_ [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 08:34:03-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20130418 08:37:18-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130418 08:47:20-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20130418 08:57:48-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130418 09:23:48-!- badola [73b80b8f@gateway/web/freenode/ip.115.184.11.143] has quit [Ping timeout: 245 seconds] 20130418 09:27:53-!- razvan_florea [~chatzilla@195.216.218.10] has joined #wesnoth-dev 20130418 09:28:09-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130418 09:34:26-!- stikonas [~gentoo@128.232.240.234] has joined #wesnoth-dev 20130418 09:34:26-!- stikonas [~gentoo@128.232.240.234] has quit [Changing host] 20130418 09:34:26-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130418 09:38:49-!- iulius [8d550074@gateway/web/freenode/ip.141.85.0.116] has joined #wesnoth-dev 20130418 09:39:34-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130418 09:53:28-!- beda [~mono@206-248-163-51.dsl.teksavvy.com] has quit [Ping timeout: 245 seconds] 20130418 09:57:28-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130418 10:00:22-!- harsh__ [uid10222@gateway/web/irccloud.com/x-pondkqvriiznntni] has joined #wesnoth-dev 20130418 10:00:42-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 276 seconds] 20130418 10:02:23-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 10:13:19-!- badola_ [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 10:24:58-!- badola [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 10:27:14-!- stikonas [~gentoo@128.232.134.89] has joined #wesnoth-dev 20130418 10:27:14-!- stikonas [~gentoo@128.232.134.89] has quit [Changing host] 20130418 10:27:14-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130418 10:33:43-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20130418 10:35:32-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20130418 10:37:18-!- elf11 [~elf@p5.eregie.pub.ro] has quit [Ping timeout: 264 seconds] 20130418 10:39:41-!- elf11 [~elf@p5.eregie.pub.ro] has joined #wesnoth-dev 20130418 10:43:15-!- Crab_ [Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20130418 10:51:43-!- iulius [8d550074@gateway/web/freenode/ip.141.85.0.116] has quit [Ping timeout: 245 seconds] 20130418 10:53:53-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Remote host closed the connection] 20130418 10:54:23-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 11:05:35-!- wesbot changed the topic of #wesnoth-dev to: Git migration to GitHub in progress, please *stop* committing to SF | http://wiki.wesnoth.org/SummerOfCodeIdeas | Will move the repo to github, please read the dev-ml! | 173 bugs, 333 feature requests, 24 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20130418 11:15:34-!- badola [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 11:22:54-!- DHost [~Pcy@vps.inux.fr] has joined #wesnoth-dev 20130418 11:24:56-!- badola [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 11:26:08-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Remote host closed the connection] 20130418 11:27:18-!- loonybot [~loonybot@ppp158-255-133-34.pppoe.spdop.ru] has joined #wesnoth-dev 20130418 11:27:18-!- loonybot [~loonybot@ppp158-255-133-34.pppoe.spdop.ru] has quit [Changing host] 20130418 11:27:18-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20130418 11:31:26-!- AI0867 [~ai@wesnoth/developer/ai0867] has quit [Ping timeout: 256 seconds] 20130418 11:31:26-!- shikadibot [~shikadi@wesnoth/umc-dev/bot/shikadibot] has quit [Ping timeout: 256 seconds] 20130418 11:31:30-!- razvan_florea_ [~chatzilla@195.216.218.10] has joined #wesnoth-dev 20130418 11:32:01-!- AI0867 [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20130418 11:32:02-!- shikadibot [~shikadi@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20130418 11:34:01-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 246 seconds] 20130418 11:43:01< shadowm> Ivanovic: This might be of interest to you: http://forums.wesnoth.org/viewtopic.php?p=551729#p551729 20130418 11:51:12-!- mjs-de [~mjs-de@g224184060.adsl.alicedsl.de] has joined #wesnoth-dev 20130418 11:53:16-!- badola [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 11:54:07-!- badola [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 11:56:34< razvan_florea_> Hello Crab_! 20130418 11:56:49< Crab_> hello 20130418 11:58:10< razvan_florea_> You gave me a task to do 20130418 11:58:21< razvan_florea_> And I have some qustions 20130418 11:58:28< razvan_florea_> if you have some time 20130418 11:59:19< razvan_florea_> Do you remember the task that you gave me? 20130418 12:01:22< razvan_florea_> afk for 30 minutes 20130418 12:01:31< razvan_florea_> hope i will find you when i will be back 20130418 12:02:51-!- neph [~neph@cpc4-broo8-2-0-cust224.14-2.cable.virginmedia.com] has joined #wesnoth-dev 20130418 12:10:09-!- Kexoth [~kex@89.205.70.185] has joined #wesnoth-dev 20130418 12:11:21-!- elf11 [~elf@p5.eregie.pub.ro] has quit [Quit: Leaving] 20130418 12:18:12-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has joined #wesnoth-dev 20130418 12:18:22< razvan_florea_> Crab, it is necessary to remind you about my task? 20130418 12:19:25-!- badola [~Freenode@1.38.21.103] has quit [Quit: Disconnected] 20130418 12:20:22-!- badola [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 12:21:02< Crab_> razvan_florea: yes, please 20130418 12:21:34< razvan_florea_> I have to gave a 'mark' to each hex that a certain player can reach 20130418 12:22:30< razvan_florea_> for example a hex with a village should have a good mark 20130418 12:22:31< Crab_> wasn't it about good hexes to retreat? 20130418 12:22:48< razvan_florea_> yes, exactly 20130418 12:23:10< razvan_florea_> but my idea was to build a mark for each hexes 20130418 12:23:32< razvan_florea_> to print the mark on each hex that tge player can reach 20130418 12:23:41< razvan_florea_> and then he can choose where to go 20130418 12:23:56< razvan_florea_> I suppose my function is not for the ai for the moment 20130418 12:24:03< razvan_florea_> is just for the player 20130418 12:25:15< razvan_florea_> when the player clicks on a player, the hexes that he can reach are highlighted and on each of thies hexes should appear a mark 20130418 12:25:43< razvan_florea_> it's ok how i am thinking? 20130418 12:26:36< Crab_> it's ok to start coding it this way. 20130418 12:27:50< razvan_florea_> it's ok if I write the mark on the hexes using draw_text_in_hex function? 20130418 12:28:07< Crab_> I'd say just put a permanent label on hex 20130418 12:28:24< Crab_> but note that if you do it within the AI, you can use already existing functions for getting own and enemy movement maps 20130418 12:32:30< razvan_florea_> so you suggest me to put my functionality in the ai module? 20130418 12:41:17-!- badola [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 12:41:33-!- kosmos [~Adium@124-93-93-178.pool.ukrtel.net] has joined #wesnoth-dev 20130418 12:44:33< razvan_florea_> crab, are you still there? 20130418 12:50:49< Crab_> razvan_florea_: yes. be sure to write my nick as 'Crab_' on irc so I'll get a IRC highlight notification. 20130418 12:51:49< Crab_> razvan_florea_: yes, by making this functionality a part of the AI you'll benefit from access to the AI context which has the movement maps precalculated. note that there's an AI for current player, even if he's human. 20130418 12:51:57-!- mono [~mono@206-248-163-51.dsl.teksavvy.com] has joined #wesnoth-dev 20130418 12:52:19< Crab_> razvan_florea_: so you still can do 'do something for current player' even if you implement something 'inside' the AI. 20130418 12:52:21-!- mono is now known as Guest28273 20130418 12:53:33< razvan_florea_> ok 20130418 12:55:45< razvan_florea_> Crab_, if I implement inside the AI will i have access at all the resources from the field, like type of hex, if it is night or not, ...? 20130418 12:56:09< Crab_> razvan_florea_ you have access to the game state even from outside the ai, via stuff in resources.hpp 20130418 12:56:43-!- kelpy [~forrest@c-67-201-222-79.reshall.wwu.edu] has quit [Remote host closed the connection] 20130418 12:56:43< Crab_> razvan_florea_: however, if you don't want to build the 'derived' info like the movement maps, or if you want to get the AI parameters, you can base your code to be inside the AI. 20130418 12:58:08< Crab_> razvan_florea_: that would also allow you to move/recruit/attack/recall in the same way as AI does. 20130418 12:59:34< razvan_florea_> Crab_, ok, i will put my code inside the AI. 20130418 13:00:54< Crab_> razvan_florea_: one of the ways to do it would be to follow http://wiki.wesnoth.org/Lua_AI_Howto to get access to lua ai internal table, then add a new C++ lua ai function that you'll be able to call from lua ai console. 20130418 13:01:07< Crab_> the process is slightly harder that it should be due to a bug 20130418 13:02:05-!- zlv [~zlv@212-192-120-168.IP.SUR.net.ru] has quit [Ping timeout: 245 seconds] 20130418 13:04:59-!- badola [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 13:05:07-!- zlv [~zlv@217.118.79.33] has joined #wesnoth-dev 20130418 13:07:43-!- razvan_florea [~chatzilla@195.216.218.10] has quit [Ping timeout: 264 seconds] 20130418 13:08:24-!- zlv [~zlv@217.118.79.33] has quit [Remote host closed the connection] 20130418 13:09:59-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130418 13:10:54-!- Guest77092 [~eli@dhip-029.rrw.residences.colby.edu] has joined #wesnoth-dev 20130418 13:15:04-!- badola [~Freenode@1.38.21.103] has quit [Read error: Connection reset by peer] 20130418 13:21:17-!- badola [~Freenode@1.38.21.103] has joined #wesnoth-dev 20130418 13:21:26-!- badola [~Freenode@1.38.21.103] has quit [Client Quit] 20130418 13:22:18< razvan_florea_> Crab_, I will work today at this. Will you be tomorrow on irc if i will have another questions? 20130418 13:22:31-!- iwaim [~iwaim@2001:2c0:40e:2002:0:4:14:80] has quit [Ping timeout: 245 seconds] 20130418 13:22:53-!- iwaim [~iwaim@2001:2c0:40e:2002:0:4:14:80] has joined #wesnoth-dev 20130418 13:31:05-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 255 seconds] 20130418 13:31:06-!- Kexoth [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130418 13:31:31< Crab_> razvan_florea_: yes. or send a forum PM 20130418 13:35:13< Crab_> razvan_florea_: but note that I'll not be online all day, maybe like half of it 20130418 13:35:24< Crab_> razvan_florea_: I'll read the logs, in any case. 20130418 13:44:00-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130418 13:46:27-!- kosmos [~Adium@124-93-93-178.pool.ukrtel.net] has quit [Quit: Leaving.] 20130418 13:46:53-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20130418 13:51:54-!- kosmos [~Adium@124-93-93-178.pool.ukrtel.net] has joined #wesnoth-dev 20130418 14:08:50-!- zlv [~zlv@95.170.139.42] has joined #wesnoth-dev 20130418 14:17:40-!- zlv [~zlv@95.170.139.42] has left #wesnoth-dev [] 20130418 14:19:32-!- zlv [~zlv@91.221.60.166] has joined #wesnoth-dev 20130418 14:28:13-!- DHost [~Pcy@vps.inux.fr] has quit [Quit: leaving] 20130418 14:33:53-!- Guest28273 [~mono@206-248-163-51.dsl.teksavvy.com] has quit [Ping timeout: 245 seconds] 20130418 14:35:15-!- zlv [~zlv@91.221.60.166] has quit [Remote host closed the connection] 20130418 14:39:37-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130418 14:41:12-!- DHost [~Pcy@vps.inux.fr] has joined #wesnoth-dev 20130418 14:41:47-!- seiC1n [~seiC1n@host172-238-dynamic.54-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20130418 14:44:35-!- DHost [~Pcy@vps.inux.fr] has quit [Client Quit] 20130418 14:56:13-!- Kexoth [~kex@89.205.70.185] has joined #wesnoth-dev 20130418 15:04:19-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20130418 15:04:35-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130418 15:07:54-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20130418 15:10:07-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130418 15:10:35-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130418 15:12:04-!- stikonas [~gentoo@dhcp-128-232-134-89.eduroam.csx.cam.ac.uk] has joined #wesnoth-dev 20130418 15:12:04-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Read error: Connection reset by peer] 20130418 15:12:05-!- stikonas [~gentoo@dhcp-128-232-134-89.eduroam.csx.cam.ac.uk] has quit [Changing host] 20130418 15:12:05-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130418 15:18:44-!- DHost [~Pcy@vps.inux.fr] has joined #wesnoth-dev 20130418 15:30:40-!- mattsc [~mattsc@71-19-182-26.dedicated.allstream.net] has joined #wesnoth-dev 20130418 15:42:41< mattsc> Crab_: do you have a couple minutes for some path finding questions? 20130418 15:42:51< Crab_> mattsc: yes 20130418 15:43:44< mattsc> Crab_: I am putting together this "Goto" Micro AI. In brief: select units based on SUF, send them to the hex (or hexes) defined in a SLF. 20130418 15:44:06-!- dragos___ [~quassel@5-15-176-145.residential.rdsnet.ro] has joined #wesnoth-dev 20130418 15:44:46< mattsc> General rule is: move each unit to the "closest" (in terms of MP to get there) hex. But I want an avoid_enemies= key that works similarly to what the MtT CA does. 20130418 15:45:05< mattsc> ^ for scouts, I mean 20130418 15:45:53< mattsc> So, I want to add a penalty for the hex the unit ends up on based on the number of enemies that can get there (times the value of the avoid_enemies key) 20130418 15:46:35< mattsc> It's easy to do: for all hexes each unit can reach, do pathfinding to each possible goal hex, add penalty, find best combination. 20130418 15:47:12< mattsc> The problem is that that is a lot of path finding and can take a lot of time if, for example, the goal is not a single hex, but the eastern border of the map. 20130418 15:48:03< Crab_> mattsc: why that's a lot of pathfinding? 20130418 15:48:07< mattsc> So I am trying to come up with smart ways of doing that that might eliminate a lot of the calculations, but I can't come up with anything that would work in all situations. 20130418 15:48:45< mattsc> all units * all hexes each unit can reach * all goal hexes -> call to wesnoth.find_path for all combinations 20130418 15:49:10< mattsc> I did a test for a single bat and the southern border of the test map (40 hexes) -> took 7 seconds. 20130418 15:50:07< Crab_> mattsc: why "* all hexes each unit can reach" part? 20130418 15:50:43< Crab_> mattsc: for the avoid_enemies part? 20130418 15:50:50< mattsc> Because I specifically would like the functionality to "take the other way around that mountain range" (as an example) if heading away from the current position first lets you avoid enemies. 20130418 15:51:05< mattsc> *heading away from the goal 20130418 15:51:25< mattsc> Crab_: as an example, are you familiar with the Freelands map? 20130418 15:51:39< Crab_> mattsc: somewhat remember it 20130418 15:52:01< mattsc> Essentially there are three north-south passages. 20130418 15:52:07< Crab_> (opened the map image) 20130418 15:52:21< Crab_> I see 20130418 15:52:22< mattsc> Let's assume we have a unit in the top center and I want to send it to the southern keep. 20130418 15:52:40< mattsc> There are enemies in the center and right passage, but not so many that they block the way. 20130418 15:53:21< mattsc> path finding will find the way through the center, but if I set the threshold for avoid_enemies high enough, I want the units to take the detour through the western valley instead. 20130418 15:54:28< mattsc> ... but I'd like to avoid having to write my own a*search algorithm :) 20130418 15:54:58< Crab_> mattsc: then I would say that you need to calculate the 'reach' of your enemies (based on their move map, for example, or on other things). then, pass a special cost calculator to the A*. 20130418 15:55:18< Crab_> mattsc: a simpler version would be 'prohibit all hexes which can be reached by enemies', like avoid aspect does 20130418 15:56:11< Crab_> but you probably want to only consider 'stopover' hexes unsafe.. 20130418 15:56:18< mattsc> Crab_: the simpler approach should (ideally) only be a special case for very high avoid_enemies value. So yeah, the first would be ideal. 20130418 15:56:30< mattsc> Crab_: yes, ideally. 20130418 15:56:45< mattsc> So, this isn't possible from Lua right now, right? 20130418 15:57:00< Crab_> I'd say 'no' 20130418 15:57:20< Crab_> cost calculator has virtual double cost(const map_location& loc, const double so_far) const; 20130418 15:58:14< Crab_> so in theory it can return 'no path value' for a set of locations only if it's a stopover (I don't know for sure, it depends on how A* is implemented in there) 20130418 15:59:07< mattsc> ai/testing/ca_testing_move_to_targets.cpp: l.245-267 does something very similar to what I want, so I know it can be done. :) 20130418 15:59:51< mattsc> It's not exactly the same, but it's either close enough or easily modified. I was just hoping to come up with a lazy solution that I can do from Lua only. 20130418 16:00:43< mattsc> That one doesn't do it for stop-over hexes only, but I'm sure I could add that. 20130418 16:01:18< Crab_> as you see, it uses a special cost calculator 20130418 16:01:27< mattsc> right 20130418 16:02:06< Crab_> and that cost calculator needs to be fast enough. so, if someone coded a cost calculator you need in C++, and made a way to use/parametrize it from lua when doing a pathfinding call, it'll do the trick 20130418 16:02:11< mattsc> Doing that whole thing in Lua would be too slow. 20130418 16:02:32< mattsc> (thinking/typing the same thing at the same time) 20130418 16:02:52< mattsc> Small project for one of the GSoC applicants? ;) 20130418 16:03:36< Crab_> mattsc: you can try adding that thing to easycoding :)) 20130418 16:03:49-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 248 seconds] 20130418 16:04:06< mattsc> Yeah, but maybe that's not close enough to actual AI behavior, so you probably want students to do something else. 20130418 16:05:10< mattsc> Crab_: Thanks for the discussion. I'll think about it some more first. There are probably lots of optimizations one can do (pathfinding from a lot of close hexes is very redundant), so I'll try that first. 20130418 16:05:42< mattsc> If somebody wants to work on this, great. If not, I might give it a shot myself at some later time. 20130418 16:06:29< mattsc> For now, I'll just use the "full" method and add a warning to only use it for small numbers of units and goal hexes. 20130418 16:09:47-!- iulius [8d550074@gateway/web/freenode/ip.141.85.0.116] has joined #wesnoth-dev 20130418 16:12:10-!- flix [~flix@178.77.159.154] has joined #wesnoth-dev 20130418 16:12:10< mattsc> Crab_ and everybody else: do you think it is ok to add a directory "test-scenarios" in the user directory (parallel to add-ons) in which users can put test scenarios without having to mess with core files/folders? (as suggested by flix yesterday) 20130418 16:13:00< mattsc> It would require one additional line in data/_main.cfg and the creation of the directory itself 20130418 16:13:14< Crab_> mattsc: fine with me. note that a test scenario is not guaranteed to behave properly 20130418 16:13:38< mattsc> Crab_: in which way? 20130418 16:14:08< Crab_> mattsc: no guarantees that the game init path is the same 20130418 16:14:15< Crab_> mattsc: so there might be some bugs/issues 20130418 16:14:38< Crab_> (probably, all fixable) 20130418 16:15:09< mattsc> Crab_: I see. I've set up (and tested) all the micro AIs as test scenarios and have not encountered any problems. 20130418 16:15:21< Crab_> that's good 20130418 16:15:45-!- DCW [~Thunderbi@82.26.252.13] has joined #wesnoth-dev 20130418 16:16:37< mattsc> So I'll do that once the repository move is done. It would just be nice sometimes to be able to have simple test scenarios available without having to set up a _main.cfg in an add-on folder etc. 20130418 16:16:51< mattsc> Crab_: thanks. I'll stop bugging you now and let others do that. :) 20130418 16:21:17-!- Trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130418 16:25:46< iulius> Crab_, Hello. I'm a student wishing to work on the Total-defence GSOC idea 20130418 16:26:09< iulius> I'm trying to make my way through the codebase 20130418 16:27:00< iulius> Could you, please, give me a pointer to where the current AI's is implemented? 20130418 16:27:59< iulius> The entry point in the main loop of the AI... 20130418 16:30:08-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130418 16:31:08< iulius> Me being the next in line to bug you :) 20130418 16:31:26-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Client Quit] 20130418 16:31:41-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130418 16:35:37-!- kosmos [~Adium@124-93-93-178.pool.ukrtel.net] has quit [Quit: Leaving.] 20130418 16:38:09-!- seiC1n [~seiC1n@host172-238-dynamic.54-79-r.retail.telecomitalia.it] has quit [Quit: Leaving] 20130418 16:39:30-!- Mr_FauxPas [~Mr_FauxPa@2001:6d8:10:a014:a6ba:dbff:fed4:760b] has joined #wesnoth-dev 20130418 16:43:09< Crab_> iulius: hello 20130418 16:44:16-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130418 16:44:21< Crab_> iulius: the closest thing to the main loop is http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/testing/stage_rca.cpp 20130418 16:44:45-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20130418 16:44:55< Crab_> iulius: but it has a couple of abstraction layers, so reading something like http://wiki.wesnoth.org/General_RCA_AI_Howto would be helpful to see what exact parts we have 20130418 16:46:06< iulius> Crab_, Thanks. I'll do that. 20130418 16:46:41< iulius> Crab_, Is there something new to this idea that didn't make the wiki? 20130418 16:47:00< Crab_> iulius: also, if you want to see where a particular piece is implemented, there's a string-to-class mapping in http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/registry.cpp 20130418 16:47:13< Crab_> iulius: well, the wiki is rather short on details. 20130418 16:47:44< Crab_> iulius: it's important to understand exactly the problem that we want to solve, and to test how the AI plays now, both with high and low aggression values 20130418 16:57:44-!- kkthecoder [~kk@49.136.240.92] has joined #wesnoth-dev 20130418 17:03:25< AI0867> mordante: http://forums.wesnoth.org/viewtopic.php?p=551769#p551769 20130418 17:03:47-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Read error: Connection reset by peer] 20130418 17:03:54-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130418 17:09:34-!- mattsc_ [~mattsc@71-19-182-26.dedicated.allstream.net] has joined #wesnoth-dev 20130418 17:09:35-!- mattsc [~mattsc@71-19-182-26.dedicated.allstream.net] has quit [Read error: Connection reset by peer] 20130418 17:09:35-!- mattsc_ is now known as mattsc 20130418 17:10:12-!- mattsc [~mattsc@71-19-182-26.dedicated.allstream.net] has quit [Client Quit] 20130418 17:19:23-!- guest5 [60f1da3d@gateway/web/freenode/ip.96.241.218.61] has joined #wesnoth-dev 20130418 17:19:37-!- guest5 [60f1da3d@gateway/web/freenode/ip.96.241.218.61] has quit [Client Quit] 20130418 17:33:34-!- razvan_florea_ [~chatzilla@195.216.218.10] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 20130418 17:35:13-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20130418 17:38:15-!- Mr_FauxPas [~Mr_FauxPa@2001:6d8:10:a014:a6ba:dbff:fed4:760b] has quit [Quit: Wychodzi] 20130418 17:45:10-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20130418 17:53:51-!- Crab_ [Crab_@wesnoth/developer/crab] has left #wesnoth-dev [] 20130418 18:07:04-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 245 seconds] 20130418 18:09:22-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130418 18:09:35-!- DCW [~Thunderbi@82.26.252.13] has quit [Remote host closed the connection] 20130418 18:12:24-!- enchilado [~enchilado@defocus/yummy/enchilado] has quit [Ping timeout: 252 seconds] 20130418 18:17:09-!- enchilado [~enchilado@defocus/yummy/enchilado] has joined #wesnoth-dev 20130418 18:18:48-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has quit [Ping timeout: 264 seconds] 20130418 18:23:42-!- Zazweda [~valentin@me.aeinfo.net] has joined #wesnoth-dev 20130418 18:24:19-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has joined #wesnoth-dev 20130418 18:27:18-!- Vodkano [~ferran@205.220.77.188.dynamic.jazztel.es] has joined #wesnoth-dev 20130418 18:31:55-!- Zazweda [~valentin@me.aeinfo.net] has quit [Quit: WeeChat 0.3.7] 20130418 18:36:12-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130418 18:38:01< Vodkano> good morning/afternoon 20130418 18:40:35< Espreon> Good afternoon. 20130418 18:41:45-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130418 18:42:06-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-dev 20130418 18:45:19< fendrin> hi Espreon 20130418 18:47:34-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 240 seconds] 20130418 18:48:53< Espreon> fendrin: Hello. 20130418 18:51:04< fendrin> hi Vodkano 20130418 18:51:17< Vodkano> hi fendrin 20130418 18:51:21< fendrin> Vodkano == Vodka + Vulcano? 20130418 18:52:19< Vodkano> corruption of volcano, yes 20130418 18:52:32< vultraz> Volcano of vodka? lolol 20130418 18:54:07< Vodkano> I was reading your Google Summer of Code page, and it mentions talking to devs before submitting a proposal, so here I am 20130418 18:56:12< Vodkano> I'm still reading the pages for the proposals, and I think i meet most of the requisites 20130418 18:58:18-!- Trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 264 seconds] 20130418 19:11:32< Vodkano> i see Crab_ is not there now 20130418 19:11:49-!- utsavjain [~tiripS@14.139.82.6] has joined #wesnoth-dev 20130418 19:12:58-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has joined #wesnoth-dev 20130418 19:21:10-!- razvan_florea [~chatzilla@p5.eregie.pub.ro] has joined #wesnoth-dev 20130418 19:39:41< fendrin> Vodkano: In which proposal are you interested? Note that you can also propose a total different idea of your own. 20130418 19:44:46-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: bye] 20130418 19:44:55-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has joined #wesnoth-dev 20130418 19:49:14< Vodkano> fendrin: I'm interested in porting the mainline campaigns to the new AI system 20130418 19:49:44< fendrin> wesbot: seen mattsc? 20130418 19:49:44< wesbot> fendrin: The person with the nick mattsc 4m 58s ago was here and on the channel #wesnoth-umc-dev with the message: Quit: bye 20130418 19:50:17< fendrin> Vodkano: Too bad, mattsc would also be a person to talk about it. 20130418 19:51:33-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130418 19:58:15< Vodkano> I'm filling the submission in the wiki page now, I'll be lurking here for a while after that. 20130418 20:05:09-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130418 20:06:49-!- kkthecoder [~kk@49.136.240.92] has quit [Ping timeout: 256 seconds] 20130418 20:09:50< molgrum_> i get this when compiling with Code::Blocks in windows: wesnoth\src\lua\lbaselib.c|62|error: 'static_cast' undeclared (first use in this function) 20130418 20:14:15-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130418 20:17:55-!- razvan_florea [~chatzilla@p5.eregie.pub.ro] has quit [Ping timeout: 264 seconds] 20130418 20:26:08-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20130418 20:29:14-!- badola [~Freenode@1.38.18.47] has joined #wesnoth-dev 20130418 20:29:55-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 264 seconds] 20130418 20:33:00-!- badola [~Freenode@1.38.18.47] has quit [Read error: Connection reset by peer] 20130418 20:35:50-!- stikonas [~gentoo@128.232.240.234] has joined #wesnoth-dev 20130418 20:35:51-!- stikonas [~gentoo@128.232.240.234] has quit [Changing host] 20130418 20:35:51-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130418 20:39:49-!- Kexoth [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130418 20:43:46-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 245 seconds] 20130418 20:46:30-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20130418 20:55:14-!- ptalbot [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130418 20:55:49-!- ptalbot is now known as Trademark_ 20130418 21:04:57-!- dragos___ [~quassel@5-15-176-145.residential.rdsnet.ro] has quit [Remote host closed the connection] 20130418 21:06:44-!- badola [~Freenode@1.38.18.47] has joined #wesnoth-dev 20130418 21:07:27-!- razvan_florea [~chatzilla@p5.eregie.pub.ro] has joined #wesnoth-dev 20130418 21:14:29-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130418 21:14:46-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130418 21:18:43-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130418 21:19:17-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130418 21:22:33-!- Asix3 [452f9490@gateway/web/freenode/ip.69.47.148.144] has quit [Ping timeout: 245 seconds] 20130418 21:27:35-!- jfagan [~James@149.125.147.158] has joined #wesnoth-dev 20130418 21:41:55-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130418 21:42:56-!- jfagan [~James@149.125.147.158] has quit [Ping timeout: 255 seconds] 20130418 21:49:08-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20130418 21:49:15-!- kkthecoder [~kk@49.136.105.131] has joined #wesnoth-dev 20130418 21:52:37-!- razvan_florea [~chatzilla@p5.eregie.pub.ro] has quit [Ping timeout: 248 seconds] 20130418 21:55:11-!- razvan_florea [~chatzilla@p5.eregie.pub.ro] has joined #wesnoth-dev 20130418 21:55:40< flix> is it possible to debug wesnoth in eclipse? 20130418 22:01:31-!- pjte [8148b2df@gateway/web/freenode/ip.129.72.178.223] has joined #wesnoth-dev 20130418 22:03:54-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-dev 20130418 22:06:44< Ivanovic> esr: any update on the git repackaging? 20130418 22:09:34< mattsc> Vodkano: I see that fendrin pinged me up there. I might (or might not) be able to answer some of your questions while Crab_ is not here. 20130418 22:12:46< Vodkano> Hello mattsc! 20130418 22:13:09< mattsc> Hi 20130418 22:13:09< Vodkano> I just submitted my application for the GSoC to the Wesnoth Wiki 20130418 22:13:51< Vodkano> I am interested in participating in the development of Wesnoth 20130418 22:14:55-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130418 22:15:59< mattsc> Vodkano: do you have any questions at this time? I'm not sure if there's anything specific you'd like to know about. 20130418 22:18:23< Vodkano> Well, the page recommended talking to devs before submitting the application 20130418 22:19:43< Vodkano> Is there a way of seeing submissions to earlier years? 20130418 22:20:59< Vodkano> I found the category page for 2012, but the "Click here to see the list" links to the 2013 page 20130418 22:22:23< mattsc> Vodkano: I'm not sure, I wasn't involved setting up the pages, so I don't know if the old ones got moved somewhere else or replaced. 20130418 22:23:41< mattsc> Vodkano: http://wiki.wesnoth.org/index.php?title=Special%3ACategories&from=summer 20130418 22:27:58< Vodkano> Thank you! 20130418 22:34:01< mattsc> Vodkano: you don't have to talk to the devs here if everything is clear to you, it's just an offer that we're reachable here if you have questions. 20130418 22:35:08< mattsc> Note though that in order to have a chance to get accepted, you should demonstrate that you can work with Wesnoth code somehow before the end of the application period, by fixing a couple bugs, doing some of the easy coding tasks, etc. 20130418 22:37:31-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has joined #wesnoth-dev 20130418 22:37:38-!- badola [~Freenode@1.38.18.47] has quit [Ping timeout: 256 seconds] 20130418 22:44:26< Ivanovic> Vodkano: past has shown that proposals become significantly better after some discussions about the details 20130418 22:51:15-!- Test545 [~Test@69-165-135-247.dsl.teksavvy.com] has joined #wesnoth-dev 20130418 22:53:33-!- Test545 [~Test@69-165-135-247.dsl.teksavvy.com] has quit [Read error: Connection reset by peer] 20130418 22:55:02-!- badola [~Freenode@1.38.20.129] has joined #wesnoth-dev 20130418 22:55:48-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: Konversation terminated!] 20130418 22:59:55< Vodkano> i'll go take a look to the bugs and the easy fixes page 20130418 23:00:11< Vodkano> thank you very much! 20130418 23:00:41< mattsc> No problem. Just ask here if you have questions. 20130418 23:01:21< mattsc> Also, it's always better to ask your question rather than announcing that you have a question and wait. 20130418 23:02:08< mattsc> Most people here read the logs and will reply when they get online, but it's pretty much unpredictable when a certain person will be here and have time. 20130418 23:05:12< Vodkano> Okay. I'll read them too then! 20130418 23:07:03-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130418 23:07:50< mattsc> Just noticed that that was formulated incorrectly (or at least misleading): I meant "anybody specifically" (whoever is the right person to answer the question), rather than implying that I was talking about somebody in particular :D 20130418 23:12:15-!- Test678 [~Test@69-165-135-247.dsl.teksavvy.com] has joined #wesnoth-dev 20130418 23:12:18-!- Test678 [~Test@69-165-135-247.dsl.teksavvy.com] has quit [Client Quit] 20130418 23:17:48-!- badola [~Freenode@1.38.20.129] has quit [Ping timeout: 272 seconds] 20130418 23:17:54-!- badola_ [~Freenode@1.38.17.242] has joined #wesnoth-dev 20130418 23:18:34< flix> mattsc: Hi! I've got the advancement aspect working now! I want now to figure out how I could make your wishes come true... Question to this: You can alter aspects via LUA, right? Do you think one could 'read' from the GameState known by lua which unit was involved in a attack just one moment ago? 20130418 23:19:55< mattsc> flix: possibly, but I must be misunderstanding something here ... 20130418 23:20:11< mattsc> Give me a moment to read up on what Crab_ told you 20130418 23:22:18< flix> mattsc: Or I do, I have not figgured out yet how lua and c++ are actually 'talking to each other'. But in C++ all aspects are primitive types. 20130418 23:23:34< mattsc> flix: just to clarify, are we talking about the preliminary static version, or the final goal here? 20130418 23:24:34< mattsc> flix: "20130417 20:50:43< Crab_> flix: but, you can make an aspect a type of which would be 'function which takes a unit and returns a string'" 20130418 23:24:52< mattsc> That's what we want, I think. 20130418 23:25:07< mattsc> In the end, I mean 20130418 23:25:15< flix> mattsc: I have now the static version ready. So the aspect is a list of units (without the advance_from type, because it's redundant'). 20130418 23:26:21< flix> mattsc: Yes, okay, I will do some research and try to figure out what Crab_ meant by this 20130418 23:26:49< mattsc> flix: I am pretty certain that I know what he means with that, so you can ask me. 20130418 23:27:07< mattsc> If you want to know how to do that, that's a different question. :) 20130418 23:29:06< flix> mattsc: okay, not yet, I want to do research first :) 20130418 23:29:47< mattsc> ok. I'll only be here for another ~30 min though, then gone for a couple hours. 20130418 23:32:51-!- kkthecoder [~kk@49.136.105.131] has quit [Quit: Leaving] 20130418 23:33:19< flix> mattsc: I think me too, I will continue tomorrow... 20130418 23:33:55< mattsc> flix: sounds good. It should be pretty straight-forward to do really. 20130418 23:34:24< mattsc> The one thing I don't know is how to define an aspect that executes a lua function (which returns a string) 20130418 23:34:45< mattsc> But I bet if you look at how the candidate action evaluation function is called, you can do it in the same way. 20130418 23:40:59< flix> mattsc: yeah, I thought of something like this already. But as far as I can see this would go pretty deep into how aspects are handled in c++ and would affect a lot of files. But I really have to figure things out first :) 20130418 23:42:17< mattsc> flix: just ask Crab_ tomorrow, he probably will know without even having to look at the code. 20130418 23:42:36< shadowm> Lua is not an acronym. :( 20130418 23:42:45< flix> mattsc: yes, I will do that 20130418 23:44:59-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130418 23:45:52< shadowm> lipkab: Did you check that user's notes before reporting that post? 20130418 23:46:04-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130418 23:47:00-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 264 seconds] 20130418 23:47:00< flix> mattsc: bye! 20130418 23:47:19< mattsc> good night 20130418 23:47:21-!- flix [~flix@178.77.159.154] has left #wesnoth-dev [] 20130418 23:47:39-!- Vodkano [~ferran@205.220.77.188.dynamic.jazztel.es] has left #wesnoth-dev [] 20130418 23:53:35-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has quit [Ping timeout: 258 seconds] 20130418 23:54:57< shadowm> esr: Status? 20130418 23:55:31-!- Kexoth [~kex@89.205.70.185] has joined #wesnoth-dev --- Log closed Fri Apr 19 00:00:29 2013