--- Log opened Mon Mar 24 00:00:01 2014 --- Day changed Mon Mar 24 2014 20140324 00:00:01< AI0867> Aishiko: you're using magic numbers to decide which value to use, which is confusing to read 20140324 00:00:46< Aishiko> your right I should do a cfg[""].blank or .empty there 20140324 00:01:28< gfgtdf> Soliton: a special commit or teh pr as whole ? 20140324 00:05:57< Soliton> the pr. 20140324 00:07:36< gfgtdf> should i explain more in the rp message ? 20140324 00:08:49< Soliton> it'd be great if i didn't have to review all the bugs you introduced and later fixed. 20140324 00:09:44-!- justinzane [~justinzan@tiny.justinzane.com] has joined #wesnoth-dev 20140324 00:10:12< gfgtdf> Soliton: you think i shoudl try megre the fixes with the commits that introduced it as if they never appeard ? 20140324 00:10:27< iceiceice> yeah rebase it in a way that makes sense 20140324 00:11:16< iceiceice> like, each commit should compile, and not have more bugs than the previous commit, so hopefully you only introduce one new feature at a time / bundles of features that go hand in hand 20140324 00:13:52< Soliton> if you're going to do that it'd be also great to separate the non-random reload feature in its own pr. 20140324 00:14:51< Soliton> that seems like a fairly controversial feature. 20140324 00:28:33< gfgtdf> Soliton: why ? it is optional 20140324 00:30:15-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140324 00:31:06-!- neXyon [~neXyon@85-127-29-39.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20140324 00:35:46< AI0867> OAB 20140324 00:36:07-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has quit [Quit: leaving] 20140324 00:43:55< Soliton> indeed. also the feature is controversial because it exists. having the option to not use it helps nothing. 20140324 00:45:36< Soliton> furthermore it'd make the review of the pr easier and more likely that we can actually merge it. 20140324 00:48:28< mattsc> OAB typed into google: over-active bladder 20140324 00:48:38< mattsc> (and yes, I know what it means) 20140324 00:49:11< vultraz> I do not know what it means and an now afraid to google it 20140324 00:49:43< mattsc> vultraz: type “wesnoth acronyms” or “wesnoth glossary” into google 20140324 00:50:56-!- travis-ci [~travis-ci@ec2-54-80-179-187.compute-1.amazonaws.com] has joined #wesnoth-dev 20140324 00:50:56< travis-ci> [travis-ci] gfgtdf/wesnoth-old#60 (sync_3 - 66fcc3e : gfgtdf): The build passed. 20140324 00:50:56< travis-ci> [travis-ci] Build details : http://travis-ci.org/gfgtdf/wesnoth-old/builds/21392682 20140324 00:50:56-!- travis-ci [~travis-ci@ec2-54-80-179-187.compute-1.amazonaws.com] has left #wesnoth-dev [] 20140324 00:51:16< gfgtdf> Soliton: i personaly think everyone shoudl be able to play as he wants in SP :). 20140324 00:51:29< Espreon> SP now... and SP forever 20140324 00:51:38< gfgtdf> ? 20140324 00:51:48< Espreon> Why do I even bother? 20140324 01:12:29< AI0867> wesbot: OAB? 20140324 01:12:32< AI0867> shikadibot: OAB? 20140324 01:12:32< shikadibot> AI0867: Options Are Bad (OAB) 20140324 01:12:34< AI0867> there 20140324 01:12:41< AI0867> shikadibot can help you with acronyms 20140324 01:16:55-!- sachith500 [~kvirc@112.134.81.59] has joined #wesnoth-dev 20140324 01:17:15-!- Espreon [~espreon@wesnoth/developer/espreon] has left #wesnoth-dev [] 20140324 01:17:37-!- justinzane [~justinzan@tiny.justinzane.com] has quit [Remote host closed the connection] 20140324 01:17:47-!- Spoffy [~chatzilla@152.78.175.8] has quit [Ping timeout: 246 seconds] 20140324 01:20:21-!- Kevin_Xi [~kevin@223.72.182.158] has joined #wesnoth-dev 20140324 01:20:56-!- justinzane [~justinzan@tiny.justinzane.com] has joined #wesnoth-dev 20140324 01:25:53-!- sachith500 [~kvirc@112.134.81.59] has quit [Read error: Connection reset by peer] 20140324 01:27:27-!- sachith500 [~kvirc@112.134.81.59] has joined #wesnoth-dev 20140324 01:27:27-!- sachith500 [~kvirc@112.134.81.59] has quit [Client Quit] 20140324 01:27:37-!- sachith500 [~kvirc@112.134.81.59] has joined #wesnoth-dev 20140324 01:30:25-!- enchilado is now known as test 20140324 01:30:27-!- test is now known as enchilado 20140324 01:31:00-!- enchilado is now known as test 20140324 01:31:03-!- test is now known as enchilado 20140324 01:39:46< loonycyborg> AI0867: 1.11.12 tag didn't compile for me on windows 20140324 01:40:01< AI0867> what's the error? 20140324 01:40:08< AI0867> I thought I'd cherry-picked the right commits 20140324 01:40:20< loonycyborg> systray notification called string functions from utils namespace 20140324 01:40:30< loonycyborg> While they were actually in global 20140324 01:40:38< loonycyborg> I removed utils:: 20140324 01:40:43< loonycyborg> and it compiled fine 20140324 01:40:54< loonycyborg> And I made the installer from this build 20140324 01:41:00< loonycyborg> anyway 20140324 01:41:10< mattsc> loonycyborg: (just for reference and probably irrelevant) it compiled without problems on OS X 20140324 01:41:11< AI0867> but, they're not in global? 20140324 01:41:12< loonycyborg> where does the master branch point to now? 20140324 01:41:30< loonycyborg> mattsc: Not surprised 20140324 01:41:39< AI0867> oh, the string classes 20140324 01:41:39< loonycyborg> that file was windows specific 20140324 01:41:40< AI0867> right 20140324 01:42:59< loonycyborg> So 20140324 01:43:09< loonycyborg> Is this tag based on master branch? 20140324 01:43:14< loonycyborg> or some other branch? 20140324 01:43:59< irker621> wesnoth: Alexander van Gessel wesnoth:1.12 a443c54ec25b / src/windows_tray_notification.cpp: Remove utils:: namespace from ucs4_string and utf16_string http://git.io/YIuBow 20140324 01:44:02< AI0867> 1.12 branch 20140324 01:44:09< loonycyborg> weird 20140324 01:44:17< loonycyborg> why is it 1.11 then? 20140324 01:44:22< loonycyborg> Doesn't make sense :/ 20140324 01:44:22< AI0867> because beta 20140324 01:44:42< AI0867> and because we're busy breaking master, which is already at 1.13.0-dev 20140324 01:46:01< AI0867> Ivanovic: looks like I broke the 1.11.12 tag on windows, and it should now be fixed 20140324 01:46:12< AI0867> loonycyborg: is a443c54ec25b what you did locally? 20140324 01:47:43< loonycyborg> something like that, yes 20140324 01:47:57< loonycyborg> need to double check 20140324 01:50:00< AI0867> so the best achievable solution might just be to do a nightly build system 20140324 01:50:13< AI0867> wrong channel 20140324 01:56:57< loonycyborg> AI0867: I definitely only removed utils qualification from ucs4_string and utf16_string types 20140324 01:57:07-!- bagzie [~bag@85-76-83-15-nat.elisa-mobile.fi] has quit [] 20140324 01:57:23< loonycyborg> windows_tray_notification.cpp for some reason thought they're in this namespace 20140324 02:01:37-!- sachith500 [~kvirc@112.134.81.59] has quit [Read error: Connection reset by peer] 20140324 02:02:12-!- sachith500 [~kvirc@112.134.81.59] has joined #wesnoth-dev 20140324 02:02:13< AI0867> loonycyborg: so that's exactly what I did? 20140324 02:02:42< loonycyborg> yeah 20140324 02:03:11< loonycyborg> I can't just look directly at that file because I reverted it to chechout master 20140324 02:03:38-!- RiftWalker [~nathan@129.59.115.25] has quit [Ping timeout: 246 seconds] 20140324 02:05:24< Aishiko> AI0867, I figured out why changing that one line worked to fix the problem, it was in correctly assigning -1, which is the number that gets assigned if a unit doesn't have a special recall_cost of its own, and so of course -1 is less then anything 0 or greater (which is when this was occurring). Later on it doesn't check it again it just goes "if you got here you must have enough gold" and happily 20140324 02:05:24< Aishiko> puts you in to a negative gold count. I have corrected it and added comments so it can be better maintained. 20140324 02:07:04< AI0867> the PR seems to contain 0 commits atm 20140324 02:07:59< Aishiko> your right I forgot to push it, just a second 20140324 02:08:21< Aishiko> it should be there now 20140324 02:10:34< AI0867> https://github.com/wesnoth/wesnoth/pull/129 20140324 02:12:20< Aishiko> AI0867, I see that I'm just wondering why its not showing the commit 20140324 02:13:58< Aishiko> ohh I think I get it, when I reopened it sans anything in it, the PR was just automatically closed 20140324 02:14:59< AI0867> once the HEAD of your PR is (an ancestor of) the HEAD of the target branch, it must have been merged 20140324 02:15:07< AI0867> that's the logic github employs 20140324 02:15:59< Aishiko> I didn't know that, git is still a bit new to me, and that's exactly what happened 20140324 02:17:25< AI0867> I found that out when a pull request was suddenly marked as merged 20140324 02:17:38< AI0867> so, the issue is that the logic was reversed at some point? 20140324 02:19:44< Aishiko> basically, some where along the line that happened, though it might be a good thing its now got a comment as to where that number comes from 20140324 02:21:32< AI0867> Aishiko: do note that if the recall_cost attribute isn't blank, but also isn't a valid number, to_int will use a default value instead, which is 0 if you don't specify it 20140324 02:21:39< mattsc> shadowm: I updated the list of OS X specific issues in 1.12 (1.11.12): https://github.com/mattsc/AI-demos/wiki/Wesnoth-OS-X-Specific-Issues 20140324 02:21:42< AI0867> that's probably not intentional 20140324 02:21:47< AI0867> but it's something for a separate PR 20140324 02:22:08< irker621> wesnoth: Aishiko wesnoth:master 5beed0a0f57a / src/menu_events.cpp: Correct gold check comparision in recall cost http://git.io/h-gLgw 20140324 02:22:10< irker621> wesnoth: Alexander van Gessel wesnoth:master 89e1eba6df65 / src/menu_events.cpp: Merge pull request #130 from Aishiko/Add-unit-instance-recall-costs http://git.io/mC5yrg 20140324 02:22:38< mattsc> shadowm: AFAICT, the information in there is all up to date and correct now (except for maybe not having a specific issue in the right category as I do not know enough about some of them) 20140324 02:22:39< Aishiko> AI0867, we made sure to specify that when we set it up, however now I'm going to double check that 20140324 02:23:23< AI0867> oh, right 20140324 02:23:26< AI0867> I misread it 20140324 02:24:09< Aishiko> I figured that there would be little to no call for a negative recall_cost 20140324 02:25:54< Aishiko> shadowm, beat me up about proper assignments in the unit constructor. So I know its right... well as right as the 2 of us could see. 20140324 02:33:53< mattsc> Does anybody know off the top of your head(s) who implemented the clear-fog-on-the-fly feature? 20140324 02:33:57< mattsc> jamit maybe? 20140324 02:37:14< AI0867> no idea 20140324 02:38:44< AI0867> aquileia: what is count_leading_zeros supposed to do on negative numbers? 20140324 02:39:26< AI0867> I mean, using 2s-complement, the answer is obviously zero, but the cast might not do that 20140324 02:40:29< mattsc> AI0867 (and others): did you see the beautiful movie I posted earlier? https://www.dropbox.com/s/f5ik4egkkr28cx1/WN_jerky_movement.mov 20140324 02:40:34< mattsc> That’s why I’m asking. 20140324 02:41:18-!- pyromancer2 [~pyromance@130.68.228.91] has quit [Ping timeout: 240 seconds] 20140324 02:41:43< AI0867> wow, that's pretty terrible 20140324 02:42:19< mattsc> Indeed - it’s been like that for me for 5 or more releases. Really takes the fun out of scenarios with fog. 20140324 02:42:44< mattsc> Fortunately, I do my AI testing without fog. 20140324 02:43:50< Aishiko> think of as dancing... they are all sort of moonwalking to the spot you indicated 20140324 02:43:59< mattsc> ha! 20140324 02:45:17-!- Ardonik [~user@adsl-75-28-99-109.dsl.irvnca.sbcglobal.net] has quit [Read error: Connection reset by peer] 20140324 02:56:31< sachith500> lol 20140324 02:56:48< sachith500> that would look good on the relase notes 20140324 02:57:05< sachith500> - Units now additionally moonwalk to their designated locations :P 20140324 02:57:54< Aishiko> think the users will believe that is a feature? 20140324 03:00:10< AI0867> it's a terrible misfeature, but one of the GSOC students begged us to accept his PR 20140324 03:01:07< Aishiko> begged? gees, I answer questions about mine, but I've not begged... at least I don't think so 20140324 03:01:43< AI0867> =P 20140324 03:08:04-!- Ivanovic_ [~ivanovic@x2f3c10e.dyn.telefonica.de] has joined #wesnoth-dev 20140324 03:09:18-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140324 03:09:43< Kevin_Xi> Hi! All my effort try to let AI make decisions base on global battlefield situation lead me to a kind of rule-based expert system...that is, no matter how I implement the analysis part, I finally should write rules(that is, what moves in CA and which CA to execute). I don't know if this is the way AI should work... 20140324 03:09:51-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Read error: Operation timed out] 20140324 03:09:58-!- Ivanovic_ is now known as Ivanovic 20140324 03:10:26-!- Ivanovic [~ivanovic@x2f3c10e.dyn.telefonica.de] has quit [Changing host] 20140324 03:10:26-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20140324 03:14:03< mattsc> Kevin_Xi: Hi. What you’re saying is a little too general to be sure exactly what you are asking, but if I understand it correctly, yes, that’s how the current Wesnoth AI works. 20140324 03:15:48-!- kex [~kex@78.157.29.205] has quit [Remote host closed the connection] 20140324 03:16:14< Kevin_Xi> mattsc: yes, current Wesnoth AI work in this way, but I am working on that SoC project to teach AI decide what to do by it own 20140324 03:16:54< mattsc> Kevin_Xi: right - I have seen your proposal 20140324 03:17:14< Kevin_Xi> mattsc: Oh I'm sorry, my proposal is out of date 20140324 03:17:27< vultraz> what...is going on with this page? http://wiki.wesnoth.org/Http://www.example.net/wiki/summer_of_code_proposal 20140324 03:18:15< vultraz> I'm assuming it was a badly created url and should be axed? 20140324 03:18:31< Kevin_Xi> mattsc: Can I talk with you what in my mind now? 20140324 03:18:50< Kevin_Xi> mattsc: about the design 20140324 03:19:22< mattsc> Kevin_Xi: you can definitely tell me. I am not sure whether I’ll be the right person to reply. But Crab_ does read the logs … 20140324 03:21:52< Kevin_Xi> mattsc: Thank you,mattsc. First I suppose all decisions of AI have three strategic goals to achieve: hit enemy as heavy as possible, grab villages as much as possible, protect self as cautious as possible. These three goals ideally should be achieve in every single action but they may conflict with each other, so these goals need to be associated with priority. Does this make any sense? 20140324 03:22:14< mattsc> yes 20140324 03:23:24< Kevin_Xi> mattsc: then the results of these three goals is a bunch of actions, for example, to achieve "hit enemy" goal, the "actions to deal with enemy" will be executed, that may contains "find a good place to attack", "just stand there but not attack to prevent the enemy escape next turn", "recruit unit suit for battle", etc. 20140324 03:24:33-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140324 03:25:48-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140324 03:26:08< mattsc> Kevin_Xi: makes sense so far 20140324 03:26:24< Kevin_Xi> mattsc: And the actions to deal with village may contains "recruit scout-like unit", "let the resistance unit to guard the village", "let the unit with heal ability stand behind", "block enemy from near the village", etc.The actions to deal with protect may contains "give up village if I have more than enemy", "stand behind the resistance unit", "retreat to the zero power-projection contour line", etc. 20140324 03:27:58-!- happygrue [~happygrue@wesnoth/developer/wintermute] has quit [Ping timeout: 240 seconds] 20140324 03:28:38< Kevin_Xi> mattsc: So there is the question: you see all "rules" that I implement by hand, I suppose the AI should figure out how to "block enemy" by it own. Is that true? 20140324 03:29:19-!- kex [~kex@78.157.29.205] has quit [Ping timeout: 264 seconds] 20140324 03:29:19-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Read error: Operation timed out] 20140324 03:29:50-!- incredible [~incredibl@14.139.122.114] has joined #wesnoth-dev 20140324 03:29:59< mattsc> Kevin_Xi: no, not necessarily. Anything you can do to make the AI play a little better is good. If you want to start by hard-setting/coding some rules, that’s just fine. 20140324 03:30:15< mattsc> Start with something simple, and if it works, you can make it more complex one step at a time. 20140324 03:32:12< irker621> wesnoth: Alexander van Gessel wesnoth:master 1c73372beb77 / src/ (desktop_util.cpp windows_tray_notification.cpp): Add missing include for windows-only files http://git.io/CLqaIQ 20140324 03:32:14< irker621> wesnoth: Alexander van Gessel wesnoth:master d79b7d654731 / src/menu_events.cpp: Merge branch 'master' of github.com:wesnoth/wesnoth http://git.io/1La_Xw 20140324 03:35:51< Kevin_Xi> mattsc: I see, thank you, mattsc. I hope finally I can find some general pattern of this actions, which I believe it has something to do with the goal. 20140324 03:35:51< Kevin_Xi> But if I implement this, I should a). rule out all CAs, actually it seems like to combine them to three more general CA b). make the CA score dynamic. It changes a lot compare to current AI. 20140324 03:36:57< mattsc> Kevin_Xi: that is certainly one way to go about it, yes. I found in my own AIs that I have more flexibility if I combine (almost) all actions into a single CA. 20140324 03:38:56-!- sachith500 [~kvirc@112.134.81.59] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 20140324 03:39:34-!- Gambit [~derek@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20140324 03:40:09< Kevin_Xi> mattsc: So it can't be called a "candidate" action:) May I read your AI code? 20140324 03:41:12< mattsc> Kevin_Xi: it’s still only half-done work in progress, but sure: https://github.com/mattsc/AI-demos 20140324 03:41:47< mattsc> And in particular this one is what I am currently working on: https://github.com/mattsc/AI-demos/blob/master/lua/grunt_rush_Freelands_S1_engine.lua 20140324 03:42:34< mattsc> Kevin_Xi: note that a lot of it is very badly written though - I’ll clean it up when I have something working that I actually like (also, not that I have no coding background at all) 20140324 03:42:47< mattsc> s/not/note 20140324 03:47:12< Kevin_Xi> mattsc: Oh really? That's really cool! I don't know lua but your code is clear to read.I will read it for some inspiration. 20140324 03:47:25-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has quit [Ping timeout: 268 seconds] 20140324 03:50:12< Kevin_Xi> mattsc: Oh, there is another question: It that true that current AI don't form a line(only allow two sides of hex to be under attack) when attack or retreat? 20140324 03:50:58-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has quit [Quit: tomreyn] 20140324 03:52:53< mattsc> Kevin_Xi: yes, that is correct. 20140324 03:53:58< mattsc> The default AI does consider the outcome of attack combinations (several of its own units attacking one enemy unit), but other than that, it’s really one move at a time. 20140324 03:55:14< mattsc> Kevin_Xi: I will have to be off in a few minutes, but I will read the logs (as does Crab_). So if you have a question, just post it here with my and Crab_’s nick and we will get back to you when we are back. 20140324 03:55:35< Kevin_Xi> mattsc: ok, thank you very much 20140324 04:00:30-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: Ciao] 20140324 04:01:05-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has joined #wesnoth-dev 20140324 04:15:24< Kevin_Xi> mattsc: about the attack/retreat position: when I consider the question on"where to retreat", I am thinking about a kind of "Damage contour map", that is, each location of battlefield is associated with the damage the unit may bear at this location, that can be calculate by power_projection(I hope it can combine with defense of certain unit type at this terrain), Then circle the roughly same value to get a contour map and let unit to stand by a contour 20140324 04:17:14-!- Kevin_Xi [~kevin@223.72.182.158] has quit [Quit: have a short rest] 20140324 04:20:03-!- Appleman1234 [~Appleman1@rrcs-97-79-164-178.sw.biz.rr.com] has quit [Quit: Leaving] 20140324 04:21:46-!- gfgtdf [~chatzilla@f054135145.adsl.alicedsl.de] has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517]] 20140324 04:44:22-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has quit [Quit: Leaving] 20140324 04:51:12-!- sachith500 [~kvirc@112.134.81.59] has joined #wesnoth-dev 20140324 04:58:42-!- cib0 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140324 04:58:55< AI0867> kevin_xi: that sounds reasonable, but be aware of corner cases like the player punching into the middle of the AI's line. What will the AI do with the outnumbered units it has? Run in every direction? That will leave the path free to its leader. 20140324 05:07:29-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20140324 05:13:20-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140324 05:18:04-!- kex [~kex@78.157.29.205] has quit [Ping timeout: 268 seconds] 20140324 05:33:48< Aishiko> AI perhaps in that case the AI would endeavor to get a unit to level up and try and stem the tide until reinforcements could arrive? 20140324 05:35:28< Aishiko> or form a skirmish line with a few sacrificed units while moving the bulk of the forces back to the leader and whatever reinforcements they have waiting? 20140324 05:51:28-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has joined #wesnoth-dev 20140324 05:57:57-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140324 05:58:28-!- Kevin_Xi [~kevin@223.72.182.158] has joined #wesnoth-dev 20140324 06:00:40-!- RiftWalker [~nathan@c-76-22-135-46.hsd1.tn.comcast.net] has joined #wesnoth-dev 20140324 06:12:42< Kevin_Xi> AI0867: Hi AI0867, I see your reply, thank you. Yes, that is a corner case. It will work if enemies form a line to attack, but when some of them rush into, how about try to let units retreat to one single side which is near to their leader, and see if it is good to abandon unit that be surrounded, according to the HP, EXP and gold. 20140324 06:13:01< Kevin_Xi> AI0867: So it hopefully form a skirmish line, like Aishiko said 20140324 06:17:02< Kevin_Xi> BTW, is there any number limit of the channel? My "04:15:24" word seem to be cut off from "stand by a contour" 20140324 06:19:50-!- incredible [~incredibl@14.139.122.114] has quit [Read error: Connection reset by peer] 20140324 06:30:05-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20140324 06:32:17-!- irker621 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20140324 06:34:07-!- cib0 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 20140324 06:42:36-!- cib0 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140324 06:43:05< zookeeper> Kevin_Xi, yes, there is a limit... not that i know what it is 20140324 06:44:23-!- lipkab [~lipk@g.itk.ppke.hu] has joined #wesnoth-dev 20140324 06:46:02< zookeeper> RiftWalker, iceiceice, prompting the user for advancement with a timeout seems like a can of worms. and if you can set advancements in advance, that doesn't really warrant an option anywhere IMO... if you don't want to use it, you don't need to. 20140324 06:46:49< zookeeper> the option should/could just be available whenever there exists a side on whose turn you wouldn't get to pick. i see no reason to have a setting for it anywhere, really. 20140324 06:47:36< Kevin_Xi> zookeeper: thank you, zookeeper. The limit seems to be 80 words. So I should try to keep my word brief. 20140324 06:48:06< zookeeper> i'm pretty sure there's no _word_ limit :P 20140324 06:48:43-!- lipkab [~lipk@g.itk.ppke.hu] has quit [Client Quit] 20140324 06:49:32< Kevin_Xi> zookeeper: haha:) 20140324 06:50:08< RiftWalker> zookeeper: Thanks for that insight. You're probably right. I've heard conflicting opinions though. Coffee believed that it should all be random, and he didn't want to see a right-click-to-set option. I think I'll make a forum post and get some feedback on it. 20140324 06:51:07< zookeeper> Coffee_irc, was there a particular reason you want it to be random? 20140324 06:52:35< RiftWalker> He had decent justification for it. You can find it in IRC logs from yesterday. 20140324 06:52:48 * zookeeper pulls them up again 20140324 06:57:24< zookeeper> right 20140324 06:57:59-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20140324 06:58:15-!- sachith500 [~kvirc@112.134.81.59] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 20140324 07:00:55-!- pyromancer2 [~pyromance@130.68.228.91] has joined #wesnoth-dev 20140324 07:00:59< zookeeper> well, i'm pretty much in the "allow setting them in advance" camp. 20140324 07:02:07-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140324 07:02:40< zookeeper> i don't mind random in PvP MP, but if we're thinking of MP campaigns, then those are pretty much always co-op and you wouldn't want random in SP campaigns either... 20140324 07:03:31-!- cib0 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 20140324 07:04:06-!- trademark [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has joined #wesnoth-dev 20140324 07:04:20< zookeeper> that is, anything with a story and branching that might have any story relevance would be kinda icky with always-random 20140324 07:04:41< zookeeper> (and by always-random i mean "always when it's not your turn") 20140324 07:04:46< RiftWalker> Well in SP campaigns, I believe we could leave things as-is (switching over to MP code) because all players would be local anyway and therefore have the option to choose 20140324 07:05:12< Ivanovic> AI0867, loonycyborg: so did you create a (patched) build for windows? 20140324 07:05:33< RiftWalker> That is, if we moved to MP code and changed nothing else, it wouldn't break SP off-turn leveling 20140324 07:05:34< Ivanovic> then i will not retag, since it "only" affects one plattform where most users are relying on the binary anyway 20140324 07:06:53< zookeeper> RiftWalker, sure, but my point is that if one doesn't like random in SP then they can't really like it in a MP campaign either 20140324 07:07:07-!- kex [~kex@78.157.29.205] has quit [Ping timeout: 264 seconds] 20140324 07:08:02< zookeeper> ...so MP campaigns are IMO enough of a reason against always random 20140324 07:11:14< RiftWalker> zookeeper: Right. And we should come up with a solution that the majority of people will be satisfied with. The biggest problem now though, is that it's inconsistent. Hosts get a choice while others don't. I personally think the best way is to choose beforehand. Much less finicky with the network, etc. We need to get community feedback first though. For now, I think that "Always random in networked games" may be viable as a tempo 20140324 07:11:38< zookeeper> cut off at "as a tempo" 20140324 07:11:59< RiftWalker> as a temporary fix 20140324 07:12:19< zookeeper> in the dev branch? sure, no one plays that anyway :P 20140324 07:12:37< RiftWalker> haha truth. 20140324 07:13:36< zookeeper> but yes, if advancements can be preset then i think the host should no longer get out-of-turn pop-ups either... maybe 20140324 07:13:40< zookeeper> (except in SP, of course) 20140324 07:14:18< RiftWalker> It's an issue I don't technically need to address as part of my gsoc proposal, because as I mentioned, It's easily left as-is, but It's a pretty closely tied issue so I'll try to take it on. 20140324 07:15:16< zookeeper> a big technical question, i presume, is whether you can preset advancements only on your turn, or out-of-turn as well. i guess it'd be the former. 20140324 07:16:30-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140324 07:17:55-!- Octalot [~noct@31.185.149.167] has quit [Ping timeout: 264 seconds] 20140324 07:18:02-!- Samual [~dioteckte@c-71-195-88-69.hsd1.pa.comcast.net] has joined #wesnoth-dev 20140324 07:18:02-!- Samual [~dioteckte@c-71-195-88-69.hsd1.pa.comcast.net] has quit [Changing host] 20140324 07:18:02-!- Samual [~dioteckte@xonotic/core-team/Samual] has joined #wesnoth-dev 20140324 07:19:05< zookeeper> querying a remote client for the preferred advancement when needed could cause some lag, but then again it could be smart and do that when the attack starts, so by the time the animations finish it'd likely have gotten the answer already 20140324 07:19:23-!- Samual_ [~dioteckte@xonotic/core-team/Samual] has quit [Ping timeout: 268 seconds] 20140324 07:19:27-!- RiftWalker [~nathan@c-76-22-135-46.hsd1.tn.comcast.net] has quit [Ping timeout: 240 seconds] 20140324 07:19:27-!- yann_ [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 20140324 07:19:58-!- RiftWalker [~nathan@c-76-22-135-46.hsd1.tn.comcast.net] has joined #wesnoth-dev 20140324 07:20:01-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20140324 07:20:58-!- kex [~kex@78.157.29.205] has quit [Ping timeout: 240 seconds] 20140324 07:21:02< RiftWalker> Right that's the other option. Seems very viable. 20140324 07:21:16< RiftWalker> Only one way to find out, anyway. 20140324 07:23:42< zookeeper> also: do the choices persist across saveload? if i set my spearman to advance to pikeman, and then we save, and the next time we resume the game from my opponent's save, is my setting gone? etc. 20140324 07:23:57< zookeeper> that needs to be considered too 20140324 07:25:04< zookeeper> if the clients query each other for advancements, then they don't hold each others' advancements settings and thus cannot save them 20140324 07:25:38< zookeeper> so the querying-when-needed thing has that working against it 20140324 07:26:49< RiftWalker> Hmm, save data is all stored on the host? 20140324 07:27:11< RiftWalker> and also, can different players join a loaded game? 20140324 07:28:57< zookeeper> anyone can save, and you can resume later from anyone's save 20140324 07:29:00< zookeeper> yes 20140324 07:30:42< zookeeper> the fact that a unit has a preset choice would need to be immediately obvious from the unit info panel, like some sort of icon next to XP or something 20140324 07:31:06< zookeeper> otherwise it'd be pretty awful to take someone's place in a game 20140324 07:31:17< RiftWalker> Right, that's what I was thinking. 20140324 07:32:22< RiftWalker> Then again, would it be so bad to not have settings persist? To begin with, it's a pretty rare case. It seems you'd only really set it if your unit is close to leveling. 20140324 07:37:20< zookeeper> sure, but i'm just thinking of the worst case scenario where you set an important advancement, then the game/server/whatever crashes and you resume, your unit levels and oh crap 20140324 07:38:01< zookeeper> maybe it could just work the same way as labels and unit renaming works? those make their way to all clients, after all. 20140324 07:38:37< zookeeper> i don't recall if you can rename your units out-of-turn though 20140324 07:40:16< RiftWalker> If not, maybe an in-turn setting which syncs with the host/other clients would be the best route. 20140324 07:40:53< zookeeper> yeah, i don't think it'd be too bad if you could only set them on your own turn 20140324 07:41:20< RiftWalker> Anyway, I'm off for the night. Later. 20140324 07:41:25< zookeeper> roger 20140324 07:41:31-!- RiftWalker [~nathan@c-76-22-135-46.hsd1.tn.comcast.net] has left #wesnoth-dev [] 20140324 07:48:01-!- Gallaecio [~quassel@84.120.115.86.dyn.user.ono.com] has quit [Ping timeout: 240 seconds] 20140324 08:12:37-!- incredible [~incredibl@14.139.122.114] has joined #wesnoth-dev 20140324 08:18:56-!- Kevin_Xi [~kevin@223.72.182.158] has quit [Quit: Leaving.] 20140324 08:26:31-!- ALourenco_ [c189db30@gateway/web/freenode/ip.193.137.219.48] has joined #wesnoth-dev 20140324 08:32:37-!- neXyon [~neXyon@85-127-61-73.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140324 08:37:58-!- demiurgos [96d6cd3e@gateway/web/freenode/ip.150.214.205.62] has joined #wesnoth-dev 20140324 08:42:40-!- ALourenco_ [c189db30@gateway/web/freenode/ip.193.137.219.48] has quit [Quit: Page closed] 20140324 08:50:06-!- sachith500 [~kvirc@112.134.62.229] has joined #wesnoth-dev 20140324 08:56:20< Coffee_irc> zookeeper/Riftwalker: you could always have it so that you can choose if your opponent is AI, and not choose if opponent is human 20140324 08:56:31< Coffee_irc> if the opponent causes you to level up 20140324 08:57:02< zookeeper> i don't see what sense would that make? 20140324 08:57:49< Coffee_irc> well, IDK, I'm happy to leave it to you guys 20140324 08:58:46< zookeeper> if you play 1vs1vs1 and you're side 1 then you could choose on side 2's turn but not on side 3's? sounds confusing and it doesn't really mean anything whether the unit that causes the levelup is an AI or a human unit 20140324 08:58:50< zookeeper> fine :p 20140324 09:01:13-!- sachith500 [~kvirc@112.134.62.229] has quit [Read error: Connection reset by peer] 20140324 09:27:43< demiurgos> in the main test of mapgen.cpp is called ganerate_map, where it is supposed to be declared? 20140324 09:28:13< demiurgos> i only find default_generate_map 20140324 09:32:59-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has joined #wesnoth-dev 20140324 09:38:58-!- demiurgos [96d6cd3e@gateway/web/freenode/ip.150.214.205.62] has quit [Ping timeout: 245 seconds] 20140324 09:40:22-!- incredible [~incredibl@14.139.122.114] has quit [Ping timeout: 246 seconds] 20140324 09:41:56-!- demiurgos [96d6cd3e@gateway/web/freenode/ip.150.214.205.62] has joined #wesnoth-dev 20140324 09:57:44-!- mjs-de [~mjs-de@f049012152.adsl.alicedsl.de] has joined #wesnoth-dev 20140324 10:01:06-!- neXyon [~neXyon@85-127-61-73.dynamic.xdsl-line.inode.at] has quit [Ping timeout: 265 seconds] 20140324 10:02:52-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140324 10:07:19-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 246 seconds] 20140324 10:11:56-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140324 10:16:28< loonycyborg> Ivanovic: yes 20140324 10:18:01-!- Octalot [~noct@31.185.149.167] has joined #wesnoth-dev 20140324 10:18:24-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20140324 10:33:39-!- cib0 [~cib@132.231.178.66] has joined #wesnoth-dev 20140324 10:36:03-!- demiurgos [96d6cd3e@gateway/web/freenode/ip.150.214.205.62] has quit [Ping timeout: 245 seconds] 20140324 10:39:13-!- demiurgos [96d6cd3e@gateway/web/freenode/ip.150.214.205.62] has joined #wesnoth-dev 20140324 10:54:42-!- TC01_ [~quassel@128.220.109.252] has joined #wesnoth-dev 20140324 10:54:49-!- TC01 [~quassel@128.220.109.252] has quit [Ping timeout: 240 seconds] 20140324 10:58:05-!- Ardonik [~user@75.28.104.84] has joined #wesnoth-dev 20140324 11:01:57-!- Spoffy [~chatzilla@152.78.175.8] has joined #wesnoth-dev 20140324 11:14:11-!- lipkab [~lipk@g.itk.ppke.hu] has joined #wesnoth-dev 20140324 11:25:18-!- sachith500 [~kvirc@112.134.62.229] has joined #wesnoth-dev 20140324 11:33:33-!- demiurgos [96d6cd3e@gateway/web/freenode/ip.150.214.205.62] has quit [Ping timeout: 245 seconds] 20140324 11:34:12-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140324 11:37:21-!- ykanarev [~ykanarev@212.55.118.222] has joined #wesnoth-dev 20140324 11:40:09-!- Kevin_Xi [~kevin@223.72.182.191] has joined #wesnoth-dev 20140324 11:52:40-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140324 12:03:53-!- lipkab [~lipk@g.itk.ppke.hu] has quit [Quit: Lost terminal] 20140324 12:04:43< AI0867> 07:17 < Kevin_Xi> BTW, is there any number limit of the channel? My "04:15:24" word seem to be cut off from "stand by a contour" <-- yes, IRC in general has a packet size limit of 512 bytes. That includes overhead ("PRIVMSG #wesnoth-dev :" and the CRLF at the end) 20140324 12:06:55< Kevin_Xi> AI0867: I see. Thank you. 20140324 12:09:16-!- fabi_ [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20140324 12:12:34-!- happygrue [~happygrue@c-66-30-155-184.hsd1.ma.comcast.net] has joined #wesnoth-dev 20140324 12:12:34-!- happygrue [~happygrue@c-66-30-155-184.hsd1.ma.comcast.net] has quit [Changing host] 20140324 12:12:34-!- happygrue [~happygrue@wesnoth/developer/wintermute] has joined #wesnoth-dev 20140324 12:12:58-!- fabi [~fabi@wesnoth/developer/fendrin] has quit [Ping timeout: 240 seconds] 20140324 12:21:20-!- TC01_ is now known as TC01 20140324 12:22:07-!- Kevin_Xi [~kevin@223.72.182.191] has quit [Ping timeout: 264 seconds] 20140324 12:25:02-!- bagzie [~bag@85-76-77-152-nat.elisa-mobile.fi] has joined #wesnoth-dev 20140324 12:38:59-!- incredible [~incredibl@14.139.122.114] has joined #wesnoth-dev 20140324 12:45:53-!- Spoffy [~chatzilla@152.78.175.8] has quit [Ping timeout: 246 seconds] 20140324 12:47:59-!- incredible [~incredibl@14.139.122.114] has quit [Ping timeout: 246 seconds] 20140324 12:54:44-!- EdB [~edb@85.69.242.6] has joined #wesnoth-dev 20140324 12:54:50-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Ping timeout: 252 seconds] 20140324 13:01:53-!- cib0 [~cib@132.231.178.66] has quit [Ping timeout: 265 seconds] 20140324 13:06:35< AI0867> 03:38 < AI0867> aquileia: what is count_leading_zeros supposed to do on negative numbers? 20140324 13:06:39< AI0867> 03:39 < AI0867> I mean, using 2s-complement, the answer is obviously zero, but the cast might not do that 20140324 13:06:42< AI0867> _8680_: ^ 20140324 13:06:44< AI0867> (as it's your code) 20140324 13:06:48-!- lipkab [~lipk@g.itk.ppke.hu] has joined #wesnoth-dev 20140324 13:08:34-!- irker595 [~irker@ai0867.net] has joined #wesnoth-dev 20140324 13:08:34< irker595> wesnoth: loonycyborg wesnoth:1.12 574a9a64160b / SConstruct: scons: relocate config.h and revision.h to build directory http://git.io/oe8WRw 20140324 13:24:42-!- spoffy [~spoffy@2001:630:d0:ed05:51c8:8645:fd1e:de61] has joined #wesnoth-dev 20140324 13:28:25-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20140324 13:32:00-!- trademark [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has quit [Ping timeout: 268 seconds] 20140324 13:36:02-!- molgrum [~molgrum@212.85.89.43] has quit [Read error: Connection reset by peer] 20140324 13:41:55-!- spoffy [~spoffy@2001:630:d0:ed05:51c8:8645:fd1e:de61] has quit [Ping timeout: 264 seconds] 20140324 13:52:12-!- Kevin_Xi [~kevin@223.72.182.191] has joined #wesnoth-dev 20140324 13:52:29-!- molgrum [~molgrum@212.85.89.43] has joined #wesnoth-dev 20140324 13:59:02-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20140324 14:01:47-!- spoffy [~spoffy@dhcp-203-100.wireless.soton.ac.uk] has joined #wesnoth-dev 20140324 14:02:41< Kevin_Xi> mattsc: Ciao, mattsc! I sent an email to Crab_ to talk about my idea based on our discussion and your suggestions. Crab_ let me start with the function of the battlefield situation. I have updated my wiki page(http://wiki.wesnoth.org/SoC2014_kevin_AI). Thank you for your help and I will ask questions here if I have any. 20140324 14:03:21< mattsc> Kevin_Xi: thanks for the update, that sounds good. 20140324 14:03:49-!- Aishiko_laptop [~unknown@198.85.71.253] has joined #wesnoth-dev 20140324 14:05:11< mattsc> Kevin_Xi: there’s one comment I wanted to add to what was said after I left last night: there’s quite a difference in how to figure out the best locations for an action whether you are in a scenario with lots of units, or in a resources-starved 1v1 MP game. Statistical methods work in one case, but not in the other. 20140324 14:06:59< mattsc> Kevin_Xi: but there’s no reason for you to start with something that needs to cover all possible cases. As you saw, I’m still trying to make my AI work on a single MP map (and for side 1 only). So just pick some case and try to get it to work, and then you can generalize it more and more as you go along. 20140324 14:08:52-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has joined #wesnoth-dev 20140324 14:10:25< Kevin_Xi> mattsc: Thank you, your experience give me some confident. I don't play MP a lot, is that a scenario with lots of units mean that you can waste some of them to protect one to be advance, and in resources-starved 1v1 MP you should cherish your unit? 20140324 14:13:03< mattsc> Kevin_Xi: Well, in a way that is true, but that is not what I meant. What I mean is that in a scenario where each side only has 100 starting gold, you are dealing with small number statistics, so you cannot only work with averages (although that’s a good starting point). 20140324 14:13:29< mattsc> Also, you do not necessarily have enough units to build a complete line for ZoC-ing the opponent etc. 20140324 14:15:53< mattsc> Kevin_Xi: As a small demonstration of this, you could watch the “Fred” vs. the “Prune Cart” scenario in AI-demos (keeping in mind that both of them are incomplete and quite buggy at the moment). 20140324 14:15:58-!- lipkab [~lipk@g.itk.ppke.hu] has quit [Ping timeout: 240 seconds] 20140324 14:17:17< mattsc> If you do so, choose “watch the AIs” and “stationary cart” for Prune Cart. 20140324 14:18:44< Kevin_Xi> mattsc: OK, I'm on it 20140324 14:19:49< mattsc> Also, Fred is not optimized for speed at all at the moment, so he can get very slow, esp. if there are many enemy units close to its leader. You might want to abandon in that case. 20140324 14:31:44-!- pyromancer2 [~pyromance@130.68.228.91] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 20140324 14:32:18< mattsc> Ivanovic: ah, crap. I just noticed that I made a mistake (or rather, forgot to do something after upgrading Xcode) and the OS X package that I uploaded yesterday won’t work with OS X 10.5. 20140324 14:33:03< mattsc> I’ll fix that throughout the morning and upload a new one. Should I overwrite the existing one or upload one with a different name? 20140324 14:36:06-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: Computer's napping] 20140324 14:56:41-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20140324 15:01:32-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140324 15:01:55< Kevin_Xi> mattsc: sorry for delay. Is AI-demos workable in 1.13? I copy the AI-demos-master to /home/kevin/.local/share/wesnoth/1.13/data/add-ons and nothing happened 20140324 15:02:36< mattsc> Kevin_Xi: yes, it should be. What do you mean nothing happens? You cannot see it in the campaign menu? 20140324 15:02:51-!- vorobeez [2ea015b6@gateway/web/freenode/ip.46.160.21.182] has joined #wesnoth-dev 20140324 15:05:22< Kevin_Xi> mattsc: I got this: Error: Unknown scenario: 'aid_switchboard' 20140324 15:06:30< mattsc> Kevin_Xi: what’s the directory name? It needs to be AI-demos (capitalized like that) 20140324 15:08:49< Kevin_Xi> mattsc: yes, I checked. Error message here: http://pastebin.com/R05SZe9k 20140324 15:11:48< Kevin_Xi> mattsc: I use Ubuntu 12.04, with kernel version 3.2.0-60-generic 20140324 15:12:18< mattsc> Kevin_Xi: hmm, strange, that all looks good (you can ignore all the messages except the last one). Could you go to the home screen, press F5 (to reload), and then try again? 20140324 15:12:35-!- cib0 [~cib@132.231.178.68] has joined #wesnoth-dev 20140324 15:14:03< Kevin_Xi> mattsc: It works! Why? 20140324 15:14:31< mattsc> Kevin_Xi: no idea. Maybe something in the cache that didn’t get reloaded automatically … 20140324 15:14:39< mattsc> Good to hear that it works though. 20140324 15:22:33-!- sachith500 [~kvirc@112.134.62.229] has quit [Read error: Connection reset by peer] 20140324 15:23:07-!- sachith500 [~kvirc@112.134.62.229] has joined #wesnoth-dev 20140324 15:23:46-!- sachith500 [~kvirc@112.134.62.229] has quit [Read error: Connection reset by peer] 20140324 15:24:08< mattsc> Kevin_Xi: as a general comment, if you make changes that affect any WML, you either need to restart Wesnoth or do the F5 in the homescreen thing. 20140324 15:24:36-!- sachith500 [~kvirc@112.134.62.229] has joined #wesnoth-dev 20140324 15:24:43< mattsc> The exception to that is when you download an add-on from the add-ons server, in wihch case Wesnoth does it for you automatically. 20140324 15:25:38-!- sachith500 [~kvirc@112.134.62.229] has quit [Read error: Connection reset by peer] 20140324 15:25:43-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has quit [Ping timeout: 252 seconds] 20140324 15:25:56-!- Gaben [~quassel@killer.teteny.bme.hu] has joined #wesnoth-dev 20140324 15:27:31-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has joined #wesnoth-dev 20140324 15:28:49-!- spoffy [~spoffy@dhcp-203-100.wireless.soton.ac.uk] has quit [Ping timeout: 265 seconds] 20140324 15:29:19-!- cib0 [~cib@132.231.178.68] has quit [Ping timeout: 264 seconds] 20140324 15:30:55-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20140324 15:34:35-!- gfgtdf [~chatzilla@f054135145.adsl.alicedsl.de] has joined #wesnoth-dev 20140324 15:35:46< gfgtdf> iceiceice: do you know abuot git rebase ? 20140324 15:36:31-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has quit [Ping timeout: 264 seconds] 20140324 15:37:33-!- spoffy [~spoffy@dhcp-203-100.wireless.soton.ac.uk] has joined #wesnoth-dev 20140324 15:38:04< Kevin_Xi> mattsc: I have seen several battles. At the beginning there are only several unit dispersing around. It is not enough to build a representative global statistics map. 20140324 15:38:44< mattsc> Kevin_Xi: yes, that’s what I meant. 20140324 15:40:28< gfgtdf> anyone here knows enough about git rebase to help me with a question ? 20140324 15:41:58< Kevin_Xi> mattsc: maybe should give the beginning a special treatment, just let AI focus on grab villages by give more weight on grab actions than form a line to attack/retreat? 20140324 15:43:33< mattsc> Kevin_Xi: sure, that’s an option. There are many different possibilities and it is hard to say what will work best. As I understand what Crab_ has in mind, part of the project is to figure out _what_ will work and what does not. 20140324 15:44:16< Aishiko_laptop> gfgtdf, you should ask it as we don't know if we know enough to answer your question without knowing what the question is.... 20140324 15:45:51< gfgtdf> iceiceice, Soliton, anyone how kow much about git: i used rebase -i to rebase my commits, but now it says that https://github.com/gfgtdf/wesnoth-old/commit/f8974b9d38d4ce4d6b254c5bc4c0f4d6af83a82a was also ' Mark de Wever authored 16 days ago gfgtdf committed 24 minutes ago' does that cause problems ? 20140324 15:45:53-!- bagzie [~bag@85-76-77-152-nat.elisa-mobile.fi] has quit [] 20140324 15:46:08< gfgtdf> it did not change anythign in this commit 20140324 15:47:32< gfgtdf> i just think that in git rebase -i HEAD~50 the 50 was too much, i assumed the the rebase command would be smart enough to notice that those commits werent changed,a nd don't have to be recommitted 20140324 15:47:40< AI0867> did you rebase someone else's stuff? 20140324 15:47:42< iceiceice> gfgtdf: sry was afk 20140324 15:48:07< Kevin_Xi> mattsc: oh, then I should implement CAs and test them. In that case I actually can take advantages of a rule-based system 20140324 15:48:31< gfgtdf> AI0867: i dint change it, but i think yes. 20140324 15:48:39< iceiceice> gfgtdf: rebase does more things than just change commits, it also changes their locations in the tree 20140324 15:49:05< iceiceice> for example, if i make a topic branch, work on it for a bit, then a few days later i pull upstream master into my own master, 20140324 15:49:19< iceiceice> then if i am on topic branch and "git rebase master" 20140324 15:49:41< iceiceice> it will move the basepoint of my topic branch so that it branches off of current master 20140324 15:49:44< iceiceice> not the old master 20140324 15:49:53< iceiceice> and replay the changes i had made on top of the new master instead 20140324 15:50:16-!- demiurgos [51258a4a@gateway/web/freenode/ip.81.37.138.74] has joined #wesnoth-dev 20140324 15:50:23< iceiceice> so you can change history even if you dont change some commits 20140324 15:50:49< iceiceice> its usually better to do like "git rebase master" than "git rebase HEAD~50" i would say 20140324 15:51:33< mattsc> Kevin_Xi: okay, sounds good (without knowing the details). I’d suggest that you just get going with some simple cases, even if they only work under special circumstances. As I said, part of this project will almost certainly be trial-and-error. I doubt that you will be able to design an AI “on paper” that will end up doing exactly what you want it to do. 20140324 15:51:37 * zookeeper rolls eyes at git 20140324 15:51:44< mattsc> Well, or maybe you can, but I certainly cannot. :) 20140324 15:52:16-!- EdB [~edb@85.69.242.6] has quit [Quit: Konversation terminated!] 20140324 15:55:03-!- spoffy [~spoffy@dhcp-203-100.wireless.soton.ac.uk] has quit [Ping timeout: 252 seconds] 20140324 15:56:27< gfgtdf> iceiceice: hm but my goad is not to merge branches 20140324 15:56:32< gfgtdf> goal* 20140324 15:56:41< Kevin_Xi> mattsc: I can not. I usually build some prototype up from a naive idea and expose it to actually user to see if it will alive, it usually work fine. But this time I find myself sometimes should deal with more hard math problem than engineering, general AI algorithm I know just can't plugged in. 20140324 15:57:00< iceiceice> y so git rebase master doesn't merge you into master 20140324 15:57:12< iceiceice> if i'm on a topic 20140324 15:57:21< iceiceice> which forked from master in the past, 20140324 15:57:40< iceiceice> rebase master will just update the fork point 20140324 15:57:44< iceiceice> but master will unchaned 20140324 15:57:47< iceiceice> *unchaned 20140324 15:57:51< iceiceice> *unchanged 20140324 15:57:56< iceiceice> and i will still be on the topic branch at the end 20140324 15:58:29< iceiceice> its actually useful, its like a way to resolve merge conflicts if you dont have permissions to change master 20140324 15:58:33< gfgtdf> hm but i dont want to updata teh fork point 20140324 15:59:00< gfgtdf> i just want to rearrange the order of teh commits in teh pr. 20140324 15:59:28< iceiceice> so i think maybe you should consider going into git reflog, findin the place just before you rebased, checking that out and doing "git branch backup" or something 20140324 15:59:49< gfgtdf> iceiceice: that would undo teh rabase ? 20140324 16:00:05< iceiceice> i'm not sure if you want to undo the rebase its up to you, 20140324 16:00:10< iceiceice> but that at least gives you the option later 20140324 16:00:29< gfgtdf> iceiceice: i dont want to undo the rabse i just want to undo the oldest 10 commits of teh rabase 20140324 16:00:37< gfgtdf> which didnt chnage during teh rebase 20140324 16:01:07< iceiceice> ok... 20140324 16:01:11< iceiceice> you might be able to do that 20140324 16:01:18< iceiceice> but it sounds like some serious it brain surgery to me 20140324 16:01:25< Aishiko_laptop> gfgtdf, do a "git reset --mixed commitnumber" that resets you back to that commitnumber and un-commits the commits after it, but leaves the changes on disk so you can rebuild, but, you'll also have to refill out the commit messages again and then do a forced push to put them out 20140324 16:02:31< iceiceice> Aishiko: i think recommiting the rebase changes is what he wants to avoid 20140324 16:02:43< iceiceice> because it sounds like its like 40 things 20140324 16:03:45< iceiceice> gfgtdf: i would still consider making a backup of master from before the commit 20140324 16:04:25< iceiceice> it might be that you can do use rebase to extract all the work you did and replay it onto the backup 20140324 16:04:28< demiurgos> hey, is anyone here who is familiar with the code of mapgen.cpp? i have a couple of questions and i dont know how to start 20140324 16:04:34< gfgtdf> iceiceice_ before wich commit ? 20140324 16:04:48< iceiceice> so i guess this is what i would do 20140324 16:04:52< iceiceice> first type git branch backup 20140324 16:05:04< iceiceice> then use reflog and checkout the commit just before the rebase HEAD~50 20140324 16:05:14< iceiceice> i guess that would be on topic branch still? 20140324 16:05:51< iceiceice> then maybe i would branch again "backup_master" 20140324 16:06:15< iceiceice> and reset to the old master point 20140324 16:06:19< iceiceice> where your topic branch departed 20140324 16:06:25< iceiceice> so just before your first commit on your topic 20140324 16:06:40< iceiceice> then i would try to use the git rebase --onto syntax 20140324 16:07:18-!- vorobeez [2ea015b6@gateway/web/freenode/ip.46.160.21.182] has quit [Ping timeout: 245 seconds] 20140324 16:07:20< iceiceice> to extract exactly the changes from your current topic branch and try to replay them onto "backup_master" i guess 20140324 16:07:31< Aishiko_laptop> iceiceice, my suggestion would work had he not done the command he did 20140324 16:08:28< iceiceice> yes that's true, and i also agree that that's the easiest thing. but hes asking if theres some way to avoid doing that so he doesnt have to discard all the work he just did 20140324 16:08:34-!- Gaben [~quassel@killer.teteny.bme.hu] has left #wesnoth-dev ["http://quassel-irc.org - Chat comfortably. Anywhere."] 20140324 16:08:53< iceiceice> gfgtdf: if you do what iw as saying you should read this page carefully ;) http://git-scm.com/book/en/Git-Branching-Rebasing 20140324 16:09:04-!- travis-ci [~travis-ci@ec2-23-22-154-218.compute-1.amazonaws.com] has joined #wesnoth-dev 20140324 16:09:04< travis-ci> [travis-ci] gfgtdf/wesnoth-old#64 (sync_2_backup_1 - 0939198 : gfgtdf): The build passed. 20140324 16:09:04< travis-ci> [travis-ci] Build details : http://travis-ci.org/gfgtdf/wesnoth-old/builds/21434701 20140324 16:09:04-!- travis-ci [~travis-ci@ec2-23-22-154-218.compute-1.amazonaws.com] has left #wesnoth-dev [] 20140324 16:09:18< iceiceice> esp. the stuff at the end about "git rebase --onto" 20140324 16:09:35< gfgtdf> iceiceice ye rebase onto sounds cool 20140324 16:10:02< gfgtdf> iceiceice: do you think making a copy of master and the moving only my commits (not the onyl i accidently rebased) form my topickbranch to teh copy with git rebase -p --onto to the copy would work 20140324 16:10:14< gfgtdf> s/onyl/ones 20140324 16:13:28< iceiceice> y i think it would work 20140324 16:13:35< iceiceice> although i'm not completely sure with -p does 20140324 16:13:55< iceiceice> but i think you need to make sure your copy of master is from before the rebase command 20140324 16:14:02< iceiceice> if you changed 10 commits in master 20140324 16:15:32< iceiceice> i guess you could also like forcibly pull upstream master to make sure you have good history and try to rebase --onto 20140324 16:15:52< iceiceice> but if you get any merge conflicts while you are trying to see if this whole thing worked you will be very nervous during that time lol 20140324 16:16:32< gfgtdf> iceiceice: teh master is still form the state when i plit the topicbrnch from it 20140324 16:16:49< iceiceice> hmm then maybe i misunderstood something 20140324 16:17:30< iceiceice> i thought the problem was e.g. the branch had 40 commits and you rebased HEAD~50 so you touched commits in master 20140324 16:17:40< iceiceice> and now have questionable history 20140324 16:18:19< iceiceice> if you dont have questionable history then what's the issue? 20140324 16:18:24< gfgtdf> iceiceice: ah when i rbase changes on sync_2 that are already on master than that changes also teh master ? 20140324 16:18:49< iceiceice> i think so 20140324 16:19:00< iceiceice> the branch is just a pointer into the structure i guess 20140324 16:19:18< iceiceice> rebase HEAD~50 is going to touch the 50 parents of whereever HEAD is pointing 20140324 16:19:55< iceiceice> if you use the syntax 'git rebase master' then it will always stop right when it hits master 20140324 16:21:55< gfgtdf> iceiceice : soundls good i'll uew rebase master in future 20140324 16:25:27< AI0867> well, are you using rebase to edit your history or to rebase it onto a different root? These are two separate operations 20140324 16:26:06< gfgtdf> rebae to edit history (like merging commits) 20140324 16:26:17< gfgtdf> melding 20140324 16:26:27< AI0867> yeah, I've never used rebase -i, but I don't think you even need an argument for that 20140324 16:28:11< gfgtdf> i have never used rebase without -i , but how'd you do that ? 20140324 16:28:13-!- spoffy [~spoffy@2001:630:d0:ed05:caf7:33ff:fe0a:4542] has joined #wesnoth-dev 20140324 16:29:07< AI0867> I've used git rebase master to update ancient unfinished branches 20140324 16:29:20< AI0867> that way you don't get unrelated merge histories going back for months 20140324 16:30:33< AI0867> if you just want to edit your history, I've heard good things about stacked git 20140324 16:30:46< AI0867> which allows you to pop and push commits off your branch 20140324 16:31:18< AI0867> haven't used it either, as I haven't had a need to edit my history lately 20140324 16:33:27< gfgtdf> AI0867, iceiceice: i succefully solved the problem :) 20140324 16:33:54< iceiceice> good job :) 20140324 16:34:21< gfgtdf> iceiceice: any rebase master does not change master ? 20140324 16:34:59< iceiceice> according to the page i linked you, iirc rebase master will find the commit thats the common ancestor (branching point) between your current branch and master 20140324 16:35:09< iceiceice> and will rebase up to exactly that point 20140324 16:35:56< iceiceice> i guess that its not exactly the same as "git rebase " at that commit though because of this branch update thing 20140324 16:38:03< gfgtdf> iceiceice: i saw nothing about rebase updata thing in teh page you linked update 20140324 16:38:15< iceiceice> actually i guess i'm not sure if you're allowed to do rebase to a commit 20140324 16:38:20< iceiceice> i guess you did it so it must work :p 20140324 16:38:23< iceiceice> uhhh... 20140324 16:38:57< iceiceice> i guess this paragraph: "t works by going to the common ancestor of the two branches (the one you’re on and the one you’re rebasing onto), getting the diff introduced by each commit of the branch you’re on, saving those diffs to temporary files, resetting the current branch to the same commit as the branch you are rebasing onto, and finally applying each change in turn. " 20140324 16:40:37< gfgtdf> iceiceice: not allowed why that ? :o 20140324 16:41:10< iceiceice> gfgtdf: i dont know, i never tried "rebase " before , i only used "rebase " 20140324 16:41:54< iceiceice> the page i linked doesnt say you can rebase to a commit, so i never realized that was part of the syntax 20140324 16:43:37-!- werlley [~werlley@179.124.130.66] has joined #wesnoth-dev 20140324 16:43:52< iceiceice> i guess its not hard to guess what it will do though 20140324 16:45:14-!- neXyon [~neXyon@85-127-234-223.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140324 16:46:31-!- Octalot [~noct@31.185.149.167] has quit [] 20140324 16:50:30-!- Kevin_Xi [~kevin@223.72.182.191] has quit [Quit: good night] 20140324 16:51:06-!- adityapande [ca4eaca2@gateway/web/freenode/ip.202.78.172.162] has joined #wesnoth-dev 20140324 16:51:42-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has joined #wesnoth-dev 20140324 16:54:22-!- cib0 [~cib@p5DD2126A.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140324 17:00:05< mattsc> Ivanovic: I uploaded the new OS X package (should work for all OS X versions >=10.4 now). Since the release is not announced yet, I simply overwrote the old package. 20140324 17:21:26-!- cib0 [~cib@p5DD2126A.dip0.t-ipconnect.de] has quit [Ping timeout: 265 seconds] 20140324 17:25:13-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has quit [Quit: Leaving] 20140324 17:32:03-!- adityapande [ca4eaca2@gateway/web/freenode/ip.202.78.172.162] has quit [Quit: Page closed] 20140324 17:33:27-!- lipkab [~lipk@g.itk.ppke.hu] has joined #wesnoth-dev 20140324 17:39:19-!- Gallaecio [~quassel@84.120.115.86.dyn.user.ono.com] has joined #wesnoth-dev 20140324 17:44:29-!- lipkab [~lipk@g.itk.ppke.hu] has quit [Quit: Lost terminal] 20140324 17:49:43-!- spoffy [~spoffy@2001:630:d0:ed05:caf7:33ff:fe0a:4542] has quit [Ping timeout: 264 seconds] 20140324 18:05:40-!- ykanarev [~ykanarev@212.55.118.222] has quit [Remote host closed the connection] 20140324 18:06:18-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has quit [Quit: Leaving] 20140324 18:10:01-!- timotei_ [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20140324 18:11:14-!- timotei_ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20140324 18:17:36-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140324 18:21:14-!- mordante [~mordante@roadie.xs4all.nl] has joined #wesnoth-dev 20140324 18:21:14-!- mordante [~mordante@roadie.xs4all.nl] has quit [Changing host] 20140324 18:21:14-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20140324 18:21:30< mordante> servus 20140324 18:23:17-!- Aishiko_laptop [~unknown@198.85.71.253] has quit [Ping timeout: 246 seconds] 20140324 18:23:26< mordante> Zerophase, you were looking for me 20140324 18:26:57< mordante> AI0867, we're using BOOST_STATIC_ASSERT in Wesnoth 20140324 18:28:52< mordante> alternatively you can probably add a zero size array in the class 20140324 18:29:49< mordante> or »int foo[sizeof(T) == 0 ? 0 : 1];« not sure whether the trinary is required, think not 20140324 18:31:16< mordante> ALourenco, we're not using OpenGL and have no intentions to move towards it. SDL 2 has accelerated 2D support, which we want to use 20140324 18:31:40< mordante> ALourenco, probably it will use OpenGL or Direct3D etc as backend 20140324 18:33:29< mordante> Aishiko, did you already have a look at the sprite sheet implementation in Frogatto? 20140324 18:33:42-!- mjs-de [~mjs-de@f049012152.adsl.alicedsl.de] has quit [Remote host closed the connection] 20140324 18:34:06< Ivanovic> shadowm: looks like all the packages are created 20140324 18:34:12< Ivanovic> shadowm: i trust in you to announce whenever you are ready 20140324 18:34:13< Ivanovic> ;) 20140324 18:35:49< mordante> Aishiko, to improve your proposal best list the current image syntax and the changes you propose 20140324 18:36:09< mordante> Aishiko, that will also make it easier to explain the changes to our artists 20140324 18:37:25< mordante> Aishiko, I think caching the sheets upon loading is a bad idea 20140324 18:38:10< mordante> Aishiko, it requires the image engine to know about the higher level WML engine or the higher level WML engine what to load 20140324 18:38:47< mordante> Aishiko, the current image cache is simple and efficient, upon loading something gets cached 20140324 18:40:10< mordante> Aishiko, the same for phase 2, please do not add this kind of complexity 20140324 18:40:47< mordante> Aishiko, caching should be simple, cache when a resource is required and free it either when not needed or the cache is 'full' 20140324 18:41:41< mordante> Aishiko, anything more complex will require a large amount of maintenance over time and has a higher chance to break 20140324 18:42:42-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20140324 18:43:56< mordante> Aishiko, also the basic sprite sheet transformation might seem like a small task for the summer, but in our experience GSoC is a short period and task often are too large 20140324 18:49:52< demiurgos> mordante: im a bit lost about some of the mapgen, could you explain me a few things about it or it would be better for me to talk to anyone in particular? 20140324 18:50:25< mordante> demiurgos, best ask here, either I know the answer or somebody else might 20140324 18:51:57< demiurgos> yeah, the thing is that im quite lost with the config class and the test in mapgen.cpp 20140324 18:53:15-!- Elvish_Hunter [b0c93247@gateway/web/freenode/ip.176.201.50.71] has joined #wesnoth-dev 20140324 18:53:44< AI0867> mordante: I've created a templated function that contains only a failing static assert. It's not used, yet g++ fails the assert anyway 20140324 18:54:44< mordante> AI0867, did you also add at least one specialisation? 20140324 18:55:58< mordante> AI0867, it is used in gui/auxiliary/formula.hpp:238 20140324 18:56:02-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has joined #wesnoth-dev 20140324 18:57:09< demiurgos> mordante: how i can compile the main of that test? 20140324 18:57:33< AI0867> mordante: yes, one 20140324 18:58:35< mordante> AI0867, and you're sure it's not used anywhere? could you pastebin your code? 20140324 18:58:55< mordante> demiurgos, sorry I don't understand your question 20140324 18:59:05-!- iceiceice [~chris@207-237-132-90.ny.subnet.cable.rcn.com] has joined #wesnoth-dev 20140324 19:00:31< demiurgos> mordante: well, i see a main in mapgen.cpp that it is supposed to be a test, but i dont know how i should compile it 20140324 19:03:05< mordante> demiurgos, then you need to compile the file with TEST_MAPGEN defined, however I've no idea who tested it the last time 20140324 19:03:31< mordante> demiurgos, so it might not even compile, and for linking I'm not sure which symbols are required 20140324 19:09:05< AI0867> mordante: http://pastebin.com/sVk4ccmg 20140324 19:10:33-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 20140324 19:11:53< mordante> AI0867, IIRC the boost documentation discourages the usage of false since it does not always work 20140324 19:12:23< AI0867> okay 20140324 19:12:29< demiurgos> mordante: so how i should proceed to try the generators? 20140324 19:12:32< mordante> AI0867, true sizeof(To) == 0 20140324 19:13:00< AI0867> yeah, that seems to work 20140324 19:13:09< mordante> AI0867, I think it must depend on one of the types used 20140324 19:13:40< AI0867> is it legal to hav [Dea zero-width type? 20140324 19:13:59< mordante> demiurgos, try a MP game and request a random map or even better start the editor and select a random map 20140324 19:14:22< mordante> I can't parse what you wrote, but sizeof(foo) is always >= 1 20140324 19:14:32< AI0867> I recall something about it being illegal for allocation purposees 20140324 19:14:34< mordante> sizeof(char) === 1 20140324 19:14:51< AI0867> struct foo{}; 20140324 19:15:33< AI0867> http://pastebin.com/sVk4ccmg 20140324 19:15:34< AI0867> ugh 20140324 19:15:38< mordante> equal to 1 but if used as a base class it can become zero due to empty base optimisation 20140324 19:15:42< AI0867> 20:15 < AI0867> geordi { struct foo{}; std::cout << sizeof(foo); } 20140324 19:15:43< AI0867> 20:15 < geordi> 1 20140324 19:15:50< AI0867> yeah 20140324 19:16:58< demiurgos> yeah, i have done that, but i dont know how to work with the generators that´s why i tried to compile the test 20140324 19:17:25< demiurgos> mordante: for example, when i play in a random map, i have 4 or 5 choices to generate the map 20140324 19:17:27< irker595> wesnoth: Mark de Wever wesnoth:master f6b52f338cce / src/ (CMakeLists.txt SConscript sdl/exception.cpp sdl/exception.hpp): Add the SDL exception class. http://git.io/YgBSug 20140324 19:17:29< irker595> wesnoth: Mark de Wever wesnoth:master 982a84447043 / src/game.cpp: Catch the new SDL exception in the main game. http://git.io/NFQcWA 20140324 19:17:31< irker595> wesnoth: Mark de Wever wesnoth:master f1793ab3e831 / src/sdl/ (texture.cpp window.cpp): Use the new SDL exception in the SDL code. http://git.io/dydCmw 20140324 19:17:33< irker595> wesnoth: Mark de Wever wesnoth:master 4b298611fb35 / src/ (7 files in 2 dirs): Merge branch 'SDL2_exception' http://git.io/rTD3hA 20140324 19:17:45< demiurgos> mordante: those are supposed to be differen generators? 20140324 19:18:03< mordante> ^^ This adds a new file for those who don't use CMake or SCons 20140324 19:20:20< mordante> demiurgos, I'm not sure, but I've to go. Maybe try the generator when starting a MP-game 20140324 19:21:39< mordante> I'm off bye 20140324 19:21:53-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20140324 19:23:58-!- demiurgos [51258a4a@gateway/web/freenode/ip.81.37.138.74] has quit [Ping timeout: 245 seconds] 20140324 19:25:19-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Quit: ancestral] 20140324 19:27:12-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140324 19:28:26-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Client Quit] 20140324 19:28:46-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140324 19:32:25-!- werlley [~werlley@179.124.130.66] has quit [Ping timeout: 265 seconds] 20140324 19:47:33-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20140324 19:49:16-!- Elvish_Hunter [b0c93247@gateway/web/freenode/ip.176.201.50.71] has quit [Quit: Ciao!] 20140324 19:57:52< gfgtdf> Soliton: i did some rabasing. 20140324 19:59:20< gfgtdf> rebasing 20140324 20:07:58< mattsc> AI0867: are there other files that got added except unicode.?pp ? (Not talking about mordante’s last commit.) I can’t get Xcode to compile any more all of a sudden. 20140324 20:13:31< mattsc> AI0867: for reference, I reset to c192854e32d0e3c243df9fe5bd911dc18eeb978d (just before your change to the project files, to make sure that that’s not the problem) and am getting this: http://pastebin.com/B8bKDRZn 20140324 20:14:51< iceiceice> Duthlet: If you haven't added yourself to "data/core/about.cfg", you should make an entry under "Miscellaneous Contributors" and commit it, and make that part of your pull request 20140324 20:21:05-!- Spoffy [~chatzilla@152.78.175.8] has joined #wesnoth-dev 20140324 20:23:29< AI0867> mattsc: I only added unicode.cpp 20140324 20:24:13-!- Dugi [93fbd156@gateway/web/freenode/ip.147.251.209.86] has joined #wesnoth-dev 20140324 20:24:29-!- megamils [971b8872@gateway/web/freenode/ip.151.27.136.114] has joined #wesnoth-dev 20140324 20:24:30< mattsc> AI0867: yeah, that’s what I thought. And I just confirmed that it is the commit in which things were moved to this new file that breaks compiling for me (even after I add it to Xcode). 20140324 20:27:03< AI0867> huh? 20140324 20:27:40< mattsc> yeah, I don’t understand it either … 20140324 20:30:13-!- werlley [~werlley@179.124.130.66] has joined #wesnoth-dev 20140324 20:31:40-!- Gambit [~derek@wesnoth/developer/grickit] has joined #wesnoth-dev 20140324 20:33:16< AI0867> mattsc: try using ba266a356a17 20140324 20:35:25< mattsc> AI0867: I compiled that earlier, but I can try again just to see if something changed. 20140324 20:36:36< megamils> Hi all, quick copyright question: I'd like to use some Wesnoth art assets in my own project. The GPL requires that I preserve the copyright notices for those assets when I use them in my own project. I'd love to do that and give credit to the artists, but I can't find any copyright notices for Wesnoth art assets. Does anyone know where I might find that information? 20140324 20:37:20< megamils> Also, am I correct in the first place that Wesnoth art assets are GPL-licensed? 20140324 20:37:43< mattsc> AI0867: yeah, that one still compiles. (Well, I stopped after linking wesnothd as that’s where the problem happens on master.) 20140324 20:39:10< AI0867> I try using the projectfiles from that one and add unicode.cpp to it? 20140324 20:42:23< mattsc> The project files are identical. 20140324 20:42:42< AI0867> what do you mean? 20140324 20:42:58< mattsc> Nothing, just ignore that … 20140324 20:44:01< mattsc> Anyways, I don’t have time to deal with this any more right now. I thought I just do a quick compiling with your and mordante’s files added. Since it’s not so quick for whatever reason, I’ll have to pick it up again at some other time. 20140324 20:52:07-!- spoffy_ [~spoffy@152.78.175.8] has joined #wesnoth-dev 20140324 20:54:39-!- megamils [971b8872@gateway/web/freenode/ip.151.27.136.114] has quit [Quit: Page closed] 20140324 20:55:40-!- travis-ci [~travis-ci@ec2-54-80-202-194.compute-1.amazonaws.com] has joined #wesnoth-dev 20140324 20:55:40< travis-ci> [travis-ci] gfgtdf/wesnoth-old#72 (sync_2_backup_2 - bc7c13e : gfgtdf): The build passed. 20140324 20:55:40< travis-ci> [travis-ci] Build details : http://travis-ci.org/gfgtdf/wesnoth-old/builds/21455772 20140324 20:55:40-!- travis-ci [~travis-ci@ec2-54-80-202-194.compute-1.amazonaws.com] has left #wesnoth-dev [] 20140324 20:59:07-!- kex [~kex@89.205.75.19] has quit [Remote host closed the connection] 20140324 20:59:14< AI0867> mattsc: I'll revert my changes to xcode. Maybe that'll help 20140324 20:59:40-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140324 20:59:57< mattsc> AI0867: no need to bother with that. I’ve tried that already. 20140324 21:00:15< mattsc> AI0867: there’s something strange going on, probably a stupid mistake I am making somewhere. 20140324 21:00:26< AI0867> makes it easier to start with the right projectfiles though 20140324 21:00:31< mattsc> I’ll look into it some more, but not right now. 20140324 21:00:47< mattsc> I did test it with a commit from before you change the project files. 20140324 21:01:39< mattsc> AI0867: and to be specific, 7df83c22a8f4 compiles for me and 1aad7f9d455295 (the next commit in my time history) does not. 20140324 21:02:41< irker595> wesnoth: Alexander van Gessel wesnoth:master 3113763de081 / projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj: Revert XCode changes in "Attempt to update projectfiles" http://git.io/uDYpzQ 20140324 21:03:28< AI0867> mattsc: yes, that's the commit where I split the file 20140324 21:04:01-!- timotei_ [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 268 seconds] 20140324 21:04:43-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 264 seconds] 20140324 21:04:43-!- timotei_ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20140324 21:09:33< Dugi> Hey guys, who's Mark de Wever? I submitted a comment to my GSoC project stub, invited me here, but I don't know who he is and why it's taking him so long to reply. 20140324 21:10:22< AI0867> mordante: do you know why lexical_cast is implemented the way it is? I tried the simple version first, then tried copying lexical_cast's structure, but I can't get the compiler to actually use the specialization: no matching function for call to ‘unicode_cast(const string&) 20140324 21:10:27< AI0867> Dugi: mordante 20140324 21:11:25-!- blarumyrran [~Bbbb123@wesnoth/artist/blarumyrran] has joined #wesnoth-dev 20140324 21:11:29< Dugi> AI0867: Thanks. He appears to be afk at the moment, though. 20140324 21:13:01< AI0867> he's disconnected, but he reads the logs 20140324 21:13:58< Dugi> I suppose that he's offline for a few days now. 20140324 21:15:42< AI0867> no, he left about 2 hours ago 20140324 21:16:35< Dugi> Don't know why he isn't responding on google-melange.com, then. 20140324 21:18:11< AI0867> he hasn't (nor has anyone else) posted anything on melange since yesterday 20140324 21:18:22< AI0867> and there's 26 proposals to go through 20140324 21:18:41< Dugi> Ah, then I'll just wait. Or does it hurry? 20140324 21:19:33< Dugi> fendrin is still away? 20140324 21:19:39< AI0867> wesbot: seen fendrin 20140324 21:19:39< wesbot> AI0867: Person, who was using the nick fendrin 7d 11h ago, last spoke 3d 1h ago. is now known as fabi_ here and on the channels #wesnoth, #wesnoth-de and #wesnoth-umc-dev. 20140324 21:20:30-!- spoffy_ [~spoffy@152.78.175.8] has quit [Quit: Leaving] 20140324 21:23:00-!- ALourenco_ [c189db30@gateway/web/freenode/ip.193.137.219.48] has joined #wesnoth-dev 20140324 21:23:55< Dugi> wesbot: seen fabi_ 20140324 21:23:55< wesbot> Dugi: Queried user last spoke 3d 1h ago. fabi_ is currently here and on the channels #wesnoth, #wesnoth-de and #wesnoth-umc-dev. 20140324 21:25:23-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20140324 21:26:35< gfgtdf> Soliton: online ? 20140324 21:27:12< gfgtdf> wesbot: seen Solition 20140324 21:27:13< wesbot> gfgtdf: Sorry, I don't know of Solition. 20140324 21:27:18< gfgtdf> wesbot: seen Soliton 20140324 21:27:18< wesbot> gfgtdf: Queried user last spoke 20h 41m ago. Soliton is currently here and on the channels #wesnoth and #wesnoth-de. 20140324 21:34:54< Duthlet> iceiceice: done 20140324 21:48:02-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140324 21:48:16-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140324 21:50:02-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140324 21:53:17-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140324 21:55:02-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140324 21:55:06< shadowm> 11:26:47 any guaranteed GUI1 dialog with a textbox? The bug no longer appears at the addon search 20140324 21:55:12< shadowm> 11:30:11 addon search was moved to GUI2 by shadowm 20140324 21:55:36< shadowm> AI0867: No, it's still GUI1, assuming you mean the main Add-ons Manager dialog (what's with the vague names for dialogs as of late...). 20140324 21:56:03< shadowm> Ivanovic: Something unexpected came up, but I'll try to write something tonight or tomorrow. 20140324 21:58:16-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140324 22:00:02-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140324 22:03:16-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140324 22:09:35-!- neXyon_ [~neXyon@85-127-125-54.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140324 22:11:29< mattsc> AI0867: gngngngng - I am, indeed, an idiot (proven yet another time) 20140324 22:12:07-!- Dugi_ [93fbd156@gateway/web/freenode/ip.147.251.209.86] has joined #wesnoth-dev 20140324 22:12:31-!- neXyon [~neXyon@85-127-234-223.dynamic.xdsl-line.inode.at] has quit [Ping timeout: 264 seconds] 20140324 22:13:08< mattsc> I missed the little checkboxes, and that the one for Wenoth was checked and the one for wesnothd was not. :\ Sigh. 20140324 22:13:58-!- Dugi [93fbd156@gateway/web/freenode/ip.147.251.209.86] has quit [Ping timeout: 245 seconds] 20140324 22:15:55-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has quit [Quit: leaving] 20140324 22:18:19< shadowm> 1.11.12/changelog: "Improved unicode handling on windows for characters outside the Basic Multilingual Plane" 20140324 22:18:25 * shadowm hopes this was properly tested. 20140324 22:19:10< zookeeper> basic multilingual plane? is this D&D? 20140324 22:19:15< shadowm> And IIUC this has absolutely nothing to do with the file path encoding bug from Hell, right? 20140324 22:20:24< shadowm> mattsc: I thought I said the preferences/user data dir paths would change for 1.12.0 on other platforms. 20140324 22:20:53< shadowm> It'd have been better to wait for that before changing them on OS X but whatever, there's no going back at this point. 20140324 22:21:29-!- iceiceice [~chris@207-237-132-90.ny.subnet.cable.rcn.com] has quit [Quit: Leaving] 20140324 22:28:02< shadowm> "* Fix bug #21758: "Ready not blocked while player pick faction."" <- I really want to know why some changelog entries look like this (note the bad grammar and vague wording) in this release. Alas, I don't have a repository clone here to run `git blame` on the file. 20140324 22:28:59< mattsc> shadowm: argh, I’m not having a good last couple days! I just looked it up in the logs to prove you wrong — but you’re right. I either misread back then or misremembered since what you wrote (what I remembered was sometime between the freeze and 1.12.0 - for some reason, as that’s not at all what you wrote.) 20140324 22:29:21< mattsc> shadowm: sorry 20140324 22:29:33 * mattsc is going to hide in a dark hole for a while 20140324 22:29:35-!- werlley [~werlley@179.124.130.66] has quit [Ping timeout: 252 seconds] 20140324 22:35:30-!- neXyon_ [~neXyon@85-127-125-54.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20140324 22:45:06-!- gfgtdf_ [~chatzilla@f054152253.adsl.alicedsl.de] has joined #wesnoth-dev 20140324 22:48:11-!- gfgtdf [~chatzilla@f054135145.adsl.alicedsl.de] has quit [Ping timeout: 265 seconds] 20140324 22:48:15-!- gfgtdf_ is now known as gfgtdf 20140324 23:09:01-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140324 23:13:45-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20140324 23:15:52-!- justinzane [~justinzan@tiny.justinzane.com] has quit [Remote host closed the connection] 20140324 23:24:28-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has joined #wesnoth-dev 20140324 23:24:35-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has quit [Changing host] 20140324 23:24:35-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140324 23:27:45-!- ALourenco_ [c189db30@gateway/web/freenode/ip.193.137.219.48] has quit [Quit: Page closed] 20140324 23:29:16< AI0867> shadowm: nope, nothing to do with that 20140324 23:29:31-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has quit [Remote host closed the connection] 20140324 23:29:59< AI0867> the filesystem issue is that windows expects the standard filesystem functions to have their std::string encoded in whatever the current codepage is 20140324 23:30:04< AI0867> and utf-8 is not a valid codepage 20140324 23:30:18< AI0867> so you have to use windows-only functions that take UTF-16 instead 20140324 23:30:31-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 264 seconds] 20140324 23:31:16< AI0867> as for the the unicode changes, they couldn't possibly have broken things more than they already were, and someone posted a screenshot that showed improvement of something espreon was complaining about 20140324 23:34:04-!- blarumyrran [~Bbbb123@wesnoth/artist/blarumyrran] has quit [Quit: Leaving] --- Log closed Tue Mar 25 00:00:46 2014