--- Log opened Fri Aug 27 00:00:40 2010 20100827 00:06:09< anonymissimus> Gambit: your chat tag doesn't work well 20100827 00:07:13< anonymissimus> put a translation mark before the message and it breaks 20100827 00:08:05< anonymissimus> also it displays the message number_of(human sides) times 20100827 00:09:13< anonymissimus> and such things like speaker=second_unit would be expected to be handles 20100827 00:09:18< anonymissimus> handled 20100827 00:10:08-!- ancestral [~ancestral@mobile-166-137-143-121.mycingular.net] has joined #wesnoth-dev 20100827 00:10:24-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100827 00:12:10-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has joined #wesnoth-dev 20100827 00:16:39< anonymissimus> and what is print(side.__cfg.controller) ? debug messages shouldn't be left, this is printed even without a command line argument, in stdout.txt (on win) 20100827 00:19:10-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Read error: Connection reset by peer] 20100827 00:19:22-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100827 00:21:48-!- mcz [~mcz@abh176.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 245 seconds] 20100827 00:22:21-!- ancestral [~ancestral@mobile-166-137-143-121.mycingular.net] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 20100827 00:23:27-!- mcz [~mcz@aas134.neoplus.adsl.tpnet.pl] has joined #wesnoth-dev 20100827 00:24:31-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100827 00:24:44-!- mjs-de [~mjs-de@vpw.wh.Uni-Dortmund.DE] has quit [Remote host closed the connection] 20100827 00:28:44-!- mcz [~mcz@aas134.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 240 seconds] 20100827 00:32:18-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20100827 00:34:15-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100827 00:45:14-!- Bob_The_Mighty [~chatzilla@cpc8-brig15-2-0-cust40.3-3.cable.virginmedia.com] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]] 20100827 00:45:18-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100827 00:46:13-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100827 00:47:01-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100827 00:48:04-!- SpoOkyMagician [~chatzilla@74-138-202-211.dhcp.insightbb.com] has joined #wesnoth-dev 20100827 00:53:59< SpoOkyMagician> I got a campaign of mine uploaded to the server with translate=yes and it seems to be on the gettext site. (http://www.wesnoth.org/gettext/?package=wesnoth-MAP&order=trans&version=branch) So, from here, do I ask on the forums about getting it translated or do I wait for others to translate it? (whenever they have the time.) 20100827 01:05:16< rusty2> SpoOkyMagician: I recommend using Google Translate to translate it so badly that everyone insists on fixing it up for you :) 20100827 01:05:19-!- rusty2 is now known as rusty 20100827 01:06:28< SpoOkyMagician> hm, well, i guess i could try that. but, I am no expert with translations. its my weakness. i only know very little spanish myself. But, all i need to do is learn how to make the .po files right? 20100827 01:08:06< SpoOkyMagician> (but the translator should help. thanks) 20100827 01:09:18< SpoOkyMagician> how do i go about making the .po files? 20100827 01:10:03< SpoOkyMagician> and what is the format/syntax (if any) 20100827 01:12:54-!- Bob_The_Mighty [~chatzilla@cpc8-brig15-2-0-cust40.3-3.cable.virginmedia.com] has joined #wesnoth-dev 20100827 01:13:05< SpoOkyMagician> nevermind. i think i found one 20100827 01:13:53-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 258 seconds] 20100827 01:15:22< Bob_The_Mighty> Anyone know a better way than this (http://wesnoth.pastebin.com/WezhXkK6) to pick a location at random from a given selection? 20100827 01:17:09< SpoOkyMagician> hm... 20100827 01:17:49< SpoOkyMagician> i myself would use IF_VAR but that's just me... 20100827 01:17:58< SpoOkyMagician> (switch would be better) 20100827 01:19:19< Bob_The_Mighty> I was hoping that something like {RANDOM "12,32","23,54","2,65"} would do it all in one go 20100827 01:19:56< SpoOkyMagician> oh 20100827 01:20:11< SpoOkyMagician> well you should be able to do that 20100827 01:20:16< SpoOkyMagician> but try 20100827 01:20:21< SpoOkyMagician> {VARIABLE_OP} 20100827 01:20:24< SpoOkyMagician> using the rnd 20100827 01:20:39-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100827 01:20:40< SpoOkyMagician> (im not familar with the random macro) 20100827 01:22:46< SpoOkyMagician> hm... for example... {VARIABLE_OP something rnd "1,2,3,4,5"} (its something like this) 20100827 01:25:14< SpoOkyMagician> meh, i checked my random code. i typed it wrong sorry bob 20100827 01:25:19< SpoOkyMagician> heres one that works 20100827 01:25:28< SpoOkyMagician> {VARIABLE_OP reward_type rand "gold,potion,nothing"} 20100827 01:26:43< Bob_The_Mighty> I think i will try using the set variable tag itself, to avoid confusion with all the "s 20100827 01:27:04< SpoOkyMagician> ok but make sure you dont use random= 20100827 01:27:06-!- mysticX [ospf@rbi0332.giga-dns.com] has joined #wesnoth-dev 20100827 01:27:10< SpoOkyMagician> that causes problems 20100827 01:27:32< SpoOkyMagician> as noted on here: http://wiki.wesnoth.org/InternalActionsWML#.5Bset_variable.5D 20100827 01:28:17< Bob_The_Mighty> Thanks, but I'm on 1.8 still 20100827 01:28:24< SpoOkyMagician> ok 20100827 01:30:00-!- mysticX [ospf@rbi0332.giga-dns.com] has quit [Client Quit] 20100827 01:30:09< SpoOkyMagician> by the way, i would like to point this out to the devels: https://gna.org/bugs/?16536 20100827 01:31:37< Bob_The_Mighty> Even if this works, it would still be really useful to have a more direct way of 'picking a location randomly from a given selection'. Even klick n play let me do that :). 20100827 01:32:17< Gambit> anonymissimus: Okay I'll look at it 20100827 01:32:27< Gambit> anonymissimus: Were in in real MP, local, or SP? 20100827 01:33:24< anonymissimus> none of those 20100827 01:33:26< Gambit> anonymissimus: speaker would be $second_unit.name 20100827 01:33:31< Gambit> None? 20100827 01:33:36< Gambit> Is there some gameplay type I don't know about? 20100827 01:33:38< Gambit> :s 20100827 01:33:39< anonymissimus> sp with side=2 controller=human too 20100827 01:33:48< Gambit> sp campaign? 20100827 01:33:51< Gambit> or local mp? 20100827 01:33:53< anonymissimus> yes 20100827 01:33:59< anonymissimus> sp 20100827 01:33:59< Gambit> oh 20100827 01:34:03< Gambit> Yeah it displays to all humans. 20100827 01:34:07< Gambit> So if side 2 is a human... 20100827 01:34:14< Gambit> You'd get one for you, and one for the other I guess. 20100827 01:34:34 * Gambit checks 20100827 01:35:11< Gambit> Yeah in local mp I only get it once. 20100827 01:35:16< Gambit> anonymissimus: What campaign are you in? 20100827 01:35:33< anonymissimus> my personal testcampaign 20100827 01:35:36< Gambit> oh 20100827 01:35:39-!- billynux [~billy@wesnoth/developer/billynux] has quit [Quit: Leaving] 20100827 01:35:44< Gambit> can you send it to me? 20100827 01:35:53< anonymissimus> but I would expect it to vehave in real mp in the same way 20100827 01:36:07< anonymissimus> that is you get a message for each human side 20100827 01:36:14< Gambit> It doesn't. 20100827 01:36:30< anonymissimus> I volunteer to test it with you if you write a testscenario 20100827 01:36:44< Gambit> anonymissimus: in multiplayer the other human players are controlled by "network" 20100827 01:36:56< Gambit> I tested it with three wesnoth instances 20100827 01:37:38< anonymissimus> but did you pass also a speaker= attribute that isn't one fo teh nicks ? 20100827 01:37:55< Gambit> I just used speaker="bob 20100827 01:39:09< anonymissimus> anyway, I think such a tag should support the usual [message] behavior 20100827 01:39:31< anonymissimus> it would be expected to do it 20100827 01:39:50< anonymissimus> speaker=second_unit works in any according event 20100827 01:40:17< Gambit> Right but we're not giving it a unit. 20100827 01:40:20< anonymissimus> and you have a problem with translatable strings 20100827 01:40:20< Gambit> We're giving it a string. 20100827 01:40:31< anonymissimus> as I said 20100827 01:42:08< Gambit> Yeah. This is why I wanted to do this in C++. 20100827 01:42:11< anonymissimus> well you need to check whether speaker is the string second:unit or unit and if it is retrieve the id of that variable 20100827 01:42:22< Gambit> anonymissimus: I'm not familiar with lua, are there any lua tags that take translatable strings? 20100827 01:42:46-!- Gallaecio is now known as karcha 20100827 01:42:53< anonymissimus> new action tags are implemented in lua... 20100827 01:43:17-!- karcha is now known as Gallaecio 20100827 01:43:39< Gambit> Yes, but do you know if there are any already done that can use translatable strings? 20100827 01:43:44< anonymissimus> try calling tostring() for the tzranslatable string 20100827 01:44:09< anonymissimus> that may transform it into a translated string 20100827 01:44:29< anonymissimus> if its isn't a translatable string it stays the same 20100827 01:49:40-!- SpoOkyMagician is now known as SpoOkyMagician_ 20100827 01:50:02< Gambit> I'm not sure how to test if it actually gets translated though. :\ 20100827 01:50:28< SpoOkyMagician_> you need actual translations (.po files) 20100827 01:50:29< Gambit> anonymissimus: Thanks for catching that. 20100827 01:50:39< Gambit> SpoOkyMagician_: Yeah. Don't have. :) 20100827 01:50:42< SpoOkyMagician_> (i believe. unless its already translated) 20100827 01:51:02< SpoOkyMagician_> im trying a program atm to translate MAP 20100827 01:51:10< anonymissimus> yes but if theres no translation it will stay the same I assume 20100827 01:51:40< anonymissimus> in any case the userdata caused by _ is gone 20100827 01:51:54< SpoOkyMagician_> but im new to .po files myself so, im not helpful to the topic. heh 20100827 01:51:59< Gambit> I don't know how translations work so this might be a stupid question; Can I replace a [message] tag in a mainline campaign with a [chat] tag? 20100827 01:52:14< Gambit> Keeping the same string for the message. 20100827 01:52:37< anonymissimus> thats the way it should work in my opinion 20100827 01:53:02< anonymissimus> just that the message is in the top left corner 20100827 01:53:09< anonymissimus> and without portrait etc 20100827 01:53:09< SpoOkyMagician_> [chat] (Version 1.9 and later only) 20100827 01:53:24< SpoOkyMagician_> i wasnt aware of this tag. interesting... (reads) 20100827 01:53:43< SpoOkyMagician_> neat 20100827 01:53:59-!- SpoOkyMagician_ is now known as SpoOkyMagician 20100827 01:54:07< Gambit> Okay assuming there is a spanish translation of Two Brothers... 20100827 01:54:11< SpoOkyMagician> but i wouldnt see why not it wouldnt work 20100827 01:54:17< SpoOkyMagician> (if using 1.9) 20100827 01:54:40< Gambit> It works :) 20100827 01:54:48< Gambit> a bunch of spanish 20100827 01:55:24< anonymissimus> instead of side_list == nil you can do not side_list 20100827 01:55:43< Gambit> So I guess I'll check to see if speaker.id is a valid variable, and if so set speaker to speaker.name 20100827 01:55:47< anonymissimus> not nil, not false evaluate to true 20100827 01:55:47< Gambit> anonymissimus: Ah thanks 20100827 01:56:02< anonymissimus> anything else to true 20100827 01:56:17< Gambit> wgen you say not you mean the word or ! ? 20100827 01:56:28< anonymissimus> the word 20100827 01:56:43< anonymissimus> to false I mean 20100827 01:57:03< anonymissimus> "if not side_list then" 20100827 01:57:39< Gambit> And then for your other bug I'll try setting one of the orcs to be human controlled in httt. 20100827 01:57:48< Gambit> Well the other bug you found I should say. 20100827 01:58:00< Gambit> It's my bug/fault. 20100827 01:58:11< Gambit> I never considered a campaign with two player controlled sides 20100827 01:58:24< anonymissimus> some handling for the case that speaker misses may also be required 20100827 01:59:17< Gambit> That defaults to "Lua" I believe 20100827 01:59:54< anonymissimus> yes, right, ok in that case nothing bad happens 20100827 02:00:22< anonymissimus> two human controlled sides happen e.g. when debugging a single player campaign 20100827 02:01:25< anonymissimus> this is somehow always the case: I wonder hours about testcases but as soon as someone else sees it he has a testcase that breaks it within a minute 20100827 02:01:47< Gambit> So it's okay if the sides start both human? 20100827 02:01:57< Gambit> But later on it becomes broken? 20100827 02:02:06< Gambit> *if the control switches later on 20100827 02:05:09< anonymissimus> no, my testcase was both side human from the start 20100827 02:05:41< Gambit> Okay 20100827 02:06:06< Gambit> I wonder what the controller is in local mp then that makes it not do that 20100827 02:07:14-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20100827 02:07:42< anonymissimus> actually, I wonder why the behavior in mp is different 20100827 02:07:48< Gambit> Oh it does do that in local MP 20100827 02:07:52-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100827 02:07:55< Gambit> I swear I tested that :\ 20100827 02:08:17< Gambit> Oh wait I had it set to side=1,2 20100827 02:08:36< anonymissimus> anyway I like the tag, good luck 20100827 02:08:49< Gambit> anonymissimus: It doesn't do it in local mp 20100827 02:08:57< Gambit> You have no "side=" right? 20100827 02:09:14< Gambit> It should not do it twice. 20100827 02:09:27< Gambit> It's not actually sending messages, it's just telling the computer to display it. 20100827 02:09:41< Gambit> If there is no "side=" then it only displays one time. 20100827 02:09:57< anonymissimus> um, no 20100827 02:10:10< anonymissimus> when setting no side the loop insnt entered 20100827 02:10:17< anonymissimus> side=1,2 20100827 02:10:24< anonymissimus> and both controller=human 20100827 02:11:05< Gambit> Well that's why. 20100827 02:11:08< Gambit> You control both sides :\ 20100827 02:11:54-!- Gallaecio is now known as kucib 20100827 02:12:24< Gambit> I can make it return after displaying perhaps. 20100827 02:13:43< Gambit> or break the loop 20100827 02:14:29< Gambit> anonymissimus: Okay everything you mentioned is now fixed. 20100827 02:14:39< Gambit> Give me a few minutes to cleanup, double check, and commit 20100827 02:15:13< anonymissimus> np 20100827 02:15:16< anonymissimus> cya 20100827 02:15:23-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819]] 20100827 02:19:11-!- kucib is now known as Gallaecio 20100827 02:20:12< CIA-35> grickit * r46014 /trunk/data/lua/wml-tags.lua: Fixes many bugs that anonymissimus found with my initial code for the [chat] tag. 20100827 02:20:24-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100827 02:23:58< Gambit> Oh I broke something :\ 20100827 02:28:02-!- joo [~joo@unaffiliated/joo] has quit [Quit: Restarting.] 20100827 02:32:02< CIA-35> grickit * r46015 /trunk/data/lua/wml-tags.lua: Fixes a bug I introduced in r46014. 20100827 02:33:42< Gambit> Somehow between the time I tested and committed I deleted three lines. I don't think I'll be committing anything else for a while, as that was very scary. 20100827 02:37:03-!- joo [~joo@188-221-182-115.zone12.bethere.co.uk] has joined #wesnoth-dev 20100827 02:37:03-!- joo [~joo@188-221-182-115.zone12.bethere.co.uk] has quit [Changing host] 20100827 02:37:03-!- joo [~joo@unaffiliated/joo] has joined #wesnoth-dev 20100827 02:39:56< SpoOkyMagician> by the way, is it a known issue that the "random map generate" sometimes puts player starting locations on non keep locations? (with default settings used. I am assuming this has to do with random code doing this.) 20100827 02:40:12< SpoOkyMagician> (map editor wise anyway) 20100827 03:06:56-!- PeterPorty [~Pete@pc-183-113-214-201.cm.vtr.net] has joined #wesnoth-dev 20100827 03:13:09-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 265 seconds] 20100827 03:13:12< eleazar> Gambit: you can always get old version back with SVN 20100827 03:13:48< Gambit> eleazar: Well I wanted my new code + the mysteriously disappearing lines 20100827 03:14:08< Gambit> I ended up browsing to the repo and replacing the entire file and then copying my new code back in. 20100827 03:14:37< Gambit> But I guess it would have been faster to revert the file and then copying my new code back. I'll try that next time. 20100827 03:15:08< Gambit> Or do you mean I shouldn't be scared because you can undo my mess-uppery? 20100827 03:15:09-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has quit [Quit: Leaving] 20100827 03:15:32< eleazar> if you haven't commited yet, deleting (or moving) a file an and then running update is the easiest way to get the old state back 20100827 03:15:47< eleazar> but yeah, that's my general point 20100827 03:15:58< eleazar> SVN is friendly to mistakes 20100827 03:16:06< eleazar> not that you shouldn't try to avoid them 20100827 03:16:13-!- Bob_The_Mighty [~chatzilla@cpc8-brig15-2-0-cust40.3-3.cable.virginmedia.com] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]] 20100827 03:16:35< eleazar> i've made my share 20100827 03:19:15-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100827 03:19:58< alink> hi 20100827 03:23:00< alink> eleazar: so, what was the fix for that missing hover-hex image reported bug? 20100827 03:23:37< alink> mentioned here http://forums.wesnoth.org/viewtopic.php?p=452265#p452265 20100827 03:26:52-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 252 seconds] 20100827 03:28:10-!- SpoOkyMagician [~chatzilla@74-138-202-211.dhcp.insightbb.com] has quit [Quit: doing stuff] 20100827 03:40:01-!- PeterPorty is now known as Gambi 20100827 03:40:14-!- Gambi is now known as Petey 20100827 03:40:28-!- Petey is now known as PeteyP 20100827 03:40:40< alink> boucman: the usage of frequency in animation seems reversed : 20100827 03:40:55< alink> frequency: this integer value allows to easily tweak the matching frequency of animations. The filter will fail n-1 times out of n, randomly. 20100827 03:41:09< alink> says wiki, but in code : 20100827 03:41:18< alink> if(frequency_ && !(rand()%frequency_)) return MATCH_FAIL; 20100827 03:41:43< alink> probably just a typo with the ! 20100827 03:42:54< alink> btw in this kind of case relying to the conversion to bool hurts readability a bit 20100827 03:43:34< alink> also, this test should probably be done before more expensive ones (for performance) 20100827 03:46:40< alink> to artists working on animation WML. I was thinking using this frequency feature to make some big idle anims less frequent 20100827 03:46:46-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: rebooting] 20100827 03:47:44< alink> 'big' as more distracting and less natural. Like the skeleton playing with his head 20100827 03:47:45-!- monochromatic [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100827 03:49:34-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100827 03:50:34-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Read error: Connection reset by peer] 20100827 03:50:34-!- e_s [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100827 03:50:43-!- e_s is now known as elvish_sovereign 20100827 03:53:16< eleazar> alink: Those images aren't found because they weren't included in 1.9 20100827 03:53:29< eleazar> at least not the mac version 20100827 03:54:15< alink> ok, any idea why? 20100827 03:54:50< eleazar> because you didn't commit them soon enough? 20100827 03:55:26< eleazar> i dunno 20100827 03:55:39< alink> mmh I remember committing them before the tagging, but maybe it was close 20100827 03:55:43< eleazar> but it worked fine in a build i made a couple days after release 20100827 03:57:07< eleazar> so as far as i'm concerned having the required images in the folder = the fix 20100827 03:58:25< alink> ok good, and I see that I didn't forget to commit them (15h before the tagging) 20100827 03:59:11< alink> I was initially disturbed by the bug report, glad that it is simply something a svn problem 20100827 03:59:25< alink> s/something/ 20100827 04:00:23< alink> eleazar: but that means that it's broken for 1.9.0 mac users ? 20100827 04:00:39< eleazar> yeah 20100827 04:00:54< eleazar> but IIRC Ivanovic wants to roll 1.9.1 out pretty quickly 20100827 04:02:25< eleazar> it's annoying, but it's not a critical error 20100827 04:02:34< alink> I saw that, something like this w-e? to prevent users to guess release dates I guess (5 months, then 1 week...) ;-p 20100827 04:04:02< eleazar> ;) 20100827 04:04:11< eleazar> IIRWYDEI 20100827 04:04:20< eleazar> (it is ready when you don't expect it) 20100827 04:28:18< CIA-35> eleazar * r46016 /trunk/data/core/images/terrain/void/ (12 files): shroud with less curvyness that the previous commit. 20100827 04:29:09-!- Blueblaze [~Blueblaze@99.182.53.0] has joined #wesnoth-dev 20100827 04:38:16-!- Ivanovic_ [~ivanovic@dtmd-4db2dd9a.pool.mediaWays.net] has joined #wesnoth-dev 20100827 04:41:31< alink> I just posted a new add-on "Fix golden hex (Mac)" on the server to fix the broken 1.9.0 golden hex for Mac 20100827 04:41:34< alink> bad idea? 20100827 04:42:05-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 265 seconds] 20100827 04:42:08< alink> 1.9 addon server = trunk addon server right ? 20100827 04:42:13-!- Ivanovic_ is now known as Ivanovic 20100827 04:43:03< alink> I wonder if we could use this technique to fix other missing images in release. Seems so obvious that I fear to miss some flaw about this 20100827 04:44:43-!- eleazar [~jbjerk@ppp-70-226-225-180.dsl.spfdil.ameritech.net] has quit [Ping timeout: 245 seconds] 20100827 04:48:37< alink> btw since I never publish addon, tell me if I did something wrong 20100827 04:51:03-!- eleazar [~jbjerk@ppp-70-226-225-180.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100827 04:51:55-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100827 05:05:46< CIA-35> alink * r46017 /trunk/src/ (generate_report.cpp marked-up_text.cpp marked-up_text.hpp): 20100827 05:05:46< CIA-35> Red/green color damage in sidebar when modified by bonus/malus 20100827 05:05:46< CIA-35> Use clear red/green, as often suggested in forum about my screenshot. 20100827 05:05:46< CIA-35> A bit too flashy for my tastes, but let's make the new feature well visible at first (also to get feedback from color-blind users) 20100827 05:06:58-!- Gallaecio [~quassel@225.189.60.213.dynamic.mundo-r.com] has quit [Remote host closed the connection] 20100827 05:11:19-!- Blueblaze [~Blueblaze@99.182.53.0] has quit [Quit: Blueblaze] 20100827 05:11:59< alink> Ivanovic: crimson_penguin: if one change (committed 35 revisions or 15h before the tagging) was not in 1.9.0 Mac, does that means that others commits are also missing in the mac release ? 20100827 05:12:34-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100827 05:12:40< crimson_penguin> err... 20100827 05:12:58< crimson_penguin> what change? 20100827 05:13:21< crimson_penguin> I guess that would probably be the case, but I'm fairly certain I svn switch'd to the tag :-/ 20100827 05:13:54< alink> http://svn.gna.org/viewcvs/wesnoth?rev=45817&view=rev eleazar and one other user says that the images are missing 20100827 05:14:37< alink> eleazar: now that I think of it, are you sure that simply adding the images in 1.9.0 fix the problem ? 20100827 05:14:52< eleazar> i can test 20100827 05:14:57< alink> that means that the executable is good but not the data 20100827 05:15:19< alink> eleazar: can you test with my new addon ? 20100827 05:15:35< eleazar> what addon? 20100827 05:15:47< alink> I just posted a new add-on "Fix golden hex (Mac)" on the server to fix the broken 1.9.0 golden hex for Mac 20100827 05:16:10-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100827 05:16:13< eleazar> k 20100827 05:16:20< alink> but I was assuming that the executable was ok, so it's maybe a big fail 20100827 05:16:33-!- elvish_sovereign is now known as monochromatic 20100827 05:17:24< eleazar> yup it works 20100827 05:17:33< alink> eleazar: good, tahnks 20100827 05:17:38< alink> thanks i mean 20100827 05:18:18< alink> and now that I think more, the executable must be up-to-date because it tries to use the new images 20100827 05:18:45< eleazar> good night... 20100827 05:18:50< alink> eleazar: gn 20100827 05:19:23< alink> crimson_penguin: so, that seems to indicate that at least src/ and images/ were not at the same revision in the release 20100827 05:20:55< crimson_penguin> alink: most likely: I failed to properly clean the data :( 20100827 05:21:18 * crimson_penguin needs to follow his own instructions to the dot 20100827 05:22:24< alink> crimson_penguin: maybe check what other files are inconsistent or not updated, unless 1.9.1 comes really soon 20100827 05:22:38-!- shadowm_laptop is now known as pedantshadowm 20100827 05:22:57< alink> because that could explains some unreproductible bugs with macs 20100827 05:23:21< crimson_penguin> 1.9.1 is supposed to be out this weekend I think 20100827 05:23:47< alink> only tagged, at best 20100827 05:24:06< alink> and releases are often delayed 20100827 05:24:16< crimson_penguin> tagged means it'll be out a day or two later 20100827 05:24:27-!- ancestral [~ancestral@mobile-166-137-140-010.mycingular.net] has joined #wesnoth-dev 20100827 05:24:41< shadowmaster> tagged == instant source code release 20100827 05:24:55< alink> ah yes I was thinking about the release announcement 20100827 05:26:03-!- PeteyP [~Pete@pc-183-113-214-201.cm.vtr.net] has left #wesnoth-dev ["Saliendo"] 20100827 05:27:32< alink> also, I am not what I will do with this early 1.9.1, because introduced some new WiP WML syntax and I will not have time to decide its final form so soon. I guess I will just warn that it may changes soon. 20100827 05:28:03< alink> or not document it and keep it quiet since it is deep into terrain_graphics macros, no one will find it there ;) 20100827 05:29:16< alink> bah, I mistype too much, need some afk, bbl 20100827 05:32:47< crimson_penguin> alink: I'm checking it 20100827 05:34:33< crimson_penguin> alink: data/ is fine 20100827 05:36:27< crimson_penguin> alink: 164 different files in images/arrows, plus the 2 images you already noticed 20100827 05:37:14-!- monochromatic [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100827 05:37:32< crimson_penguin> sounds is fine 20100827 05:38:29< crimson_penguin> I think that's everything 20100827 05:39:01< crimson_penguin> next time, I will try not to be an idiot :( 20100827 05:45:48-!- silene [~plouf@bau91-1-82-239-244-109.fbx.proxad.net] has joined #wesnoth-dev 20100827 05:45:49-!- silene [~plouf@bau91-1-82-239-244-109.fbx.proxad.net] has quit [Changing host] 20100827 05:45:49-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100827 05:46:51-!- ancestral [~ancestral@mobile-166-137-140-010.mycingular.net] has quit [Quit: Smell ya later!] 20100827 05:49:59-!- pedantshadowm is now known as shadowm_laptop 20100827 05:56:01-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20100827 05:56:04-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Read error: Connection reset by peer] 20100827 06:11:29-!- ancestral [~ancestral@206.55.180.8] has joined #wesnoth-dev 20100827 07:00:15-!- ancestral [~ancestral@206.55.180.8] has quit [Quit: And that's the end of THAT chapter] 20100827 07:05:23-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100827 07:08:44-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 240 seconds] 20100827 07:08:44-!- noy_ is now known as noy 20100827 07:13:11-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100827 07:13:24-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: S3] 20100827 07:13:37-!- noy_ [~Noy@70.70.255.54] has joined #wesnoth-dev 20100827 07:13:37-!- noy_ [~Noy@70.70.255.54] has quit [Changing host] 20100827 07:13:37-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100827 07:17:35-!- alink [~alink@wesnoth/developer/alink] has quit [Remote host closed the connection] 20100827 07:18:02-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 264 seconds] 20100827 07:18:02-!- noy_ is now known as noy 20100827 07:33:30-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100827 07:33:41-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100827 07:45:02-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 264 seconds] 20100827 07:46:35-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100827 07:51:47< CIA-35> zookeeper * r46018 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/ (4 files): Fixed some lines of dwarf/troll ally dialogue not branching right. 20100827 07:52:30-!- dtiger [~dtiger@dynamic-vpdn-93-125-14-2.telecom.by] has joined #wesnoth-dev 20100827 07:55:33-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20100827 08:00:20< CIA-35> zookeeper * r46019 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/ (7 files): Got rid of a bunch of unused variables. 20100827 08:08:25-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: S3] 20100827 08:19:44-!- Gallaecio [~quassel@225.189.60.213.dynamic.mundo-r.com] has joined #wesnoth-dev 20100827 08:23:53-!- silene [~plouf@wesnoth/developer/silene] has quit [Quit: Leaving.] 20100827 08:33:34-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Ping timeout: 258 seconds] 20100827 08:43:47< Soliton> alink: no 1.9 addon server != trunk addon server (see addons.wesnoth.org). looks like you uploaded to the right one anyway. 20100827 08:47:07-!- Greywhind [~Greywhind@pool-96-238-43-241.prvdri.fios.verizon.net] has joined #wesnoth-dev 20100827 08:53:33-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100827 09:08:24-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ...] 20100827 09:17:10-!- stikonas [~and@ctv-213-164-99-190.vinita.lt] has joined #wesnoth-dev 20100827 09:17:10-!- stikonas [~and@ctv-213-164-99-190.vinita.lt] has quit [Changing host] 20100827 09:17:10-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100827 09:20:59-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100827 09:21:34< CIA-35> zookeeper * r46020 /trunk/data/campaigns/Sceptre_of_Fire/scenarios/Epilogue.cfg: Fixed Alanin not appearing in the epilogue. Seems to fix bug #16542. 20100827 09:21:37-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100827 09:23:58< zookeeper> the status of almost all the items in the gna tasks tracker seems hopelessly out of date. should those all just be closed? 20100827 09:25:21< zookeeper> "Support for multiplayer campaigns" marked as "in progress", last update from 2005... :p 20100827 09:26:00 * shadowmaster 'd rather see the whole Tasks tracker gone. 20100827 09:44:23-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20100827 09:47:34-!- Ivanovic [~ivanovic@dtmd-4db2dd9a.pool.mediaWays.net] has quit [Changing host] 20100827 09:47:34-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20100827 09:54:37< Ivanovic> moin 20100827 09:55:16< Ivanovic> zookeeper: i think we never used the "task" tragger 20100827 09:55:21< Ivanovic> just feature requests and bugs 20100827 09:55:30< Ivanovic> though i got no idea how to remove this task tragger 20100827 09:55:36< Ivanovic> s/tragger/tracker 20100827 09:55:43< Ivanovic> (yeah, am still basically asleep) 20100827 09:56:00-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20100827 09:56:52< zookeeper> Ivanovic, well, it's been used, only pretty rarely. if it's not really supposed to be used, then can it be disabled completely? 20100827 10:00:45< Ivanovic> zookeeper: if there is a way then i don't know how 20100827 10:01:00< Ivanovic> personally i'd say "use some personal blacklisting, just never click on "tasks" 20100827 10:01:44-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100827 10:02:57< Ivanovic> ah, right, there seems a way to deactivate it 20100827 10:03:19< Ivanovic> will write a mail about this to the dev-ml to provide an advance warning for those that *might* be using it 20100827 10:04:01< Ivanovic> eg at least elias used it once this year 20100827 10:04:10< Ivanovic> but, hmm, removing it 20100827 10:08:31< Ivanovic> zookeeper: sent a mail, will deactivate it on sunday unless someone says "i really need it!" 20100827 10:09:41< zookeeper> okay 20100827 10:29:27-!- dtiger_ [~dtiger@dynamic-vpdn-93-125-69-34.telecom.by] has joined #wesnoth-dev 20100827 10:30:18-!- dtiger [~dtiger@dynamic-vpdn-93-125-14-2.telecom.by] has quit [Ping timeout: 240 seconds] 20100827 10:45:26-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20100827 10:46:45-!- Espreon [~espreon@wesnoth/developer/espreon] has quit [Ping timeout: 260 seconds] 20100827 10:46:48-!- shikadibot [~shikadi@wesnoth/umc-dev/bot/shikadibot] has quit [Ping timeout: 245 seconds] 20100827 10:47:06-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Read error: Connection reset by peer] 20100827 10:47:24-!- shadowmaster [~ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 265 seconds] 20100827 10:47:34-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has joined #wesnoth-dev 20100827 10:47:34-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has quit [Changing host] 20100827 10:47:34-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100827 10:48:38-!- AI0867 [~ai@wesnoth/developer/ai0867] has quit [Ping timeout: 264 seconds] 20100827 10:53:28-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Ping timeout: 245 seconds] 20100827 10:53:54-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has joined #wesnoth-dev 20100827 10:53:54-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has quit [Changing host] 20100827 10:53:54-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100827 10:59:18-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Ping timeout: 245 seconds] 20100827 10:59:41-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has joined #wesnoth-dev 20100827 10:59:41-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has quit [Changing host] 20100827 10:59:41-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100827 11:04:30-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Read error: Connection reset by peer] 20100827 11:04:36-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has joined #wesnoth-dev 20100827 11:04:36-!- fendrin [~fabi@88-134-103-91-dynip.superkabel.de] has quit [Changing host] 20100827 11:04:36-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100827 11:10:16-!- shadowmaster [~ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100827 11:11:05-!- shikadibot [~shikadi@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20100827 11:11:47-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Ping timeout: 276 seconds] 20100827 11:12:14-!- fabi [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20100827 11:15:16-!- AI0867 [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20100827 11:22:59< Ivanovic> boucman, crab_ fabi, mordante: when your SoC students billynux, gabba, timotei and upthorn are around, please remind then that they got to upload their code samples 20100827 11:23:11< Ivanovic> they have to be uploaded here: http://code.google.com/p/google-summer-of-code-2010-wesnoth/downloads/list 20100827 11:23:22< Ivanovic> i already changed the SoC "homepage" thingie to point there 20100827 11:30:30-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100827 11:32:17-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100827 11:54:02< fabi> Ivanovic: timotei has taken some away time, there are some exams right now. Don't know when to expect him back. 20100827 11:54:16-!- fabi is now known as fendrin 20100827 11:54:58< Ivanovic> okay 20100827 11:55:20< Ivanovic> its just mandatory for him to upload his code changes there (gsoc stuff...) 20100827 12:05:08-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100827 12:06:04-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100827 12:08:45-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100827 12:23:22-!- joo is now known as joo|sleep 20100827 12:27:55-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100827 13:18:20-!- rusty [~rusty2@ppp118-210-100-231.lns20.adl2.internode.on.net] has quit [Quit: Leaving.] 20100827 13:35:58-!- Gambit [~Gambit@pa-67-234-126-121.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100827 13:35:58-!- Gambit [~Gambit@pa-67-234-126-121.dhcp.embarqhsd.net] has quit [Changing host] 20100827 13:35:58-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100827 13:38:56-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20100827 13:44:36-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20100827 13:45:34< Crab_> Ivanovic: ok 20100827 13:47:45-!- Upthorn [ogmar@adsl-75-26-170-84.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100827 13:48:23< Crab_> Upthorn: note the logs - you need to upload the code archive to google (just an archive with all your commits, for example). 20100827 13:48:48< Ivanovic> can be a single diff file or *whatever* 20100827 13:49:05< Crab_> Upthorn: no particular hurry to do that, but it's quite easy to do&forget :) 20100827 13:49:37-!- Upth [ogmar@adsl-75-26-180-23.dsl.scrm01.sbcglobal.net] has quit [Ping timeout: 265 seconds] 20100827 14:03:08-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100827 14:17:35-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100827 14:21:06-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has quit [Quit: moving house. Unavailable for who knows how long] 20100827 14:47:56-!- Greywhind [~Greywhind@pool-96-238-43-241.prvdri.fios.verizon.net] has quit [Quit: leaving] 20100827 15:30:12-!- mcz [~mcz@aal114.neoplus.adsl.tpnet.pl] has joined #wesnoth-dev 20100827 15:31:36-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has joined #wesnoth-dev 20100827 15:36:45-!- Greywhind [~Greywhind@fw-34-17.cs.brown.edu] has joined #wesnoth-dev 20100827 15:47:36-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100827 15:52:45-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100827 15:56:07< CIA-35> grickit * r46021 /trunk/data/lua/wml-tags.lua: Minor update to [chat]. 20100827 15:58:09-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100827 15:58:23-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: leaving] 20100827 15:58:40-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100827 15:59:19-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100827 16:20:35-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100827 16:24:28< AI0867> zookeeper: am I correct in that there's currently no way to filter on the turn number in an SLF? 20100827 16:24:49< AI0867> excluding hacks like placing flag units on the map or replacing the filter of course 20100827 16:25:40-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100827 16:26:21< AI0867> ah, a SUF can use formula or lua 20100827 16:26:33< AI0867> and lua can use wesnoth.current.turn 20100827 16:26:44< AI0867> that'll do 20100827 16:32:10< zookeeper> umm 20100827 16:32:41< zookeeper> what sense would it make to "filter on the turn number in an SLF"? 20100827 16:32:51< zookeeper> you want the filter to match only if it's turn X? 20100827 16:34:24< AI0867> I want it to do one thing before a certain turn, and then a different thing afterwards 20100827 16:34:32-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100827 16:34:59< AI0867> but I realized I probably want to change the description too, so I'll have to replace the ability anyway... 20100827 16:37:39< zookeeper> well, can't understand a word.. 20100827 16:39:11-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20100827 16:42:03< AI0867> I have an ability that's active during certain times of day 20100827 16:42:19< AI0867> and I want this to vary over the course of the scenario 20100827 16:48:24< AI0867> this diff shows roughly what I want it to do, no new WML needed: http://wesnoth.pastebin.com/6z2C9546 20100827 16:54:59 * zookeeper looks 20100827 16:59:00< zookeeper> yeah, a lua function or a formula seems like a good idea there 20100827 17:02:26< AI0867> not having a name_inactive seems sufficient to hide the ability 20100827 17:02:33< AI0867> so no need to remove or add anything 20100827 17:19:25< Gambit> Interesting possible bug. I placed a side (4) on the map without defining it in the cfg. When side 4 attacked a real side (side 3) the game crashed. Segmentation fault. 20100827 17:21:23< CIA-35> ivanovic * r46022 /branches/1.8/ (7 files in 6 dirs): updated Hungarian and Indonesian translation 20100827 17:21:34< CIA-35> ivanovic * r46023 /trunk/ (22 files in 21 dirs): updated Hungarian and Indonesian translation 20100827 17:25:54< Gambit> as per instructions on the wiki: http://wesnoth.pastebin.com/ycA7A0mv 20100827 17:26:12< Gambit> ^I guess that's a "backtrace" 20100827 17:26:44< Gambit> Upthorn: It seems to be related to persistent variables. 20100827 17:27:18-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20100827 17:27:59< Gambit> I have a moveto event that sets global variables for the current side. That's probably why. 20100827 17:28:57< Gambit> oh wait there's more to the thing that I didn't copy :\ 20100827 17:29:58< Gambit> http://wesnoth.pastebin.com/RngCjs9J 20100827 17:30:14< Gambit> There's the whole thing. 20100827 17:56:21-!- cz1stf [~cz1stf@78.24.12.198] has joined #wesnoth-dev 20100827 18:03:25-!- _jbx_ [~jbailey@12.190.80.225] has joined #wesnoth-dev 20100827 18:04:22-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100827 18:06:14-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100827 18:06:26-!- elvish_sovereign is now known as monochromatic 20100827 18:11:06-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20100827 18:34:27< billynux> hi all. Soliton, around? 20100827 18:36:24-!- fangism1 [~davidfang@adsl-75-40-112-1.dsl.pltn13.sbcglobal.net] has joined #wesnoth-dev 20100827 18:38:28-!- fangism [~davidfang@gilbert.achronix.com] has quit [Ping timeout: 245 seconds] 20100827 18:45:12< billynux> I'm working on bug #16536, anybody know why the client would want to destroy it's network_game_manager in src/multiplayer.cpp:51 ? 20100827 18:46:20< boucman> billynux: not sure what you mean, that's the declaration of the destructor, not a call to it... 20100827 18:46:51< billynux> boucman, I know... I'm debugging this case, and it turns out code reaches this point (in the client side) 20100827 18:47:14< boucman> billynux: backtrace ? 20100827 18:47:25< billynux> boucman, when attempting to play a second game after aborting the first (see bug #16536) 20100827 18:47:26< billynux> boucman, 1' 20100827 18:50:26< billynux> boucman, http://wesnoth.pastebin.com/vKgyNpBT 20100827 18:51:49< boucman> in enter_create_mode, you create a network_game_manager on the stack, so when that function exit, its destructor is called 20100827 18:51:58< boucman> (IIUC your question, again....) 20100827 18:52:08< billynux> There you have both backtraces, it turns out the cient destroys it's network_game_manager (created in multiplayer:435) 20100827 18:53:04< billynux> boucman, what I'm trying to figure out is why on earth would you send a "leave_game" when you are actually trying to play it 20100827 18:54:33< boucman> i'm not sure I understand... m is destroyed because we are leaving enter_wait_mode, which destroys everything on the stack, is your question "why are we leaving enter_wait_mode" ? 20100827 18:54:36< billynux> boucman, if res is equal to mp::ui::PLAY, it should have run play_game 20100827 18:54:54< boucman> and is it equal ? did it run it ? 20100827 18:55:17< boucman> if you have gdb running you can easily check 20100827 18:55:27< billynux> it is equal, but it appears not to have ran it (was there an exception thrown?) 20100827 18:56:14< billynux> hm, 1' 20100827 18:56:23< boucman> then it probably did try, did you step through this function to see what's happening ? 20100827 18:56:41< billynux> no, that's what I'm about to do 20100827 18:57:00< boucman> you could add a try catch around to see what's happening, or use whatever gdb offers to debug exceptions (which I don't know) 20100827 18:57:49< billynux> yes, it enters play_game alright, sorry about that 20100827 19:02:53-!- fangism1 is now known as fangism 20100827 19:05:34< billynux> boucman, I'm pretty lost :(. My hunch is this: play_game (playcampaign.cpp:204) quit abruptly, but don't know why (trying to figure this out) 20100827 19:06:04< boucman> billynux: try to add a try...catch around to look if it quits on an exception... 20100827 19:06:19< boucman> if it does, you might want to break on the exception, i think gdb can do it 20100827 19:06:20< billynux> ok 20100827 19:06:36< boucman> i'll google for the gdb manual while you test that 20100827 19:07:54< boucman> billynux: catch will break when the exception is triggered 20100827 19:08:56< billynux> boucman, thanks, I'm following the code io_type (in 362) is SERVER, so then it calls playmp_scenario which will call playcontroller.play_scenario.. 20100827 19:09:10< loonycyborg> I haven't ever figured out how to make gdb catch a particular type of exception :( 20100827 19:09:11-!- _jbx_ [~jbailey@12.190.80.225] has quit [Quit: _jbx_] 20100827 19:09:58< boucman> billynux: ok there is a faster method 20100827 19:10:05< boucman> To make the debugger catch all exceptions before any stack unwinding takes place, set a breakpoint on __raise_exception 20100827 19:10:27< billynux> boucman, nice :) 20100827 19:10:38< billynux> boucman, I'm just not sure there is an exception thrown 20100827 19:10:52< loonycyborg> boucman: Isn't it the same as 'catch throw'? 20100827 19:10:59< billynux> so I'm merriliy (not) following the code around 20100827 19:11:36< boucman> loonycyborg: apparently this version will work with all gdb, catch throw might only work on most recent ones... but i'm just a google user, not a gdb expert :P 20100827 19:12:02< boucman> billynux: you should check for exceptions, that's faster :P 20100827 19:12:23< loonycyborg> Annoyingly the online help says that catch throw should take a third arg but it doesn't actually. 20100827 19:12:58< loonycyborg> If I say 'catch throw std::runtime_error' it says 'Junk at end of arguments.' 20100827 19:13:12< billynux> boucman, ok, it caught one 20100827 19:13:18< billynux> using catch throw :) 20100827 19:13:43< billynux> lua appears to be complaining, paste coming up 20100827 19:14:57< billynux> boucman, loonycyborg : http://wesnoth.pastebin.com/JLeNKXBN 20100827 19:15:12< billynux> I don't know if that exc. is expected or not 20100827 19:16:11< boucman> hmm, lua is very far from my expertise... 20100827 19:16:37< loonycyborg> It looks like something happened when lua executed "\nwesnoth.dofile 'lua/compatibility-1.8.lua'\nwesnoth.dofile 'lua/wml-tags.lua'\n" 20100827 19:17:23< billynux> pretty far from mine too 20100827 19:17:42< billynux> I'll paste this information in the bug report 20100827 19:17:46< loonycyborg> silene is the person to ask. 20100827 19:19:02< billynux> I still don't know if this exception is 'abnormal', unfortunately some people use this alternate mode of control as a control flow for normal situations 20100827 19:20:33-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100827 19:23:47< boucman> billynux: there arn't many exceptions in wesnoth... 20100827 19:24:25< boucman> billynux: i'd be suprised if it were normal, it's most likely to be something remaining from one game to the next... 20100827 19:25:11< billynux> boucman, it appears so, yes, but I have no clue as to why :) 20100827 19:25:27< billynux> silene will see this from my bug comments 20100827 19:25:54< billynux> boucman, so... could it be network related? 20100827 19:26:20< boucman> billynux: it's still possible, but at this point I would be suprised 20100827 19:26:59< boucman> maybe this bug should be assigned to silene, but better wait for him before reassigning 20100827 19:27:24< boucman> and sorry for assuming it was a network bug and making you debug it, it seemed a logical assumption at the time 20100827 19:31:48< billynux> boucman, very logical, IIRC my code was exhibiting the same buggy behavior before (which I think I fixed) 20100827 19:32:00< billynux> and it was silene that assigned it to me in the first place 20100827 19:32:06< boucman> :P 20100827 19:32:09< billynux> also, no problem that it was assigned to me 20100827 19:32:25-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100827 19:36:13< billynux> boucman, I'm currently trying to learn Mac OS X + xCode + Interface Builder + Objective-C just to continue with an interview for a job, and this is proving to be a royal pain in the butt, so I enjoy debugging this more 20100827 19:36:49< boucman> :P 20100827 19:37:30< boucman> I have been spending 6 month coding VB97 for a safety critical system (airplane electric system) I know about the cathartric effect of coding wesnoth :P 20100827 19:37:46< billynux> :D 20100827 19:38:44< billynux> VB for critical systems!!!! in friggin' planes!!!!!! (It's only missing the sharks and lasers) 20100827 19:39:17< boucman> billynux: don't worry, the planes don't actually run the VB 20100827 19:39:37< boucman> it was some extreme excel coding to check that all failure cases were properly covered 20100827 19:40:32< billynux> ah... but I won't rest on planes anymore :) unless you proved the code using wp calculus and ran model checkers, etc... 20100827 19:43:16< boucman> wesbot is down ?? 20100827 19:44:50< billynux> appears so 20100827 19:53:18< Gambit> wesbot and Rhonda — for a while 20100827 19:55:59-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20100827 19:56:11< mordante> servus 20100827 19:57:41 * boucman is lost in playsingle_controller, any expert around ? 20100827 19:58:33< mordante> billynux, did you already upload your gsoc code? 20100827 19:58:57< billynux> hi mordante :) 20100827 19:59:04< mordante> hi billynux 20100827 19:59:12< billynux> mordante, nope, I think you can "start" uploading the code on the 30h 20100827 19:59:16< billynux> 30th 20100827 19:59:22< mordante> ok 20100827 19:59:31< billynux> and I meant "I can start uploading it" 20100827 20:00:33< mordante> I understood that ;-) 20100827 20:04:06-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100827 20:06:38-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100827 20:06:48< boucman> hey gabba 20100827 20:06:48< gabba> bonjour 20100827 20:06:53< boucman> quoi de neuf ? 20100827 20:06:58< gabba> hey boucman 20100827 20:07:34< gabba> boucman: I was wondering if 1.9.1 is planned for this week-end after all? 20100827 20:07:58< CIA-35> mordante * r46024 /trunk/src/persist_manager.cpp: Add newline at end of file. 20100827 20:07:59< Ivanovic> gabba: depends 20100827 20:08:09< CIA-35> mordante * r46025 /trunk/ (22 files in 5 dirs): Removed the statitics upload code. 20100827 20:08:13< Ivanovic> if the stuff with apostroph conversion is finally fixed: maybe on sunday 20100827 20:08:24< Ivanovic> currently the state is too inconsitent between mainline and pofix 20100827 20:08:26< boucman> gabba: that's a question for Ivanovic :P 20100827 20:08:58< billynux> mordante, Ivanovic : Finally: the sats upload removed! :D 20100827 20:09:03< Ivanovic> :) 20100827 20:09:06< billynux> hi silene 20100827 20:09:21< mordante> billynux, yeah the commit was already pending for a while 20100827 20:09:31< gabba> Ivanovic: ah, ok. Thing is, I have a big bug to fix for the whiteboard and I'm gone this weekend, so I guess I have to try and finish that in the next two hours then. 20100827 20:09:34< silene> billynux: i have seen your traces; you are right, it may come from something else 20100827 20:09:34< billynux> mordante, did you use my old patch? 20100827 20:09:47< mordante> billynux, no did it again 20100827 20:09:57< mordante> (forgot about the patch) 20100827 20:10:22< billynux> silene, good to know. I did have the same bug before right? (which made me the logical choice for the bug assignment) 20100827 20:10:48< billynux> mordante, :( (that was the patch that gave me commit access) 20100827 20:11:50< silene> billynux: the logical choice is more like: the bug seems network related, you are currently the one who best know this code so you will be able to quickly decide whether it is actually network-related or not 20100827 20:12:23< billynux> yep 20100827 20:12:57< mordante> billynux, well it's gone :-) 20100827 20:13:51< loonycyborg> Wasn't it committed to 1.6 branch? 20100827 20:13:56< billynux> 1.8 20100827 20:13:56< loonycyborg> 1.8 that is 20100827 20:14:00< billynux> yes 20100827 20:14:08< billynux> So, it did 'some' good 20100827 20:14:43< billynux> hey, anybody know how I can use threading::waiter to signal something like a thread::yield? 20100827 20:15:20< billynux> problem: there is a connect( ... , threading::waiter& ); method, the idea is to be able to yield the current thread while connection procedures are under way 20100827 20:15:42-!- gabba [~gabba@wesnoth/developer/gabba] has quit [Quit: Leaving.] 20100827 20:15:47< billynux> right now my code is blocking until I connect, error or a timeout occurs 20100827 20:16:02< billynux> so... music and UI are kaput during this time 20100827 20:16:07< silene> billynux: are you sure you want to yield? it may just be ignored by some operating systems 20100827 20:16:29< silene> you should rather sleep or wait for a condition 20100827 20:16:50< billynux> silene, yes, condition variable is more likely 20100827 20:17:03< billynux> so, waiting for a condition is best 20100827 20:17:15< boucman> seriously, anybody with an expertise on the whole turn structure around ? I have a bug to fix and i'm a bit confused... 20100827 20:17:28< billynux> but it appears I have to use the waiter 20100827 20:21:57-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has quit [Remote host closed the connection] 20100827 20:22:05-!- mjs-de [~mjs-de@vpw.wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20100827 20:33:56< CIA-35> silene * r46026 /trunk/src/ (3 files): 20100827 20:33:56< CIA-35> Ensured exceptions are unstickied. (Fix for bug #16536.) 20100827 20:33:56< CIA-35> One of the changes only is needed, but all of them have been added to be on the safe side. 20100827 20:34:58< billynux> silene, :) 20100827 20:37:47< CIA-35> boucman * r46027 /trunk/ (3 files in 2 dirs): force the gui to be aware of turn change earlier so it happens before healing animations, fix bug 16049 20100827 20:39:31-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100827 20:40:00< zookeeper> argh, i'd need to use image="terrain/alphamask.png~CS(236,0,140)~TC($side_number|,magenta)" to create a solid TC'd hex, but the TC function always gets applied first :S 20100827 20:40:11< zookeeper> shadowmaster, ^ is there a workaround? 20100827 20:44:46< eleazar> can someone with a recent build check if the water transitions are being animated? 20100827 20:45:33< boucman> sure thing 20100827 20:45:41< eleazar> my build is a little old 20100827 20:45:51< boucman> what should I look for, exactly ? 20100827 20:45:55< eleazar> put water next to sand 20100827 20:46:03< eleazar> turn on the gird 20100827 20:46:06< eleazar> grid 20100827 20:46:08< boucman> done 20100827 20:46:19< eleazar> and look for any movement /animation on the sand hex 20100827 20:47:33< boucman> eleazar: I don't see anything move, but it seems that the sand is drawn over the water, so it's hard to see if it's an anim bug or a WML side bug 20100827 20:47:50< eleazar> it's double sided 20100827 20:48:02< eleazar> sand at 50% drawn over water 20100827 20:48:10< eleazar> and water at 50% drawn over sand 20100827 20:48:27< Gambit> zookeeper: data/core/images/terrain/light.png 20100827 20:48:53< Gambit> It's already solid 20100827 20:49:17< Gambit> Err nevermind alphamask is solid too. 20100827 20:49:23< boucman> I zoomed hevily to try to see, and there is animations from the sand in the water hex, but I can't see anything move on the sand hex... 20100827 20:49:45< eleazar> boucman: yeah, that's what i'm seeing 20100827 20:49:46-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100827 20:49:48< zookeeper> Gambit, how does that help me? 20100827 20:49:53< zookeeper> oh, right 20100827 20:50:00< eleazar> boucman: i'm afraid animated transitions don't animate 20100827 20:50:10< Gambit> zookeeper: can you ~RC(black<$stored_side.colour) ? 20100827 20:50:34< boucman> eleazar: maybe you could replace a transition with something very visible (like a fast switch in color) to test 20100827 20:50:43< Gambit> or ~TC($side_number|,black) or whatever it is you do. 20100827 20:50:53< eleazar> boucman: good idea--- on it... 20100827 20:50:56< Gambit> Black is a team color 20100827 20:51:01< Gambit> So it has a pallete just like magenta 20100827 20:51:03< zookeeper> Gambit, ah, the black palette, good idea 20100827 20:51:09< zookeeper> i'll try 20100827 20:51:24< boucman> eleazar: if you could point me at the corresponding line in terrain-graphics.cfg, I could check there too 20100827 20:52:07-!- joo|sleep is now known as joo 20100827 20:52:30< eleazar> boucman: aproximately line 700 and following 20100827 20:52:32< Gambit> Though pure black may not be in the black pallete. 20100827 20:52:35< boucman> k, thx 20100827 20:53:34< boucman> eleazar: line 708 (sand-to-water) has no builder specified, you should change it to _LFB and add ANIMATION_15 (or something like that) 20100827 20:53:54< eleazar> that part isn't animated 20100827 20:53:56< zookeeper> Gambit, right, there's no black palette, just a black [color_range]...i'll see if i can still use that somehow 20100827 20:54:09< boucman> oh 20100827 20:54:37< eleazar> but all the following LBF lines are the ones that overlap the sand with animated water 20100827 20:54:47< boucman> it's drawn over the water, so animation might be hard to see 20100827 20:55:20< alink> eleazar: boucman: to check if an hex is animated use :sunset 20100827 20:55:35< eleazar> alink: in the editor? 20100827 20:55:44< boucman> alink: won't work in this particular case 20100827 20:55:58< boucman> the hex is made of multiple animated layers, and we want to check a specific layer 20100827 20:56:31< alink> well, it test-scenario, i see water transitions on a sand tile, and nothing in this hex is animated 20100827 20:57:06< alink> eleazar: to use in editor, activate it in game, then use the editor 20100827 20:57:30< alink> yes, I know, not convenient :-/ 20100827 20:58:38< CIA-35> eleazar * r46028 /trunk/data/core/images/terrain/water/ (12 files): temporary ugly ocean trans for troubleshooting. 20100827 20:58:49< alink> boucman: indeed it works only to check if there is at least one animated layer 20100827 20:59:03< eleazar> OK, if the ocean is animating, you'll see an orange-ish flash 20100827 20:59:08< eleazar> on the transitions 20100827 20:59:14< boucman> and you're saying there's none ? hmmm 20100827 20:59:24< alink> on the sand tile, yes 20100827 21:00:04< boucman> eleazar: that's ocean-to-anything transitions, isn't it ? 20100827 21:00:09< eleazar> yea 20100827 21:01:18< alink> btw mt build was 1 day old, if relevant, testing with current trunk now 20100827 21:01:27< alink> s/mt/my 20100827 21:02:13< boucman> hmm, they are not animated... digging in to see what's going on 20100827 21:02:40< eleazar> I should have realized this sooner 20100827 21:03:15< eleazar> i just assumed the glitchy behavior on the edges was my computer struggling to keep up with the redrawing 20100827 21:04:49< boucman> alink, eleazar: I don't see anything obvious in the macros 20100827 21:05:25< alink> line 708 doesn't use ANIMATION_15, is it normal ? 20100827 21:05:30< eleazar> yeah 20100827 21:05:48< eleazar> that's the sand reaching into the water hexes 20100827 21:05:55< alink> ok 20100827 21:06:01< eleazar> semi-transparent 20100827 21:06:20< eleazar> so you see the water animating underneath 20100827 21:07:06< eleazar> another, probably unrelated oddity i noticed today: 20100827 21:07:23< eleazar> _off^_usr works 20100827 21:07:36< eleazar> but _off* crashes wesnoth 20100827 21:08:01< eleazar> it complains about a terrain code that's more than 4 letters long 20100827 21:08:50-!- Shakey [HydraIRC@c-71-201-89-187.hsd1.il.comcast.net] has joined #wesnoth-dev 20100827 21:13:31< alink> eleazar: boucman: ok that's probably my fault. I see incorrect @V in the frames after the first, I will look into this 20100827 21:13:42< boucman> thx 20100827 21:14:12< boucman> alink: while you're at it, could you add a log domain for terrain and display the missing/found files there ? it would be really handy for that sort of cases 20100827 21:14:21< boucman> (assuming you're in that genera area...) 20100827 21:14:54< alink> yeah ok I will do that too, since I just used output there 20100827 21:18:11< alink> boucman: BORDER_COMPLETE_LFB implicitly used random but didn't have RANDOM in its name, normal ? 20100827 21:18:28< boucman> yes 20100827 21:19:00< boucman> the _COMPLETE_ family is a shorthand for "you're an artist that don't want to dig into macro ? just use it and it'll do everything you want" 20100827 21:23:02< alink> ok I see the bug, I only replaced the first @V, but there are several in a animation image key. Should be easy to fix 20100827 21:26:17-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20100827 21:29:41< zookeeper> Gambit, nope, can't find any way to do it 20100827 21:29:45 * zookeeper is annoyed 20100827 21:30:26< zookeeper> i guess i'll use something like an ugly magenta square in the middle of the hex for now... 20100827 21:32:36-!- mcz [~mcz@aal114.neoplus.adsl.tpnet.pl] has quit [Quit: Lost terminal] 20100827 21:33:43-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Remote host closed the connection] 20100827 21:34:15< Gambit> zookeeper: image="terrain/mask.png~RC(000000>red)" 20100827 21:34:22< Gambit> Works, but it's blinding. 20100827 21:35:30< zookeeper> wait, RC can actually take the palette as-is, not just a name? 20100827 21:36:42< Gambit> Yep. I used that once to let players recolor full-magenta baby drakes to any hex color they wanted. 20100827 21:37:02< zookeeper> argh. i wish the wiki would have mentioned that... 20100827 21:37:11< Gambit> And to make randomly colored wild baby drakes. 20100827 21:37:49< zookeeper> any idea if ~PAL can do it too? 20100827 21:38:12< gabba> billynux: I'm getting a ton of network-related link errors: http://wesnoth.pastebin.com/04Rz2wat 20100827 21:38:13< Gambit> Dunno 20100827 21:38:39< zookeeper> ok, i'll experiment a bit 20100827 21:38:42< zookeeper> thanks for the tip 20100827 21:38:48< Gambit> image="terrain/mask.png~RC(000000>$stored_side.colour)~CS(-70,-70,-70)" <==== looks nicer than what I said earlier 20100827 21:39:13< Gambit> I would do ~O(70%) too. 20100827 21:39:36-!- dtiger_ [~dtiger@dynamic-vpdn-93-125-69-34.telecom.by] has quit [Remote host closed the connection] 20100827 21:40:04< Gambit> So they can see the terrain underneath. 20100827 21:40:16< gabba> mordante: wild guess, but could that^ be related to your removing the stats upload code, maybe you broke some include chain? 20100827 21:42:09< alink> zookeeper: your problem is that ~TC is applied first ? 20100827 21:42:37< Gambit> He was trying to shift to magenta before ~TC()'ing. 20100827 21:42:44< Gambit> And yeah TC was going first. 20100827 21:42:47< alink> zookeeper: because I suspect that a trick ~BLIT may avoid that 20100827 21:43:50< zookeeper> alink, hmm, i didn't think of that 20100827 21:44:04< eleazar> alink: please ping me when you upload that animation fix 20100827 21:44:11< zookeeper> anyway, i'm pretty close now thanks to gambit's trick, i'll see if i'll keep using that or try ~BLIT... 20100827 21:44:18< alink> but maybe not, I must try to write it. At least the parenthesis of ~BLIT() open possibilities 20100827 21:45:12< alink> eleazar: ok , I am working on it, it's more rewrite (and test) that I expected, but I will ping you 20100827 21:45:17< zookeeper> oh, it's not implemented yet, or just not documented? 20100827 21:45:47< alink> oh I didn't documented :-/ ? 20100827 21:45:55< eleazar> alink: thanks 20100827 21:46:04< zookeeper> alink, so it seems 20100827 21:46:27< alink> zookeeper: ok will do that too 20100827 21:48:16< mordante> gabba, seems like a very wild guess, but you can try to revert my commit locally 20100827 21:48:43< gabba> mordante: bad guess, I think it's rather a problem with the cmake build script 20100827 21:49:01< gabba> since missing includes would fail before linking 20100827 21:50:11< mordante> gabba, oh wait it might be I removed some files for linking 20100827 21:50:20< mordante> maybe do a full rebuild 20100827 21:50:26< gabba> I'm currently compiling with ANA network off apparently, hadn't seen that link option 20100827 21:50:35< billynux> hi folks, gabba 20100827 21:50:36< billynux> I'm back 20100827 21:50:46< gabba> hi billynux 20100827 21:50:47< billynux> gabba, ANA should be on by defaul 20100827 21:51:04< billynux> did you make cmake -DUSE_ANA_NETWORK=OFF ? :) 20100827 21:51:12< gabba> ah - it didn't turn itself on for me at least 20100827 21:51:20< billynux> weird 20100827 21:51:24< mordante> gabba, not sure I tested with ANA off, the commit lingered for a while 20100827 21:52:24< gabba> ok, I'm testing with ANA on - billynux, mordante, you can see above the link errors I get with ANA off. Didn't try a full rebuild yet though. 20100827 21:52:47-!- mjs-de [~mjs-de@vpw.wh.Uni-Dortmund.DE] has quit [Remote host closed the connection] 20100827 21:53:43< gabba> billynux, mordante: ok, with ANA on it builds fine 20100827 21:53:52< billynux> good 20100827 21:54:09< mordante> gabba, ok 20100827 21:54:21< mordante> billynux, how far are we from only using ANA? 20100827 21:54:38< billynux> mordante, well, I say we're pretty much there 20100827 21:54:58< mordante> billynux, would it be an idea to remove the switch? 20100827 21:55:07< billynux> nobody has spotted an ANA related bug yet :) only ANA-implementation related :) 20100827 21:55:28< mordante> ok 20100827 21:55:30< billynux> mordante, I wouldn't really have an opinion on that 20100827 21:55:49< billynux> I don't know if the previous implementation had any serious bugs 20100827 21:55:57< billynux> it was, I believe, pretty hard to mantain/modify 20100827 21:56:48< billynux> the only bug that I know of with my ANA-implementation (i.e. the implementation of the network.hpp API using ANA) is the fact that connecting with the waiter doesn't work as it should 20100827 21:56:49< mordante> well I like to remove the old implementation as soon as possible, in order to make sure everybody tests ANA 20100827 21:57:19< billynux> also... I would need to add a few statistics-related features to ANA to properly implement the /query calls 20100827 21:57:26< billynux> (so that's a bug as well) 20100827 21:57:26< mordante> ok 20100827 21:57:50< billynux> should I add those 2 to the bug tracker? 20100827 21:58:37< mordante> better do so in order not to forget about them 20100827 21:59:24< billynux> ok 20100827 22:01:57< alink> zookeeper: documented, but sorry I now fear that ~BLIT will not help for your problem, since ~TC is also done before ~BLIT. ~TC inside ~BLIT may be done later but not on the main image 20100827 22:02:13< alink> * but are not applied on the main image 20100827 22:02:50< alink> btw I will remove the restriction about positive x,y for ~BLIT 20100827 22:04:20-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20100827 22:07:36-!- Shakey [HydraIRC@c-71-201-89-187.hsd1.il.comcast.net] has left #wesnoth-dev [] 20100827 22:14:47< billynux> mordante, there: https://gna.org/bugs/index.php?16551 20100827 22:15:32< loonycyborg> mordante: I have no idea how removing old implementation will make sure everybody tests ANA. IMO making it the default is already more than enough. 20100827 22:15:35< billynux> someone please set priority/severity 20100827 22:15:59< billynux> I agree with loonycyborg on that, everybody is/should-be using ANA ATM 20100827 22:16:31< loonycyborg> I'd say it's wise to keep old implementation longer in case there are some issues on less used platforms. 20100827 22:16:57< loonycyborg> Maybe even for entire next stable release. 20100827 22:17:33< billynux> no faith in me loonycyborg? :) 20100827 22:17:37< mordante> billynux, ok 20100827 22:18:01< loonycyborg> billynux: I have no faith in said less used platforms :P 20100827 22:18:03< mordante> loonycyborg, to make sure people don't silently disable it and then complain after the old version is removed 20100827 22:18:47< mordante> and that's exactly what I fear, a problem on some platform, ANA gets disabled there and it's not reported to us 20100827 22:19:01< mordante> so at some point we remove the old code and then hear about the breakage 20100827 22:19:49< billynux> mordante, how would the ANA flag get disabled (on another platform or not) 20100827 22:19:52< billynux> ? 20100827 22:20:24< loonycyborg> Why would they *silently* disable it? I think they're sane enough to figure that it'll be removed soon and they need to report it in order to avoid imminent breakage with next stable release series. 20100827 22:21:23< mordante> sorry but I lost faith in the sanity of humanity 20100827 22:22:08< billynux> ah... I'm guessing you have been reading YouTube comments :) 20100827 22:22:18< zookeeper> alink, ok, i see. btw blit is a really nice function :) 20100827 22:22:23< mordante> billynux, no experience 20100827 22:23:55-!- Sapient [~patrickp@wesnoth/developer/sapient] has joined #wesnoth-dev 20100827 22:24:34< billynux> Soliton, were you the one testing with /query status, /query netstats, etc... ? 20100827 22:25:43< alink> zookeeper: yes, it may have potential. Taking a second image as parameter introduce a new complexity, but this is what allow new things 20100827 22:26:28-!- Banannaboy [~Pete@pc-218-249-120-200.cm.vtr.net] has joined #wesnoth-dev 20100827 22:26:30-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100827 22:26:31 * alink still has plans to write a Turing machine using only images and images-paths functions <:o) 20100827 22:27:34-!- Banannaboy is now known as PeteyP 20100827 22:28:26< zookeeper> alink, maybe create an IPF which can accepts image filters written in lua? :P 20100827 22:29:43< billynux> There, I closed/fixed bug #16523 and opened bug #16553, which are slightly different (wrong data instead of crashing) 20100827 22:35:12< CIA-35> mordante * r46029 /trunk/ (CMakeLists.txt changelog configure.ac): 20100827 22:35:12< CIA-35> Set the compiler mode to c++98. 20100827 22:35:12< CIA-35> It was ansi, which will change to c++0x at some point in the future. In 20100827 22:35:12< CIA-35> order to activate that as default by accident force the c++98 mode. 20100827 22:35:16< CIA-35> mordante * r46030 /trunk/src/ana/test/sdl_server.cpp: 20100827 22:35:16< CIA-35> Remove a variable which is only assigned. 20100827 22:35:16< CIA-35> Issue found by cppcheck. 20100827 22:35:19< CIA-35> mordante * r46031 /trunk/src/ai/testing/ca_testing_move_to_targets.cpp: 20100827 22:35:20< CIA-35> Remove a variable which is only assigned. 20100827 22:35:20< CIA-35> Issue found by cppcheck. 20100827 22:35:25< CIA-35> mordante * r46032 /trunk/src/addon/manager.cpp: Fix a self assignment warning of cppcheck. 20100827 22:35:28< CIA-35> mordante * r46033 /trunk/src/ (game_display.cpp game_display.hpp): 20100827 22:35:28< CIA-35> Pass parameter by const ref instead of const value. 20100827 22:35:28< CIA-35> Issue found by cppcheck. 20100827 22:35:29< CIA-35> mordante * r46034 /trunk/src/play_controller.cpp: Strip trailing whitespace. 20100827 22:38:12-!- timotei [c122bf04@gateway/web/freenode/ip.193.34.191.4] has joined #wesnoth-dev 20100827 22:38:14< timotei> hi 20100827 22:38:25< timotei> Ivanovic: I've seen your message :) 20100827 22:38:36< timotei> Ivanovic: thanks for reminding 20100827 22:39:25-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20100827 22:39:38< billynux> hi timotei 20100827 22:39:41< timotei> hi billynux 20100827 22:40:13< billynux> timotei, gabba, Upthorn : code submission time starts on the 30th right? 20100827 22:40:33< timotei> billynux: yep 20100827 22:40:44< timotei> Ivanovic: can't I do it now?:) 20100827 22:41:07< gabba> billynux: heh, I was forgetting about that, thanks for the reminder 20100827 22:42:12< billynux> gabba, that was the purpose of the question, to ascertain if I had the right info and remind all of you :) 20100827 22:42:49< timotei> Crab_: you think it's a problem if I upload the code now?:) 20100827 22:43:03< Crab_> timotei: if the system allows you, it 20100827 22:43:06< Crab_> is ok 20100827 22:43:11< timotei> yes it does 20100827 22:43:24< Crab_> the code upload is a small and not important part of the project 20100827 22:43:33< timotei> billynux, gabba , Upthorn : http://code.google.com/p/google-summer-of-code-2010-wesnoth/downloads/entry - direct link for uploading 20100827 22:43:39< Crab_> it's just one of the little things google requires 20100827 22:46:18< gabba> thanks timotei for the link. I guess I'm gonna wait for the 30 since they don't seem to want us to upload before that. 20100827 22:47:50< billynux> timotei, hm... great, but I should I do this now or after the 30th? (this I never understoo) 20100827 22:48:09< timotei> I don't think it matters 20100827 22:48:30< CIA-35> alink * r46035 /trunk/src/builder.cpp: 20100827 22:48:30< CIA-35> Fixing variation only applied on the first frame of animated terrains 20100827 22:48:30< CIA-35> (this should animate water transitions) 20100827 22:48:39< alink> eleazar: done ^ 20100827 22:48:54< timotei> billynux, gabba, Upthorn: Also, the submission 'guidelines'/tutorial, in case you don't want to check through all emails on gsoc ml: http://groups.google.com/group/google-summer-of-code-students-list/web/code-submission-guidelines-2010?pli=1 20100827 22:49:35< billynux> I never want to check the gsoc ml. Most emails there carry less insight than YouTube comments :( 20100827 22:50:14< timotei> :P 20100827 22:50:37< alink> eleazar: boucman :the bad news is that my other single-hex optimization of animated water was only for water tiles. Now coast terrains hurts again framerate (even when there is no visible animation). 20100827 22:51:07< boucman> alink: no big deal.... we try things, sometime they even work... 20100827 22:51:25-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20100827 22:52:31< alink> boucman: yes but I was very happy about that optimization (several times more efficient without any visual difference). I will try to adapt it to water transitions 20100827 22:53:19< boucman> alink: in what way was it water specific ? 20100827 22:55:00< alink> none except, that i was about the animation of the main hex of a terrain which make sure that it was in a single hex 20100827 22:55:13< alink> but that was purely macro stuff, so you can control it 20100827 22:55:55< timotei> Ok. I'm out 20100827 22:55:56< timotei> good nigh 20100827 22:55:58-!- timotei [c122bf04@gateway/web/freenode/ip.193.34.191.4] has quit [Quit: Page closed] 20100827 22:58:10< alink> boucman: seems to be the same thing, but much more macros to adapt, which make me want to wait that I fix that on the c++ side instead of providing single_hex version of so many macros 20100827 22:58:52< boucman> alink: k, i'm waiting for your go anyway... if eleazar can live with transitions not being animated, all's fine 20100827 22:59:42< alink> well they are animated now (in case I was not clear) 20100827 23:01:00-!- Blueblaze [~Blueblaze@adsl-99-148-247-171.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100827 23:02:38< Sapient> where is Rhonda / wesbot ? 20100827 23:04:15< mordante> I'm off night 20100827 23:04:28-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20100827 23:04:45< boucman> k 20100827 23:05:32< billynux> off I am too, see ya;' 20100827 23:05:35-!- billynux [~billy@wesnoth/developer/billynux] has quit [Quit: Leaving] 20100827 23:06:08< Ivanovic> timotei: should be possible to already upload it now 20100827 23:06:18< Ivanovic> since the place does exist and you got permissions there 20100827 23:06:53< gabba> Ivanovic: ok, I won't be able to solve the whiteboard infinite attack bug for this weekend, I have to leave soon 20100827 23:07:15< Ivanovic> gabba: please write a bug report about this, set it to blocker and assign it to yourself 20100827 23:07:18< alink> eleazar: don't forget to revert the flashy anims ;) 20100827 23:07:22< Ivanovic> include in it when you plan to work on it 20100827 23:07:29< Ivanovic> (that is: if there is no report for this yet) 20100827 23:07:35< Ivanovic> just so that i don't miss it 20100827 23:07:44< gabba> Ivanovic: fine, I'll do that 20100827 23:08:52< loonycyborg> Sapient: They're MIA 20100827 23:10:18-!- Greywhind [~Greywhind@fw-34-17.cs.brown.edu] has quit [Quit: leaving] 20100827 23:15:22< alink> yeah I lost some fps, not sure how much I can get back just by using terrain macros trick 20100827 23:16:53< Sapient> zookeeper: when I wrote the feature, you could include a comma seperated list of hex RGB in the IPF itself to define a color palette 20100827 23:17:03< alink> mmh, starting to write big new complex c++ code or copy paste a lot of painful WML macros? hard decision :-/ 20100827 23:17:38< Sapient> e.g. ~TC(1,AAAAAA,BBBBBB,CCCCCC) 20100827 23:18:04< Sapient> however, I wouldn't be surprised if the feature was broken at some point 20100827 23:18:24< Sapient> little things like that tend to get broken accidentally 20100827 23:19:03< Sapient> or intentionally 20100827 23:20:15< Sapient> I used it to recolor the whole flesh golem in Royal Rumble LavaVillage, before there was an ability to define custom color palettes at run time 20100827 23:20:15< zookeeper> Sapient, well, i didn't try it with ~TC 20100827 23:24:52< Sapient> zookeeper: the reason this works is because I modified the code that looks up a color palette to (when it failed to lookup) attempt to create a color palette using the name itself as input 20100827 23:25:19-!- Blueblaze [~Blueblaze@adsl-99-148-247-171.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100827 23:25:35< zookeeper> Sapient, it's a useful feature but unfortunately the wiki said nothing about it ;) 20100827 23:25:59< Sapient> yeah, it's only for arch wizards 20100827 23:26:02< Sapient> ;) 20100827 23:27:41< zookeeper> the last time i checked, i was your advancement! 20100827 23:28:56< Gambit> I found it completely on accident :\ 20100827 23:29:53< Sapient> you are now a part of the secret society of WML Wizards then ;) 20100827 23:30:36< Gambit> I had a [text_input] that would supply the second argument in ~RC(). I was like "hey what happens if I don't put a named color in there?" 20100827 23:31:14< Gambit> Also... awesome :D 20100827 23:32:02< boucman> night all 20100827 23:32:06-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100827 23:32:20< Sapient> it also accepts this format: 255,255,255 20100827 23:32:51< Sapient> or for multiple colors: 0,0,0,1,1,1,2,2,2 etc 20100827 23:33:12< Sapient> hmm, no actually I think you have to zerofill to 3 chars 20100827 23:33:35< Sapient> can't remember 20100827 23:39:50-!- Greywhind [~Greywhind@pool-96-238-43-241.prvdri.fios.verizon.net] has joined #wesnoth-dev 20100827 23:44:37-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 272 seconds] 20100827 23:46:11< Sapient> so ~TC(1,0,0,0) would color black to red 20100827 23:48:38< Sapient> it probably never got documented because it's not a very clean-looking syntax and I didn't want to make the wiki more confusing than necessary; you'd be better off defining a color palette 20100827 23:49:11< Sapient> or at least, your code would be more readable that way 20100827 23:56:35-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev --- Log closed Sat Aug 28 00:00:32 2010