--- Log opened Tue May 14 00:00:05 2013 --- Day changed Tue May 14 2013 20130514 00:00:05< mattsc> anonymissimus_: also, why do you think that the test scenario should be in a separate campaign? 20130514 00:00:07-!- ancestral [~ancestral@50-78-227-230-static.hfc.comcastbusiness.net] has quit [Quit: i go nstuf kthxbai] 20130514 00:09:32< nurupo> anonymissimus_: i appear to have mingw setted up on my machine, but i probably better update it. gcc --version says 2.95 20130514 00:18:00-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20130514 00:19:49-!- Nephro [~neph@80.233.231.12] has quit [Ping timeout: 248 seconds] 20130514 00:22:58-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 276 seconds] 20130514 00:23:01-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130514 00:23:53-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: I'm asleep] 20130514 00:49:34-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130514 00:49:55-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has joined #wesnoth-dev 20130514 00:51:06< LordBob_> Hi mattsc. Do you have a minute for git+compile troubleshooting ? 20130514 00:51:13< LordBob_> fabi_: ping ? 20130514 00:51:22< fabi_> LordBob_: pong 20130514 00:52:46< LordBob_> fabi: I've been thinking about high res screens; Do you have a moment to discuss it ? 20130514 00:53:11< fabi_> LordBob_: Sure. 20130514 00:53:21< LordBob_> ok. Here goes 20130514 00:53:27< fabi_> LordBob_: I am preparing a nice screenshot. 20130514 00:54:39< LordBob_> Yesterday, I was working on mockups, which lead me to consider icons, layouts, and stuff 20130514 00:56:08< LordBob_> All in all, I've considered things and I'm beginning to think we might want to keep things simple for the editor, because if we're going to keep at UI revamps, it's the game that will really benefit the most from our efforts 20130514 00:57:12< LordBob_> Fabi: in other words, we keep what we already have, of course, and develop a "high res" alt that is the exact same layout at twice the scale, and we leave it at that for the editor 20130514 00:58:04< fabi_> LordBob_: Sounds reasonable. 20130514 00:58:32< LordBob_> Especially, I'd rather avoid creating different layouts based on 16:9 ratios, 4:3, and so on 20130514 00:58:43-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 276 seconds] 20130514 00:58:46-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130514 00:58:57-!- iwaim____ [~iwaim@2001:2c0:40e:2002:0:4:14:80] has joined #wesnoth-dev 20130514 00:59:25< LordBob_> Naturally, we keep adding features and modifications according to your plan 20130514 01:00:36< LordBob_> But once we have a working version for 800x480, 1024x768, and 1024@2x (aka 2048x1536), I say we'll have done a lot already 20130514 01:02:24< LordBob_> Fabi: if we're still up and running at this point, I think it will be best to turn our efforts toward the game UI, which will eventually look crappy compared to all the improvement that the editor will receive 20130514 01:02:45< fabi_> LordBob_: Indeed, the game itself is quite ugly compored to the editor. 20130514 01:02:51< anonymissimus_> mattsc: I have one that comes rather close probably 20130514 01:04:42< anonymissimus_> nurupo: you need tdm-gcc-4.5.2 20130514 01:05:13< mattsc> LordBob_: I have about 5 min (real time) right now. Is it something quick? 20130514 01:05:28< mattsc> anonymissimus_: if you could PM that to me, that would be much appreciated. 20130514 01:05:35< LordBob_> fabi; additionnally, the editor doesn't (yet) have many features beyond what is already in the revised UI, so we would have little use for the extra space if we were, say, to double sidebar width for 1600+ displays 20130514 01:05:48< nurupo> anonymissimus_: i got mingw installed and codeblocks. can't figure out where do i specify to use the includes and libs you sent me month ago 20130514 01:06:10< mattsc> LordBob_: otherwise I'll be back in 1.5-2h, but that might be getting late for you ... 20130514 01:06:33< nurupo> anonymissimus_: i expected "settings->global variables" to work, but no 20130514 01:07:06< LordBob_> mattsc: maybe we can sove it now. Problem is, after updating the xcodeproj file yesterday, git refuses to pull 20130514 01:08:03< LordBob_> git mentions commits that I do not see anywhere, and I think the project file is the only thing I updated in the repo. Have you already had this problem ? 20130514 01:09:25< mattsc> LordBob_: umm, that does not sound familiar, no. Have you tried running the assume_unchanged lines again? Also, sometimes it helps to shutdown both github (gitbox in your case) and Xcode down and try again. 20130514 01:09:25< LordBob_> more precisely, git mentions not-committed-yet modifications which I must commit before pulling, yet doesn't show any commit candidates in its list 20130514 01:10:40< LordBob_> mattsc: the later didn't change anything, but I'll try the former. If it doesn't work, we can speak again tomorrow 20130514 01:11:23< mattsc> LordBob_: ok, sorry for that, but I really have to run right now. I'll be around again early in the morning my time. 20130514 01:12:34-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: bye] 20130514 01:13:54< fabi_> LordBob_: What I can do very easily is transferring the work on the editor to the main game. 20130514 01:13:59-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has joined #wesnoth-dev 20130514 01:14:00-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has quit [Changing host] 20130514 01:14:00-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20130514 01:14:43< LordBob_> fabi: Let's wait until we have a final editor screen before we do that 20130514 01:15:12< fabi_> LordBob_: Okay, can I see the mockups? Do you have one with an embedded zoom slider? 20130514 01:15:49< LordBob_> Fabi: not yet, unfortunately. the aforementionned train of thought kinda derailed my effort :s 20130514 01:16:33< LordBob_> But I'm working on them as we speak 20130514 01:18:10< anonymissimus_> mattsc: http://forums.wesnoth.org/viewtopic.php?f=4&t=38806&p=553284#p553284 20130514 01:18:23< fabi_> LordBob_: http://imagebin.org/257564 20130514 01:18:43< anonymissimus_> nurupo: look in F:\wesnoth-code\projectfiles\CodeBlocks\README.txt 20130514 01:19:07-!- jetrel2 [~jetrel2@64.208.23.76] has quit [Ping timeout: 264 seconds] 20130514 01:19:34< nurupo> anonymissimus_: okay. btw, i found how to add includes to a project in codeblocks, building right now... 20130514 01:19:41< LordBob_> fabi_: looks fine 20130514 01:20:18< fabi_> LordBob_: The last entry is not calling a dialog but it opens a submenu. 20130514 01:20:33-!- anonymissimus_ [~chatzilla@HSI-KBW-149-172-228-192.hsi13.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.90 [Firefox 11.0/20120312181643]] 20130514 01:20:36< fabi_> LordBob_: Submenus are new, It took me some time to implement it. 20130514 01:21:08< LordBob_> fabi_: what we're looking at is the dialog that the lighting button summons, isn't it ? 20130514 01:21:33< fabi_> LordBob_: Yes, thus it is pressed. 20130514 01:22:17< fabi_> LordBob_: The overlay should be yellow, I guess that is still a wrong filename. 20130514 01:23:29-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 01:24:11< LordBob_> Oh; I hadn't noticed. This must be a side effect of the overall bling: the "pressed" status isn't as obvious as I had hoped it would be. It's a good thing we have the colored icon as well 20130514 01:24:25-!- kex [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130514 01:26:27< LordBob_> fabi_: have you tried making the ToDs a selectable list, rather than radiobuttons ? It might be more intuitive and would allow the user to switch by clicking anywhere in a row 20130514 01:27:00< LordBob_> unless this is not doable because of the pictures ? 20130514 01:27:04< fabi_> LordBob_: It is a selectable list, the buttons are not really buttons, they are just used as icons. 20130514 01:27:51< LordBob_> fabi_: then, why show them at all ? Wouldn't the selector be more than enough ? 20130514 01:27:52< fabi_> LordBob_: We do so since ages. Misusing the button images as icons in the menus for marking a selection. 20130514 01:28:12< fabi_> LordBob_: It's because sometimes the items are mixed. 20130514 01:28:32< fabi_> LordBob_: Just have a look at the "map" menu. 20130514 01:29:18< LordBob_> (will do so as soon as I can update my local repo) 20130514 01:30:15< fabi_> I mean there are other items mixed with the radio options. Thus you need to know which belong to the set. And I can't make it different on a per menu basis easily. 20130514 01:30:47< LordBob_> fabi_: while we're looking at the screenshot, may I give some comments ? 20130514 01:31:01< fabi_> sure 20130514 01:31:09< LordBob_> ok 20130514 01:32:08< LordBob_> first, a nitpick really: the terrain info display would benefit from using the same frame as the villages and units statues 20130514 01:32:12< LordBob_> *statuses 20130514 01:33:03< LordBob_> (copper border vs dark border) 20130514 01:34:48< LordBob_> second, the terrain type icon in the terrain info might not be clear enough on its own. Maybe we need to add some kind of prefix that tells the user what he's looking at 20130514 01:37:18< fabi_> LordBob_: I have not put your scalable status box in use yet. The terrain info will change the background when I have done the coding. 20130514 01:38:07< LordBob_> third, I would like to try the menu titles with white font color and a slightly bolder font weight, see if they stand out more among all the bling 20130514 01:38:29< LordBob_> (ok for the status) 20130514 01:41:20< fabi_> LordBob_: I think currently the font color is hardcoded (but I might be wrong). I will add customizing the color to the theme wml. 20130514 01:41:43< fabi_> LordBob_: Then it is easily doable on a per button basis. 20130514 01:41:52< LordBob_> (ok for the font) 20130514 01:42:25< fabi_> What do you suggest to do with the terrain info? 20130514 01:42:30-!- flix [~flix@178.77.129.78] has quit [Quit: Leaving.] 20130514 01:43:40< LordBob_> fabi_: I'm not sure. maybe something as simple as bring the icons closer to the coordinates would work 20130514 01:44:20< fabi_> LordBob_: The coordinates need their space. Assume the size of the map is >100 in both directions. 20130514 01:44:37< LordBob_> fabi_: right now, part of the problem might be that they appear to be unrelated information, possibly because the status frame isn't obvious 20130514 01:44:42< fabi_> LordBob_: I have made sure that 3digits/3digits still fit. 20130514 01:45:08< fabi_> LordBob_: Indeed, maybe we discuss it after I implemented the right border? 20130514 01:48:17< vultraz> fabi_: can I see a screenshot 20130514 01:48:37< fabi_> vultraz: Sure, what exactly do you want to see? 20130514 01:49:11< vultraz> the editor 20130514 01:49:38< LordBob_> fabi_: oh. I see; the icons are displayed at a fixed position and can't be aligned on the text, can they 20130514 01:49:46< vultraz> (i'm downloading the repo but it won't be done until tonight at leas) 20130514 01:49:56< fabi_> LordBob_: Yes, that is the reason. 20130514 01:50:11< fabi_> vultraz: http://imagebin.org/257564 20130514 01:51:34< LordBob_> fabi: ok. Let's wait until the border has been updated. If this still doesn't work, maybe we can add a text label before the icons 20130514 01:51:53< fabi_> LordBob_: Okay 20130514 01:53:27< LordBob_> fabi: one last thing; a while a go, we had mentionned separators for the buttons in the upper bar. is it okay if we take care of them now, or would you rather focus on other features before ? 20130514 01:53:34< LordBob_> *ago 20130514 01:54:03< fabi_> LordBob_: Let's do it now. 20130514 01:54:52< LordBob_> ok. I'll create them when I do the map slider update 20130514 01:55:40< nurupo> argh, mingw is missing a lot of windowsapi defines in their version of header files for windows 20130514 01:56:31< nurupo> i will have more define statements than actual code 20130514 02:04:48< LordBob_> fabi: how is that for a slider background ? http://imagebin.org/257565 20130514 02:04:59-!- Upth [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has joined #wesnoth-dev 20130514 02:05:41< LordBob_> fabi_: I would draw as many graduations as there are zoom steps 20130514 02:06:08< fabi_> LordBob_: The slider adjusts between 4 and 200. 20130514 02:07:26< LordBob_> fabi_: and what is the step... 1 ? 20130514 02:07:34< fabi_> LordBob_: yes 20130514 02:07:57< fabi_> LordBob_: The zoom implementation is able to do that. But I could introduce an artificial zoom step size. 20130514 02:08:00< LordBob_> ok, so maybe not this many graduations :p 20130514 02:08:43< fabi_> LordBob_: I guess it is important to mark the default zoom. 20130514 02:08:49< LordBob_> or maybe a zoom stap, yes. 25 would already provide 89 different zooms 20130514 02:08:54< LordBob_> *step 20130514 02:09:01< LordBob_> *and 9 20130514 02:09:37< LordBob_> Ok, I'll make sure to make the default position more obvious 20130514 02:09:58< LordBob_> Anyway, this will be in the morning; gonna crash, now. 20130514 02:10:07-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has quit [Quit: bye] 20130514 02:11:26-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has joined #wesnoth-dev 20130514 02:12:28-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 02:16:02< jleldridge> mattsc, Nephro: The new wesnoth 1.11.3 build crashed immediately after the opening dialogues for the bottleneck-defense scenario. mattsc: I was unable to run your specific bottleneck-defense; after replacing the standard bottleneck defense scenario with yours I was unable to run it 20130514 02:19:16-!- love1cat [~Adium@c-98-217-91-242.hsd1.ma.comcast.net] has quit [Quit: Leaving.] 20130514 02:23:05-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20130514 02:28:46-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 02:29:53< nurupo> jleldridge: what OS? 20130514 02:31:11< shadowm> jleldridge: This is probably relevant: https://mail.gna.org/public/wesnoth-dev/2013-05/msg00017.html 20130514 02:32:36< shadowm> It sounds like the issue might have been fixed in master already. 20130514 02:33:41-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 268 seconds] 20130514 02:34:33< jleldridge> nurupo, shadowm, mattsc, Nephro: archlinux is my os, sorry I forgot to mention that. shadowm: I had said earlier that I would test if the bug occurred on multiple OS's once I was compiled the program, so that's all I was doing. 20130514 02:34:59< jleldridge> If it's fixed I guess they don't need that information any more though :P 20130514 02:35:23< jleldridge> once I compiled the program* 20130514 02:37:52< nurupo> jleldridge: there is a problem on Windows when building in debug mode which causes game to crash after opening dialogue of a scenario, thought that was the case 20130514 02:38:00-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130514 02:39:16< jleldridge> nurupo: oh, I'm not sure about that, I haven't bothered to compile on my windows machine, earlier mattsc was having a similar bug on mac os 20130514 03:04:33< jleldridge> mattsc, Nephro: the bottleneck-defense scenario works after I pulled the latest commit on archlinux 20130514 03:07:59-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has quit [Quit: Leaving] 20130514 03:17:01-!- EliDupree2 [~eli@dhip-029.rrw.residences.colby.edu] has quit [Read error: Operation timed out] 20130514 03:24:31-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has joined #wesnoth-dev 20130514 03:33:32-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20130514 03:36:44-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 03:48:59< mattsc> jleldridge: Thanks for testing. It's good to know that you could reproduce both the problem and the fix. 20130514 03:50:42< nurupo> loonycyborg: what is the earliest version of Windows Wesnoth is targeting? 20130514 03:53:30-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130514 04:06:24< shadowm> I believe it's Windows XP. 20130514 04:06:56 * vultraz wonders why people still use XP 20130514 04:07:10< shadowm> I don't know about Windows 2000, but last time I checked some of our dependencies wouldn't run on Windows 9x. 20130514 04:07:52< shadowm> vultraz: Because it's less bloated than later versions and it's still supported by a fair number of applications. 20130514 04:08:40< vultraz> ok...fair enough. but why in the world would anyone possibly still have 9x 20130514 04:09:01< shadowm> Because they are not required to use it. 20130514 04:09:13< shadowm> As to why in the world anyone would possibly still use 9x, I didn't imply anyone in the world would possibly still use 9x. 20130514 04:20:02< nurupo> shadowm: is it okay if i make a pull request on github instead of sending a .diff file to already created patch entry on gna? https://gna.org/patch/?3847 20130514 04:21:04 * nurupo finds github more appealing than gna 20130514 04:21:22< shadowm> nurupo: I don't really know how that is being handled at the moment, but if you already have a patch tracker entry for the same subject perhaps you could just use that? 20130514 04:21:37< nurupo> shadowm: okay, not a problem :) 20130514 04:26:01-!- Ivanovic_ [~ivanovic@dtmd-4d0522fe.pool.mediaWays.net] has joined #wesnoth-dev 20130514 04:29:21-!- Ivanovic_ [~ivanovic@dtmd-4d0522fe.pool.mediaWays.net] has quit [Changing host] 20130514 04:29:21-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20130514 04:29:21-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 248 seconds] 20130514 04:30:09-!- Ivanovic_ is now known as Ivanovic 20130514 04:35:45< mattsc> nurupo: we've had several patches submitted as pull request already. 20130514 04:36:19< nurupo> mattsc: yeah, i am aware, on of them was mine 20130514 04:36:51< mattsc> nurupo: oh, you're asking because it already has a patch. Sorry, was reading too carelessly... 20130514 04:37:03< nurupo> :) 20130514 04:38:50< nurupo> *one of them 20130514 04:57:41-!- irker020 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130514 05:03:12-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20130514 05:05:37-!- wesbot changed the topic of #wesnoth-dev to: 1.11.3 will not be announced as release due to a crash found by mattsc, 1.11.4 planned for "once it is fixed" | current repo: https://github.com/wesnoth/wesnoth-old (still to be fixed) | http://wiki.wesnoth.org/SummerOfCodeIdeas | Will move the repo to github, please read the dev-ml! | 179 bugs, 332 feature requests, 30 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use 20130514 05:11:09-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 256 seconds] 20130514 05:12:52-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 276 seconds] 20130514 05:21:37-!- ancestral [~ancestral@65-128-236-198.mpls.qwest.net] has joined #wesnoth-dev 20130514 05:34:45-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 05:36:09-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 05:36:19-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: bye] 20130514 06:13:49-!- love1cat [~Adium@75-130-92-96.dhcp.wlmn.ct.charter.com] has joined #wesnoth-dev 20130514 06:15:31-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 264 seconds] 20130514 06:16:16-!- ancestral [~ancestral@65-128-236-198.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130514 06:17:12-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130514 06:21:51-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 268 seconds] 20130514 06:22:28-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 268 seconds] 20130514 06:23:17-!- vultraz_laptop [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 06:23:17-!- vultraz_laptop [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 06:23:17-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 06:25:18-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 06:25:18-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 06:25:18-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 06:36:14-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20130514 07:08:15-!- Gallaecio [~quassel@84.120.218.224.dyn.user.ono.com] has joined #wesnoth-dev 20130514 07:09:31-!- Gallaecio_ [~quassel@84.120.218.224.dyn.user.ono.com] has quit [Ping timeout: 264 seconds] 20130514 07:12:28-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 276 seconds] 20130514 07:13:33-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 256 seconds] 20130514 07:15:12-!- love1cat [~Adium@75-130-92-96.dhcp.wlmn.ct.charter.com] has left #wesnoth-dev [] 20130514 07:19:14-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 07:19:28-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 07:19:28-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 07:19:28-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 07:19:49-!- ancestral [~ancestral@65-128-236-198.mpls.qwest.net] has joined #wesnoth-dev 20130514 07:24:08-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 268 seconds] 20130514 07:25:07-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 264 seconds] 20130514 07:26:20< Espreon> .win 18 20130514 07:26:23< Espreon> Whoops. 20130514 07:27:34< enchilado> .win Espreon 20130514 07:57:29-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20130514 08:06:54-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20130514 08:11:59-!- Nephro [~neph@80.233.231.12] has joined #wesnoth-dev 20130514 08:13:54-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Read error: Connection reset by peer] 20130514 08:14:00-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has joined #wesnoth-dev 20130514 08:14:00-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has quit [Changing host] 20130514 08:14:00-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20130514 08:20:41-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20130514 08:26:27-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 08:26:27-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 08:26:29-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 08:49:12-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20130514 08:51:21-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 08:57:09-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 248 seconds] 20130514 08:57:15-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 268 seconds] 20130514 08:57:41-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 08:59:16-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 08:59:16-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 08:59:16-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 09:01:00-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Excess Flood] 20130514 09:05:14-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 09:05:15-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 09:05:15-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 09:07:02-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130514 09:10:06-!- kex [~kex@89.205.70.185] has joined #wesnoth-dev 20130514 09:10:19-!- TheMonster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 09:15:10-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20130514 09:25:03-!- flix [~flix@178.77.129.78] has joined #wesnoth-dev 20130514 09:50:28-!- H-Hour [~H-Hour@cpc7-sgyl35-2-0-cust428.18-2.cable.virginmedia.com] has joined #wesnoth-dev 20130514 10:05:12-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has joined #wesnoth-dev 20130514 10:22:54-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 264 seconds] 20130514 10:28:53-!- TheMonster [~TheMonste@41.69.163.114] has quit [Ping timeout: 248 seconds] 20130514 10:36:07-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 246 seconds] 20130514 10:36:53-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 248 seconds] 20130514 10:42:42-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 10:43:16-!- TheMonster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 10:48:26-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 10:48:26-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 10:48:26-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 10:55:10-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130514 10:55:23< LordBob_> fabi_: ping ? 20130514 11:01:23-!- ancestral [~ancestral@65-128-236-198.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130514 11:05:11-!- Crendgrim [~quassel@f050092148.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 20130514 11:07:24-!- Crendgrim [~quassel@g224215184.adsl.alicedsl.de] has joined #wesnoth-dev 20130514 11:08:15-!- Crab_ [Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20130514 11:10:27-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has quit [Ping timeout: 260 seconds] 20130514 11:19:53< Nephro> Hi, Crab_. Did you get a chance to take a look on my proposal? 20130514 11:21:21< Crab_> Nephro: yes, I've read it 20130514 11:22:09< Crab_> Nephro: it would be good to see some kind of prototype 20130514 11:22:50< Crab_> Nephro: for example, in attack evaluation code, it's rather easy to parallelize calculations (even via declarative tools like openmp) 20130514 11:23:19-!- stikonas [~gentoo@128.232.240.234] has joined #wesnoth-dev 20130514 11:23:19-!- stikonas [~gentoo@128.232.240.234] has quit [Changing host] 20130514 11:23:19-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130514 11:26:16< Nephro> Crab_, I see what you mean, and that might be a good addition to the project, but my main idea was to provide a thread of execution in which ai works during other controllers' moves. If I understand correctly, parallel attack calculations that you mentioned would still only be done during AI control phase. 20130514 11:26:45< Crab_> Nephro: yes, that's why it's easier to implement than a separate ' 20130514 11:26:52< Crab_> 'brain-like' thread. 20130514 11:27:11< Crab_> Nephro: and would give an example of working with parallelism in wesnoth. 20130514 11:28:03< Crab_> and just multi-thread support without out-of-turn things looks like an easier thing to do for me. 20130514 11:30:07< Nephro> Crab_, I understand. I really don't want to touch attacks right now, though, because they are in queue for refactoring(separation of the functionality from the player context) 20130514 11:31:22< Crab_> Nephro: then, can you write down in your proposal, the comparison of a separate 'out-of-turn brain' thread vs just in-turn multi-core support for AI ? 20130514 11:35:47< Nephro> Crab_, alright. What do you think about the idea in general? I can't still be 100% sure myself that it's a good idea, since I might be missing something. mattsc said that he has ready implemented algorithms that don't terminate fast enough, that's when it struck me again about where can we get more time from. It'd require adaptation, of course, but still seems to me that it will be better than nothing at all 20130514 11:39:50< Crab_> Nephro: I am not sure at the moment if the benefits would outweight the work getting it done. 20130514 11:40:46< Crab_> Nephro: but I'll think about it. any demos/prototypes/texts that will help see the benefits would be a good thing. 20130514 11:42:37< Nephro> Crab_, yes, that is the main question :) I am pretty sure it would allow for really strong map analysis and might give the opportunity for more complex algorithms to be used. Other than that it'd be all in the hands of the AI devs 20130514 11:43:52-!- AI0867_ is now known as AI0867 20130514 11:44:15< Crab_> Nephro: map analysis - yes, that's easier. 20130514 11:44:48< Crab_> Nephro: but it's easier to implement as well. just copy a map, do calculation, then verify than the map is the same when calculation is over. 20130514 11:46:51< flix> Crab_: Hello! Please have a look at: http://wiki.wesnoth.org/User:Flixx/Game_Theory_for_Recruiting . I don't know if you've time to read everything. You are probably most interested in the test-results. 20130514 11:47:09< Crab_> flix: hello! I'll take a look, thanks. 20130514 11:48:55< Crab_> flix: why not all combinations are in the results table ? (5/9 and 6/9 of possible combinations) 20130514 11:49:49< flix> Crab_: you mean the tests? 20130514 11:49:53< Crab_> yes 20130514 11:51:41< flix> Crab_: Basically because taking 1000 tests takes >5 h. So I concentrated only on the ones I found most important. But I can try some more test over the next days. Are you interested in something special? 20130514 11:51:58-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130514 11:52:13< Nephro> Crab_, what you mentioned is a single case of the proposed system. Which again, might be a good approach, instead of doing a generic one. I keep getting hints about always trying to over-engineer stuff from several places, maybe I should've identified some specific areas like the map analysis thing and just do it on itself. 20130514 11:53:04< Crab_> flix: "flix vs flix" 20130514 11:53:11< Nephro> I actually lost a decent amount of grades for doing things too generic before specializing for the task. 20130514 11:53:28< Crab_> Nephro: I'd say that starting on some easy case would be good, and later it can be expanded. 20130514 11:55:35< flix> Crab_: Okay, I will do it. But note that there is a separate table (in the middle of the site) where I tested a slightly improved Version of average_resistance_against() 20130514 11:57:35< Crab_> flix: ah, I see. then, no need to do flix vs flix, what you have in the table is close enough 20130514 11:58:20-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has joined #wesnoth-dev 20130514 11:58:38< Crab_> flix: I guess that the most extra benefit would be from properly computing and weighting the scores (e.g. determining most important battlefields that would happen in game) 20130514 11:59:13< flix> Crab_: And also note that "flix vs. flix" (same version) will most likely be 50%/50% . Because I made did not evaluate the units which are already on the map yet. 20130514 11:59:43-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Ping timeout: 256 seconds] 20130514 11:59:46-!- PL_kolek [~PL_kolek@dynamic-78-8-156-76.ssp.dialog.net.pl] has joined #wesnoth-dev 20130514 12:00:39< flix> Crab_: Yes definitely! 20130514 12:01:43< Crab_> flix: I'd expect the ratio of flix vs flix (same version) to be like "40-52" (average of those two scores) 20130514 12:02:12-!- H-Hour_ [~H-Hour@cpc7-sgyl35-2-0-cust428.18-2.cable.virginmedia.com] has joined #wesnoth-dev 20130514 12:02:32< flix> Crab_: I will test it tonight ;) 20130514 12:02:55< Crab_> flix: can you also experiment with making some parameter configurable from WML (so you'll be able to have several versions using same C++ source code, but different parameters in WML) ? 20130514 12:04:02< Crab_> flix: that way, you can set some parameters/tweaks/weights from WML in the ai config (e.g. in the recruitment stage config), and test the same C++ source against itself (but with different parameters) 20130514 12:04:49-!- H-Hour [~H-Hour@cpc7-sgyl35-2-0-cust428.18-2.cable.virginmedia.com] has quit [Ping timeout: 256 seconds] 20130514 12:05:21< flix> Crab_: Hmm. In this special case of *finding the best mix according to the enemies recruitment list* there is not much to parameterize because in theory there is only one "best mix". (Or do you mean just for testing purposes?) 20130514 12:06:19< PL_kolek> Crab_, Hello! I came in for a moment. Should I expect some feedback for my proposal (or I just haven't received any notification), and if yes then when? 20130514 12:06:25-!- TheMonster [~TheMonste@41.69.163.114] has quit [Ping timeout: 246 seconds] 20130514 12:07:23-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has quit [Ping timeout: 260 seconds] 20130514 12:08:32-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130514 12:09:58< PL_kolek> I don't mean to hurry you, I just remember that you said some time ago that it'll be done in a few days. 20130514 12:10:21< PL_kolek> And I don't know what happened ;). 20130514 12:11:20< flix> Crab_: Also note, that I consider this algorithm as finished now, because any improvements I could think of would be inside average_resistance_against(). And this function I want to test and improve in context of combat-analysis. 20130514 12:14:38< Crab_> flix: yes, it's likely that it'll be more productive to modify the inputs to algorithm than the algorithm itself. 20130514 12:15:18< Crab_> flix: for parametrization, I meant 'parametrize the evaluation functions for maps/units/etc' 20130514 12:15:44< Crab_> PL_kolek: my bad. yes, you should expect feedback. I'll do it today (most likely in the evening, maybe before then). 20130514 12:16:08-!- stikonas [~gentoo@lapserv.damtp.cam.ac.uk] has joined #wesnoth-dev 20130514 12:16:08-!- stikonas [~gentoo@lapserv.damtp.cam.ac.uk] has quit [Changing host] 20130514 12:16:08-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130514 12:19:02< PL_kolek> Crab_, no problem. 20130514 12:19:10< PL_kolek> Thanks. 20130514 12:19:39< Nephro> Crab_, last question: say I go for making a prototype for a map analyser. How do I go about threading in wesnoth. I am not particularly familiar with OpenMP, does it provide support for pure threads? Or maybe I should use boost threads/SDL Threads or it doesn't matter for the purposes of a prototype? 20130514 12:20:59-!- TheMonster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 12:22:19< Crab_> Nephro: no, don't use OpenMP. see if src/thread.hpp would be enough for your purposes. use boost::thread otherwise. 20130514 12:22:44< flix> Crab_: Okay, I will think about what things inside average_resistance_against() can be parameterized. But anyhow WML parameters for testing sounds like a good idea for future work. I think if I can find out how to implement those parameters easily it would help a lot while testing... 20130514 12:23:10< Crab_> Nephro: also, afair, the code uses SDL threads for networking (via that src/thread.hpp ) 20130514 12:24:07< Crab_> flix: that's why I want you to try it. note that if you have [stage] ... foo=bar [/stage] or [candidate_action]... foo=bar[/candidate_action] , that config with foo=bar is actually passed to the stage constructor. 20130514 12:24:42< flix> Crab_: Sounds easy. I'll have a look later! Thanks 20130514 12:24:44< Crab_> flix: with recruiting it's slightly more messier due to a layer of indirection (recruitment CA delegates to recruitment aspect which is of type 'stage') 20130514 12:25:08< Crab_> flix: but you still have the stage config for recruitment, and you can put things there. 20130514 12:25:24< flix> Crab_: Okay 20130514 12:25:35< Crab_> flix: note that each stage is responsible for serializing itself to config via to_config() method, so if you add a parameter make sure to_config() saves it. 20130514 12:25:44< Crab_> flix: it'll help if you'll ever test something with saves/loads 20130514 12:26:11< Crab_> flix: there are two approaches with to_config(), 1) just write the original cfg (if you save it as member) 2) reconstruct the cfg from internal state. 20130514 12:27:04-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: Lost terminal] 20130514 12:28:04< flix> Crab_: So as a next step I will figure out how to do this. Great! 20130514 12:28:30< flix> Crab_: Do you want to have a look at the code I made so far? If yes how should I "pack" it for you? 20130514 12:28:57< Crab_> flix: the best way would be to clone wesnoth's repo on github, and push your code there. 20130514 12:29:14-!- shikadibot_ is now known as shikadibot 20130514 12:29:19< Crab_> flix: and yes, that's a good thing to do. 20130514 12:29:51< flix> Crab_: And then just link you to my github repo? 20130514 12:30:05< Crab_> flix: yes 20130514 12:30:18< flix> Crab_: Okay. One more thing: ... 20130514 12:33:41< flix> I made some fixes and improvements to this testing script. (For example when I wanted to 'test my test' I always copied the wesnoth-start-command from the scripts output, removed the --nogui and past it again. So I made a parameter '-p' which will just start a single game with gui to see if everything is fine.) Do you want me to 'copy' those improvements to the second script which uses the database? 20130514 12:34:20< flix> Crab_: I could also refactor both scripts into one and then make the output behavior configurable. 20130514 12:36:38-!- loonybot [~loonybot@ppp91-78-87-169.pppoe.mtu-net.ru] has joined #wesnoth-dev 20130514 12:36:38-!- loonybot [~loonybot@ppp91-78-87-169.pppoe.mtu-net.ru] has quit [Changing host] 20130514 12:36:38-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20130514 12:36:47< Crab_> flix: refactoring both scripts into one seems like the best thing to do. 20130514 12:36:51-!- mjs-de [~mjs-de@g224176045.adsl.alicedsl.de] has joined #wesnoth-dev 20130514 12:40:56< flix> Crab_: Okay, I will do this. But you will not see results soon, because I first want to concentrate on the other things and I'm sure when I do more testing I will have more ideas how to improve the script. (No worries, if I'm not accepted I will commit it anyhow) 20130514 12:41:14< Crab_> flix: ok, great. 20130514 12:42:05< flix> Crab_: Okay, thanks for today ;) Have to leave now. 20130514 12:42:10< Crab_> flix: bye 20130514 12:44:02-!- vernon [~quassel@client-129-238.wifi.elte.hu] has joined #wesnoth-dev 20130514 13:01:18-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20130514 13:01:53< thunderstruck> Crab_, hi. Thanks for the feedback. I was wondering if you also did a review on my hacky approach on sp -> mp campaigns? 20130514 13:23:21-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 245 seconds] 20130514 13:23:49-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 245 seconds] 20130514 13:24:18-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 13:25:09-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 13:25:09-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 13:25:09-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 13:39:49< Crab_> thunderstruck: that part - not yet 20130514 13:42:03-!- EliDupree2 [~eli@dhip-029.rrw.residences.colby.edu] has joined #wesnoth-dev 20130514 14:06:12-!- the_monster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 14:08:40-!- TheMonster [~TheMonste@41.69.163.114] has quit [Ping timeout: 268 seconds] 20130514 14:15:56-!- vernon [~quassel@client-129-238.wifi.elte.hu] has quit [Ping timeout: 246 seconds] 20130514 14:16:49-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20130514 14:17:22-!- timotei21 [~timotei@79.119.100.244] has joined #wesnoth-dev 20130514 14:17:22-!- timotei21 [~timotei@79.119.100.244] has quit [Changing host] 20130514 14:17:22-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20130514 14:17:28-!- vernon [~quassel@client-129-238.wifi.elte.hu] has joined #wesnoth-dev 20130514 14:22:35-!- the_monster [~TheMonste@41.69.163.114] has quit [Quit: Later] 20130514 14:22:55-!- TheMonster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 14:24:22< Nephro> Crab_, also forgot to ask: of what fidelity the prototype should be? What exactly should it showcase? 20130514 14:25:03< Crab_> Nephro: ideally, show that it's possible to add something useful to the AI by having a separate out-of-turn 'brain'. 20130514 14:26:55-!- vernon [~quassel@client-129-238.wifi.elte.hu] has quit [Ping timeout: 264 seconds] 20130514 14:28:40-!- prkc [~negusnyul@dsl51B6387B.pool.t-online.hu] has joined #wesnoth-dev 20130514 14:28:50-!- prkc [~negusnyul@dsl51B6387B.pool.t-online.hu] has quit [Client Quit] 20130514 14:40:27-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has joined #wesnoth-dev 20130514 14:56:19-!- skyfaller_ [~skyfaller@ool-43551edd.dyn.optonline.net] has joined #wesnoth-dev 20130514 14:56:34-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 276 seconds] 20130514 14:57:02-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Read error: Connection reset by peer] 20130514 15:02:43-!- vernon [~quassel@client-129-238.wifi.elte.hu] has joined #wesnoth-dev 20130514 15:36:08-!- mattsc [~mattsc@207.230.251.234] has joined #wesnoth-dev 20130514 15:36:19-!- TheMonster [~TheMonste@41.69.163.114] has quit [Ping timeout: 245 seconds] 20130514 15:37:41-!- vernon [~quassel@client-129-238.wifi.elte.hu] has quit [Ping timeout: 248 seconds] 20130514 15:40:04-!- skyfaller_ [~skyfaller@ool-43551edd.dyn.optonline.net] has quit [Remote host closed the connection] 20130514 15:41:42-!- mattsc_ [~mattsc@207.230.251.234] has joined #wesnoth-dev 20130514 15:41:42-!- mattsc [~mattsc@207.230.251.234] has quit [Read error: Connection reset by peer] 20130514 15:41:43-!- mattsc_ is now known as mattsc 20130514 15:42:27-!- mattsc_ [~mattsc@207.230.251.234] has joined #wesnoth-dev 20130514 15:42:27-!- mattsc [~mattsc@207.230.251.234] has quit [Read error: Connection reset by peer] 20130514 15:42:28-!- mattsc_ is now known as mattsc 20130514 15:43:58-!- love1cat [~Adium@oatleym.uits.uconn.edu] has joined #wesnoth-dev 20130514 15:51:23-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has quit [Ping timeout: 260 seconds] 20130514 15:59:08-!- Nephro [~neph@80.233.231.12] has quit [Ping timeout: 256 seconds] 20130514 15:59:26-!- TheMonster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 16:00:00-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has joined #wesnoth-dev 20130514 16:00:48-!- irker721 [~irker@ai0867.net] has joined #wesnoth-dev 20130514 16:00:48< irker721> wesnoth: Alexander van Gessel wesnoth-old:master 0dcad6 / changelog players_changelog: We're not using svn anymore http://git.io/J0Jzww 20130514 16:02:15-!- PL_kolek [~PL_kolek@dynamic-78-8-156-76.ssp.dialog.net.pl] has quit [Ping timeout: 256 seconds] 20130514 16:05:46-!- Nephro [~neph@80.233.231.12] has joined #wesnoth-dev 20130514 16:08:26-!- mattsc_ [~mattsc@207.230.251.234] has joined #wesnoth-dev 20130514 16:08:26-!- mattsc [~mattsc@207.230.251.234] has quit [Read error: Connection reset by peer] 20130514 16:08:26-!- mattsc_ is now known as mattsc 20130514 16:24:10-!- kex [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130514 16:27:12-!- loonycyborg_ [~loonycybo@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20130514 16:31:19-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130514 16:32:54-!- mattsc [~mattsc@207.230.251.234] has quit [Ping timeout: 252 seconds] 20130514 16:35:33-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20130514 16:35:46-!- AI0867_ [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20130514 16:35:54-!- love1cat [~Adium@oatleym.uits.uconn.edu] has left #wesnoth-dev [] 20130514 16:36:00-!- Netsplit *.net <-> *.split quits: loonycyborg 20130514 16:36:00-!- loonycyborg_ is now known as loonycyborg 20130514 16:36:28-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130514 16:36:47-!- AI0867_ [~ai@wesnoth/developer/ai0867] has left #wesnoth-dev [] 20130514 16:38:58-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130514 16:39:54-!- crimson_pingvin [~crimson_p@ec2.happyspork.com] has joined #wesnoth-dev 20130514 16:41:21-!- TheMonster [~TheMonste@41.69.163.114] has quit [Ping timeout: 256 seconds] 20130514 16:42:44-!- Netsplit *.net <-> *.split quits: crimson_penguin 20130514 16:43:18-!- crimson_pingvin is now known as crimson_penguin 20130514 16:43:24-!- crimson_penguin [~crimson_p@ec2.happyspork.com] has quit [Excess Flood] 20130514 16:44:24-!- crimson_penguin [~crimson_p@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20130514 16:48:10-!- kex [~kex@89.205.70.185] has joined #wesnoth-dev 20130514 16:49:26-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-dev 20130514 17:02:56< fabi_> LordBob_: pong 20130514 17:06:22-!- TheMonster [~TheMonste@41.69.163.114] has joined #wesnoth-dev 20130514 17:07:32-!- TheMonster [~TheMonste@41.69.163.114] has quit [Client Quit] 20130514 17:22:57-!- jetrel2 [~jetrel2@64.208.23.76] has joined #wesnoth-dev 20130514 17:23:32-!- Netsplit *.net <-> *.split quits: timotei_, timotei 20130514 17:27:26< bumbadadabum> mattsc: Could you give me the latest wesnoth binary? 20130514 17:27:42< bumbadadabum> or will 1.11.4 be there today? 20130514 17:28:08< mattsc> bumbadadabum: it'll probably not be today, but within the next couple days. 20130514 17:28:27< mattsc> Let me just pull and recompile, to make sure it really is the latest version. 20130514 17:29:48< bumbadadabum> mattsc: Also, did you update your pango for the pango issue with compiling? 20130514 17:29:58< bumbadadabum> and is that .zipable? 20130514 17:30:47< mattsc> bumbadadabum: no, I did not. I have tried more than once and failed every time (Alarantalara says it's difficult to do it so that Xcode recognizes it). 20130514 17:31:05< bumbadadabum> mattsc: So you just replaced the line? 20130514 17:31:20< mattsc> I just make a local change to text.cpp that will do until Alarantalara has the time to fix this. 20130514 17:31:23< mattsc> Yes, exactly. 20130514 17:31:33< bumbadadabum> and it worked without any problems? 20130514 17:31:43-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has quit [Ping timeout: 260 seconds] 20130514 17:31:54< mattsc> yes 20130514 17:33:28< bumbadadabum> Where was the line again? 20130514 17:34:17< mattsc> https://github.com/wesnoth/wesnoth-old/commit/2b939cebc7a4eea6ec6adae40c8396f836122940#L0L88 20130514 17:34:51< mattsc> You only need to undo the changes listed for lines 89-94. You can leave the rest as is. 20130514 17:37:41< LordBob_> fabi: http://imagebin.org/257627 20130514 17:37:50< mattsc> bumbadadabum: link to current binary: https://www.dropbox.com/s/bqhbxl9jeuktyeq/Wesnoth?v=1rc-c 20130514 17:38:43< LordBob_> fabi_: final minimap zoom control, with custom slider and a space left out to display the numeric zoom value 20130514 17:38:52< bumbadadabum> I'm going to retry building after I'm done testing a wesnoth scenario 20130514 17:39:20-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has quit [Remote host closed the connection] 20130514 17:40:15< bumbadadabum> mattsc: Thanks, once again 20130514 17:40:26< fabi_> LordBob_: Nice. 20130514 17:41:21< mattsc> LordBob_: did you get things to work again? 20130514 17:41:41< LordBob_> fabi_: it doesn't show on the picture, but there is also a full-height graduation in the middle that marks the default zoom 20130514 17:42:01< bumbadadabum> LordBob_: The slider looks cool 20130514 17:42:20< bumbadadabum> I like the design 20130514 17:42:22< fabi_> LordBob_: Yeah, the problem is: Default zoom isn't even near the middle. 20130514 17:42:45< LordBob_> mattsc: not yet but I did get the pango error, so the rest is just a matter of sitting in front of the computer long enough 20130514 17:43:27< LordBob_> fabi_: whereever it is, adjusting graduations on the picture should be easy enough ;) 20130514 17:43:36< mattsc> LordBob_: ok, good. Let me know if I can help with anything else. 20130514 17:43:45< LordBob_> And now, I need to rush. Seeya later, guys 20130514 17:44:36< fabi_> LordBob_: bye 20130514 17:48:31-!- Nephro [~neph@80.233.231.12] has quit [Ping timeout: 264 seconds] 20130514 17:49:19-!- Netsplit over, joins: timotei, timotei_ 20130514 17:50:40-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has joined #wesnoth-dev 20130514 17:53:25< fabi_> hi timotei 20130514 17:57:55-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has quit [Remote host closed the connection] 20130514 17:59:00-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has joined #wesnoth-dev 20130514 18:01:40-!- ThePawnBreak [~cristi@188.26.181.31] has joined #wesnoth-dev 20130514 18:01:50-!- Crab_ [Crab_@wesnoth/developer/crab] has left #wesnoth-dev [] 20130514 18:09:07< irker721> wesnoth: fendrin wesnoth-old:master b9f833 / images/icons/action/ (9 files): Renamed the icons for the time switch action properly. http://git.io/-alAcQ 20130514 18:09:15< irker721> wesnoth: fendrin wesnoth-old:master 25f5d4 / / (15 files in 5 dirs): Time and Schedule selection in the editor. http://git.io/bVaEcw 20130514 18:12:49< timotei_> hi fabi_ 20130514 18:19:54< jleldridge> mattsc: I have a working way to allow the healer micro ai to avoid locations with the ai avoid aspect, would you like to see what I did before I put in a pull request? 20130514 18:20:23< mattsc> jleldridge: either way is fine. Whatever you prefer. 20130514 18:21:11< jleldridge> Ok! I'll just put in a pull request then, it'll be better to see it in context and with the differences highlighted anyway 20130514 18:21:29< mattsc> sounds good. 20130514 18:22:03< bumbadadabum> mattsc: I'm also taking a look at some other micro ais 20130514 18:22:12< bumbadadabum> and I'm going to use them 20130514 18:22:14< bumbadadabum> a lot 20130514 18:22:27< bumbadadabum> because there's some really cool stuff 20130514 18:22:38-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: brb dinner] 20130514 18:22:43< mattsc> bumbadadabum: cool. Let me know if you find problems, or if you have suggestions for additions/changes. 20130514 18:26:30-!- Nephro [~neph@80.233.231.12] has joined #wesnoth-dev 20130514 18:35:32-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 256 seconds] 20130514 18:37:27< timotei_> fabi_: did you look for me? :) 20130514 18:43:06< fabi_> timotei_: No, but it is nice to hear from you :-) 20130514 18:43:50< fabi_> timotei_: But there is something on my TODO which would need some cooperation with you. 20130514 18:46:43< jleldridge> mattsc: I've submitted my pull request whenever you can take a look. 20130514 18:47:15-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130514 18:49:12< mattsc> jleldridge: is there a reason why you did not use a location set? It would be both shorter and cleaner. 20130514 18:49:45< mattsc> Esp. since LSs are already used in that code anyway, so it isn't any additional overhead. 20130514 18:50:03< jleldridge> the of_pairs function wouldn't work on avoid_map 20130514 18:50:24< jleldridge> I didn't think it was in the right format for the functions 20130514 18:51:11< jleldridge> Maybe I could create a new location_set and then just manually add the x, y values into it? 20130514 18:51:15< mattsc> Ah, right, because the keys are of form x/y=... 20130514 18:51:26< mattsc> Yes, I was just going to suggest that. 20130514 18:51:47< mattsc> It's still fewer lines than what you have here, and it only creates one additional array, rather than two. 20130514 18:52:08< jleldridge> Ok, I'll do that then 20130514 18:52:20< mattsc> Also, the check in the if statement is a lot nice, imho 20130514 18:52:39< mattsc> ok, thanks. Should be easy to get there from what you have. 20130514 18:52:44< jleldridge> yeah :) 20130514 18:53:09< mattsc> Other than that, what you have there looks like it will work (saying that without having tested it, of course) 20130514 18:53:23-!- Nephro [~neph@80.233.231.12] has quit [Ping timeout: 256 seconds] 20130514 18:54:16< mattsc> jleldridge: one very minor thing, let's not call the table in l.144 avoid_map. I am usually using _map for location sets or similar throughout the MAI code. 20130514 18:54:58< mattsc> This doesn't make a difference for functionality, of course, it's just for consistency with other code. 20130514 18:54:58< jleldridge> Ok, I was going to change it so the location set was avoid_map 20130514 18:55:08< mattsc> yes, exactly. 20130514 18:55:16< jleldridge> would avoid_set work for the other one then? 20130514 18:55:25< jleldridge> er... avoid_table 20130514 18:55:33< jleldridge> to accurately represent its type 20130514 18:55:43< mattsc> That's fine, or avoid_locs, or even just avoid. 20130514 18:57:04< mattsc> jleldridge: ok, one more thing ... :) 20130514 18:57:14< jleldridge> ok 20130514 18:58:09< mattsc> In an 'if' statement, conditions linked by 'and' are evaluated one at a time until the first one being false is found. So you don't need to nest ifs here, esp. if you only add a single condition (as opposed to two) with the LS. 20130514 18:58:30< mattsc> But I'll leave that up to you. Sometimes it's nicer for readability to have nested ifs. 20130514 18:58:56< mattsc> ... but for efficiency it doesn't make a difference (is what I am trying to say) 20130514 19:01:51< mattsc> jleldridge: I assume you know that anyway, but I've learned it's better not to assume things like that ;) 20130514 19:02:44< jleldridge> I do :), I was thinking since the next if statement down is mostly checking for units in the way it would be neater to separate out the avoid check 20130514 19:03:05< jleldridge> so that the two if statements neatly handle two unrelated things 20130514 19:03:17< mattsc> Yep, makes sense. I just wanted to mention it. 20130514 19:03:59-!- kex [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130514 19:09:54< flix> mattsc: Hi! You probably also want to have a look at my test results from my Game Theory Recruitment AI: http://wiki.wesnoth.org/User:Flixx/Game_Theory_for_Recruiting 20130514 19:11:11< mattsc> Hi, flix. I did have a look at the tables and really quickly scanned over the text, but haven't read it in detail yet. 20130514 19:11:34< mattsc> Looks like it's doing very well. 20130514 19:11:48-!- ThePawnBreak [~cristi@188.26.181.31] has quit [Ping timeout: 256 seconds] 20130514 19:12:06-!- ThePawnBreak [~cristi@188.26.181.31] has joined #wesnoth-dev 20130514 19:15:25< flix> mattsc: You don't need to read everything (of course you can, if you have time) - just wanted you to see the test-results because you suggested to run my AI against Alarantalara's recruiter. (And I've slightly beaten it ;) ) 20130514 19:16:38< mattsc> flix: yeah, I saw that. The two seem to be doing pretty similarly, with a slight edge for yours. :) 20130514 19:30:27-!- fabi_ [~fabi@wesnoth/developer/fendrin] has quit [Quit: Konversation terminated!] 20130514 19:32:22-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has joined #wesnoth-dev 20130514 19:33:57< bumbadadabum> mattsc: I seem to get an error while using the recruiting micro ai 20130514 19:35:24< mattsc> bumbadadabum: which of the recruiters? And I assume this is with trunk? 20130514 19:35:34< bumbadadabum> yes 20130514 19:35:45< mattsc> What the error? 20130514 19:35:52< bumbadadabum> http://pastebin.com/vb2vv5rP 20130514 19:36:21< bumbadadabum> AFAIK I just altered your code from the scenario 20130514 19:36:41< mattsc> Could you paste that code too, please? 20130514 19:37:10< bumbadadabum> http://pastebin.com/LuiSLMyB 20130514 19:38:12< mattsc> Thanks. This looks like an error setting up the MAI, rather than executing it, so let me have a look. 20130514 19:38:39< mattsc> I mean the Lua code setting up the MAI, not your WML code. 20130514 19:38:46< bumbadadabum> inb4 I did something really stupid 20130514 19:39:25< mattsc> Ha, I'm good at that! :) 20130514 19:40:16< bumbadadabum> I feared it might be the fact I have 2 MICRO_AI macros in the side 4 definition 20130514 19:40:38< mattsc> bumbadadabum: ah, yes, that only works in special cases at the moment. 20130514 19:40:57< bumbadadabum> Ok 20130514 19:41:00< mattsc> Once we get the external CA thing finished, it's the first thing I will take care of. 20130514 19:41:39< bumbadadabum> I'll remove the fleeing mechanic from side 4 then 20130514 19:42:04< bumbadadabum> aand try again 20130514 19:42:34< bumbadadabum> still the same error 20130514 19:42:41< mattsc> bumbadadabum: ok. There are hacks to make it work even now, but we'll likely have it working as it should in a few weeks anyway, so if you can wait ... 20130514 19:42:47-!- stikonas [~gentoo@128.232.240.234] has joined #wesnoth-dev 20130514 19:42:50-!- stikonas [~gentoo@128.232.240.234] has quit [Changing host] 20130514 19:42:50-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130514 19:43:11< mattsc> bumbadadabum: ^ that was about using several MAIs for the same side. 20130514 19:43:36< mattsc> As for your current, problem, could you figure out quickly if it's the Side 2 or Side 4 code giving you the error message? 20130514 19:44:21< mattsc> Also, I assume you included the engine macros (and only one per side)? 20130514 19:44:53< bumbadadabum> yes 20130514 19:45:19< mattsc> ok, if you tell me which side the problem is with, I'll test it here and see what I get. 20130514 19:46:34< bumbadadabum> side 2 code 20130514 19:46:49< mattsc> thanks - I suspected that much... 20130514 19:47:13-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has joined #wesnoth-dev 20130514 19:47:13-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has quit [Changing host] 20130514 19:47:13-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20130514 19:48:27-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has quit [Ping timeout: 260 seconds] 20130514 19:48:57< bumbadadabum> mattsc: I figure it's the multiple [possibility] tags, seeing as your code works with just one (right?) 20130514 19:49:17< mattsc> I assume so too 20130514 19:50:19< bumbadadabum> no, it isn;t 20130514 19:51:30< mattsc> bumbadadabum: I copied your [micro_ai] test scenario into the test scenario (only changing the side to 1) and get no error message. 20130514 19:51:56< mattsc> change the first 'test scenario' -> 'tag' 20130514 19:52:27< bumbadadabum> http://pastebin.com/GpwQW3NT 20130514 19:52:36< bumbadadabum> Here's the entire scenario 20130514 19:52:49< bumbadadabum> I'm sure there is something really obvious in there 20130514 19:53:04-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20130514 19:54:22< mattsc> bumbadadabum: I assume SETUP_AI_PARAMS calls a prestart event with a [modify_ai] tag or something? 20130514 19:54:28< bumbadadabum> yes 20130514 19:55:32< mattsc> I don't see anything obvious. What does SETUP_LUA_AI do? 20130514 19:56:03< bumbadadabum> Sets up shortcuts 20130514 19:56:14< bumbadadabum> (H, W, _, and ai) 20130514 19:56:41< bumbadadabum> stuff that's used in the side 2 ai code 20130514 19:56:52< mattsc> Side 3? 20130514 19:57:01< bumbadadabum> *3 20130514 19:57:11-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has joined #wesnoth-dev 20130514 19:58:28< mattsc> Hmm... Since you use macros and units in there that are specific to your campaign, I can't test this by just copying it into my campaign. Also, I have to run off and will be gone for the next hour. 20130514 19:59:18-!- Zazweda [~valentin@str90-6-78-243-251-185.fbx.proxad.net] has joined #wesnoth-dev 20130514 19:59:19< mattsc> I suggest that you eliminate everything AI specific other than the recruiting code from the scenario to see if there's a conflict with something there, just as a test. 20130514 19:59:27-!- mordante [~mordante@roadie.xs4all.nl] has joined #wesnoth-dev 20130514 19:59:27-!- mordante [~mordante@roadie.xs4all.nl] has quit [Changing host] 20130514 19:59:27-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20130514 19:59:27< bumbadadabum> mattsc: Ok 20130514 19:59:33< mattsc> Or you can wait an hour and I'll give it a test. :) 20130514 19:59:42< mordante> servus 20130514 19:59:51< mattsc> That's my best guess right now unless I am missing something obvious also. 20130514 20:00:37< mattsc> bumbadadabum: sorry, got to go right now. Let me know what you find and we'll figure it out when I am back. 20130514 20:01:07< bumbadadabum> Ok 20130514 20:01:07< mordante> anonymissimus just curious how big is the MSVC debug file? 20130514 20:04:38-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130514 20:07:36-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20130514 20:10:03-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130514 20:10:08< jleldridge> mattsc: just wanted to let you know the pull request has been updated. 20130514 20:20:18-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has quit [Quit: DCW] 20130514 20:25:46-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130514 20:27:09< bumbadadabum> mattsc: I found the issue. Having both the [micro_ai] tags there causes the error 20130514 20:27:35< bumbadadabum> or nope, that was last attempt sorry 20130514 20:28:01< bumbadadabum> No, it's the SETUP_LUA_AI tag. 20130514 20:28:27< bumbadadabum> mattsc: ^ I need to keep track of what I'm testing 20130514 20:29:29-!- exciton [chuck-the-@89.208.169.104] has quit [Ping timeout: 252 seconds] 20130514 20:29:39-!- Zazweda [~valentin@str90-6-78-243-251-185.fbx.proxad.net] has quit [Quit: WeeChat 0.3.7] 20130514 20:34:39< bumbadadabum> I think I fixed it now, so you shouldn't worry anymore 20130514 20:53:26< LordBob_laptop> mattsc: copiling setup is goodn everything's back to normal 20130514 20:53:34< LordBob_laptop> *compiling 20130514 20:54:33-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130514 20:58:18-!- LordBob_laptop [~chatzilla@2a01:e34:ee82:47e0:5ab0:35ff:fe62:a34d] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0/20130326150557]] 20130514 21:06:18-!- Zazweda [~valentin@str90-6-78-243-251-185.fbx.proxad.net] has joined #wesnoth-dev 20130514 21:09:22-!- irker721 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130514 21:15:50< mordante> I'm off bye 20130514 21:16:08-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20130514 21:18:08< mattsc> bumbadadabum: ok, good to hear that you got it to work. 20130514 21:18:13< mattsc> LordBob_: great 20130514 21:20:03< Zazweda> mattsc: do you know where I can find how attack (for example) is implemented to be synch ? 20130514 21:22:52< mattsc> Zazweda: no, I don't. But a really quick look at src/ai/lua/core.cpp shows functions ai_attack and ai_recruit. So that might be a good starting point. 20130514 21:23:05< Zazweda> thanks 20130514 21:23:55< Zazweda> looks good :) 20130514 21:23:58< mattsc> jleldridge: have you tested that this code works? As in, have you set up avoid zones and made sure the healers really stay out of them? 20130514 21:24:37< mattsc> It looks good, but I haven't had a chance to test it myself yet. 20130514 21:25:11< jleldridge> I originally had some print statements just within the inner if statement that would say which x,y the ai was considering moving to. 20130514 21:25:44< jleldridge> I took note of those coordinates and tried adding a few of them to the avoid aspect for each side, then ran the test scenario again 20130514 21:26:19< jleldridge> And those x, y coordiantes weren't listed as being considered again, I can do some more thorough testing though 20130514 21:26:20< timotei_> fabi_: Ah, well ... I am not that available for now. Last year at faculty. Will be free after the 13rd of July. 20130514 21:26:59< mattsc> jleldridge: no, that's good. I'll do some of my own testing anyway, was just wondering what you have done. 20130514 21:27:23< mattsc> jleldridge: this looks good, I just have a small number of very nit-picky comments :D 20130514 21:27:42< jleldridge> That's perfectly fine :) let me have em :P 20130514 21:28:00< mattsc> First, let's take l.11 out of the code, even though it is commented out, as it refers to an add-on 20130514 21:29:00< mattsc> 2. For some reason I prefer using 'not' over '== nil'. Don't even know why I prefer it, but again, let's do that for consistency (for example with the following line) 20130514 21:30:41< mattsc> 3. avoid_locs is an array, right? Consecutively numbered starting from 1? (So you could use ipairs() instead of pairs(), but I don't really care on way or the other.) But again, for consistency with other code: 20130514 21:30:42< jleldridge> so not avoid_map:get(r[1], r[2]) would work exactly like ==nil? 20130514 21:31:12< mattsc> jleldridge: yes -- and I usually put () around it just for readability 20130514 21:32:18< mattsc> On the loop, let's use either 'i,l' with ipairs, or 'k,v' with pairs. 20130514 21:32:51< mattsc> 'i' and a short form of the variable (could also be 'a' for avoid or 'loc' or something) 20130514 21:32:59< mattsc> and 'k,v' stands for key,value. 20130514 21:33:21-!- anonymissimus [~chatzilla@HSI-KBW-149-172-228-192.hsi13.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20130514 21:33:37< mattsc> jleldridge: as I said, very small picky stuff, just for consistency with other code. 20130514 21:33:53< jleldridge> Ok, made the changes, just testing now to make sure it all still works 20130514 21:34:01< anonymissimus> AI0867: you forgot to fix the version in wesconfig.h 20130514 21:34:14< jleldridge> I use vim to edit so sometimes I miss small details 20130514 21:34:39< mattsc> jleldridge: this was all perfectly fine the way it was, no problem. 20130514 21:36:44< mattsc> jleldridge: we also need to add this to the wiki page somehow. Should probably have it's own subsection, parallel to 'required keys' and 'optional keys' 20130514 21:37:12< mattsc> 'Standard RCA AI aspects respected by this Micro AI' or something 20130514 21:39:01< jleldridge> It doesn't really use the avoid aspect in the same way as the RCA AI does from what I can tell. 20130514 21:39:12< jleldridge> So would we want to include something about that? 20130514 21:39:47< mattsc> jleldridge: I think you do. Maybe I am misunderstanding something. 20130514 21:40:55< LordBob_> fabi: I'm preparing the images for the minimap with zoom slider. Which states do you need for the slider ? 20130514 21:41:18< mattsc> [avoid] in the RCA AI describes locations that the AI doesn't move its units to. That's what you are doing here too. 20130514 21:42:07< jleldridge> mattsc: Ok, it just seems less "automatic" to me than how it is implied to be used by the other AIs 20130514 21:42:33< jleldridge> idk, I haven't looked at the other ones much, so I honestly don't know what I'm talking about there 20130514 21:42:59-!- ThePawnBreak [~cristi@188.26.181.31] has quit [Quit: Leaving] 20130514 21:43:07< mattsc> jleldridge: that's only because you didn't write the code for the RCA AI. :) For the user it will appear to be automatic. 20130514 21:43:23< jleldridge> true :P 20130514 21:45:08< mattsc> jleldridge: https://github.com/wesnoth/wesnoth-old/blob/master/src/ai/testing/ca_testing_move_to_targets.cpp#L105 20130514 21:47:17< anonymissimus> mattsc: when you first created your repository for AI demos at github, did you import it as an existing one, or did you create it at github, cloned it, and then added the files/folders ? 20130514 21:51:41< mattsc> anonymissimus: I had it as an existing add-on on my computer and "exported" it to github (or whatever the right language is here) 20130514 21:52:26< mattsc> anonymissimus: I am using the github app for Mac which does almost all of these things just by clicking on something. 20130514 21:52:35< AI0867> anonymissimus: you are correct 20130514 21:56:57-!- ancestral [~ancestral@17.24.116.186] has joined #wesnoth-dev 20130514 21:57:28-!- ancestral [~ancestral@17.24.116.186] has quit [Client Quit] 20130514 21:57:51-!- ancestral [~ancestral@17.24.116.186] has joined #wesnoth-dev 20130514 21:58:40< anonymissimus> AI0867: if a remote branch isn't auto-cloned by git clone into my local repo, what could be the reason ? on github they say I would have to create a local branch or get it manually: https://help.github.com/articles/fetching-a-remote 20130514 21:58:48< anonymissimus> but fir wesnoth it did it automatically 20130514 21:59:32-!- ancestral [~ancestral@17.24.116.186] has quit [Client Quit] 20130514 22:00:26< anonymissimus> ah well, no, seems it didn't 20130514 22:01:26< AI0867> what kind of commands are you using here? 20130514 22:02:04< AI0867> shikadibot: log master 20130514 22:02:13< shikadibot> AI0867: Revision 036793 (Alexander van Gessel) on Tue May 14 20:01:17 2013: 20130514 22:02:17< shikadibot> AI0867: Also replace '+svn' with '+dev' in wesconfig.h 20130514 22:02:19< shikadibot> AI0867: 20130514 22:02:21-!- irker867 [~irker@ai0867.net] has joined #wesnoth-dev 20130514 22:02:21< irker867> wesnoth: Alexander van Gessel wesnoth-old:master 036793 / src/wesconfig.h: Also replace '+svn' with '+dev' in wesconfig.h http://git.io/1pM9rw 20130514 22:02:22< shikadibot> AI0867: Caught by anonymissimus 20130514 22:02:24< shikadibot> AI0867: Web interface URL: https://github.com/wesnoth/wesnoth-old/commit/036793 20130514 22:05:04< jleldridge> mattsc: Update the pull request. 20130514 22:05:17< jleldridge> updated* 20130514 22:05:51< mattsc> jleldridge: I used the time to set up a test case for it. So give me a few minutes. 20130514 22:06:00< jleldridge> Ok 20130514 22:06:56< mattsc> jleldridge: you left a line with trailing spaces. Actually, the line only contains spaces. ;) 20130514 22:07:26< anonymissimus> AI0867: nevermind 20130514 22:09:24< jleldridge> mattsc: That's fixed 20130514 22:13:15< mattsc> jleldridge: ok, it appears to be working. Well done. 20130514 22:13:51< jleldridge> Yay :D 20130514 22:14:02-!- exciton [chuck-the-@89.208.169.104] has joined #wesnoth-dev 20130514 22:17:19< irker867> wesnoth: jleldridge wesnoth-old:master fc7455 / data/ai/micro_ais/ais/mai_healer_support_engine.lua: Added ability for Healer Support mai to avoid certain tiles based on standard ai http://git.io/YXInRg 20130514 22:17:33< irker867> wesnoth: mattsc wesnoth-old:master 509a67 / data/ai/micro_ais/ais/mai_healer_support_engine.lua: Merge pull request #10 from jleldridge/master http://git.io/ZrZMHg 20130514 22:18:26< mattsc> jleldridge: please update the MAI wiki page at some point. 20130514 22:18:40< jleldridge> Ok, working on that now. 20130514 22:20:52< mattsc> anonymissimus: I believe that ^ takes care of your requests for the Healer MAI, or did I forget something? 20130514 22:22:53< mattsc> anonymissimus: there's still some problem with certain combinations of aggression= and [filter] that won't work exactly as desired, I think. I'll work on that after the release of 1.11.4. It requires more detailed testing than I feel comfortable having the time for beforehand. 20130514 22:25:02< jleldridge> mattsc: The wiki has been updated, and I'll start looking into the aggression= problem as well since I have plenty of time during this week. 20130514 22:26:28< mattsc> jleldridge: it would be great if you could do that. Have a look at how the case of aggression=0 is implemented. I don't think it will work exactly as desired if [filter] is set also. 20130514 22:27:15< mattsc> I believe it will exclude all healers from attacking, not just the filtered ones. Or something like that. It's been some time since I looked into this, so I forgot the details. 20130514 22:27:58< mattsc> I think the fix is pretty easy, but it requires a lot of testing of all sorts of combinations of parameters. 20130514 22:28:14< jleldridge> I have been wondering, If I want to create my own test scenario, is there a guide on how to set up and load test scenarios? 20130514 22:28:43< jleldridge> Because right now I just keep editing the healer test scenario and reverting the changes on commits 20130514 22:30:29< jleldridge> mattsc: nevermind, found a guide 20130514 22:33:17< mattsc> jleldridge: if you don't want to do it yourself, you could use the test scenario in AI-demos. That can even be started from the CL with '-t aid_test'. 20130514 22:33:58< mattsc> And it has a couple rather convenient right-click options :) 20130514 22:35:23< anonymissimus> mattsc: and who is ^ ? 20130514 22:35:39-!- anonymissimus is now known as ^ 20130514 22:35:59< mattsc> ^: :) 20130514 22:36:08-!- ^ is now known as anonymissimus 20130514 22:38:00< jleldridge> If I want to load things from AI_Demos, where does the folder need to go in my data directory? 20130514 22:38:40< mattsc> anonymissimus: s/^/commit 509a67 20130514 22:39:06< mattsc> jleldridge: into data/add-ons/ in your user directory 20130514 22:39:18< mattsc> and it needs to be called 'AI-demos' 20130514 22:40:29-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130514 22:41:00< anonymissimus> jleldridge: what format returns ai.get_avoid() ? can't you use locations_set.of_pairs ? 20130514 22:45:16< mattsc> anonymissimus: of_pairs() wants input in form { 1, 2 }. get_avoid returns them as { x = 1, y = 2 }. 20130514 22:45:49< irker867> wesnoth: mattsc wesnoth-old:master d9685a / changelog: Update changelog http://git.io/ceV-Yw 20130514 22:46:45< anonymissimus> mattsc: yeah; perhaps a function location_set:of_wml_table() makes sense ? 20130514 22:47:43< mattsc> anonymissimus: agreed. I have a special case of that in ai_helper, of_triples(), but a more general version would be useful. 20130514 22:47:51< mattsc> anonymissimus: do you want to write it? 20130514 22:48:06< anonymissimus> it is kind of unfortunate; all through wesnoth lua I see these two ways of describing locations 20130514 22:48:40< mattsc> yes - it is very inconsistent. 20130514 22:48:49< anonymissimus> competing with each other, and each time some function needs or returns locations I need to look up the wiki or the code to know which form they need/return 20130514 22:49:25< mattsc> I have a couple functions that can deal with both formats, but generally I agree, it's a pain to deal with. 20130514 22:49:41< anonymissimus> mattsc: isn't that what we have GSoC applicants ? :P 20130514 22:49:48< anonymissimus> *for 20130514 22:50:02< mattsc> anonymissimus: yeah, great idea! :) Anybody? 20130514 22:50:16< anonymissimus> we need easy enough tasks that also actually make sense when merged 20130514 22:51:34< mattsc> anonymissimus: so the goal here is to have it recognize either format, and put whatever else is in the table into the value? (instead of just using true for the latter) 20130514 22:52:36< anonymissimus> so, teh task would be to write functions location_set.of_wml_table and .to_wml_table (not with the object-oriented :) and use it in that code (and perhaps other places) 20130514 22:53:13< anonymissimus> mattsc: automatically recognize either format ? 20130514 22:53:46< mattsc> {1 , 2} or { x = 1, y = 2} 20130514 22:54:09< shadowm> !tag 1.11.2 20130514 22:54:18< shikadibot> shadowm: Tag 1.11.2, revision 4ba3fd (Nils Kneuper) on Sun Mar 24 12:30:02 2013: 20130514 22:54:22< shikadibot> shadowm: updated Vietnamese translation 20130514 22:54:24< shikadibot> shadowm: Web interface URL: https://github.com/wesnoth/wesnoth-old/commit/4ba3fd 20130514 22:54:33< anonymissimus> that is probably even better; so to modify are methods:of_pairs(t) and to_pairs in lcoation_set.lua 20130514 22:55:07-!- trewe [~trewe@87.196.18.201] has joined #wesnoth-dev 20130514 22:55:59< jleldridge> mattsc, anonymissimus: I can do that. My only real focus this week is on Wesnoth so I have plenty of time. 20130514 22:58:34< mattsc> jleldridge: sounds good to me! (I can't spend as much time as today on this the rest of the week, but I'll be around for some time each day) 20130514 22:59:42-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130514 23:02:41< anonymissimus> mattsc: in case of the table coming from store_locations it would make sense to use the value of terrain= instead of true, but I can imagine a general rule 20130514 23:02:54< anonymissimus> *can't* 20130514 23:03:45< anonymissimus> probably better to just make a hard check whether the elements have the { x=, y= } form and that's it 20130514 23:04:19< mattsc> anonymissimus: I was imagining something like this (having spent about 30 sec thinking about it): 20130514 23:04:41< mattsc> if x=,y= exist use that for index, otherwise use [1],[2] 20130514 23:05:01< anonymissimus> mattsc: also, when working with location_set I recently wished for a better debugging function; dbms just shows this weird index which I cannot parse 20130514 23:05:18< jleldridge> I noticed that too 20130514 23:05:24< mattsc> if [3] exists, use that for value, otherwise, put all the other keys into a table into value, unless no other keys exist in which case we use true. 20130514 23:05:43< anonymissimus> I whish it would show { x,y } = true etc instead 20130514 23:05:58-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 245 seconds] 20130514 23:06:16< mattsc> anonymissimus: I might have a function like that in my private archives somewhere... 20130514 23:06:16-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20130514 23:06:43-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130514 23:06:44-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130514 23:06:44-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 23:06:44-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130514 23:06:56< mattsc> But I might only do an print() on the invert_key function I have in ai_helper, I don't remember 20130514 23:08:01< mattsc> Yeah, that's probably what I am using: https://github.com/mattsc/AI-demos/blob/master/lua/ai_helper.lua#L212 20130514 23:08:42-!- love1cat [~Adium@75-130-92-96.dhcp.wlmn.ct.charter.com] has joined #wesnoth-dev 20130514 23:09:28< mattsc> It's ugly, but I wanted to be sure it works even if somebody changes the base value for the LS index calculation. 20130514 23:09:36-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20130514 23:14:22< mattsc> anonymissimus, jleldridge: actually, the one that is the most useful to me is this ai_helper.put_labels: https://github.com/mattsc/AI-demos/blob/master/lua/ai_helper.lua#L63 20130514 23:14:43< mattsc> It puts the values stored in the LS onto the map, as labels. 20130514 23:16:26< anonymissimus> both these should be member functions in location_set 20130514 23:16:55-!- fabi [~fabi@88-134-44-89-dynip.superkabel.de] has joined #wesnoth-dev 20130514 23:16:55-!- fabi [~fabi@88-134-44-89-dynip.superkabel.de] has quit [Changing host] 20130514 23:16:55-!- fabi [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20130514 23:17:04< anonymissimus> is is ugly since you the revindex function is private so you couldn't access it 20130514 23:17:28< fabi> hi anonymissimus 20130514 23:17:31< mattsc> yes 20130514 23:18:06< mattsc> anonymissimus: sounds good to me. (I asked about the former once here on IRC, before I had commit access myself, but nobody seemed to know or have an opinion back then.) 20130514 23:18:47< mattsc> jleldridge: so there are plenty of things that can be done here :) 20130514 23:18:57-!- wesbot [~wesbot@asteria.debian.or.at] has quit [Remote host closed the connection] 20130514 23:21:02< jleldridge> mattsc: Ok, I'll read the logs and see what I can get done. I was AFK for a minute talking to a repair guy 20130514 23:22:16< mattsc> jleldridge: sounds good. Just get started on any one of them and both anonymissimus and I can help with questions, if you have any. 20130514 23:22:26< jleldridge> Ok cool :) 20130514 23:22:53-!- Zazweda [~valentin@str90-6-78-243-251-185.fbx.proxad.net] has quit [Quit: WeeChat 0.3.7] 20130514 23:23:24-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Ping timeout: 256 seconds] 20130514 23:23:38-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20130514 23:25:54-!- Nephro [~neph@80.233.231.12] has joined #wesnoth-dev 20130514 23:26:54< LordBob_> fabi: ping ? 20130514 23:27:03< fabi> LordBob_: pong 20130514 23:27:35< fabi> LordBob_: Is the compilation process working again? 20130514 23:29:00< LordBob_> fabi: I'm doing replacement artwork for the old sliders and wanted to know: is it better if I leave the images where they currently are, or can you easily change their access path if I relocate them in a subfolder ? 20130514 23:29:13< LordBob_> fabi: and yes, compilation is functional again 20130514 23:31:30< fabi> LordBob_: Moving artwork around is no problem. 20130514 23:31:54-!- Nephro [~neph@80.233.231.12] has quit [Ping timeout: 264 seconds] 20130514 23:31:56< fabi> LordBob_: I did some grouping in subfolders myself already. 20130514 23:33:25< LordBob_> fabi: good, then. Is it alright if I commit the new artwork in its new subfolder, and leave the moving around (code-wise) to you ? 20130514 23:33:29< fabi> LordBob_: Do you want to have a look at the time/schedule menu? It's in the codebase now. 20130514 23:33:43< LordBob_> fabi: I'll have a look at it, yup 20130514 23:33:49< fabi> LordBob_: Yes, just commit them and notice me, I will take care about the code. 20130514 23:37:45-!- wesbot [~wesbot@wesnoth/bot/wesbot] has joined #wesnoth-dev 20130514 23:42:15-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 260 seconds] 20130514 23:42:21< irker867> wesnoth: fendrin wesnoth-old:master 8d3aa7 / src/editor/editor_controller.cpp: Set the color adjustment on schedule switch. http://git.io/iF8yXw 20130514 23:43:19-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 252 seconds] 20130514 23:43:57< jleldridge> mattsc: What did you mean by: otherwise, put all the other keys into a table into value 20130514 23:44:02< irker867> wesnoth: fendrin wesnoth-old:master 712ed5 / images/icons/action/ (9 files): Images for the switch time action. http://git.io/3o38Cw 20130514 23:46:10< mattsc> jleldridge: assume this is an input: { x = 1, y = 2, terrain=Ww, something = 'stuff' }. Use x/y= to get the index, and use a table of format { terrain=Ww, something = 'stuff' } as value 20130514 23:46:31< jleldridge> ok 20130514 23:46:38< irker867> wesnoth: Emilien Rotival wesnoth-old:master 8b9156 / images/buttons/ (28 files in 2 dirs): Updated artwork for sliders, including 2 new types of slider. All slider artwork http://git.io/hXZK8Q 20130514 23:46:54< mattsc> That's just an idea though, I have not thought this trough as to how useful it might be. 20130514 23:47:17< fabi> LordBob_: The format of git commit messages should be: A line with a short description, max 75 char. 20130514 23:47:21< jleldridge> would that be true if we instead had indices? 20130514 23:47:25< fabi> LordBob_: Then an empty line. 20130514 23:47:37< mattsc> But in my case, I have often wanted to assign something else but 'true' as the value. That why I wrote ai_helper.to_triples(). 20130514 23:47:39< fabi> LordBob_: And then you can go and just write more details. 20130514 23:47:50< fabi> LordBob_: Or no details, just the first line. 20130514 23:47:53< mattsc> jleldridge: yes. 20130514 23:48:11< LordBob_> fabi: d'oh. Didn't know about this. I'll make it shorter in the future 20130514 23:48:21< mattsc> jleldridge: use x/y for indices if given, otherwise [1]/[2] 20130514 23:48:54< fabi> LordBob_: No problem. 20130514 23:49:10< mattsc> jleldridge: *independent* of that, use [3] as value if give, otherwise what I say up there, or true if no parameters other than [1]/[2] or x/y are given. 20130514 23:49:13< jleldridge> mattsc: what I meant, is if we have both [3] and [4] should we also create a table for the value? 20130514 23:49:41< LordBob_> fabi: next I'll post the updated minimap background. It involves a small change in height for the panel, so I might ask for help while I try to update theme WML 20130514 23:49:43< mattsc> jleldridge: no. If [3] is given, that's the value, end of story. 20130514 23:49:49< jleldridge> ok 20130514 23:49:59< fabi> LordBob_: Cool. 20130514 23:49:59< mattsc> so we ignore everything else. 20130514 23:51:35< irker867> wesnoth: Alexander van Gessel wesnoth-old:master 277a11 / images/buttons/ (51 files in 3 dirs): Optiping run http://git.io/aG_izg 20130514 23:52:18< mattsc> jleldridge: so if we only pass an array of pairs, nothing at all changes, but the function will be able to deal with many more other cases. 20130514 23:53:08-!- janebot__ [~Gambot@lvps176-28-15-248.dedicated.hosteurope.de] has quit [Remote host closed the connection] 20130514 23:53:15-!- janebot__ [~Gambot@lvps176-28-15-248.dedicated.hosteurope.de] has joined #wesnoth-dev 20130514 23:53:35-!- janebot__ is now known as janebot 20130514 23:54:05-!- janebot is now known as Guest6310 20130514 23:54:26-!- Guest6310 [~Gambot@lvps176-28-15-248.dedicated.hosteurope.de] has quit [Remote host closed the connection] 20130514 23:55:10-!- Guest98716 [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20130514 23:56:11-!- Guest98716 [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20130514 23:56:16-!- leo42 [~leantros@cpe-384193.ip.primehome.com] has joined #wesnoth-dev 20130514 23:56:54-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev --- Log closed Wed May 15 00:00:50 2013