--- Log opened Tue Apr 23 00:00:19 2013 20130423 00:11:33-!- trewe [~trewe@87-196-85-8.net.novis.pt] has quit [Ping timeout: 240 seconds] 20130423 00:17:04-!- Netsplit *.net <-> *.split quits: +loonybot 20130423 00:17:57-!- Netsplit over, joins: +loonybot 20130423 00:48:39-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: I'm asleep] 20130423 01:10:56-!- Blueblaze [~Blueblaze@76.202.16.62] has quit [Quit: Blueblaze] 20130423 01:11:31-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130423 01:12:00-!- Netsplit *.net <-> *.split quits: +loonybot 20130423 01:12:45-!- Netsplit over, joins: +loonybot 20130423 01:13:44-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has joined #wesnoth-umc-dev 20130423 02:11:31< skyfaller> mattsc: does Fred's assassin still complain about bad luck? I'm having trouble finding the code for it 20130423 02:13:04< skyfaller> also, doesn't Fred say something at the end of the game? 20130423 02:19:36< skyfaller> bleh, I'm trying to clone the new Wesnoth repository and it's not working for some reason. 20130423 02:21:09< mattsc> skyfaller: TBH, I don't know. I vaguely remember something taking it out because I thought the joke had worn off, but I don't quite remember whether I actually did it, thought about doing it, or just dreamt about it. 20130423 02:21:21< mattsc> I'll check it out and get back to you. 20130423 02:21:41< skyfaller> ok, I'm pretty sure Fred says something at the end of the game but I can't find the code for that either 20130423 02:21:54< skyfaller> I am frustrated by life 20130423 02:22:49< mattsc> :( 20130423 02:23:02< mattsc> grep finds this: 20130423 02:23:04< mattsc> lua/grunt_rush_helper.lua: message = 'Good game, thanks !' 20130423 02:23:08< skyfaller> aha 20130423 02:23:23< skyfaller> at least I'm not totally crazy 20130423 02:24:05< mattsc> I can put the "oh, come on" message back in, if you need a template for other trash talk :) 20130423 02:24:13< skyfaller> yes, I would like that :) 20130423 02:24:20< skyfaller> it can't happen that often 20130423 02:24:27< mattsc> Right 20130423 02:24:37< skyfaller> if it does complain too often, we can just make the complaint rarer 20130423 02:24:59< skyfaller> for instance, can we test how bad the stats have been? Does the AI know when it has had bad luck? 20130423 02:25:12-!- Netsplit *.net <-> *.split quits: +loonybot 20130423 02:25:12< mattsc> I think it was only done once per game (at most), but again, I don't quite remember 20130423 02:25:37< mattsc> uh, I'm sure we can do that somehow, I don't know if it is easy. 20130423 02:25:49< skyfaller> I'd be curious to know :) 20130423 02:26:11< skyfaller> I'm not sure how we would work it in to practical calculations 20130423 02:26:12< mattsc> Well, you code it then :P 20130423 02:26:50< skyfaller> I guess I can try to investigate, but it'll probably just be me asking people like you for help ;-) I guess as long as it isn't literally you maybe you don't care though 20130423 02:26:54< mattsc> Serious though, I need to be off and I'm reasonably busy tonight. I also need to check out that code from Zazweda. 20130423 02:26:58< skyfaller> no problem 20130423 02:27:17< mattsc> So I'll get back to you ... later 20130423 02:28:27< mattsc> ttyl 20130423 02:28:34< skyfaller> l8r 20130423 02:30:06-!- Netsplit over, joins: +loonybot 20130423 02:46:34-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20130423 02:55:25-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20130423 03:14:05-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has joined #wesnoth-umc-dev 20130423 03:25:33-!- un214 [~un214@2602:306:ce78:7929:224:8cff:fed2:ef57] has joined #wesnoth-umc-dev 20130423 03:32:23< _8680_> AI0867: Now that vultraz and I have moved NX to GitHub, can its UMC-Dev subdirectory be made read-only? 20130423 03:44:45-!- un214 [~un214@2602:306:ce78:7929:224:8cff:fed2:ef57] has quit [Remote host closed the connection] 20130423 03:53:51-!- Crendgrim [~quassel@port-92-204-108-247.dynamic.qsc.de] has quit [Read error: Operation timed out] 20130423 03:55:00-!- pydsigner [~Thunderbi@unaffiliated/pydsigner] has joined #wesnoth-umc-dev 20130423 03:57:11-!- pydsigner is now known as pydsigner|shorta 20130423 03:57:25-!- pydsigner|shorta is now known as py|shortafk 20130423 03:58:06-!- Crendgrim [~quassel@port-92-204-57-7.dynamic.qsc.de] has joined #wesnoth-umc-dev 20130423 04:06:14-!- pydsigner [~Thunderbi@unaffiliated/pydsigner] has joined #wesnoth-umc-dev 20130423 04:06:30-!- py|shortafk [~Thunderbi@unaffiliated/pydsigner] has quit [Read error: Connection reset by peer] 20130423 04:10:18< irker326> AI-Demos: mattsc master * re5b28d4 / (3 files in 2 dirs): Zone guardian MAI: fix indenting - http://git.io/xDtCCQ 20130423 04:10:19< irker326> AI-Demos: mattsc master * rac7ec69 / micro_ais/scenarios/guardians.cfg : Guardians MAI scenario: add a third zone guardian - http://git.io/JmB6ZQ 20130423 04:10:20< irker326> A naga guarding one of the lakes. 20130423 04:11:15< mattsc> skyfaller: I found the commit in which the assassin joke was removed. I misremembered the reason though. It was not because I was getting tired of it. 20130423 04:11:28< mattsc> Who could get tired of the AI complaining about the RNG after all :D 20130423 04:11:52< pydsigner> I should download 1.11 20130423 04:12:22< mattsc> It was part of a bigger restructuring and the old way of doing it doesn't quite work any more. And I don't like the most straightforward way of putting it back in... 20130423 04:13:43< mattsc> skyfaller: could you make a list of the sort of trash talking you'd like Fred to do (I mean: in what situations, not the exact text), so that I can think about what the best way of doing this would be? 20130423 04:14:37< mattsc> I also think that doing it "right" would be much easier with one of the additions to the AI code Crab_ promised me. Maybe I can get him to make one of the GSoC applicants do that... 20130423 04:30:11-!- pydsigner [~Thunderbi@unaffiliated/pydsigner] has quit [Ping timeout: 252 seconds] 20130423 04:35:15< skyfaller> I guess what I want would depend on what is easy to do, in part, but I'll think of some examples for you 20130423 04:35:51< mattsc> no rush whatsoever 20130423 04:40:07< skyfaller> How about if 3 units attack a unit and all miss completely, say "Can't touch this!" 20130423 04:40:22< skyfaller> to be truly obnoxious the AI should crow about its good luck as well as complaining about bad luck ;-) 20130423 04:41:55< mattsc> "Take that, sucka!" 20130423 04:42:19< skyfaller> well, that sounds more like getting good hits on the enemy than dodging 20130423 04:42:43< skyfaller> maybe if a grunt gets an unlikely 2-hit kill, like on a fencer or assassin 20130423 04:43:03< skyfaller> Maybe if the enemy has no units left, only his leader, demand that he beg for his life, then renege and say that you're going to kill him anyway 20130423 04:43:11< mattsc> Anyways, that's easy. Once you have one (hit/miss in any combination), the others are pretty much copy and paste. 20130423 04:43:41< mattsc> (and sorry, yes, I had missed your first line and only read the second) 20130423 04:44:04< mattsc> I was wondering more whether you have completely different situations in which you'd like Fred to say something. 20130423 04:44:36< skyfaller> Can we tell where the enemy intended to move a unit? I'd like to say something when you have a successful ambush, but only if the enemy meant to move elsewhere, not if it was intentional 20130423 04:44:47< skyfaller> "Surprise!" 20130423 04:46:28< mattsc> Hmm, possibly. I think it might be possible with one of the recent changes made to Wesnoth, but I'm not sure. 20130423 04:46:41< mattsc> afk again for a little, bbl 20130423 04:46:45< skyfaller> no prob 20130423 04:47:20< skyfaller> How about if an enemy commits suicide in a very unlikely way, like a horseman charging a goblin and getting 3-hit to death 20130423 04:48:28< skyfaller> say "Stop hitting yourself! Why are you hitting yourself?" 20130423 04:49:28< skyfaller> I guess that isn't a completely different situation 20130423 04:51:15< skyfaller> How about if a lvl2 or lvl3 unit dies, say a brief elegy for him, and/or swear revenge? 20130423 04:53:47< skyfaller> I think a variation on "Surprise!" should be if a unit that the enemy has never seen before leaps out of the fog and attacks (i.e. the enemy has lousy scouts) 20130423 04:54:05< skyfaller> can we test for whether the enemy has had a unit in his field of vision at any point? 20130423 04:56:22< skyfaller> How about if a unit that was almost dead levels up from being attacked, say "What doesn't kill you makes you stronger!" 20130423 04:57:23-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Quit: Ex-Chat] 20130423 05:10:26-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20130423 05:12:17-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20130423 05:33:08-!- SpoOkyMagician [~chatzilla@74-141-242-94.dhcp.insightbb.com] has joined #wesnoth-umc-dev 20130423 05:37:15< irker326> AI-Demos: mattsc master * r312fa64 / (2 files in 2 dirs): Zone Guardian Micro AI: a couple minor corrections - http://git.io/g7aWiw 20130423 05:37:16< irker326> No change in functionality. 20130423 05:48:01-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20130423 05:48:30< mattsc> skyfaller: thanks, I copied the IRC log and will get back to it sometime later. 20130423 05:51:17< skyfaller> k 20130423 05:55:14-!- SpoOkyMagician [~chatzilla@74-141-242-94.dhcp.insightbb.com] has quit [Quit: gtg] 20130423 06:12:23-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: bye] 20130423 06:32:45< irker326> NX-RPG: Charles Dang :master * 9d341cc / episode1/scenarios/06_Awakening_part_1.cfg: http://git.io/gkpaXw 20130423 06:32:46< irker326> NX-RPG: Made Galthur face NE 20130423 06:32:47< irker326> NX-RPG: Charles Dang :master * e34d53d / macros/character_defines.cfg: http://git.io/ws2AUw 20130423 06:32:49< irker326> NX-RPG: Niryone is supposed to be a leader and not Rhyan 20130423 06:32:49< irker326> NX-RPG: Charles Dang :master * 65a9dfe / episode1/maps/00_Descry.map,episode1/scenarios/00_Descry.cfg: http://git.io/rOthhA 20130423 06:32:50< irker326> NX-RPG: Tweaked E1S0 20130423 06:32:51< irker326> NX-RPG: Charles Dang :master * ccc1e67 / macros/character_defines.cfg: http://git.io/a7WdEg 20130423 06:32:52< irker326> NX-RPG: Niryone shouldn't have an {IS_HERO} inclusion 20130423 06:32:54< irker326> NX-RPG: Charles Dang :master * 83cbe7d / episode1/scenarios/00_Descry.cfg: http://git.io/8p6e-w 20130423 06:32:54< irker326> NX-RPG: E1S0: tweaked timing 20130423 06:32:55< irker326> NX-RPG: Charles Dang :master * e037c83 / macros/character_defines.cfg,units/faeries/Elvish_Apprentice.cfg: http://git.io/XjiZGQ 20130423 06:32:56< irker326> NX-RPG: Wired in Elynia's custom unit type 20130423 06:32:57< irker326> NX-RPG: Charles Dang :master * 99e054a / units/faeries/Elvish_Spellbinder.cfg: http://git.io/_D-ZBg 20130423 06:32:58< irker326> NX-RPG: Fixed wrong attack name an image for Niryone's faerie fire attack 20130423 06:32:59< irker326> NX-RPG: Charles Dang :master * ce7320e / episode1/scenarios/00_Descry.cfg: http://git.io/rDTzvg 20130423 06:33:00< irker326> NX-RPG: Minor tweaks 20130423 06:33:01< irker326> NX-RPG: Charles Dang :master * f6b8a1e / / (19 files): http://git.io/hjyj-A 20130423 06:33:02< irker326> NX-RPG: Ran wmlindent 20130423 06:46:51-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has joined #wesnoth-umc-dev 20130423 06:48:14-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20130423 06:50:16-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20130423 06:55:20< irker326> NX-RPG: Charles Dang :master * c2d0343 / episode1/menu.cfg: http://git.io/2KPtkQ 20130423 06:55:21< irker326> NX-RPG: Tweaked E1 difficulty dialog 20130423 07:03:53-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20130423 07:04:36< irker326> NX-RPG: Charles Dang :master * fbc7ffe / notes/art.txt: http://git.io/qw7YVQ 20130423 07:04:37< irker326> NX-RPG: Added file for noted about pending art 20130423 07:04:38< irker326> NX-RPG: 20130423 07:04:39< irker326> NX-RPG: So far includes a list of TODO sprites 20130423 07:05:51-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20130423 07:52:28-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20130423 09:58:14-!- ancestral [~ancestral@67-6-53-117.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130423 10:50:13-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 20130423 11:01:04-!- loonybot [~loonybot@37.190.123.35] has joined #wesnoth-umc-dev 20130423 11:01:04-!- loonybot [~loonybot@37.190.123.35] has quit [Changing host] 20130423 11:01:05-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-umc-dev 20130423 11:01:06-!- mode/#wesnoth-umc-dev [+v loonybot] by ChanServ 20130423 11:36:41-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20130423 11:43:13< AI0867> _8680_: SVN (or at least the hosting on SF.net) is not that granular. We may decide to delete it though (that's what happened to LoW, DM and DW after they got mainlined) 20130423 12:21:31-!- irker326 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130423 14:08:20< vultraz> zookeeper: what are possible causes of "Invalid WML found: Could not find a suitable hex near to one of the target hexes in [move_unit]." ? 20130423 14:08:46< zookeeper> i have no other ideas except what it says right there 20130423 14:09:53< vultraz> It's really weird. If I try to move a unit with a custom type, I get that 20130423 14:10:08< vultraz> But if I try to move a mainline unit to the same loc, it works 20130423 14:10:09< vultraz> x_x 20130423 14:18:10 * vultraz flips table 20130423 14:30:24< vultraz> oh, I think I found the problem 20130423 14:31:52< vultraz> There was a typo in my movement types 20130423 14:32:08< vultraz> seriously, why can;t the error say that... 20130423 14:32:15< vultraz> "Invalid movetype" or something 20130423 14:39:12< zookeeper> ...you hadn't checked whether the unit can even move normally? 20130423 14:41:00< vultraz> zookeeper: it's a cutscene 20130423 14:41:43< zookeeper> cutscene or not, i would have imagined that the error would have made you first check whether the unit can move there in the first place 20130423 14:42:11< zookeeper> i mean that's the first idea which crossed my mind but i felt typing it out would have been redundant :p live and learn 20130423 14:42:27< vultraz> I don't actually have a scenario with them yet :P 20130423 14:42:35< vultraz> the cutscene was the only one 20130423 14:42:46< zookeeper> well... it happens 20130423 14:43:39< zookeeper> at least i presume you didn't spend literally hours trying to figure it out, which is really aggravating when it happens D: 20130423 14:44:11< vultraz> not hours, no, but some time 20130423 14:45:21< zookeeper> you got off easy then! 20130423 14:46:51< vultraz> yeah :P next time I need to tell the diff between "float" and "foot" xD 20130423 15:13:18-!- mattsc [~mattsc@207.230.251.234] has joined #wesnoth-umc-dev 20130423 15:28:46< vultraz> mattsc: is it possible to make an ai that could make choices about, say, shopping for items? 20130423 15:31:06< mattsc> vultraz: yes, in principle. You can absolutely have an AI that does the choice, but currently I don't think there's an easy way (or maybe even any way?) to make the decision MP and replay safe. 20130423 15:32:19< mattsc> Crab_ says it's pretty easy to add this capability and I've been poking him to get one of the GSoC students to code that. :) 20130423 15:33:06< mattsc> It would be useful for a lot of other things as well, like the boarding boats etc. code that I've discussed previously with ... zookeeper et al., I think 20130423 15:34:17< vultraz> so if I had a functionality for, say, spellcasting, I could make the ai boss decide when best to use a spell, or not, depending on the situation 20130423 15:34:49< mattsc> yes 20130423 15:35:10< vultraz> interesting... 20130423 15:35:14< mattsc> ... but as I said, not quite yet (unless the spell could be coded as an attack or move) 20130423 15:35:52< vultraz> don't think so 20130423 15:36:06< mattsc> One sneaky way of doing it right now would be to have an invisible unit somewhere in an inaccessible part of the map and move that unit, which then fires a WML event. 20130423 15:36:34< mattsc> But since there is a much cleaner solution on the horizon, I'd rather not go through that ... 20130423 15:37:20< vultraz> what much cleaner solution? the gsoc thing? 20130423 15:37:27< mattsc> yes 20130423 15:37:50< vultraz> ah 20130423 15:37:54< vultraz> ok, was just wondering 20130423 15:38:02< vultraz> my spellcasting feature is yet to be coded, anyway 20130423 15:38:13< vultraz> and the scenarios where the ai might possibly use it, long off 20130423 15:38:59< mattsc> vultraz: okay. This feature is pretty high on my priority list, so I'll keep poking people about it and hopefully we'll have it soon. 20130423 15:50:51-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20130423 16:11:42-!- mattsc [~mattsc@207.230.251.234] has quit [Quit: I'm asleep] 20130423 16:25:22-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-umc-dev 20130423 16:32:10-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-umc-dev 20130423 16:59:19-!- Crendgrim [~quassel@port-92-204-57-7.dynamic.qsc.de] has quit [Read error: Operation timed out] 20130423 17:46:32-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Quit: Ex-Chat] 20130423 18:05:08-!- Crendgrim [~quassel@port-92-204-119-166.dynamic.qsc.de] has joined #wesnoth-umc-dev 20130423 18:26:42-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: bumbadadabum] 20130423 18:45:58< skyfaller> mattsc: you know I love detailed comments on code, but occasionally I think I should delete them... for instance, in function grunt_rush_FLS1:full_offensive() the code is perfectly readable even to someone who doesn't know lua at all 20130423 18:48:26< mattsc> skyfaller: sure, that's a pretty bad example. :) 20130423 18:48:43< mattsc> My guess is that I expected the function to become more complicated at some point... 20130423 18:48:48< skyfaller> ha :) 20130423 18:49:00< skyfaller> ok, I'll knock out the redundant comments then, just wanted you to know 20130423 18:50:04< mattsc> skyfaller: sure, go ahead. Also note that while I try to keep comments up to date when I change things, that process is sometimes incomplete in reality. 20130423 18:50:21< skyfaller> got it 20130423 18:50:24< mattsc> So some comments might refer to things that have been changed, and the new behavior might not be commented. 20130423 18:50:39< skyfaller> I'll try to keep my eye out for that too then 20130423 18:50:52< mattsc> Once I have figured out what actually work, there's a lot of code cleaning to do (not just comments, but including those) 20130423 18:51:11< skyfaller> yeah, I see some commented out code that looks like you just haven't gotten around to deleting it yet 20130423 18:51:28< mattsc> Don't delete those parts please. 20130423 18:51:35< skyfaller> hahaha ok 20130423 18:51:41< mattsc> When I am sure that I can get rid of something, I delete it. 20130423 18:51:51< skyfaller> got it 20130423 18:51:55< mattsc> When I don't know if a change makes sense, I often just comment out the code. 20130423 18:52:26< skyfaller> I'll leave that housecleaning to you :) 20130423 18:53:21< mattsc> There's also a lot of redundant code in Fred, but as long as I am not certain what the eventual method will be, I'd rather spend time on testing the methods themselves rather than streamlining the code. 20130423 18:53:31< skyfaller> mattsc: I want to use git tag to mark releases just to prove that I can. Is this the right commit to tag 0.12.2? https://github.com/mattsc/Wesnoth-AI-Demos/commit/69acf9f01f48b22c10f39b456ac75eab30443670 20130423 18:54:12< mattsc> skyfaller: yes, the commits that say "Release of ..." are always the versions that get put on the add-ons server 20130423 18:54:35< skyfaller> OK, cool. I'm going to go and try to tag them all then. 20130423 18:55:55< mattsc> thanks 20130423 18:59:02-!- irker786 [~irker@ai0867.net] has joined #wesnoth-umc-dev 20130423 18:59:02< irker786> NX-RPG: Charles Dang :master * 1919f3e / macros/character_defines.cfg: http://git.io/nuQZYA 20130423 18:59:02< irker786> NX-RPG: Rhyan should have an {IS_HEO} inclusion 20130423 18:59:03< irker786> NX-RPG: Charles Dang :master * 2e0c45d / units/faeries/Elvish_Apprentice.cfg,units/faeries/Elvish_Spellbinder.cfg: http://git.io/BuPQ6w 20130423 18:59:04< irker786> NX-RPG: Fix typo in movetype 20130423 18:59:05< irker786> NX-RPG: 20130423 18:59:06< irker786> NX-RPG: This fixes the errors that appeared when trying to move one of these units 20130423 18:59:07< irker786> NX-RPG: Charles Dang :master * 5695f87 / episode1/maps/00_Descry.map,episode1/scenarios/00_Descry.cfg: http://git.io/rmNQQw 20130423 18:59:08< irker786> NX-RPG: Redid E1S0 again 20130423 18:59:46< skyfaller> mattsc: hm, I question this trapping criteria: "-- Don't trap if it lets the enemy reach a village next turn anyway" Sometimes I trap units that are on villages to make sure I can kill them the next turn and take the village. 20130423 19:00:23-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-umc-dev 20130423 19:00:29< skyfaller> but I guess that requires another calculation of how long it will take to kill them given the added defense and healing 20130423 19:03:57< mattsc> skyfaller: it's a different condition, I think. This one is when an enemy is next to village, not on it. 20130423 19:04:14< skyfaller> sure, but what I'm saying is that the enemy reaching a village is not fatal to a trapping attack 20130423 19:04:26< skyfaller> I guess if you wouldn't be able to trap it again next turn, that would be bad 20130423 19:04:28< mattsc> ... and Fred has the choice of trapping, but only if he can only do so by moving a unit off the village. 20130423 19:04:36< mattsc> or attack from the village without trapping 20130423 19:05:10< skyfaller> ... I'm confused now, start over please? 20130423 19:06:01< mattsc> Think of the villages in the NW of Freelands. You have two grunts there, both on villages and on enemy next to the grunt on the southern village. 20130423 19:06:15< mattsc> s/on/one 20130423 19:06:28< skyfaller> ok 20130423 19:07:24< mattsc> Now, it happens (more often than one would think), that because of MP and terrain, the only way to trap is to move the adjacent grunt off the village to the opposite side of the enemy, and the other grunt on the near side, but not onto the village 20130423 19:08:06< skyfaller> oh... so the grunt was previously preventing a village capture, but now he's not 20130423 19:08:14< mattsc> yep. 20130423 19:08:24< skyfaller> so you're saying this trapping criteria prevents Fred from doing that 20130423 19:09:05< skyfaller> but what if Fred is attacking, and a retreating scout makes it to 1 hex in front of his village, Fred can't capture the village but he can trap the scout 20130423 19:09:47< skyfaller> would this criteria prevent him from trapping that lone scout? 20130423 19:10:52< mattsc> I don't think so, if I understand you correctly 20130423 19:11:32< mattsc> Actually, I'm not sure, I'd have to look into that. 20130423 19:12:59< skyfaller> I guess I don't understand that code chunk, I'm just thinking based on the comments 20130423 19:14:05< mattsc> skyfaller: here are the two situations (outcome, not original): http://imagebin.org/255077 http://imagebin.org/255078 20130423 19:14:32< mattsc> If Fred has the choice between those two, I make him do the former 20130423 19:14:38< skyfaller> right 20130423 19:15:01< mattsc> That's what the code is for. It might have some other side effects that I have not considered (yet), but this situation happens amazingly often on Freelands. 20130423 19:15:18< skyfaller> but imagine that Fred can *only* achieve the latter 20130423 19:15:28< skyfaller> the code should not prevent him from doing #2 in that case 20130423 19:15:46< mattsc> Agreed. 20130423 19:15:57< mattsc> Something to look into once the bigger problems are sorted out. 20130423 19:16:01< mattsc> Thanks. 20130423 19:16:04< skyfaller> but I agree that preventing Fred from choosing #2 over #1 is very important, so we'd have to be careful messing with it 20130423 19:17:16< mattsc> skyfaller: btw, I am hoping that I am rather close to have the zone_hold sorted out (the basic version), at which point I'll put out another release for people to play with. 20130423 19:17:22< skyfaller> sweet 20130423 19:17:41< mattsc> The problem is that I have almost no time for Fred at the moment, so even a little bit of work takes a long time in real time... 20130423 19:17:57< skyfaller> it's OK, we can be patient :) 20130423 19:18:23< mattsc> Also, of course, Fred won't be playing great yet at the time, but I hope that at that point it's mostly tweaking, rather than (yet another) restructuring of the code :P 20130423 19:22:06< skyfaller> heh, if we generalize Fred to no longer require side 1 or Freelands, we'll have to change the names of all of these files + functions :) 20130423 19:22:45< skyfaller> I propose we change them all to "Fred", it conserves characters, which are a precious resource 20130423 19:23:12< mattsc> :) 20130423 19:23:43< skyfaller> Perhaps we can make FRED an acronym, "FReelands Exterminating Deathbot" 20130423 19:24:35< mattsc> Oh dear :D 20130423 19:27:03< skyfaller> what does "if (rating ~= 0)" mean? I don't understand ~= 20130423 19:27:58< mattsc> not equal in Lua 20130423 19:28:32< skyfaller> oh, what was wrong with "!="? Fine, lua people, whatevs 20130423 19:41:54< irker786> AI-Demos: Nelson Pavlosky master * r071f975 / lua/grunt-rush-Freelands-S1_engine.lua : minor edits to comments - http://git.io/aekjtg 20130423 19:46:36< skyfaller> I'd just like to point out something... if Fred goes on an all-out offensive using the RCA AI's programming whenever the HP ratio is over a certain number, then testing Fred against humans by giving him extra resources will result in you only testing the RCA AI, right? 20130423 19:47:45< mattsc> starting from turn 3, yes. 20130423 19:48:24< mattsc> The full_offensive mode is a left-over of early times, when Fred was not very good at the endgame. We can probably get rid of it in the end. 20130423 19:48:39< skyfaller> ok, I support that :) 20130423 19:48:58< mattsc> As a side note though, the RCA AI is much faster than Fred, so once the game's decided anyway, we might as well go with that. 20130423 19:49:07< skyfaller> ha, fair enough :) 20130423 19:49:24< mattsc> But yeah, we'll eventually get rid of it. 20130423 19:50:53< mattsc> Maybe it should be something like: once the HP ratio is larger than twice the gold starting ratio or something ... 20130423 19:51:47< mattsc> But anyway, I'd rather give Fred a separate "finish the game now" mode and get rid of this altogether. 20130423 19:55:51< skyfaller> agreed 20130423 19:57:23< skyfaller> hell yes, I successfully put a tag in the repository! https://github.com/mattsc/Wesnoth-AI-Demos/tags 20130423 19:57:34< skyfaller> I'm so proud of me 20130423 19:57:50< mattsc> Woot ! 20130423 19:58:00< irker786> NX-RPG: Charles Dang :master * d8854e7 / lua/lp8/_main.cfg: http://git.io/Yj0Asg 20130423 19:58:01< irker786> NX-RPG: Readded indent and made wmlindent ignore this file form now on 20130423 19:58:20< skyfaller> I'm slightly annoyed that I have to do it via the command line vs. Github for Mac (it even forces me to use vi to write the tag message) 20130423 19:58:29< mattsc> So you're our Tagmeister from now on. 20130423 19:58:58< skyfaller> I used emacs in my coding classes, I never fully understood vi/vim and its modes etc. 20130423 19:59:24< skyfaller> sure, I can tag whatever you want tagged :) 20130423 19:59:49< mattsc> How about all the release version since we went to GitHub? 20130423 20:00:04< skyfaller> I'll try 20130423 20:00:14< mattsc> It shouldn't be that many 20130423 20:00:32< irker786> NX-RPG: 8573 :master * 5fde32f / lua/lp8/_main.cfg: http://git.io/XHFlAA 20130423 20:00:33< irker786> NX-RPG: Add lp8/modifications to NX_LOAD_LP8_MODULES. 20130423 20:01:47< skyfaller> darnit, there doesn't appear to be a way to search through commit messages on Github 20130423 20:04:26< mattsc> but there is from the CL 20130423 20:04:49< skyfaller> can you tell me the command to search for "release"? 20130423 20:05:35< mattsc> I think it's 'git log' 20130423 20:08:30< skyfaller> can you think of anything I should write in the tag message other than the version and the date? https://github.com/mattsc/Wesnoth-AI-Demos/tags 20130423 20:09:38< mattsc> You _could_ go through the changelog for the version and add if something exciting is new in this version 20130423 20:09:55< mattsc> ... but if I did it, I'd probably be too lazy for that, since we have the changelog for all version in one place anyway 20130423 20:10:03< skyfaller> ha 20130423 20:10:29< skyfaller> alright, if I see anything cool in the changelog I'll mention it 20130423 20:10:38< mattsc> sounds good 20130423 20:16:17< skyfaller> it's cool how you can time travel through our repository using the tags now 20130423 20:20:45< irker786> AI-Demos: Zazweda master * r2236e69 / (2 files in 2 dirs): correction of the zone guardian to correctly use SLFs for enemy_zone - http://git.io/fGw4Ew 20130423 20:24:41< skyfaller> is it true that 0.11.4 is the last version that was compatible with Wesnoth 1.10? 20130423 20:27:16< skyfaller> hm, does Zazweda know we hang out here? Is he here under another name? 20130423 20:28:27< mattsc> skyfaller: tags: indeed!; 1.10 version: check out what's the last version on the 1.10 add-ons server is; Zazweda: probably not 20130423 20:29:14< mattsc> skyfaller: Zazweda is one of the GSoC applicants, so it's better for him to discuss things at #wesnoth-dev 20130423 20:29:26< skyfaller> ah, I see 20130423 20:29:34< skyfaller> but he'll miss all my witty commentary :( 20130423 20:30:16< mattsc> That's a big loss indeed. You can tell him to follow here as well, but comment over there. 20130423 20:30:22< skyfaller> hm, according to commit comments 0.11.4 seems to have been the last Wesnoth 1.10 compatible version, but the last version on the Wesnoth 1.10 add-on server is 0.11.2 20130423 20:30:58< skyfaller> do you think we should upload 0.11.4 to the 1.10 server, or do we no longer care about stable Wesnoth? 20130423 20:31:37< mattsc> I think it doesn't matter. Neither of those version is up to present-day Fred (and Micro AIs). 20130423 20:32:05< skyfaller> fair enough, but it does have 3367 downloads 20130423 20:32:07< mattsc> I'd rather delete it entirely of the 1.10 add-ons server. On the other hand, "advertising" it there might not be a bad thing. 20130423 20:32:17< mattsc> exactly 20130423 20:32:38< skyfaller> I think we should upload the last version that worked on 1.10, even if it's still outdated 20130423 20:32:39< mattsc> It does have a "get the 1.11 version instead" warning in it 20130423 20:33:51< skyfaller> advertising is good, it seems to be working to some extent, and warning about the 1.11 version is good 20130423 20:34:30< mattsc> Looking at the changelog for 0.11.4, it doesn't really seem worth the effort... 20130423 20:34:48< mattsc> It's not just uploading it, I need to make sure that things actually work etc. 20130423 20:34:53< skyfaller> lol, OK, your call 20130423 20:35:35< mattsc> I'm almost more in favor of putting an empty version there - one that _only_ contains the warning. 20130423 20:35:45< mattsc> But tbh, I don't think it matters a lot 20130423 20:36:23< mattsc> That's probably against Wesnoth rules though :D 20130423 20:36:33< skyfaller> yeah, might piss people off 20130423 20:42:08-!- Zazweda [~valentin@mlr78-2-212-194-66-6.dsl.sta.abo.bbox.fr] has joined #wesnoth-umc-dev 20130423 20:42:23 * skyfaller waves hello 20130423 20:43:15< skyfaller> mattsc: why is it better for him to discuss things in #wesnoth-dev? Because the people who will decide on his application live there? 20130423 20:59:46< mattsc> skyfaller: yes; and the other GSoC students are there too, plus lots of other people who might be able to help with questions 20130423 21:00:36< skyfaller> well, if the other GSoC students are committing to Wesnoth-AI-demos they should be here too :) 20130423 21:01:04< skyfaller> if nothing else so they can see the IRC bot announce their commits ;-) 20130423 21:01:50< mattsc> skyfaller: agreed, but it's not just about the add-on. The information and work done on GSoC-related tasks should be discussed in the most well-attended forum 20130423 21:02:08< skyfaller> that makes sense 20130423 21:02:32< mattsc> skyfaller: I'll be afk for the next hour, and then very busy through the afternoon/evening. ttyl. 20130423 21:02:35< skyfaller> me, I'm embarrassed to talk in front of all those people! Especially ESR 20130423 21:02:39< skyfaller> no prob, ttfn 20130423 21:32:33-!- trewe [~trewe@87.196.77.62] has joined #wesnoth-umc-dev 20130423 22:06:17< skyfaller> alright, I've tagged every release since we signed up for Github: https://github.com/mattsc/Wesnoth-AI-Demos/tags 20130423 22:11:05< skyfaller> one thing we don't currently do is use preview versions for development... 20130423 22:23:45< irker786> wesnoth-lp8: 8573 :master * b34ea2f / 8680s_Lua_Pack/modifications.lua: http://git.io/a1S4VA 20130423 22:23:46< irker786> wesnoth-lp8: lp8.remove_object: Improve resilience. 20130423 22:23:47< irker786> wesnoth-lp8: 20130423 22:23:48< irker786> wesnoth-lp8: Prevent error when unit has no [modifications]. 20130423 22:23:49< irker786> wesnoth-lp8: 8573 :master * 6f6ccfd / 8680s_Lua_Pack/docs/modifications.md,8680s_Lua_Pack/modifications.lua: http://git.io/_Hm7AA 20130423 22:23:50< irker786> wesnoth-lp8: lp8.remove_object: Add `fail_silently` parameter. 20130423 22:23:51< irker786> wesnoth-lp8: 20130423 22:23:52< irker786> wesnoth-lp8: If this is truthy, no error will be raised if the unit does not have the 20130423 22:23:53< irker786> wesnoth-lp8: object. 20130423 22:23:54< irker786> wesnoth-lp8: 8573 :master * b482e6d / 8680s_Lua_Pack/ (3 files): http://git.io/n-qWdg 20130423 22:23:55< irker786> wesnoth-lp8: Add modifications/{get_object{s,_tags,_cfgs}. 20130423 22:23:56< irker786> wesnoth-lp8: 8573 :master * a060eec / 8680s_Lua_Pack/ (3 files): http://git.io/ScCiJw 20130423 22:23:57< irker786> wesnoth-lp8: Add utils/{keys,values,ivalues}. 20130423 22:23:58< irker786> wesnoth-lp8: 8573 :master * f9297f4 / 8680s_Lua_Pack/ (3 files): http://git.io/ZkT82w 20130423 22:23:59< irker786> wesnoth-lp8: Add modifications/{object{s,_tags,_cfgs}}. 20130423 22:24:00< irker786> wesnoth-lp8: 8573 :master * 5cf4200 / 8680s_Lua_Pack/ (3 files): http://git.io/SI_6sA 20130423 22:24:01< irker786> wesnoth-lp8: Add modifications/remove_objects. 20130423 22:24:02< irker786> wesnoth-lp8: 8573 :master * a13ab73 / 8680s_Lua_Pack/modifications.lua: http://git.io/Fc1BTA 20130423 22:24:03< irker786> wesnoth-lp8: Properly implement [remove_object]. 20130423 22:24:45< irker786> NX-RPG: 8573 :master * 979df6d / lua/lp8/wesnoth-lp8: http://git.io/2XRECg 20130423 22:24:46< irker786> NX-RPG: Update internal lp8 (pull [remove_object]). 20130423 22:45:43< mattsc> skyfaller: thanks 20130423 22:55:54-!- skyfaller_ [~skyfaller@ool-43551edd.dyn.optonline.net] has joined #wesnoth-umc-dev 20130423 22:56:23-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Disconnected by services] 20130423 22:56:28-!- skyfaller_ is now known as skyfaller 20130423 22:56:28-!- skyfaller [~skyfaller@ool-43551edd.dyn.optonline.net] has quit [Changing host] 20130423 22:56:28-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-umc-dev 20130423 23:07:30-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has joined #wesnoth-umc-dev 20130423 23:20:11< irker786> wesnoth-lp8: 8573 :master * 36d8517 / 8680s_Lua_Pack/modifications.lua: http://git.io/16xtow 20130423 23:20:12< irker786> wesnoth-lp8: Bugfix: [remove_object] 20130423 23:20:13< irker786> wesnoth-lp8: 20130423 23:20:14< irker786> wesnoth-lp8: lp8.match_tag expected tags; was receiving cfgs. 20130423 23:21:31< irker786> NX-RPG: 8573 :master * 2224a96 / lua/lp8/wesnoth-lp8: http://git.io/X-GfKA 20130423 23:21:32< irker786> NX-RPG: Update internal lp8 (fix [remove_object]). 20130423 23:23:55-!- trewe [~trewe@87.196.77.62] has quit [Ping timeout: 264 seconds] 20130423 23:26:04-!- Blueblaze [~Blueblaze@adsl-76-202-16-62.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20130423 23:30:19-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-umc-dev 20130423 23:44:36-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 264 seconds] 20130423 23:52:33-!- Zazweda [~valentin@mlr78-2-212-194-66-6.dsl.sta.abo.bbox.fr] has quit [Quit: WeeChat 0.3.7] --- Log closed Wed Apr 24 00:00:32 2013