--- Log opened Sun Mar 22 00:00:07 2009 20090322 00:00:48< mordante> what do you mean with config option? 20090322 00:01:21< mordante> AI0867, I've some modifications of the Dutch announcement should I email it or commit it? 20090322 00:01:35< Munk> Sirp: Python is fundamentally unlike any other scripting language I've seen. 20090322 00:02:22< fendrin> Munk: Why? 20090322 00:02:26< AI0867> mordante: if you think they'll improve it, go ahead and commit 20090322 00:02:44< mordante> well you can always revert it ;-) 20090322 00:02:56< Munk> Like all the variables are basically C pointers. 20090322 00:03:01< mordante> just wanted to make sure you've nothing left 20090322 00:03:16< mordante> btw are you the Dutch translation maintainer now? 20090322 00:03:20< AI0867> yeah 20090322 00:03:46< Crab_> mordante, for example, path to some fai files is (at the moment) hardcoded in data/multiplayer/factions/SOME_FACTION_NAME.cfg. So, I am asking - if it is not wanted n 'src/filesystems.cpp', and it is not wanted for it to be hardcoded in src/formula_ai.cpp, maybe it is possible to find a suitable .cfg file and place it there ? 20090322 00:03:54< mordante> and how small is the Dutch team? 20090322 00:03:59< Munk> The use of whitespaces as statement and block endings. 20090322 00:05:10-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 113 (No route to host)] 20090322 00:05:12< mordante> is it one fixed fai you want to execute? 20090322 00:06:05< Crab_> mordante, if the user uses run_file(), the code looks for two fixed files ('test' and 'test.fai') if the user uses run_file('foo') then the code looks for 'foo' and 'foo.fai' 20090322 00:06:12< mordante> AI0867, one question do we really use beurt-gebaseerd and not ronde-gebaseerd? 20090322 00:06:13< AI0867> mordante: foppe gave me a list of about 10 people, but none responded to my last mail =/ 20090322 00:06:19< mordante> :-( 20090322 00:06:26< Crab_> so, I want to pick a directory where they will reside 20090322 00:06:30< AI0867> that was a carried over from the 1.4 notes 20090322 00:07:01-!- Ivanovic_ is now known as Ivanovic 20090322 00:08:23< mordante> I still prefer a function in filesystem.cpp, it also fits with Shadow_Master's plan to clean up the preferences directory 20090322 00:09:43< CIA-70> mordante * r34005 /website/start/1.6/po/nl.po: Dutch translation update. 20090322 00:11:16< Crab_> mordante: but, 'but i nack any change to filesystem.cpp for this purpose' (c) silene. So, what should I do ? .cfg option looks better to me because I think that there will be, in the future, need for a .cfg file to hold a list of default FormulaAI parameters. 20090322 00:14:54< Sapient> shikadibot: there? 20090322 00:14:57-!- elad01 [n=none@82.80.133.48] has joined #wesnoth-dev 20090322 00:15:09< Sapient> zookeeper: there? 20090322 00:15:24< Crab_> mordante, so, think of this directory location as a 'ai parameter' 20090322 00:15:56< zookeeper> Sapient, for a while, yes 20090322 00:15:58< mordante> so you add the directory to the function call? 20090322 00:16:00< zookeeper> what's up? 20090322 00:16:11< Sapient> I think Shadow_Master has added some new automatically-stored variables, but they are not documented here: http://www.wesnoth.org/wiki/VariablesWML#Automatically_stored_variables 20090322 00:16:45< Sapient> weapon or damage info for attack events? 20090322 00:17:08-!- shikadibot [n=shikadi@wesnoth/bot/shikadibot] has quit [Read error: 110 (Connection timed out)] 20090322 00:17:11< zookeeper> right, at least damage_inflicted is missing. a couple of days ago i was wondering whether there was supposed to be some auto-stored attack/weapon info. 20090322 00:17:16< zookeeper> i'll have to ask him 20090322 00:17:29< Sapient> ok, add what you know please 20090322 00:18:12< Crab_> mordante: no, I let the AI create the function based on the contents of the file with user-supplied filename, which is located in a '/data/ai/formula' directory 20090322 00:18:32< mordante> putting hard coded values hidden in the code is just a bad idea and esr and I have been working on reducing the number of these location 20090322 00:18:50< mordante> so if hardcoded locations are needed I want them at a central place 20090322 00:20:32< zookeeper> Sapient, sure, done 20090322 00:20:45< Sapient> thanks, zookeeper 20090322 00:21:32< mordante> I'm off night 20090322 00:22:02< Crab_> mordante: good night then 20090322 00:22:07-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090322 00:23:39-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090322 00:23:40< zookeeper> Sapient, btw, in case you'd wonder, i suggested splitting stuff from InternalActionsWML to ConditionalWML to voris 20090322 00:23:41< CIA-70> ilor * r34006 /trunk/src/editor2/editor_map.hpp: code correctness: add a missing & 20090322 00:24:09< Sapient> right, sounds reasonable 20090322 00:25:54< CIA-70> ilor * r34007 /trunk/ (5 files in 3 dirs): implement FR bug #13172 (output a WML-style list of selected tiles from the editor). Uses the system clipboard. 20090322 00:27:32< Sapient> ilor, if that commit does what I think it does, then... verl cool ;) 20090322 00:27:47< Sapient> *err, very cool :) 20090322 00:28:09< ilor> Sapient: ;) 20090322 00:28:38< Velory> boucman: i completed attack code too :) 20090322 00:28:46< fendrin> ilor: I forgot to file the bug report about the delayed transition updates. 20090322 00:29:35< Sapient> * In events triggered by unit fighting ('attack' et al), the weapon info 20090322 00:29:35< Sapient> is automatically stored in the 'weapon' and 'second_weapon' WML 20090322 00:30:01< Sapient> zookeeper: this was intorduced in Version 1.5.4 20090322 00:30:12< ilor> Sapient: in fact I'd appreciate test on a *nix, the windows clipboard code was not very reliable and I can't test atm 20090322 00:30:18< Velory> attack->http://pastebin.com/m2c970922 20090322 00:30:24< ilor> fendrin: I'll get to it 20090322 00:30:53< Sapient> ilor: I highly suspect the windows clipboard code won't work unless you fixed it 20090322 00:31:25< Velory> sorry 20090322 00:31:30< ilor> Sapient: it sort of works IF the copied string ends with a \n 20090322 00:31:33< fendrin> ilor: I will test it, I had a usecase in mind, when filling the feature request. I am on linux. 20090322 00:32:13< Velory> that one is right ->http://pastebin.com/m7dab1229 20090322 00:32:25< Sapient> zookeeper: I see absolutely no documentation of $damage_inflicted in the changelog... 20090322 00:33:43< zookeeper> maybe it was forgotten 20090322 00:33:56< ilor> is there anyone else around that hates the hotkey code like I do? :/ 20090322 00:34:04< ilor> s/that/who 20090322 00:34:15 * Sapient raises hand 20090322 00:34:40< Sapient> not sure how much you hate it, but I did find it has a dizzying amount of indirection 20090322 00:35:08< ilor> I don't care about indirection much 20090322 00:35:23< ilor> I care about how everything needs a rebuild 20090322 00:35:42< fendrin> ilor: the hotkey code is hell. To define a new hotkey you need to edit 10 files. 20090322 00:36:13< Sapient> hellkey, lol 20090322 00:36:15< ilor> and how the bloody hotkey descriptions are hardcoded in the .cpp and there's no obvious way to have a menu item that changes labels 20090322 00:37:48< Sirp> hi, my name is Dave, I wrote the hotkey system. :) 20090322 00:38:31< Sapient> kill him--- I mean, uh... hi Dave 20090322 00:38:41< Velory> hahaha :) 20090322 00:39:03< voris> heh 20090322 00:39:26< ilor> hi Dave ;) 20090322 00:40:14-!- PK5 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090322 00:40:29-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090322 00:40:57< Velory> Dave:Sapient just said that he want to kill you :) 20090322 00:41:08 * Sapient hides pitchfork 20090322 00:41:10 * fendrin knows an even more messy part of wesnoth: team.cpp 20090322 00:41:57< Velory> dunno how can i make emotion like ***Velory:Tries to show Sapients pitchfork to dave 20090322 00:42:26< fendrin> Velory: try /me 20090322 00:42:29< Velory> ok 20090322 00:43:46 * Velory whispers sapient:Here's the deal i wont say Dave what u want from dave but we will share lead developer position 20090322 00:44:13< Velory> :p 20090322 00:44:29< Velory> fendrin:thanks it working :) 20090322 00:44:37< Sapient> I guess hotkey code can't be that bad if it has survived this long without being refactored (like many other areas that were worse) 20090322 00:45:34< Sapient> Dave can't accept total blame since it started simple and has evolved through creeping featuritis 20090322 00:47:14< Velory> :) 20090322 00:47:33< PK> is Dave like wesnoths Joe the plumber? 20090322 00:48:31< Sapient> you mean like a guy who causes great embarrassment for John McCain? 20090322 00:49:23< PK> occasionally. 20090322 00:49:59< PK> oh, Sapient: Illumination's affect_self= needs to be looked at. 20090322 00:50:25< PK> if affect_self=no the unit doesn't have the illumination, instead of illumination not affecting him. 20090322 00:50:58< Sapient> hmm 20090322 00:51:11< PK> and affect_allies/enemies do nothing whatsoever 20090322 00:51:29< PK> so my idea for an illumination that doesn't affect the illuminator was null =P 20090322 00:51:30< Sapient> then how would the code know whether or not illumination should be active? 20090322 00:51:38< ilor> Sapient: it might have survived also because it's spread like cancer into who knows where and everyone thought "well, I've just sat through a full rebuild anyway, I don't _need_ to fix it now and take a week for little visible gain" ;) 20090322 00:51:56< PK> if a unit has illumination, shouldn't it always be active unless filtered to be otherwise? 20090322 00:53:12< Sapient> PK: did you try using [filter_self] to prevent the unit from recving benefits? 20090322 00:53:24< PK> no, I thought it'd be simplesque. 20090322 00:53:32< Sapient> e.g. [filter_self][not][/not][/filter_self] 20090322 00:53:43< Sapient> looks fairly simple to try 20090322 00:53:51< PK> I'm just leaving it with affecting everyone. 20090322 00:54:00< PK> but still. 20090322 00:54:25< Sapient> I'll take a look at the code 20090322 00:54:27< PK> affect_self isn't really the "illumination_is_active" value. 20090322 00:54:31< Sapient> it's probably a bug 20090322 00:54:45-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090322 00:54:58< PK> or shouldn't be, atleast. 20090322 01:01:38-!- nital [n=nital@unaffiliated/nital] has quit [Nick collision from services.] 20090322 01:01:54-!- nital_ [n=nital@mion.elka.pw.edu.pl] has joined #wesnoth-dev 20090322 01:02:35-!- nital [n=nital@unaffiliated/nital] has joined #wesnoth-dev 20090322 01:03:55< Sapient> hmm... I am looking at unit::ability_active() and it seems that it never checks cfg.child("filter") for null 20090322 01:04:33-!- Skizzaltix [n=chatzill@66.92.79.71] has quit [Remote closed the connection] 20090322 01:04:54< Sapient> PK: file a formal bug report please... I may not have time to fix it today 20090322 01:09:02-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection] 20090322 01:10:05-!- Shadow_Master [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090322 01:10:23-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090322 01:11:05< PK> huh? 20090322 01:11:22< Sapient> you know, bugs.wesnoth.org? 20090322 01:11:33< PK> Shadow_Master just told me to bug you about it being wierd. 20090322 01:12:02< Sapient> ah, well he should have told you to just file a bug report :p 20090322 01:12:11< PK> but that requires effort. 20090322 01:12:29< Sapient> you already have the file that produces the error, right? 20090322 01:12:35< PK> I changed it. 20090322 01:12:38< PK> it works now. 20090322 01:12:40< PK> so no. 20090322 01:13:06< PK> I konw what causes it, but I don't have evidence other than something they could test on their own. 20090322 01:13:28< Sapient> ok, so you are asking me to file the bug report for you? 20090322 01:13:48< Sapient> typically, the person who observes the bug files the report 20090322 01:13:58< Shadow_Master> AI0867: I recall you once worked in a patch for allowing UMC authors to set the ToD overlay image (for the sidebar) in the [illuminates] tag? 20090322 01:13:59< PK> well I don't really care if it stays the same way. It works it's just that it works in an unexpected way. 20090322 01:14:20< fendrin> ilor: works like expected on ubuntu. 20090322 01:14:36< ilor> fendrin: good to know :) 20090322 01:15:12< Sapient> PK: maybe you should care... but I won't work on it if nobody cares 20090322 01:15:17< Shadow_Master> AI0867: what occurred with it? 20090322 01:15:23< PK> infact, if I file a bug report, it might be made to where my current macro doesn't work. Which would be against the point. 20090322 01:15:44< PK> Shadow_Master told me to bug you about it, not me. >> 20090322 01:16:02-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090322 01:16:17< Sapient> your logic escapes me 20090322 01:16:23< Sapient> cya later, have fun. 20090322 01:16:23-!- Sapient [n=sapien-x@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090322 01:16:27< nital> is it doable right now for WML to get inflicted % and taken % into a variable? 20090322 01:16:53< CIA-70> shadowmaster * r34008 /trunk/ (changelog data/scenario-test.cfg src/image.cpp): (log message trimmed) 20090322 01:16:53< CIA-70> The ~RC() image functor does not accept the special palette switch 20090322 01:16:53< CIA-70> ~RC(palette1=palette2) syntax anymore. ~PAL(palette1>palette2) 20090322 01:16:53< CIA-70> should be used instead. 20090322 01:16:53< CIA-70> No idea what I was drinking when I decided to use ~RC(palette1=palette2) 20090322 01:16:57< CIA-70> instead of introducing a new functor (most likely I was thinking of the 20090322 01:16:59< CIA-70> overhead of the string comparison, but it's been reduced a lot since 20090322 01:18:37< nital> and if it's not, would it have chance to get in if I coded it? 20090322 01:19:08< nital> I would like these to create an add-on attempting to ease the randomness of wesnoth 20090322 01:19:57< Shadow_Master> Sapient: I'll add them, though. I remember that I couldn't find a proper place for it when I was implementing that stuff 20090322 01:20:21< Shadow_Master> s|\.|| 20090322 01:21:29< PK> Sapient left. 20090322 01:21:48-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090322 01:21:55< Shadow_Master> he reads the logs... 20090322 01:23:43-!- alink [n=alink@wesnoth/developer/alink] has quit [Remote closed the connection] 20090322 01:24:29-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"] 20090322 01:26:45-!- Shadow_Master [n=ignacio@wesnoth/developer/shadowmaster] has quit [Client Quit] 20090322 01:26:52-!- Shadow_Master [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090322 01:27:45< CIA-70> ilor * r34009 /trunk/changelog: changelog update for r34007 20090322 01:28:33< CIA-70> ilor * r34010 /trunk/changelog: changelog typo fix 20090322 01:31:17< Shadow_Master> :) 20090322 01:32:39< CIA-70> ilor * r34011 /trunk/ (3 files in 2 dirs): clarify auto terrain transition mode by adding a third option (that was present in 1.4's editor). Now the updates can be either fully automatic if a bit slow (on), happen only on mouse-up events (partial) or be manual. 20090322 01:32:41< ilor> fendrin: ^ 20090322 01:34:12< Shadow_Master> {VARIABLE_OP a to_variable weapon} 20090322 01:34:27< Shadow_Master> ahhh... ah. 20090322 01:34:56-!- Skizzaltix [n=chatzill@66.92.79.71] has joined #wesnoth-dev 20090322 01:35:15< Shadow_Master> Imust use [set_variables] instead. right 20090322 01:39:23< Shadow_Master> Sapient: done. 20090322 01:39:43< fendrin> ilor: what does partian mean? 20090322 01:39:53< fendrin> s/partian/partial 20090322 01:40:09< ilor> fendrin: partial is 1.5's "on" and 1.4's "off" 20090322 01:40:14< ilor> damn 20090322 01:40:24< ilor> 1.5's off and 1.4's on 20090322 01:40:31< ilor> on is 1.5's on 20090322 01:40:42< ilor> off is 1.4's off (what you wanted) 20090322 01:43:04< Shadow_Master> Ivanovic: are you there? 20090322 01:43:36 * Shadow_Master didn't understand a thing about 34011 but it sounds like a plan 20090322 01:44:15-!- Munk [n=munkhsoy@CPE0015e91a861d-CM0019474d8044.cpe.net.cable.rogers.com] has left #wesnoth-dev [] 20090322 01:46:06< Shadow_Master> Sirp: are you there instead? 20090322 01:50:04< Shadow_Master> wesbot: seen Torangan 20090322 01:50:04< wesbot> Shadow_Master: The person with the nick Torangan last spoke 57d 1h ago. 57d 1h ago was here and on the channel #wesnoth-de with the message: Remote closed the connection 20090322 01:50:38< ilor> Shadow_Master: I see you are rightly impresse *evil laughter* 20090322 01:50:46< ilor> *impressed 20090322 01:51:28< Sirp> Shadow_Master: what's up? 20090322 01:55:22< Velory> good nite guys 20090322 01:55:26-!- Velory [n=GProcess@85.99.2.112] has left #wesnoth-dev [] 20090322 01:56:52-!- [Relic] [n=[Relic]@adsl-76-229-202-137.dsl.milwwi.sbcglobal.net] has joined #wesnoth-dev 20090322 01:57:49< [Relic]> Hello :) 20090322 01:58:18-!- loonycyborg is now known as [loonycyborg] 20090322 01:58:21-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20090322 01:58:26< [loonycyborg]> Hello :) 20090322 01:58:29-!- [loonycyborg] is now known as loonycyborg 20090322 01:58:30< Shadow_Master> no 20090322 01:58:33< [Relic]> :) 20090322 02:00:26-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has joined #wesnoth-dev 20090322 02:01:56< ilor> gnight 20090322 02:02:01< fendrin> ilor: bye 20090322 02:02:22-!- ilor [n=user@wesnoth/developer/ilor] has quit [] 20090322 02:04:38-!- shikadibot [n=shikadi@wesnoth/bot/shikadibot] has joined #wesnoth-dev 20090322 02:09:15-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20090322 02:10:00-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090322 02:10:25-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090322 02:11:26-!- Shadow_Master_ [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090322 02:11:37-!- res|laptop [n=res@pdpc/supporter/student/res2k] has quit [Nick collision from services.] 20090322 02:11:40-!- res2k3 [n=res@erft-4d07d10d.pool.mediaWays.net] has joined #wesnoth-dev 20090322 02:11:58-!- res2k3 is now known as res|laptop 20090322 02:12:21-!- Shadow_Master is now known as Guest12335 20090322 02:15:22-!- elynia [n=shikadi@wesnoth/bot/shikadibot] has joined #wesnoth-dev 20090322 02:16:30-!- shikadibot [n=shikadi@wesnoth/bot/shikadibot] has quit [Nick collision from services.] 20090322 02:16:35-!- elynia is now known as shikadibot 20090322 02:19:17< Zen_Clark> Looks like there is a syntax error in the trunk for the editor2 (editor::controller::refresh_after_action). 20090322 02:19:43-!- Shadow_Master_ is now known as shadowmaster 20090322 02:19:54< CIA-70> shadowmaster * r34012 /website/start/1.6/po/es.po: Spanish translation update (this time the last one). 20090322 02:20:20< shadowmaster> Zen_Clark: how to reproduce? 20090322 02:20:32< shadowmaster> eh. compiling. of course. duh. 20090322 02:21:47< Zen_Clark> It might just be me, I'm not that experienced. I did manage to fix it though, just needed a set of perens' added to a multi part clause for a if statement. 20090322 02:22:51< shadowmaster> src/editor2/editor_controller.cpp:704: warning: suggest parentheses around && within || 20090322 02:22:58< shadowmaster> Zen_Clark: thanks for reporting 20090322 02:23:04< Zen_Clark> Welcome. 20090322 02:23:54< Zen_Clark> It was a warning for you? I got an error and it failed to compile... 20090322 02:24:04< shadowmaster> I don't have the strict build mode set 20090322 02:24:16< shadowmaster> (otherwise I'd not be able to build wesnoth at "mornig" ;) 20090322 02:24:47< Zen_Clark> Ah, o.k. I'm just running a stock gcc, default settings that gnu and or Ubuntu gives me. 20090322 02:27:27-!- Guest12335 [n=ignacio@wesnoth/developer/shadowmaster] has quit [Read error: 110 (Connection timed out)] 20090322 02:30:05-!- Skizzaltix [n=chatzill@66.92.79.71] has quit [Remote closed the connection] 20090322 02:35:34-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090322 02:39:44< CIA-70> shadowmaster * r34013 /trunk/src/editor2/editor_controller.cpp: 20090322 02:39:44< CIA-70> Fix a G++ 4.3 warning reported by Zen_Clark on IRC: 20090322 02:39:44< CIA-70> src/editor2/editor_controller.cpp:704: warning: suggest parentheses around && within || 20090322 02:39:44< CIA-70> Ilor, please check that I didn't screw up the logic of this code 20090322 02:39:44< CIA-70> (apparently not). 20090322 02:40:05< shadowmaster> PK: sapient reads the channel logs, hence I don't mind if he isn't around at the moment :) 20090322 02:41:07-!- shadowmaster [n=ignacio@wesnoth/developer/shadowmaster] has quit ["n8"] 20090322 02:41:45-!- noy_ [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090322 02:42:43-!- noy [n=Noy@wesnoth/developer/noy] has quit [Read error: 104 (Connection reset by peer)] 20090322 02:44:50-!- West_ [n=West@hd5e2754c.gavlegardarna.gavle.to] has joined #wesnoth-dev 20090322 02:47:59-!- nital_ [n=nital@mion.elka.pw.edu.pl] has quit ["leaving"] 20090322 03:00:24-!- shikadibot [n=shikadi@wesnoth/bot/shikadibot] has quit [Read error: 110 (Connection timed out)] 20090322 03:06:32-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has left #wesnoth-dev [] 20090322 03:13:10< AI0867> shadow_master: I'm not sure... if I had any code it got lost in my HD crash 20090322 03:18:05-!- lgraham [n=lgraham@75.158.155.172] has joined #wesnoth-dev 20090322 03:18:29-!- lgraham [n=lgraham@75.158.155.172] has left #wesnoth-dev ["Leaving"] 20090322 03:24:21-!- lgraham [n=lgraham@75.158.155.172] has joined #wesnoth-dev 20090322 03:35:30-!- lgraham [n=lgraham@75.158.155.172] has left #wesnoth-dev ["Leaving"] 20090322 03:41:11-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090322 03:48:29-!- andrai [n=andrelui@189.71.77.239] has joined #wesnoth-dev 20090322 03:49:14-!- andreluiz [n=andrelui@unaffiliated/andreluiz] has quit [Read error: 104 (Connection reset by peer)] 20090322 04:10:25-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit [Remote closed the connection] 20090322 04:14:46-!- crimson_penguin [n=ben@S0106000d88bbc764.vc.shawcable.net] has joined #wesnoth-dev 20090322 04:15:02-!- Ivanovic_ [n=ivanovic@dtmd-4db26b24.pool.einsundeins.de] has joined #wesnoth-dev 20090322 04:25:13< dfranke> quick question for a C++ language lawyer: if a std::string is declared uninitialized, is its value empty or undefined? 20090322 04:27:12< crimson_penguin> undefined, but C++ makes sure you can't use it before it is initialized 20090322 04:27:43< Sirp> okay a bunch of terminology we have going on here. 20090322 04:27:59< Sirp> if you go std::string a; inside a function, then 'a' will be empty by definition. 20090322 04:28:29< Sirp> it is declared, and initialized with std::string's default constructor, which initializes it to empty 20090322 04:28:40< dfranke> ok 20090322 04:28:48< Sirp> using an 'uninitialized string' would mean you were doing something evil. 20090322 04:29:50< Sirp> e.g. struct A { std::string a, b; A() : a(b), b("hello") {} }; 20090322 04:30:29< Sirp> that will have a use b before b is initialized, and behavior will be undefined (likely to crash) 20090322 04:30:55< Sirp> but I'm guessing that's not the kind of thing you were talking about. 20090322 04:31:18< dfranke> right, I meant the former. 20090322 04:31:42< Sirp> okay 20090322 04:32:01-!- Ivanovic [n=ivanovic@dtmd-4db260a5.pool.einsundeins.de] has quit [Read error: 110 (Connection timed out)] 20090322 04:32:08< Sirp> yeah all STL containers including std::string are designed so they will always be initialized sensibly 20090322 04:33:00-!- Ivanovic_ is now known as Ivanovic 20090322 04:33:38< dfranke> alright, I guess that +1 in STL's favor. 20090322 04:33:50< dfranke> Still vastly in the negatives due to iterator invalidation. 20090322 04:34:30< Sirp> well all container libraries have something equivalent to iterator invalidation. 20090322 04:34:58< dfranke> not in Haskell they don't :-) 20090322 04:35:47< Sirp> and I'm sure that both of the widely used projects that actually use Haskell greatly appreciate that. :p 20090322 04:36:20< dfranke> darcs and what? Are you counting GHC? 20090322 04:36:29< dfranke> oh, xmonad? 20090322 04:36:41< Sirp> no, I was mostly just being obnoxiously prickly. :) 20090322 04:37:44< dfranke> xmonad rocks, though. 20090322 04:37:58< dfranke> I've been using it since 0.1. 20090322 04:39:10< Sirp> dfranke: yeah the guy who sat next to me at Google was actually a huge fan of it. 20090322 04:39:57< Sirp> every time I went over to his desk so we could collaborate on some code I got a ten minute explanation on how much xmonad was making things for us. 20090322 04:40:13< Sirp> s/things/things easier/ 20090322 04:43:00< Sirp> he was an emacs user though, so I knew I couldn't trust him. 20090322 04:43:32< dfranke> Have you CTCP VERSIONed me recently? 20090322 04:44:02< Sirp> no.....you're using emacs as an IRC client? :) 20090322 04:44:06< dfranke> yup :-) 20090322 04:44:26< dfranke> though actually I'm behind a bouncer so you might get that back instead. 20090322 04:46:30< Sirp> ahhh well, to be fair, these days vi and emacs users really should unite since even the set of (emacs + vi) users is becoming a very small minority in a sea of unwashed masses using "unenlightened" editors. 20090322 04:46:59< dfranke> yeah, can't we all just get along and use emacs? 20090322 04:47:22< dfranke> I kid, though. I actually use both. 20090322 04:47:33< dfranke> emacs for serious work, vi for quick config file edits. 20090322 04:51:13< Sirp> I really have no idea how to use emacs, and I wouldn't exactly call myself a vi "expert" 20090322 04:51:14-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit [Read error: 104 (Connection reset by peer)] 20090322 04:54:34< Zen_Clark> How is it possible for a person to use both emacs _and_ vi? I figured that once a person learned to use emacs that they would be unable to use any other text-editor/irc client/news reader/mail reader/shell. 20090322 04:59:08< Zen_Clark> http://g.imagehost.org/view/0958/screen_shot.png 20090322 05:00:05< dfranke> aaah, GNOME. Getitoffme getitoffme getitoffme! 20090322 05:00:19< Zen_Clark> Better then KDE4 20090322 05:00:19 * dfranke is just trying to see how many holy wars he can start at the same time 20090322 05:00:43< Zen_Clark> KDE4 sucks so bad, I'd _almost_ rather use Microshaft. 20090322 05:00:55< dfranke> Agreed. 20090322 05:01:13< dfranke> I saw it for the first time the other day when my boss asked me to install it. 20090322 05:01:23< dfranke> and I don't know WTF they were thinking. 20090322 05:01:45< dfranke> I wouldn't rather use windows, but I'd rather use a text terminal. 20090322 05:01:55< Zen_Clark> Well, it is from the same guys trying to port all of their software to windows. 20090322 05:03:41< dfranke> I mean, really... why would anybody deliberately mimick Vista's UI? 20090322 05:08:00< CIA-70> dfranke * r34014 /branches/1.6/src/filesystem.cpp: Fix 'Trying to open file with empty name' stdout spam in MP lobby 20090322 05:10:20< CIA-70> dfranke * r34015 /trunk/src/filesystem.cpp: Fix 'Trying to open file with empty name' stdout spam in MP lobby 20090322 05:11:59< Zen_Clark> Retared developers... People who only care about gaining a marketshare and looking 'pretty', without any thought being given to any other factors? 20090322 05:13:21-!- Rohita [n=Rohita@202.69.192.80] has joined #wesnoth-dev 20090322 05:13:42< Zen_Clark> They broke the fairly common unix tradition of releasing when ready, and ended up releasing a buggy piece of crap as version 1.0, 20090322 05:14:29< Zen_Clark> The KDE devs just are not very bright, and screwed up pretty bad multiple times with version 4 it seems. 20090322 05:14:41< Sirp> ahhh but seriously it's really hard to say what a decent level of readiness is for a version 1.0. You could never be ready for 1.0. Many people would argue that Wesnoth 1.0 shouldn't have been a 1.0 20090322 05:14:56< Sirp> not that I use KDE, so I have no idea about that. 20090322 05:19:33< Zen_Clark> It was extremely buggy (It screwed up within the first couple minutes of me using it and I had to reboot because I wasn't even able to logout), and for being something with as large a user/developer base as it does, they should have put a lot more work into the first release. 20090322 05:20:51< Zen_Clark> It wasn't even usable to any degree. 20090322 05:21:05< dfranke> I think I started using KDE with 1.2. 20090322 05:21:20< dfranke> and I think almost every release has been downhill since then. 20090322 05:21:34< dfranke> almost because 3.x was better than 2.x. 20090322 05:21:44< Zen_Clark> Ah, I meant 4.0 when I said 1.0... I first used 3.5... 20090322 05:22:10< Zen_Clark> I fairly liked 3.5 20090322 05:23:45-!- noy_ [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090322 05:37:45-!- elad01 [n=none@82.80.133.48] has quit [] 20090322 05:41:33-!- Rohita [n=Rohita@202.69.192.80] has quit ["Leaving"] 20090322 05:48:15-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has quit [Read error: 104 (Connection reset by peer)] 20090322 05:48:40-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has joined #wesnoth-dev 20090322 05:48:48< Zen_Clark> join #wesnoth 20090322 05:49:10< Zen_Clark> Dang missing slashes... 20090322 05:49:44< Sirp> wasn't as bad as when I joined #python and then did that with join #C++ 20090322 05:49:47< Sirp> boy did I get flamed. 20090322 05:49:56< Zen_Clark> Ouch... 20090322 05:50:03 * Sirp thinks that's the worst thing about Python....the people who actually use it. 20090322 05:50:08< Sirp> ugh they can be obnoxious. 20090322 05:51:40< Zen_Clark> Yeah, one of the guys that I talked to once at a ham radio club meeting actually said that Lisp wasn't ready for standard use. 20090322 05:52:16< Zen_Clark> That guy though seemed like a pretty bad aspy though. 20090322 05:55:58< Zen_Clark> He seemed to think that python was the-best-language-ever-period-no-questions-your-crazy-if-you-think-differently-even-to-a-slight-degree. 20090322 05:56:34< Sirp> yeah that is pretty common. 20090322 05:56:59< Zen_Clark> Well, I'm going to sleep. Good night people. 20090322 05:57:00< Sirp> the only allowed exception seems to be that if you have some areas of your code where Python is absolutely proven to not be quite fast enough you can link in some C 20090322 05:58:01-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has quit ["Lisp>All-other-langauges"] 20090322 06:01:22-!- [Relic] [n=[Relic]@adsl-76-229-202-137.dsl.milwwi.sbcglobal.net] has quit ["Leaving"] 20090322 06:17:58-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090322 06:18:05-!- West_ [n=West@hd5e2754c.gavlegardarna.gavle.to] has quit ["b'bye"] 20090322 07:24:10-!- turin [n=turin@168.215.249.253] has quit ["Leaving"] 20090322 07:56:03-!- silene [n=plouf@ASte-Genev-Bois-152-1-92-134.w86-218.abo.wanadoo.fr] has joined #wesnoth-dev 20090322 08:40:04< CIA-70> jorda * r34016 /website/start/1.6/ (index.es.html index.nl.html): Regenerate Dutch and Spanish translations 20090322 08:41:38< CIA-70> silene * r34017 /trunk/src/ (config_cache.cpp config_cache.hpp): Improved code readability. 20090322 09:06:55-!- lmo [n=ruben@249.216-201-80.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20090322 09:13:45-!- Baufo [n=thomas@wesnoth/developer/baufo] has joined #wesnoth-dev 20090322 09:21:28-!- Sirp [n=me@wesnoth/developer/dave] has quit ["leaving"] 20090322 09:33:16-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20090322 09:33:43< mordante> hi 20090322 09:36:04 * mordante doesn't dare to look at the hotkey code and dreams it's pretty 20090322 09:36:16< lmo> hi everyone 20090322 09:36:40< lmo> I will apply to gsoc for this project 20090322 09:37:40< mordante> hi lmo 20090322 09:38:06< mordante> nice to hear did you read http://www.wesnoth.org/wiki/SummerOfCodeIdeas 20090322 09:38:12< lmo> yeah 20090322 09:38:22< lmo> I posted my (not yet finished) wiki page on the bottom 20090322 09:38:28< mordante> good :-) 20090322 09:38:32< mordante> even better :-) 20090322 09:38:34< lmo> ;-) 20090322 09:39:05< mordante> the question is which one :-/ 20090322 09:39:15< lmo> the page asked me to tell an admin on the IRC channel to mark is as a GSoC Student account 20090322 09:39:16< lmo> oh rubend 20090322 09:39:54< mordante> your forum name is rubend or lmo? 20090322 09:39:59< lmo> (my irc name really has nothing to do with the rest it is just something that came out of mashing the keyboard of frustation) 20090322 09:40:00< lmo> rubend 20090322 09:40:46< dfranke> lmo: am I reading this correctly as a triple major, or is CS/EE a single major at your uni? 20090322 09:41:01< mordante> /nick rubend without the leading space helps ;-) 20090322 09:41:08< lmo> yeah but it already exists :s 20090322 09:41:09< lmo> ;-) 20090322 09:41:35< lmo> uh no at my university it is engineering major in cs and minor in EE it's a completely different system from the us 20090322 09:41:56< lmo> 1.5 years are general with the same courses as every other engineer (chemical, mechanical ,...) 20090322 09:42:12< dfranke> ok but you mentioned *civil* engineering. 20090322 09:42:13< lmo> than you choose what specialization you want to do (major and minor) 20090322 09:42:20< mordante> I marked your forum account 20090322 09:42:25< lmo> yeah we call it civil engineering but basically it's engineering 20090322 09:42:29 * mordante goes to read the wiki page 20090322 09:42:33< dfranke> yeah ok. 20090322 09:42:45< dfranke> here civil engineering means designing buildings/infrastructure. 20090322 09:42:53< lmo> (civil engineering in the us means building buildings right?) 20090322 09:42:57< lmo> yeah ;-) 20090322 09:43:52< lmo> I was expecting this misunderstanding 20090322 09:45:51< dfranke> so regarding C++, you say you're primarily a Java programmer. Do you have experience with any other close-to-the-system language, like C, Forth, or an assembly language? 20090322 09:46:14< dfranke> or putting this a less roundabout way: can you deal with pointers? 20090322 09:46:21< lmo> some c, I'm reading "the white bible" 20090322 09:46:29< dfranke> meaning K&R? 20090322 09:46:40< lmo> yeah 20090322 09:47:52< lmo> I do not have much experience with pointers but I intend to get more familiar with it offcourse before the project starts 20090322 09:48:19< lmo> (it's better to tell the truth than be bummed afterwards ;-)) 20090322 09:49:34< lmo> It's really bad luck the object -oriented programming course i have this semester should have been c++ but because the professor didn't have enought time they kept it java 20090322 09:49:41< dfranke> How long have you been playing Wesnoth? 20090322 09:50:02< dfranke> and oh god no. C++ is a *horrendous* language for teaching OO. 20090322 09:50:11< dfranke> Java is ok but not great. 20090322 09:50:24< lmo> not for extended periods of time but just a couple of 4 hours straight sessions after the exams 20090322 09:50:43< dfranke> have you played MP yet? 20090322 09:50:45< lmo> yeah the prof keeps complaining about how bad java is while we are studying it :p 20090322 09:51:12< mordante> lmo, regarding the exams are you able to start working on gsoc before that 20090322 09:51:20< lmo> I have browsed the multiplayer lobby but not yet participated in a match. 20090322 09:51:26< mordante> we had two Polish students last year with the same problem 20090322 09:52:54< lmo> Definiteley, before June I would be able to do some work but I still have courses and a programming project to do at home so I won't have much time 20090322 09:53:10< lmo> At least not as much as in july anyway 20090322 09:53:42< lmo> But I will make time if needed 20090322 09:55:42< mordante> good 20090322 09:58:10-!- sylecn [n=sylecn@resnet2-50-218.dorm.utexas.edu] has joined #wesnoth-dev 20090322 09:58:57< mordante> since you want to work on the UI it would be nice if you can look at one of the UI easy coding tasks 20090322 09:58:58< mordante> http://www.wesnoth.org/wiki/EasyCoding#GUI2_related_features 20090322 09:59:20< mordante> more info about the new GUI can be found here http://wesnoth.org/wiki/GUIToolkit 20090322 10:00:45< lmo> great, I would love to try one of them. But am I supposed to do one before the application? That's really short notice ;-) 20090322 10:02:22< Baufo> mordante, it would be nice to rewrite the lobby with the new widgets, right? 20090322 10:03:35-!- loonybot [n=loonybot@79.139.247.203] has joined #wesnoth-dev 20090322 10:03:49< mordante> Baufo, not nice mandatory makes no sense to improve it with old widget and me having to rewrite it afterwards 20090322 10:04:07-!- loonycyborg [n=sergey@79.139.247.203] has joined #wesnoth-dev 20090322 10:04:52< mordante> lmo, the application deadline is the 3th of April after that we're going to make the final decisions 20090322 10:05:13< lmo> oh ok 20090322 10:05:25< lmo> was aware of that but application starts tomorrow right? 20090322 10:05:26< mordante> having some good patches in will increase your changes 20090322 10:05:29< lmo> k 20090322 10:05:46< mordante> yes and you can already apply then and update your application until the 3th 20090322 10:05:53< lmo> k thx 20090322 10:06:15< nital> hello all 20090322 10:06:34< lmo> hi 20090322 10:07:02< mordante> hi nital 20090322 10:07:10< nital> whom should I bug as a mentor for this idea ? http://www.wesnoth.org/wiki/SoC_Ideas_Addon_Server ;) 20090322 10:07:39< mordante> we haven't decided yet, but it might be me 20090322 10:08:31< mordante> the final decision on the mentors will also depend on which students are accepted to avoid 1 mentor with 4 students 20090322 10:14:35< CIA-70> jorda * r34018 /trunk/ (10 files in 9 dirs): Update Catalan translation 20090322 10:16:07-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090322 10:16:56-!- Velory [n=GProcess@81.213.69.33] has joined #wesnoth-dev 20090322 10:17:14< Velory> hi 20090322 10:18:07< lmo> hi 20090322 10:19:52< mordante> hi Velory 20090322 10:19:55< boucman> morning everybody 20090322 10:23:36< mordante> hi boucman 20090322 10:26:19< Velory> hi boucman 20090322 10:26:26< Velory> ah btw boucman i completed attack code 20090322 10:26:31< Velory> yesterday 20090322 10:26:39< Velory> but u are not there :) 20090322 10:26:57< Velory> want to look at? 20090322 10:27:54< boucman> yes please 20090322 10:31:01< Velory> http://pastebin.com/m7dab1229 20090322 10:32:14< Ivanovic> moin 20090322 10:32:27< mordante> hi Ivanovic 20090322 10:35:52< voris> Morning. 20090322 10:37:25< mordante> hi voris 20090322 10:38:19< mordante> nital, btw did you have any question regarding the addon server idea 20090322 10:39:21< boucman> Velory: looks good, did you test it in game ? 20090322 10:39:33-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20090322 10:39:39< Velory> no 20090322 10:39:52< boucman> well, you should do that :) 20090322 10:40:00-!- Noyga [n=lame-z@wesnoth/developer/noyga] has left #wesnoth-dev ["Quitte"] 20090322 10:40:08< Velory> should i write in scenario-test? 20090322 10:40:25< Velory> or i dont know :) 20090322 10:41:03< Velory> with blocks i mean 20090322 10:42:33-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090322 10:46:05< nital> mordante, yeah I had, but I rethought them and decided I would write the application first maybe ;) 20090322 10:46:14< mordante> ok 20090322 10:46:38< Ivanovic> silene: it makes no difference that the changelog and manual links point to tags/1.6 since those are identical with what is available in tags/1.6a 20090322 10:46:52< Ivanovic> since i have *not* updated the changelog with the fixes in the hotfix release 20090322 10:47:30< Ivanovic> shadow_master: you should by now know that if my client is away, i really am not around ;) 20090322 10:47:35< silene> Ivanovic: yes, that's what i thought, u=i just wanted to make sure it was not an oversight, thanks 20090322 10:47:41< Ivanovic> even pinging me 500 times does not change this 20090322 10:48:09< Ivanovic> it was done un purpose since it would have invalidated a string without any need to do so 20090322 10:48:11< lmo> mordante: I gotta go thanks for all the info 20090322 10:48:14< lmo> cya later 20090322 10:48:22< mordante> bye lmo 20090322 10:48:26-!- lmo [n=ruben@249.216-201-80.adsl-dyn.isp.belgacom.be] has left #wesnoth-dev [] 20090322 10:49:09< boucman> Velory: you add a "register_candidate_moves" with the others in the FAI test scenario, then run the FAI test scenario 20090322 10:49:37< boucman> (I would add a call to debug_float somewhere to see when your actions are called) 20090322 10:49:47< silene> Ivanovic: by the way, do you have some scripts that avoid invalidating strings when a typo is fixed in the source? 20090322 10:50:30< Velory> boucman:Ok thank 20090322 10:50:31< Velory> s 20090322 10:50:52< Ivanovic> silene: esr wrote a script named pofix.py 20090322 10:51:23< Ivanovic> i don't know exactly how to use it, that is: you somehow have to add the string and the "modification date" or something like this 20090322 10:53:43< silene> Ivanovic: crap, it's like the modified strings are hardcoded in the file; i guess that, in the end, nothing beats sed ;-) 20090322 10:53:51< CIA-70> ivanovic * r34020 /website/start/1.6/ (index.cs.html po/cs.po): fixed urls in Czech announcement translation 20090322 10:53:58-!- vargavind [n=kess@90.231.233.50] has joined #wesnoth-dev 20090322 10:54:07< CIA-70> ivanovic * r34019 /website/start/1.6/ (21 files in 2 dirs): 20090322 10:54:07< CIA-70> updated German, Slovak and Swedish announcement translation 20090322 10:54:07< CIA-70> fixed broken file for the Dutch version... 20090322 10:54:41< mordante> Ivanovic, did I break it^? 20090322 10:55:06< Ivanovic> mordante: no idea, i just got an error when compiling the file due to a " in the middle of an url 20090322 10:55:23< Ivanovic> ettin: you commited an update for the catalan translation to trunk but not to 1.6, too 20090322 10:55:30< Ivanovic> does this have any specific reason? 20090322 10:55:50-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090322 10:56:26< mordante> are the files on the homepage also updated, I'd like to go over German and Dutch once more 20090322 10:57:02< Ivanovic> mordante: they are updated in 5min 20090322 10:57:10< Ivanovic> when the cronjob is active the next time 20090322 10:57:25-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090322 10:57:27< Ivanovic> (every 30mins the files are fetched from the rep, together with the update of g.w.o) 20090322 10:57:39< mordante> ok, then I'll review a patch first 20090322 11:00:58< Rhonda> mordante: Well, it might be easier packaging wise with a different datadir, to be honest. And I have no idea how the addon manager reacts when its connected with tinygui and downloads images ... 20090322 11:01:37< boucman> Crab: for when you get back 20090322 11:02:03< boucman> 1) if a parameter is given to the run_file function 20090322 11:02:11< boucman> then the parameter should be able to point to any file in the wesnoth directory structure, this is particularly important to be able to load campaign specific FAI files 20090322 11:02:20< boucman> 2) if no parameter is given 20090322 11:02:28-!- Baufo [n=thomas@wesnoth/developer/baufo] has quit [Remote closed the connection] 20090322 11:05:18< boucman> then we should either refuse (once you have a command history/recall last command feature it should be fine) 20090322 11:05:46< boucman> or default to a "real test location" i.e next to the thest scenarions (directly in data/) 20090322 11:06:11< boucman> but I think not having a default parameter would be more logical 20090322 11:11:17-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090322 11:13:39< boucman> voris: around ? 20090322 11:13:54< voris> yes 20090322 11:13:56< Velory> boucman: i added this-> http://pastebin.com/d17b08cbc to scenario-formula.cfg but im taking Unterminated preprocessor definition at at /usr/local/share/wesnoth/data/scenario-formula.cfg:258 included from /usr/local/share/wesnoth/data/_main.cfg:19 20090322 11:14:23< boucman> voris: are you a GSoC student (I'm asking because you don't have a page) 20090322 11:14:34< Velory> in 258.th line thats #endif 20090322 11:14:38< voris> I am not. 20090322 11:14:52< voris> And a page where? 20090322 11:15:01< voris> I'll happily flesh one out somewhere. :) 20090322 11:15:12< boucman> voris: ok, fine then 20090322 11:15:36< boucman> I was wondering if you were a student that we didn't brief correctly on how to apply or just someone hanging around 20090322 11:15:55< boucman> oh, and thanks a lot for the (long overdue) wiki rewrite, it's great 20090322 11:16:11< voris> Ah. No I've just been hanging around for awhile. 20090322 11:16:15< voris> And my pleasure. 20090322 11:17:36< boucman> Velory: I don't see anything obvious, check if the two files you point to are correct 20090322 11:21:07-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev 20090322 11:21:14< Crab_> hi all 20090322 11:21:22< Velory> hi Crab_ 20090322 11:21:22< boucman> morning Crab_ 20090322 11:21:23< Ivanovic> hi Crab_ 20090322 11:21:32< Ivanovic> Crab_: boucman left you a message in the irclog 20090322 11:21:42< Ivanovic> please search the logs (cf topic) for your nick 20090322 11:22:11< Crab_> Ivanovic: reading irclogs.wesnoth.org at the moment 20090322 11:22:44-!- vargavind [n=kess@90.231.233.50] has left #wesnoth-dev ["Lämnar"] 20090322 11:27:48< nital> is the removal of {{DevFeature}} tags in the wiki going to be automatized somehow? 20090322 11:27:51< Velory> boucman: i checked but i didnt saw any mistake here is my whole error http://pastebin.com/d22a761bb 20090322 11:28:36-!- grouzen [n=grouzen@brt.net.ua] has quit [Read error: 104 (Connection reset by peer)] 20090322 11:28:41-!- grouzen [n=grouzen@brt.net.ua] has joined #wesnoth-dev 20090322 11:28:47< mordante> Crab_, just finished the review of your patch 20090322 11:30:08< Crab_> mordante, I've just rewritten its semantics according to boucman's instuctions, to avoid hardcoding a directory name. I'm testing now. 20090322 11:30:22< mordante> Rhonda, also not sure how the addon server reacts, but if it fails its a bug. If packaging with a different data dir is easier then do that 20090322 11:30:24< Crab_> mordante, is there anything else I should change in it ? 20090322 11:31:01< mordante> Crab_, https://gna.org/patch/index.php?1137#comment2 20090322 11:33:01< Crab_> yes, i see.. 20090322 11:33:07< boucman> Crab_: these were not "instructions" as much as "sugestion" :) 20090322 11:33:49< Crab_> boucman, they are rather easy to implement. and my goal is to make this patch better. 20090322 11:33:56< silene> Crab_: is there anything wrong with directly using read_file instead of stream_file+read_stream? 20090322 11:36:17< Ivanovic> nital: sadly there is no easy way to automatize it 20090322 11:36:41< silene> Crab_: also please const-refify the argument to create_optional_formula, creating a copy of the string seems useless (and even if it is not useless, it is an implementation-detail that shouldn't appear in the signature) 20090322 11:36:42< Crab_> silene: Well, I try to read to files. 'ai/formula/info' and 'ai/formula/info.fai' And 'ai/formula/info.fai' file should be read only if 'ai/formula/info' is not present. read_file returns std::string. so, how do I find out if it's an 'empty file' and 'file not found' ? 20090322 11:36:44< Ivanovic> nital: since IIRC there are some places where also "old code" has to be removed 20090322 11:37:13< Crab_> s/to/two 20090322 11:37:24< silene> Crab_: because you have called get_wml_location 20090322 11:37:36< silene> so you have already done the job 20090322 11:37:54< Crab_> silene. ah, yes, you are right ) 20090322 11:38:21-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090322 11:40:26< zookeeper> well, i guess i'll start removing {{DevFeature}}s manually then 20090322 11:41:14< nital> zookeeper: I can remove them when it's simple and straight 20090322 11:41:37< nital> if I have some doubts, I will point these doubtful pages to you, ok? 20090322 11:42:13< zookeeper> nital, sure. but i think i'll do some of them myself too...maybe you can start from the end of this list, i'll work my way down from the top? http://www.wesnoth.org/wiki/Special:Whatlinkshere/DevFeature 20090322 11:43:30< nital> All right, although I already removed some, starting from the top of ReferenceWML list 20090322 11:43:46< zookeeper> no problem 20090322 11:44:02< nital> http://wesnoth.org/wiki/AnimationWML <-- especially check this one please, since it will probably involve renaming some other articles 20090322 11:44:38< Velory> ok i solved 20090322 11:44:40< Velory> porblem 20090322 11:45:19< boucman> nital: that page is mainly my stuff, if you could do it right now, I might have time to review it before I leave 20090322 11:45:43< zookeeper> btw, as part of DevFeature removal i also removed python_script= from AiWML, i guess that's ok 20090322 11:46:13-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090322 11:47:03< boucman> sounds OK, has the code half been cleaned up ? 20090322 11:49:18< nital> boucman: sure 20090322 11:51:06< Velory> boucman:hmm not working 20090322 11:51:47< Velory> units that have poison not attacking with their poison weapon 20090322 11:52:19< boucman> ok, well, debug it is, then :) 20090322 11:52:30< Velory> debug_print ? 20090322 11:52:41< boucman> yes, and debug_float 20090322 11:52:48< Velory> i dont know how to use debug_float 20090322 11:52:54< boucman> debug_float is pretty handy to find out when your code is actually called 20090322 11:53:07< Velory> i added debug_print to poisoner_attack.fai but not showing 20090322 11:53:22< voris> I've also been removing them from the pages I'm working on. Currently I'm still cleaning up InternalActionsWML so let me do that one. :) 20090322 11:53:40< boucman> add it to the evaluation part to check that it is called 20090322 11:54:09< boucman> voris: do as you please, if you don't do it before I leave, I'll simply review it later 20090322 11:54:23< Velory> sorry i added eval 20090322 11:54:29< Velory> not attack 20090322 11:54:31< voris> ok 20090322 11:56:30< Velory> boucman: btw i added candidate move here that is right location right? http://pastebin.com/d7a7fa1c8 20090322 11:57:02< boucman> Velory: yes 20090322 11:57:08< Velory> Ok 20090322 11:57:26< Crab_> boucman, i've got another idea for making formulaAI easier to debug. Basically, is is a new fai function debug_arrow(from,to) which will be 'fire-and-forget' exactly as debug_float. I think It will be cool for the AI to show its plans using it. what do you think ? 20090322 11:58:03< boucman> Crab_: I think I don't understand what you mean :P 20090322 11:58:05< Crab_> it will just show a fat (red) line from 'from' to 'to' 20090322 11:58:18< Velory> so wesnoth isnt calling my .fai s 20090322 11:58:19< Velory> :D 20090322 11:58:29< boucman> Crab_: that's going to be tricky to do right, but would be quite usefull 20090322 11:58:41< Crab_> boucman: can you guide me about what must be done ? 20090322 11:59:23< boucman> not really, I'm about to leave 20090322 12:00:04< boucman> however, the whole "fire and forget" mechanism is in halo.hpp 20090322 12:00:09< boucman> that should be a good start 20090322 12:00:26< Crab_> thanks. 20090322 12:00:39< boucman> if you don't use haloes, you'll have to do some complicted surgery in the drawing code, try to avoid it if possible 20090322 12:01:00< Velory> boucman:any suggestion to me ? wesnoth isnt calling my formulas :( 20090322 12:01:58< boucman> Velory: the code in the [ai] seems good, check if your file is similare to the other candidate move files 20090322 12:04:10< zookeeper> voris, and remember not to touch EventWML, that's a real new DevFeature there 20090322 12:05:02< Velory> i think i found a mistake 20090322 12:05:02< voris> Ah, the moveto? 20090322 12:05:13< zookeeper> voris, yes 20090322 12:05:20< voris> I hadn't noticed but I will leave that alone. Thanks for the heads up. 20090322 12:05:44< voris> EventWML is on my "done" list so I wasn't looking. :) 20090322 12:09:55< Crab_> boucman, mordante, silene - I've uploaded a new patch (no reason to hurry to loot at it - i'll soon be afk for most of the Sunday.) I've removed hardcoded dir location, used read_file directly, const-ref-ied create_optional_formula_argument, added a few const- specifiers, added doxygen comments. 20090322 12:10:01< Crab_> s/loot/look :) 20090322 12:10:13< zookeeper> likewise i think [show_objectives] is a new one 20090322 12:10:35< boucman> mordante: I'll leave soon too, so if you could review, that would be nice 20090322 12:16:08-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090322 12:16:31< silene> Crab_: the doxygen comments need a bit of work (first line empty, stars on next lines aligned on the first, capital on returns, and tense for the verb of functions); i can't comment on the pure formulaai stuff, i leave that to the ones who know :-) 20090322 12:17:40< Crab_> silene: thanks. ok, I'll clean these up and submit another patch, but that's after I return here later. 20090322 12:17:50< grzywacz> hi 20090322 12:18:21< silene> Crab_: you don't even have to submit a new one, you can keep the modifications locally until it's committed, i don't really mind 20090322 12:19:18< Crab_> silene: IMO it's better to submit a new one, I want to be really sure that everything is ok ) 20090322 12:19:18< silene> also please avoid using tabs in the middle of lines, as not everyone the same tab width (in wesnoth it's commonly 4, strangely), so it's look properly aligned 20090322 12:19:46< Crab_> ok 20090322 12:20:03-!- Velory1 [n=GProcess@85.104.144.149] has joined #wesnoth-dev 20090322 12:20:39< Velory1> boucman:here is my .fai looking exactly same but not calling 20090322 12:20:40< Velory1> http://pastebin.com/d625f50c8 20090322 12:22:12< ettin> Ivanovic: no specific reason, but I plan to commit it to 1.6 too, if that's what you are asking 20090322 12:23:18< Ivanovic> ettin: okay 20090322 12:23:39< Ivanovic> ettin: in general it is probably better/easier to only commit to 1.6 for a while and merge the files over to trunk "after a while" 20090322 12:23:57< Velory1> boucman:should i add some code to different location?(other than scenario-formula.cfg) ? 20090322 12:24:29< boucman> Velory1: i'm afk now, please search by yourself 20090322 12:24:55< Velory1> Ok 20090322 12:25:13< boucman> and no, normally this should be enough, but if you "installed" wesnoth, make sure your changes are in the installed directory and not just in the source tree 20090322 12:25:17< ettin> Ivanovic: ah, I see, I'll do that from now on 20090322 12:25:47< Ivanovic> and don't forget the changelog entries 20090322 12:25:48< Ivanovic> ;) 20090322 12:26:11< ettin> sure :) 20090322 12:26:38< Velory1> hmm yes they are installed anyway thanks for help 20090322 12:26:49-!- Velory [n=GProcess@81.213.69.33] has quit [Read error: 110 (Connection timed out)] 20090322 12:27:17-!- Velory1 is now known as Velory 20090322 12:29:12< Velory> oh 20090322 12:29:13< Velory> :D 20090322 12:29:18< Velory> i found :D 20090322 12:29:19< Velory> now 20090322 12:29:37< Crab_> bye ) afk for a D&D session ) 20090322 12:29:46< Velory> im wrote ./wesnoth -t -d before now i write ./wesnoth -d formula -t 20090322 12:29:48< Velory> and weoked 20090322 12:30:04< Velory> i took error but i can fix it :) 20090322 12:30:16< Velory> yayy!! 20090322 12:30:17< Velory> :D 20090322 12:30:32-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit ["Leaving."] 20090322 12:39:48< nital> what time the announcement is planned to be released? 20090322 12:40:28< nital> or maybe rather what time the release is planned to be announced ;) 20090322 12:42:33< Ivanovic> ettin: okay if i directly copy over your update to 1.6? 20090322 12:42:44-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090322 12:44:01< fendrin> 20090322 12:43:42 error network: caught network::error: The server requires version '1.5.*svn' while you are using version '1.7.0-svn' 20090322 12:44:44< loonycyborg> fendrin: Bug Soliton about that after he returns after weekend :P 20090322 12:44:48< Ivanovic> yes, for trunk the new mp server was not started / the server was not adjusted yet 20090322 12:46:05< CIA-70> ivanovic * r34021 /branches/1.6/ (15 files in 11 dirs): merge over British English as well as Catalan translation from trunk (revision 33943 and 34018) 20090322 12:46:26< fendrin> The 1.6 server gives me many: 20090322 12:46:04 error filesystem: Trying to open file with empty name. 20090322 12:46:38< CIA-70> ivanovic * r34022 /trunk/ (changelog players_changelog): add update of en_GB translation to the changelogs 20090322 12:46:44< Ivanovic> fendrin: this was already fixed in trunk as well as braches/1.6 20090322 12:46:51< fendrin> okay 20090322 12:56:00< Ivanovic> crimson_penguin: got a feature request for the gettext.wesnoth.org stuff: handle it more gracefully when there is nothing from wescamp so far, cf http://www.wesnoth.org/gettext/index.lang.php?lang=de&version=branch 20090322 12:57:30-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090322 12:59:57-!- nerwa [n=nerwa@59.78.26.75] has quit [Remote closed the connection] 20090322 13:01:48< CIA-70> ilor * r34023 /trunk/src/editor2/editor_display.hpp: value->ref fix 20090322 13:02:14-!- stikonas [n=stikonas@79.132.187.171] has joined #wesnoth-dev 20090322 13:10:51< CIA-70> ilor * r34024 /branches/1.6/src/editor2/ (editor_display.hpp editor_map.hpp): Backport r34006 and r34023 (missing &s in editor code) 20090322 13:14:51< fendrin> ilor: Can you have a look at https://gna.org/bugs/?13236 ? 20090322 13:16:23< ilor> fendrin: possible to do, won't do at the moment but might get to it when I'm doing other stuff in the area 20090322 13:18:41< fendrin> ilor: Thank you :-) 20090322 13:19:27< ilor> fendrin: it won't reach 1.6 anyway and the first 1.7 release is quite some time off iirc 20090322 13:19:48< mordante> boucman, Crab_'s patch still has a lot of comment I'd like to discuss it here with him 20090322 13:20:03< mordante> want to know whether he missed my remark or disagrees with it 20090322 13:24:07-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090322 13:39:29< CIA-70> mordante * r34025 /branches/1.6/src/filesystem.cpp: Fix indention. 20090322 13:40:02< CIA-70> mordante * r34026 /trunk/src/filesystem.cpp: Fix indention. 20090322 13:40:08< mordante> dfranke, please change your editor to use tabs for indention 20090322 13:40:38< loonycyborg> Maybe switch entire project to spaces 20090322 13:40:41< loonycyborg> ? 20090322 13:41:02< mordante> why would we do that? 20090322 13:41:29< ilor> Ivanovic: around? 20090322 13:41:46< loonycyborg> Since tabs can have different lengths in different editors thwarting the efforts at nice code formatting. 20090322 13:42:20< mordante> tabs for indention and spaces for alignment fixes that as well 20090322 13:42:38< mordante> with tabs users can choose their preferred indention 20090322 13:43:31< loonycyborg> Not really. Using *both* tabs and spaces for alignment is PITA. 20090322 13:44:27< CIA-70> ilor * r34027 /branches/1.6/ (6 files in 4 dirs): Backport r34007: implement FR bug #13172 (output a WML-style list of selected tiles from the editor). Uses the system clipboard. 20090322 13:44:33< mordante> that's your opinion, which I don't share 20090322 13:46:32< loonycyborg> I personally currently use spaces in python and tabs in C++ and personally don't mind moving C++ to spaces too. 20090322 13:48:16< mordante> well I still dislike Python's idea of whitespace handling and accidental tab can break your program without you noticing 20090322 13:50:07< loonycyborg> I find myself not doing any code alignment in C++ because because I feel that it bound to break with a different tab size.. 20090322 13:50:19< loonycyborg> s/because// 20090322 13:55:30-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has joined #wesnoth-dev 20090322 14:03:30< silene> i personally prefer mixed tabs/spaces; but that's most certainly because my text editor displays them and doesn't try to be smart with identation 20090322 14:13:05-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has left #wesnoth-dev [] 20090322 14:13:12-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has joined #wesnoth-dev 20090322 14:15:06< iyonius> hi, I am iyonius (as you can notice from my nick :-) ) and I want to apply through Summer of Code to work on Wesnoth - idea about Addon server. Hi every body :-) 20090322 14:15:28< Velory> Hi iyonius :) 20090322 14:16:28< iyonius> Velory: hi, you are participant too, aren`t you? 20090322 14:16:51< Velory> yes i am :) 20090322 14:17:26< Ivanovic> re 20090322 14:17:35< Ivanovic> ilor: i am around now, what can i do you for? 20090322 14:17:58< Ivanovic> loonycyborg: the different size is the most positive aspect of tabs that exists! 20090322 14:18:07< iyonius> Velory: nice to meet you :-) 20090322 14:18:39< Ivanovic> there is no need to rely on someone elses "it should exactly look like this" but instead you can indent things like they are "logically done" 20090322 14:20:29< loonycyborg> Ivanovic: Yes. That makes sense, but still isn't worth it IMO. 20090322 14:20:44< Ivanovic> loonycyborg: why? 20090322 14:20:45< loonycyborg> There's TeX/LaTeX for logical formatting :P 20090322 14:20:47< ilor> Ivanovic: I;m in need of three strings that look like "Foo: on", "Foo: off", "Foo: partial". Is it better to have them like this or sepearate "Foo" and "on" "off" "partial"? 20090322 14:21:05< Ivanovic> if you want thinks to be appear further in, just select a different "size" for tabs in your editor and you are done 20090322 14:21:06< ilor> Ivanovic: also, the "Foo" string is already translated 20090322 14:21:22< Ivanovic> ilor: hmm, good question 20090322 14:21:28< Ivanovic> depends on the context 20090322 14:21:54< Ivanovic> (yes, a shitty answer, isn't it?) 20090322 14:21:55< Ivanovic> ;) 20090322 14:22:07< silene> ilor: the colon has to be part of Foo, so the fact it is already translated doesn't matter 20090322 14:22:10< Ivanovic> in general it makes *lots* of sense to have strings as complete as possible for translators 20090322 14:22:20< loonycyborg> Ivanovic: As I already said, I have trouble aligning code so it'll look nice with all tab sizes. 20090322 14:22:26< Ivanovic> since this way you can easily change things 20090322 14:22:39< ilor> I guess some languages could need the "on" and "off" to have different forms depending on what Foo is 20090322 14:22:40< Ivanovic> loonycyborg: and i don't understand this trouble at all 20090322 14:22:55< silene> loonycyborg: where are you putting tabs so that it is a trouble?! 20090322 14:23:03< Ivanovic> loonycyborg: you just use tabs to get onto a level 20090322 14:23:32< Ivanovic> and if you eg got a function all that is over >1 line, just indent with tabs to the place where it starts and then use tabs to indent further 20090322 14:23:38< loonycyborg> Like aligning next line so it'll start right under some place on previous line. 20090322 14:24:10< silene> loonycyborg: that's easy, put the same tabs as on the previous line, then use spaces 20090322 14:24:40< Ivanovic> http://pastebin.com/m28d2b034 20090322 14:24:47< Ivanovic> as in this example 20090322 14:25:12< mordante> yup tabs for indention and spaces for alignment 20090322 14:25:23< Ivanovic> in the edit window you see that plain tabs are used for getting the "start of spaces" on the same level as the function and spaces for the rest 20090322 14:25:26< loonycyborg> Ivanovic: silene: Yes. That'll work, but I'd like to avoid extra space hitting :P 20090322 14:25:53< Ivanovic> loonycyborg: uhm, so how would you work with "only spaces"? 20090322 14:26:00< Ivanovic> would you not hit them to get the indention, too? 20090322 14:27:02< loonycyborg> Most likely I'll hit the space fewer times since I could use tabs where spaces are required in previous example. 20090322 14:27:07< CIA-70> ivanovic * r34028 /website/start/1.6/ (index.lt.html po/lt.po): updated Lithuanian announcement translation 20090322 14:27:23< loonycyborg> So I'll be able to compress several spaces into one tab. 20090322 14:28:00< loonycyborg> With variable length tab that would cause troubl with different tab sizes. 20090322 14:28:05< loonycyborg> *trouble 20090322 14:28:40< Ivanovic> then hack your editor to give you a "control key+tab" combo that places spaces instead of "normal tabs" 20090322 14:28:48< mordante> I'm afk 20090322 14:28:50< Ivanovic> where is the problem? 20090322 14:28:51< Ivanovic> ;) 20090322 14:30:16< loonycyborg> Anyway, ask dfranke why he uses tabs. I guess his reasons will be saner. Maybe because his editor configure so by default? :P 20090322 14:31:44< loonycyborg> s/tabs/tabs converted to spaces 20090322 14:42:29-!- Dragonking [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20090322 14:42:44< Dragonking> hello everyone 20090322 14:42:48< Velory> hi dragonking 20090322 14:43:14-!- elias [n=elias@allegro/developer/allefant] has joined #wesnoth-dev 20090322 14:43:45< Velory> Dragonking: can i ask you question? 20090322 14:44:23< Dragonking> Yes? 20090322 14:44:23< ilor> Velory: "don't ask to ask, just ask" is a common rule on irc :) 20090322 14:44:30< Velory> :) 20090322 14:44:32< Velory> ok 20090322 14:45:06< voris> If he says no, you've already violated his wishes in having asked if you can ask. ;) 20090322 14:45:20< CIA-70> ivanovic * r34029 /trunk/doc/ (5 files in 5 dirs): regenerate doc files 20090322 14:45:27< CIA-70> ivanovic * r34030 /branches/1.6/doc/ (5 files in 5 dirs): regenerate doc files 20090322 14:45:44< Ivanovic> voris: the better answer is: but only exactly one, ups, that was it already! 20090322 14:45:45< Ivanovic> ;) 20090322 14:46:05< ilor> so anyway, when are we starting the party^W^W^W announcing 1.6 today? 20090322 14:46:11< voris> heh 20090322 14:47:23< Ivanovic> ilor: first i will do something for university (exam on wednesday), then i will have breakfast and *then* i will change the website to have the announcement shown 20090322 14:48:19< Velory> Dragonking: i created to .fai code for Poisoning improvements here ->http://pastebin.com/m56b9153e , http://pastebin.com/d3394710f and wrote code in scenariiio-formula.cfg here -> http://pastebin.com/d5cbbfe97 but in game im taking this error:->ERROR: type error: expected int but found object ({attacker -> {x -> 10, y -> 2}, defender -> {...}, move_from -> {...}}) 20090322 14:48:19< Velory> 20090322 14:33:33 error formula_ai: formula type error while evaluating candidate move: type error: expected int but found object ({attacker -> {x -> 10, y -> 2}, defender -> {...}, move_from -> {...}}) So do u have suggestion for me,,what can i do ? 20090322 14:48:38< Velory> s/i created to/created two 20090322 14:49:25< Velory> and also im taking this formula type error: type error: expected object but found null ((null)0) 20090322 14:49:36< Velory> in second turn 20090322 14:53:34< Dragonking> action="{ai/formula/poisoner_eval.fai}" 20090322 14:53:34< Dragonking> evaluation="{ai/formula/poisoner_attack.fai}" 20090322 14:53:41< Dragonking> You meesed that. 20090322 14:56:42< CIA-70> thespaceinvader * r34031 /trunk/ (5 files in 4 dirs): Add DUHH's alternate Dwarf Fighter portrait, update changelogs, portrait credits, add DUHH to about.cfg 20090322 14:56:50< Velory> omg :) 20090322 14:56:52< Velory> thank you 20090322 14:57:03< Velory> im looking code about 6 hours 20090322 14:57:17< Velory> couldnt see this one :) 20090322 14:58:05< Dragonking> We expect int to be result of evaluation, since your eval formula is ok, it means something different is wrong. :) 20090322 14:58:54< Ivanovic> thespaceinvader: do not forget to also commit stuff to branches/1.6 if it fits in 20090322 14:59:27< Velory> yes 20090322 14:59:27< thespaceinvader> Ivanovic: sure 20090322 14:59:30< Velory> now working 20090322 14:59:35 * thespaceinvader makes a checkout of branches/1.6 20090322 15:00:04< Velory> hehe yes 20090322 15:00:07< Velory> working well 20090322 15:03:25< Velory> dragonking: so i should upload svn this files as patch right? 20090322 15:03:45< Dragonking> You may think about how you can improve this formula even more. 20090322 15:04:28< Velory> hmm i can add more if statement to eval -> like if(target.mechanical = 0 20090322 15:04:42< Dragonking> There may be some things to tweak, some attack pririties to add... it's all about your creativity and ideas now ;) 20090322 15:05:30< Velory> u mean improve poisoner_attack ? 20090322 15:05:38< Velory> or general 20090322 15:05:50< Velory> Improve attacks :) 20090322 15:07:02< Dragonking> I rater meant eval. 20090322 15:07:06< Dragonking> rather' 20090322 15:07:06< Ivanovic> i think he means "how to get out most from poisoning" 20090322 15:07:11< Dragonking> Yes. 20090322 15:07:26< Ivanovic> as in "which (currently unpoisoned) unit makes most sense to poison" 20090322 15:07:30-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Read error: 104 (Connection reset by peer)] 20090322 15:07:56< Ivanovic> eg stuff like "a unit is only 2hp away from death and another one is 30hp away, which one to poison?" 20090322 15:08:15< Ivanovic> we humans know that the 2hp unit makes no sense to poison, it would die in the attack anyway 20090322 15:08:22< Velory> hmm u mean dont need to poison unit that have 2hp right? 20090322 15:08:26< Velory> ok 20090322 15:08:30< Dragonking> And some other ones... I would like to see how well you know gameplay :) 20090322 15:08:31< Velory> i understand now 20090322 15:08:35< Ivanovic> thinking in this direction 20090322 15:08:35-!- Ivan_Popov [n=killer@78-83-64-179.spectrumnet.bg] has joined #wesnoth-dev 20090322 15:08:46< Ivanovic> as in "what makes sense in a situation" 20090322 15:09:00< Ivan_Popov> Hello 20090322 15:09:04< Velory> Hi 20090322 15:09:06< Ivanovic> hi Ivan_Popov 20090322 15:09:17< Dragonking> Velory: Question what to do in situation when we have 2hp unit in range is open... there is no clear answer. ;) 20090322 15:09:38< thespaceinvader> Ivanovic: can you sort out DUHH with an Art Contributor title please? 20090322 15:10:17< Ivanovic> forum name is DUHH ? 20090322 15:10:26< thespaceinvader> indeed 20090322 15:10:33< thespaceinvader> slightly odd name, but great portraits 20090322 15:10:54< Ivanovic> done 20090322 15:11:37< Dragonking> Ivanovic: Hmm.. maybe we should make 2 different categories in the wiki: Summer of Code 2008 and Summer of Code 2009 ? 20090322 15:11:52< Ivanovic> Dragonking: feel free to do so 20090322 15:11:56< Ivanovic> sounds very reasonable to me 20090322 15:12:01< Velory> im not ivanovic but there will be good :) 20090322 15:14:19< Velory> Dragonking: Are there any attribute like change_target 20090322 15:14:31< Dragonking> Velory: ?? 20090322 15:14:34< Dragonking> WHat for? 20090322 15:15:35< thespaceinvader> thanks Ivanovic 20090322 15:16:02< Velory> hmm 20090322 15:16:10< Velory> :) i solved my question :) 20090322 15:16:20< Velory> i thought wrong :) 20090322 15:17:02< Velory> if just one unit in range with 2hp i will not poison him :) 20090322 15:17:20-!- stikonas [n=stikonas@79.132.187.171] has joined #wesnoth-dev 20090322 15:18:04< Dragonking> Velory: Think about different in-game situations and improve your eval 20090322 15:18:14< Velory> Dragonking:but i have a question is there any variable like enemy_leader ? 20090322 15:18:43-!- alink [n=alink@wesnoth/developer/alink] has joined #wesnoth-dev 20090322 15:19:11< Dragonking> Velory: No, but there is unit attribute 'leader' 20090322 15:19:19< Dragonking> I'm disappearing now, will be back later 20090322 15:19:32< Velory> ok thanks for help 20090322 15:19:35-!- Velory [n=GProcess@85.104.144.149] has left #wesnoth-dev [] 20090322 15:19:44-!- Velory [n=GProcess@85.104.144.149] has joined #wesnoth-dev 20090322 15:21:54-!- West_ [n=West@hd5e2754c.gavlegardarna.gavle.to] has joined #wesnoth-dev 20090322 15:28:38-!- tacomablack [n=tacomabl@ool-43523a1d.dyn.optonline.net] has joined #wesnoth-dev 20090322 15:42:03< CIA-70> ivanovic * r34032 /website/start/1.6/ (index.de.html po/de.po): updated German announcement translation 20090322 15:46:07-!- Pietro_S_ [n=sobotkap@217.10.15.5] has joined #wesnoth-dev 20090322 15:49:39< CIA-70> ivanovic * r34033 /website/start/1.6/ (index.de.html po/de.po): some more changes to the German announcement translation... 20090322 15:50:03< Pietro_S_> hello, anyone up to look on this log: http://filebin.ca/qfsxmr/wesnoth.log 20090322 15:50:42< Pietro_S_> it ends with: Ran out of memory. Aborted. 20090322 15:50:53< Pietro_S_> version 1.6a 20090322 15:52:01< loonycyborg> Interesting. It's probably some OS message. 20090322 15:52:29< Ivanovic> Pietro_S_: how much ram do you have on this box? 20090322 15:52:34< ilor> "Ran out of memory. Aborted." is what we do in main() after catching std::bad_alloc 20090322 15:52:51< Smar> yah, a message that’s kept in memory for cases there is no memory to initialize new message... :) 20090322 15:53:16< Smar> I always find that funny 20090322 15:53:22< Pietro_S_> Ivanovic: 2GB, but I check that it didn't even run till that limit (swap is on so the limit is higher) 20090322 15:53:34< ilor> Smar: not that funny once you dig deeper into it and find out why it makes sense 20090322 15:53:39< Ivanovic> Pietro_S_: interesting 20090322 15:54:00< Ivanovic> Pietro_S_: do you have a reproducible scenario for this stuff, or is it just a case of "hmm, crashes on random with this" 20090322 15:54:01< Smar> ilor: I know it makes sense, but that’s just the funny part 20090322 15:54:17< Ivanovic> if it is some reproducible scenario, please post it as bugreport attaching a save as well as the log 20090322 15:54:20-!- tacomablack [n=tacomabl@ool-43523a1d.dyn.optonline.net] has quit ["Ex-Chat"] 20090322 15:54:44< Pietro_S_> Ivanovic: anything, including test scenario which was used to produce that log 20090322 15:55:06 * loonycyborg wonders why std::bad_alloc could be thrown on a drop of hat like that 20090322 15:55:12< Ivanovic> so it happens right at startup? 20090322 15:55:14< Ivanovic> OUTSCH 20090322 15:55:44< Pietro_S_> no at start up of main menu, but at the start-up of scenario/map 20090322 15:56:05< Ivanovic> Pietro_S_: solaris, correct? 20090322 15:56:08< Ivanovic> which cpu arch? 20090322 15:56:52< Ivanovic> short guess: some commit in the dev branch broke compatibility with solaris 20090322 15:57:06< Pietro_S_> yep - solaris, 32 kernel (Centrino Duo) 20090322 15:57:59< Ivanovic> please post a bug report about this 20090322 15:58:13< Ivanovic> and it would be great if you could check with some previous dev releases if those had the problem, too 20090322 15:58:21< loonycyborg> Pietro_S_: A backtrace would probably useful here. 20090322 15:58:24< Ivanovic> IIRC noone of us is using solaris, so it was never checked 20090322 15:59:25< loonycyborg> Made using gdb's catch throw or its equivalent in some other debugger. 20090322 16:00:38< Pietro_S_> or just modify catch in main to display stack? 20090322 16:01:02< loonycyborg> Yes. That could work too :) 20090322 16:03:27< Ivan_Popov> hey, I added a link to my a sample project on the GSoC page, take a look when you have time and let me what you think in the discussion page 20090322 16:03:28< Pietro_S_> because it's something like 3 year ago, when I used debuger last time ... ;-) 20090322 16:03:48< Ivan_Popov> *let me know 20090322 16:04:17-!- sk-- [n=sk@pool-68-238-184-65.phil.east.verizon.net] has joined #wesnoth-dev 20090322 16:04:18< ilor> uh, how are you going to displaythe backtrace when you're in the catch block? 20090322 16:04:42< sk--> so, today's the big day 20090322 16:06:39< loonycyborg> ilor: Any sane debugger can be made catch exceptions before they reach the caych block :P 20090322 16:06:47< loonycyborg> *catch 20090322 16:06:54< ilor> loonycyborg: yeah, but that's in a debugger 20090322 16:07:12< loonycyborg> Without debugger you just remove the catch block. 20090322 16:07:35< loonycyborg> That is without complex functions like catch throw 20090322 16:08:17< loonycyborg> I guess you would still need the debuger to display backtrace :P 20090322 16:08:26-!- Skizzaltix [n=chatzill@66.92.79.71] has joined #wesnoth-dev 20090322 16:08:44< ilor> loonycyborg: my point exactly :) 20090322 16:08:55< Velory> max_experience is limit to gain level right? 20090322 16:08:56< Pietro_S_> loonycyborg: std::exception should have backtrace inside it, I don't rememeber which function display it, but it should be there 20090322 16:09:26< Velory> anyone know that? 20090322 16:09:57< Velory> for example my_leader.max_experience (is limit to gain level or limit to experience that he can gain ? ) 20090322 16:09:57< loonycyborg> Pietro_S_: IIRC the standard only mandates what() method. 20090322 16:19:30< silene> Pietro_S_: why don't you just use gdb? "catch throw; run; bt full" 20090322 16:22:06-!- vicky8491 [i=vicky@59.92.103.31] has joined #wesnoth-dev 20090322 16:22:36< vicky8491> hi everyone 20090322 16:22:48< vicky8491> my name is vignesh 20090322 16:22:54< mordante> hi vicky8491 20090322 16:23:02< Velory> hi 20090322 16:23:16< zookeeper> Velory, limit to gain level 20090322 16:23:44< vicky8491> hi mordante 20090322 16:23:46< Velory> oh ok thanks 20090322 16:25:58-!- VladimirSlavik [n=chatzill@wesnoth/translator/VladimirSlavik] has joined #wesnoth-dev 20090322 16:27:46< iyonius> uff... I completed my wiki page with application :-) 20090322 16:28:10< Pietro_S_> silene: because of catch throw doesn't work - Function "__cxa_throw" not defined. 20090322 16:28:12< mordante> nice 20090322 16:28:43< Skizzaltix> thespaceinvader: What do you think of his new arms? 20090322 16:28:45< Skizzaltix> http://www.wesnoth.org/forum/download/file.php?id=29410 20090322 16:28:53< mordante> Pietro_S_, often works if you run it in gdb let wesnoth terminate and then do catch throw 20090322 16:28:53< Pietro_S_> give me some time, I need to read manual for dbx - and definately recompile 20090322 16:29:18< loonycyborg> Pietro_S_: Often it works only after "start" 20090322 16:29:33< silene> Pietro_S_: could you check if "b __throw" works instead? 20090322 16:29:35< loonycyborg> I.e. start; catch throw; continue 20090322 16:29:58< thespaceinvader> Skizzaltix: the upper of the two sword-arms, but you should tilt the sword up so that it's not going off the edge of the crop - the final version should be facing right, and can't be cropped on the right-hand side 20090322 16:30:03< thespaceinvader> the buckler looks good 20090322 16:30:21< Skizzaltix> thespaceinvader: Right--I'll fix that, thanks. 20090322 16:30:54< thespaceinvader> the shading looks better too 20090322 16:31:11< thespaceinvader> but again, remember that the bottom will probably need to be cropped off for the final version 20090322 16:32:44< silene> Skizzaltix: when you get the chance, think about flipping the image horizontally, so that it somehow looks at the user when talking (not sure a campaign designer will ever make a naga talk, but who knows) 20090322 16:32:47< CIA-70> ivanovic * r34034 /website/start/1.6/ (index.de.html po/de.po): 20090322 16:32:47< CIA-70> another tiny fix to the german translation 20090322 16:32:47< CIA-70> about time to announce... 20090322 16:34:23-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090322 16:35:51-!- vicky8491 [i=vicky@59.92.103.31] has left #wesnoth-dev [] 20090322 16:36:01< Skizzaltix> silene: I've been doing that back and forth a bit as I work on it... 20090322 16:36:18< Skizzaltix> And yes, __I'd__ make a Naga talk ;) 20090322 16:36:25< silene> :-) 20090322 16:36:25-!- turin [n=turin@168.215.249.253] has joined #wesnoth-dev 20090322 16:36:48< thespaceinvader> Ivanovic: do i need to add DUHH to the credits for branches/1.6 too, or is the trunk credit entry enough? 20090322 16:36:52-!- lgraham [n=lgraham@d75-158-155-172.abhsia.telus.net] has joined #wesnoth-dev 20090322 16:37:15< Ivanovic> thespaceinvader: add him to those, too 20090322 16:37:23< Ivanovic> since those are at least available ingame 20090322 16:37:23< thespaceinvader> sure 20090322 16:41:09< CIA-70> thespaceinvader * r34035 /branches/1.6/ (5 files in 4 dirs): Add DUHH's alternate Dwarf Fighter portrait, update changelogs, portrait credits, add DUHH to about.cfg 20090322 16:41:30< CIA-70> thespaceinvader * r34036 /trunk/data/core/about.cfg: Fix a mistake I made in about.cfg 20090322 16:41:34< Ivanovic> okay, getting the announcement done now... 20090322 16:42:39< crimson_penguin> oh yeah, announcement time :) 20090322 16:45:28 * sk-- twiddles his thumbs. 20090322 16:45:41< sk--> this announcement will include a d/l of 1.6a i hope 20090322 16:46:03< lgraham> hi. i am a google summer of code student 20090322 16:46:10< sk--> hi lgraham 20090322 16:46:15< crimson_penguin> sk--: well, you know you can download that already, right? 20090322 16:46:24< lgraham> i look forward to getting to know you :) 20090322 16:46:26< sk--> with svn? 20090322 16:46:31< sk--> and compiling? 20090322 16:46:36< sk--> yes i want a ver with an installer 20090322 16:47:57< loonycyborg> sk--: 1.6a installers for Mac and Win32 are uploaded already. 20090322 16:48:08< sk--> oh 20090322 16:48:35< mordante> hi lgraham 20090322 16:48:57< mordante> lgraham, did you read this page? http://www.wesnoth.org/wiki/SummerOfCodeIdeas 20090322 16:49:03< crimson_penguin> https://sourceforge.net/project/showfiles.php?group_id=89495&package_id=314773&release_id=669248 20090322 16:49:13< lgraham> sure did mordante 20090322 16:49:30< mordante> good did you start a wiki page? 20090322 16:49:35< lgraham> just did now 20090322 16:49:38< sk--> thanks CP 20090322 16:49:43< sk--> i'll download that now 20090322 16:50:23-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090322 16:51:39< mordante> added you to the GoS forum group, will read your page now 20090322 16:52:37-!- sk-- [n=sk@pool-68-238-184-65.phil.east.verizon.net] has quit ["Leaving"] 20090322 16:53:00< Ivanovic> okay, download page in the wiki is done 20090322 16:53:11< Ivanovic> now the forum post and then i can upload the new frontpage... 20090322 16:53:41< crimson_penguin> yay! 20090322 16:54:19< lgraham> excellent 20090322 16:54:48-!- Skizzaltix [n=chatzill@66.92.79.71] has quit [Remote closed the connection] 20090322 16:55:28-!- Rohita [n=Rohita@202.69.200.5] has joined #wesnoth-dev 20090322 16:56:43-!- Rohita [n=Rohita@202.69.200.5] has quit [Client Quit] 20090322 16:59:29< mordante> lgraham, just read it obviously it needs some more work later 20090322 16:59:35< Pietro_S_> the problem is here: 20090322 16:59:36< Pietro_S_> =>[3] unit_animation::add_anims(animations = CLASS, cfg = CLASS), line 557 in "unit_animation.cpp" 20090322 16:59:48< lgraham> for sure. I am kind of working on it now 20090322 17:00:34< mordante> YogiHH (Yogi Bear on the forum) knows more about the savegame project when you have questions 20090322 17:01:47< mordante> and if you want to work on some patches you can pick one here http://www.wesnoth.org/wiki/EasyCoding 20090322 17:04:02-!- Baufo [n=thomas@wesnoth/developer/baufo] has joined #wesnoth-dev 20090322 17:04:31< mordante> afk 20090322 17:05:53< Ivanovic> boucman: have you seen what Pietro_S_ just wrote? 20090322 17:06:01< Ivanovic> boucman: he experiences problems on Solaris 20090322 17:06:07< Ivanovic> [16:59:36] =>[3] unit_animation::add_anims(animations = CLASS, cfg = CLASS), line 557 in "unit_animation.cpp" 20090322 17:07:07< Pietro_S_> here is complete stack: http://opensolaris.pastebin.ca/1368104 20090322 17:07:21< Ivanovic> http://www.wesnoth.org/forum/viewtopic.php?f=5&t=24580 20090322 17:07:30< Ivanovic> announcement in the forums ^ 20090322 17:08:49< Ivanovic> and i updated the frontpage 20090322 17:08:58< Ivanovic> everybody: CELEBRATE 1.6 20090322 17:09:05 * ilor celebrates :) 20090322 17:12:39< lgraham> thanks 20090322 17:13:45< Baufo> yay! 1.6! 20090322 17:13:47-!- torghul [n=chatzill@85.100.107.77] has joined #wesnoth-dev 20090322 17:14:30< nital> tada! 20090322 17:17:04< loonycyborg> Pietro_S_: That happens in memcpy function. This is weird since it isn't supposed to allocate memory(or is it?) 20090322 17:17:47< zookeeper> yippee! 20090322 17:19:34< Ivanovic> okay, submitted an update to happypenguin 20090322 17:19:50< Ivanovic> who volunteers for submitting to /. ? 20090322 17:20:52 * alink launches his big fireworks drawing a big "Wesnoth 1.6 is out" in the sky 20090322 17:21:12 * stikonas updated English & German wikipedia 20090322 17:21:39< Ivanovic> crimson_penguin: will you submit an update to apple.com ? 20090322 17:21:40< Baufo> Ivanovic, maybe we should get someone like esr to submit to /. ? 20090322 17:21:44< Ivanovic> (the download tracker there) 20090322 17:21:54< Ivanovic> Baufo: yeah, this might be an idea, though he is not around atm 20090322 17:21:55< Baufo> I suppose we would have a far better chance to get accepted then 20090322 17:22:11< alink> Ivanovic: does /. risks to /. us ? 20090322 17:22:24< alink> (i mean kill the site) 20090322 17:22:32< Pietro_S_> loonycyborg: split function should copy memory ... I fear that the config class doesn't contain what it should ... and gives some wrong pointer to split ... 20090322 17:22:54< Ivanovic> alink: i don't think this will happen with wesnoth 20090322 17:23:33< alink> Ivanovic: because not enough people will visit or because the site is strong enough ? 20090322 17:23:40< loonycyborg> Pietro_S_: Yes. It does copy. But it shouldn't alloc. 20090322 17:24:15< alink> Ivanovic: mmh ok,both, stupid question 20090322 17:24:50< Pietro_S_> if the string to which it does copy was empty then it should alloc ... 20090322 17:24:55< Ivanovic> would be nice if someone with accounts at the respective sites could submit updates: http://www.wesnoth.org/wiki/ReleasingWesnoth#sites_monitoring_Wesnoth_releases 20090322 17:25:07< Ivanovic> i already submitted an update to happypenguin 20090322 17:25:42< Baufo> btw, someone should update the motd of the 1.4 server 20090322 17:26:12< Velory> dragon,boucman there ? :| 20090322 17:27:51-!- West_ [n=West@hd5e2754c.gavlegardarna.gavle.to] has quit ["b'bye"] 20090322 17:28:27< iyonius> afk 20090322 17:31:19< loonycyborg> Pietro_S_: Yes. But it does so using malloc and memcpy. And bad_alloc would be more logical from malloc than from memcpy :P 20090322 17:35:05-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090322 17:35:05< loonycyborg> Unless it does lazy memory allocation.. 20090322 17:35:06< Pietro_S_> loonycyborg: don't trust that exceptions are logical ;-) 20090322 17:35:47< Pietro_S_> loonycyborg: t@1 (l@1) signal SEGV (no mapping at the fault address) in memcpy at 0xcdfb3897 20090322 17:35:59< Pietro_S_> 0xcdfb3897: memcpy+0x00b7: movaps (%esi),%xmm0 20090322 17:36:36< alink> Pietro_S_: is it after a scrolling ? 20090322 17:36:43< Pietro_S_> so it catch signal in memcpy - and then raise bad_alloc exception, because it though that something wasn't allocated ... 20090322 17:37:00< Ivanovic> http://www.phoronix.com/scan.php?page=news_item&px=NzE1OQ 20090322 17:37:21< Pietro_S_> alink: nope, at the start of scenario 20090322 17:38:36< Velory> anyone know what's that ? error formula_ai: IMPOSSIBLE MOVE ORDER - MOVE FAILED 20090322 17:39:09< Ivanovic> Velory: short guess: you gave the ai a command for a move that is not possible 20090322 17:43:26-!- Dragonking [n=dk@wesnoth/developer/dragonking] has quit [] 20090322 17:44:44< Velory> yes but im not giving wrong command to ai :S 20090322 17:45:57-!- Dragonking [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20090322 17:50:08< Velory> Dragonking ? 20090322 17:50:29< Dragonking> Velory ? 20090322 17:50:32< Velory> hah 20090322 17:50:36< Velory> i improved eval 20090322 17:50:52< Dragonking> Paste it then. :) 20090322 17:51:08< Velory> http://pastebin.com/d7b3fd224 20090322 17:51:25-!- VladimirSlavik [n=chatzill@wesnoth/translator/VladimirSlavik] has left #wesnoth-dev [] 20090322 17:51:45< Velory> i looked his experience,curing ability and hp 20090322 17:51:56-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090322 17:56:37< thespaceinvader> Ivanovic: the link to the 1.6 windows download on the download page is broken - it links to http://downloads.sourceforge.net/wesnoth/wesnoth-1.6a-1.6rc3-win32.exe?download 20090322 17:57:41< Velory> Dragonking:but i have a problem with attack state :S 20090322 17:58:16< Ivanovic> thespaceinvader: then fix it, it is a wiki 20090322 17:58:17< Ivanovic> ;) 20090322 17:58:25< thespaceinvader> oop, so it is 20090322 17:58:26< thespaceinvader> will do 20090322 17:58:54< thespaceinvader> sorted 20090322 17:59:15-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090322 17:59:44< Ivanovic> hi silene 20090322 17:59:56< Sirp> Greetings. 20090322 18:00:03< Ivanovic> grml, names are to close together nowadays... 20090322 18:00:03< mordante> hi Sirp 20090322 18:00:04< Ivanovic> hi Sirp 20090322 18:00:12< Sirp> are we going to try to post a 1.6 announcement on slashdot? :) 20090322 18:00:14< Velory> hi Sirp 20090322 18:00:18< Ivanovic> Sirp: i hope so 20090322 18:00:33< Ivanovic> Sirp: baufo thought that it might be worth to have esr try it 20090322 18:00:52-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Read error: 131 (Connection reset by peer)] 20090322 18:00:56< Ivanovic> though at least at phoronix we are already: http://www.phoronix.com/scan.php?page=news_item&px=NzE1OQ 20090322 18:02:13< Sirp> Ivanovic: yes that might work. 20090322 18:02:19< Sirp> if esr wants to try it 20090322 18:02:31< Ivanovic> he is not around atm, so we can't ask 20090322 18:03:00< mordante> Pietro_S_, is SDL_BlitSurface call shortly before the crash and do you run on i386? 20090322 18:03:54< ilor> mordante are you thinking what I'm thinking? 20090322 18:03:55< mordante> seems you are, seeing the assembly posted 20090322 18:03:58< mordante> ilor, yes 20090322 18:04:23-!- Shadow_Master [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090322 18:04:52< Baufo> hey Shadow_Master 20090322 18:04:58< Baufo> you have been looking for me? 20090322 18:05:08< Pietro_S_> mordante: I found workaround, but don't have any clue why it works ... 20090322 18:05:26< mordante> what's the workaround? 20090322 18:06:20< Shadow_Master> Ivanovic: yes, I know ;) 20090322 18:06:40< Shadow_Master> Baufo: does wesnothd allow users to authenticate using inactive forum accounts ? 20090322 18:06:52< Pietro_S_> check at the end of http://opensolaris.pastebin.ca/1368173 20090322 18:06:59< Baufo> Shadow_Master, "inactive"? 20090322 18:07:08< Baufo> you mean like banned? 20090322 18:07:34< Pietro_S_> I just create temporary vector to hold the result of split and then called on it foreach macro ... 20090322 18:07:46< Shadow_Master> Baufo: kind of. You do know that people cannot login onto the forums until they use a link in a special email sent to them when they register for the first time/change their email addy? 20090322 18:08:03< Shadow_Master> you know that? please tell me you do? :P 20090322 18:08:24< ilor> mordante: do you know if foreach() is supposed to work when the container is a temporary? 20090322 18:08:40< Baufo> heh, no actually I am not sure 20090322 18:08:46< Shadow_Master> >:( 20090322 18:08:53< mordante> ilor, no 20090322 18:08:56< mordante> not sure 20090322 18:08:58< Shadow_Master> Baufo: if it isn't checking for that, then we have a bug 20090322 18:09:28< Baufo> Shadow_Master, I'll look into that, I have no idea how phpbb handles the activation 20090322 18:09:55< Dragonking> Velory: I don't quite understand what you want to achieve with your eval 20090322 18:09:55< Shadow_Master> Baufo: as in, the involved table info? 20090322 18:10:00< Dragonking> Velory: Wspecially: index_of('curing',target.abilities) = -1 20090322 18:10:08< Baufo> Shadow_Master, yes 20090322 18:10:24< Shadow_Master> I'm no MySQL guru, but I can check how it is done in my localhost forum I guess 20090322 18:10:33-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090322 18:10:55< Velory> i thought if target has curing ability and i poison him he can cure himself 20090322 18:11:00< Baufo> Shadow_Master, no need to, I have one of these too :) 20090322 18:11:10< Dragonking> Velory: Um.. no. 20090322 18:11:16< Velory> hmm 20090322 18:11:20< Dragonking> Velory: You should really play the game more. 20090322 18:12:06< ilor> mordante: one of the boost examples uses a vector returned from a function so it seems it shoudl work 20090322 18:12:41< ilor> mordante: http://www.boost.org/doc/libs/1_38_0/doc/html/foreach.html 2nd example from the bottom of the page 20090322 18:12:52< Velory> Dragonking:Ok..anyway i have a problem with attack state i didnt touch poisoner_attack.fai here->http://pastebin.com/d659a6831 but im taking error formula_ai: IMPOSSIBLE MOVE ORDER - MOVE FAILED report 20090322 18:13:36< mordante> ilor, I see it, but it looks like at least our version uses the macro parameter at more as one place 20090322 18:13:42< Velory> i checked poisoner_attack and scenario-formula.cfg about thousand time 20090322 18:13:43< Dragonking> Maybe you move into pos occupied by your own unit 20090322 18:14:02< mordante> so not really sure whether it's save, going to look at some older boost versions 20090322 18:14:03< ilor> we have an outdated foreach. that could be a problem 20090322 18:14:22< Shadow_Master> mordante: is rohita85 one of our GSoC students? http://www.wesnoth.org/forum/viewtopic.php?f=8&t=24579 20090322 18:14:27< Velory> But it was working before i changed my eval 20090322 18:15:18< mordante> Shadow_Master, I think so 20090322 18:15:50< mordante> but let ask him/her when s/he shows up again 20090322 18:16:08< Shadow_Master> yeah. A "think so" isn't enough for adding people to usergroups, you know ;) 20090322 18:16:11< Sirp> Shadow_Master: yes Rohita is one of the GSoC applicants 20090322 18:16:15< Sirp> he talked to me about it. 20090322 18:16:41< Shadow_Master> Sirp: he hasn't added a proposal to the wiki yet it seems 20090322 18:16:58< mordante> Shadow_Master, yes of course it's not enough 20090322 18:17:28< mordante> but quite sure, but lets wait for his/her return 20090322 18:17:40< Shadow_Master> thespaceinvader: where did you commit it? 20090322 18:18:19< thespaceinvader> Shadow_Master: DUHH's portrait? Into data/core/images/portraits/dwarves/transparent 20090322 18:18:26< thespaceinvader> in 1.6 and trunk 20090322 18:18:37< Shadow_Master> Ivanovic: ^ pling 20090322 18:18:52< thespaceinvader> it's not currently wired to anything, though 20090322 18:19:09< mordante> ilor, 1.34 says the same http://www.boost.org/doc/libs/1_34_0/doc/html/foreach.html 20090322 18:20:01< ilor> Pietro_S_: what are you using to build wesnoth (which compiler)? 20090322 18:20:23< mordante> I do love the warning at the end of the page ;-) 20090322 18:21:08< Pietro_S_> sun studio - latest express release, but sstudio 12 have same problem 20090322 18:21:45< mordante> Ivanovic, both forum changelogs point at 1.6 is that on purpose? 20090322 18:21:59< ettin> Ivanovic: yes, thanks 20090322 18:22:11< mordante> Pietro_S_, when it crashes can you print the CPU flags 20090322 18:22:26< Shadow_Master> mordante, Ivanovic same for the release announcement's changelog link 20090322 18:23:02< ilor> Pietro_S_: the compiler version is SunPro 5.9? 20090322 18:23:24-!- torghul [n=chatzill@85.100.107.77] has quit [Read error: 104 (Connection reset by peer)] 20090322 18:23:40< ilor> boost docs say SunPro 5.8 doesn't like foreach with a rvalue 20090322 18:25:57< Pietro_S_> ilor: version is: CC: Sun Ceres C++ 5.10 SunOS_i386 2009/03/06 20090322 18:27:07< Pietro_S_> mordante: why do you want them? (I just closed debuger ;0) 20090322 18:27:28< mordante> it might be some sdl bug, but not sure 20090322 18:27:54< mordante> but what's your workaround? 20090322 18:28:03< ilor> Pietro_S_: we had some run-ins with a SDL bug that messed up a cpu flag that would explode some piece of code later 20090322 18:28:30< Pietro_S_> ilor: I will ask on sstudio forums, if it's compiler bug ... 20090322 18:28:52< ilor> mordante: his workaround is to use a temporary var to hold the vector, effectively avoidinga foreach(rvalue) which could be a problem in the sun c++ compiler 20090322 18:28:56< alink> that's why i asked if it was during scrolling? I think that SDL bug was only when writing a surface on itself 20090322 18:29:06< alink> s/?// 20090322 18:29:26< ilor> I was kinda hoping that on unsupported plaforms such constructs wouldn't compile 20090322 18:29:42< alink> (and i am not aware of other places in code where we use that) 20090322 18:30:50< mordante> alink, if it copies a surface backwards, so probably only scrolling 20090322 18:31:04< alink> but I suppose that a tiny scrolling at the start of the scenario is possible 20090322 18:31:28< Velory> Dragonking:ok i removed my line about curing ability.I didnt knew that before.Do you saw any other line which is not necessary in code? 20090322 18:31:29< mordante> ilor, if that workaround helps it might be an boost bug 20090322 18:31:50< Baufo> Shadow_Master, I checked and it is possible to log onto a mp server with an inactive name, I'll fix asap 20090322 18:31:51< ilor> mordante: boost says an older version of sun's compiler doesn't work with foreach(rvalue) 20090322 18:32:16< Dragonking> Velory: Nope. 20090322 18:32:19< ilor> but I think it should fail to build, not crash run-time 20090322 18:32:44< mordante> the question is do never versions of Sun work with older boost version or have both been modified 20090322 18:33:01< mordante> I agree it should give a build error, but bugs happen 20090322 18:33:22< Shadow_Master> Baufo: yeah, please do. thanks :) 20090322 18:33:37< Velory> Dragonking:Ok do u have any suggestion about attack problem ? its not because of occupied by my own unit and i cant get it why 20090322 18:34:17< res|laptop> Sirp: http://www.wesnoth.org/wiki/SummerOfCodeProposal_res - the patch is the same as yesterday; however, I also added some comments and a bit of outlook, so perhaps worth checking these 20090322 18:34:49< Sirp> res|laptop: ahhh cool, and I hadn't seen the patch 20090322 18:35:04< Dragonking> Velory: try to debug_print attack command and think about it 20090322 18:35:56-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090322 18:36:05< Velory> ./wesnoth -t formula -d 20090322 18:36:08< Velory> sorry :) 20090322 18:36:45< mordante> ilor, but maybe we should increase the dependency for boost to 1.34 so we can use the version in boost 20090322 18:36:50< Shadow_Master> try sudo bash now ;) 20090322 18:37:03< mordante> sudo bash :-P 20090322 18:37:41< ilor> mordante: I'm all for requiring a newer boost and not having our own copy 20090322 18:37:54< ilor> mordante: but I also doubt it'd help in this case 20090322 18:38:53< mordante> Ivanovic, at the front page '''Wesnoth 1.6''' a mishap in wiki formatting? 20090322 18:38:56< Velory> Dragonking:Ok 20090322 18:39:25< ilor> wesbot: log 32620 20090322 18:39:26< wesbot> boucman * r32620 : fix defend animations not playing (bug 12945) 20090322 18:39:26< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=32620 20090322 18:40:18< Shadow_Master> what's up with it? 20090322 18:41:36-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has joined #wesnoth-dev 20090322 18:43:06< ilor> it's the only place where we use foreach(string, utils::split) 20090322 18:43:36< ilor> I expected this to be more common, but it looks like every other use makes a temporary to hold the split() result 20090322 18:43:37< mordante> no idea, guess grep can answer that question 20090322 18:43:50< Pietro_S_> ilor: cool - so I don't need to patch more ;-) 20090322 18:44:49< Pietro_S_> mordante: by the way, I suggest to take look on opengrok - instead of greping source codes ... 20090322 18:47:08< Ivanovic> mordante: jupp, it is 20090322 18:47:44< mordante> Pietro_S_, looks interesting, but I can grep when in vim, which I often do 20090322 18:48:05< Ivanovic> mordante: fixed 20090322 18:48:30< Sirp> ilor: well I think we have only just introduced foreach relatively recently, and some people might not be that comfortable with its use 20090322 18:48:45< Pietro_S_> mordante: it has also console mode, which I use from vim ;-) and then of course gf ;P 20090322 18:49:45< Pietro_S_> mordante: what's command to print cpu flags in gdb, I can't find it in dbx documentation, but I have nice page with mapping gdb => dbx 20090322 18:50:21< Ivanovic> mordante: and it makes *zero* difference where the changelog points to, if it is tags/1.6 or tags/1.6a 20090322 18:50:26< Ivanovic> both are 100% identical 20090322 18:50:28< Ivanovic> ;) 20090322 18:50:40< Sirp> res|laptop: your patch and ideas look cool 20090322 18:50:58< Shadow_Master> Ivanovic: can new portraits be added to 1.6 upon request of one of the directors? 20090322 18:51:50< Ivanovic> res|laptop: patches should be submitted to patches.wesnoth.org 20090322 18:51:51-!- Baufo [n=thomas@wesnoth/developer/baufo] has quit ["Leaving"] 20090322 18:51:54< Ivanovic> Shadow_Master: of course they can 20090322 18:52:03< Ivanovic> res|laptop: this way they are not missed 20090322 18:52:15-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090322 18:55:03< ilor> Sirp: I can't say I like the fact that any foreach where the container is a function call can potientally be a crash-worthy bug on one of the supported platforms 20090322 18:56:21< mordante> thanks Ivanovic 20090322 18:57:05< mordante> Pietro_S_, can't remember the specific issues but if the foreach workaround works, I guess that was the cause 20090322 18:57:22< Sirp> ilor: SunPro is considered a supported platform? 20090322 18:57:37< ilor> Sirp: I thought it was 20090322 18:57:45< mordante> ilor, that's why I'd like to try to use the version shipped with boost so Pietro_S_ can test whether it fixes it 20090322 18:57:51-!- Rohita [n=Rohita@202.69.192.81] has joined #wesnoth-dev 20090322 18:58:20< mordante> hi Rohita 20090322 18:58:30< loonycyborg> Sirp: SunPro is supported as long as Pietro_S_ is here :P 20090322 18:58:34< Rohita> Hi mordante 20090322 18:58:40< mordante> Rohita, is your forum account rohita85? 20090322 18:58:47< Rohita> yes 20090322 18:59:11< mordante> Shadow_Master, you do the honours or do you want me to do it? ^ 20090322 18:59:27< silene> i didn't quite follow (and i'm a bit too lazy to go through the logs), are you saying that sunpro is not capable to compile a code that produce an object inside a for loop? 20090322 18:59:44< mordante> with boost foreach 20090322 18:59:56< Rohita> I wanted to know whether multiplayer stats are aslo saved in the database? 20090322 19:00:04< silene> mordante: boost foreach is nothing more than a few nested forloops 20090322 19:00:07< Shadow_Master> mordante: I do 20090322 19:00:07< mordante> and it compiles but seems to crash at runtime 20090322 19:00:36< loonycyborg> silene: It's also a macro :P 20090322 19:00:40< mordante> silene, yes but ilor already read that there were some problems with older Sun compilers 20090322 19:00:42< Shadow_Master> mordante: done 20090322 19:01:03< mordante> Rohita, you've been put in the gsoc group on the forum 20090322 19:01:31< Rohita> ok thanks mordante 20090322 19:01:31 * Shadow_Master mumbles something about the proposal wiki page 20090322 19:01:51< Rohita> A campaign creator had come up with some intersting ideas 20090322 19:01:55< ilor> silene: the boost docs specifically say that "some" compilers "won't work" with foreach if the container is a rvalue. It seems that it extends to "compiles but crashes at runtime" 20090322 19:01:58 * Shadow_Master pokes mordante about it 20090322 19:02:12< mordante> Shadow_Master, ? 20090322 19:02:23< Rohita> I want to know whether multiplayer stats are also saved in databases or only single palyer ones 20090322 19:03:14< mordante> the stats are saved in a database 20090322 19:03:46< Rohita> the multiplayer stats too? 20090322 19:03:48< mordante> but only of single player 20090322 19:04:13< Rohita> ah i c 20090322 19:05:37< mordante> btw when it's busy it might take some time for us to answer, not needed to ask twice 20090322 19:05:51< Velory> Dragonking:i dont know how to add debug_print in poisoner_attacks i try with normal syntax but not worked 20090322 19:05:59< Velory> s/try/tried 20090322 19:06:25< Rohita> sure 20090322 19:11:45-!- Shadow_Master is now known as shadowm_dead 20090322 19:11:53< Ivanovic> Rhonda: any idea if/when wesnoth will be added to etch-backports? 20090322 19:12:00< Ivanovic> or lenny-backports 20090322 19:12:19< loonycyborg> You mean wesnoth 1.6? 20090322 19:12:24< shadowm_dead> obviously 20090322 19:12:49< shadowm_dead> etch has 1.2.something and lenny has 1.4.4 20090322 19:13:12-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has joined #wesnoth-dev 20090322 19:13:20< Ivanovic> loonycyborg: of course i mean 1.6 20090322 19:14:38< loonycyborg> I thought so. Asked just in case :P 20090322 19:14:42< Velory> ok i found mistake 20090322 19:15:01< Velory> at last.. 20090322 19:16:31-!- shadowm_dead is now known as shadowmaster 20090322 19:16:49< Ivanovic> regarding news coverage: http://www.holarse-linuxgaming.de/news/battle_wesnoth_16_erschienen 20090322 19:18:31< shadowmaster> i can't understand a thing :p 20090322 19:19:07< mordante> shadowmaster, there's standing battle for wesnoth, you should understand that ;-) 20090322 19:19:46< shadowmaster> elias: pling 20090322 19:20:02< elias> shadowmaster: plonk 20090322 19:20:42< shadowmaster> elias: have you read my ML post about renaming the userdata/data/campaigns dir? what would I need to change in wesnoth_addon_manager for it? 20090322 19:21:10< elias> not sure, but let me check 20090322 19:22:22< elias> i think nothing at all 20090322 19:22:28< elias> it uses "." as default directory 20090322 19:22:42 * shadowmaster wants a "I say", not a "I think" >:) 20090322 19:22:51< elias> so if you wanted ~/.wesnoth/ you probably had to specify that already 20090322 19:23:01< elias> heh 20090322 19:23:54< elias> can only be sure after the change is made and Soliton doesn't complain that it stopped working :) 20090322 19:24:12< shadowmaster> he'd kill me first. not good. 20090322 19:24:33< elias> but really, the only place where it would have made sense to use a hardcoded path would have been the default addons directory 20090322 19:28:47-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)] 20090322 19:29:20< mordante> I'm off bye 20090322 19:29:31-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090322 19:29:43-!- silene [n=plouf@86.218.23.230] has joined #wesnoth-dev 20090322 19:30:29< shadowmaster> hi silene 20090322 19:30:29-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090322 19:30:57-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090322 19:30:58< Velory> Dragonking: Are you there? 20090322 19:31:30< silene> shadowmaster: no need to greet, i didn't leave, it was just the adsl having a fit ;-) 20090322 19:31:38< shadowmaster> I didn't see you before? 20090322 19:31:58< shadowmaster> silene: how's the config interface changes going? 20090322 19:33:34< silene> shadowmaster: i haven't touched it today, for now i'm finishing the documentation for luawml, so that it is ready by the time i commit 20090322 19:44:01-!- Eternal [i=HEterno@dsl-jnsbrasgw2-ff64c000-11.dhcp.inet.fi] has joined #wesnoth-dev 20090322 19:45:08-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090322 19:46:18-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Remote closed the connection] 20090322 19:46:53-!- shadowmaster is now known as ShikadiLord 20090322 19:55:05-!- ryochan7 [n=ryochan7@173.9.238.161] has joined #wesnoth-dev 20090322 19:55:07< ShikadiLord> loonycyborg: are you translator? 20090322 19:55:46< loonycyborg> ShikadiLord: Nope. I don't actually translate anything. 20090322 19:55:48-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090322 19:56:01< Ivanovic> loonycyborg: you translate sourcecode into binaries 20090322 19:56:02< Ivanovic> ;) 20090322 19:57:03< loonycyborg> I've just added myself to the wiki just in case translation maintainer disappears so I could review/relay translations. 20090322 19:58:13< ShikadiLord> aha. A deputy maintainer 20090322 19:58:39-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090322 19:59:10< loonycyborg> Backup maintainer :P 20090322 20:00:09-!- Rohita [n=Rohita@202.69.192.81] has quit ["Leaving"] 20090322 20:00:33< CIA-70> silene * r34037 /trunk/src/serialization/preprocessor.cpp: Added '<<' and '>>' as stronger quotes for avoiding preprocessing some strings. 20090322 20:01:15< CIA-70> silene * r34039 /trunk/src/play_controller.cpp: Added a 'preload' event that is run before 'prestart' or when loading savegame. 20090322 20:01:54< CIA-70> silene * r34038 /trunk/src/serialization/tokenizer.hpp: Added support for <<...>> strings in the tokenizer. 20090322 20:02:03< CIA-70> silene * r34040 /trunk/ (5 files in 3 dirs): Added support for Lua scripts. 20090322 20:02:04< CIA-70> silene * r34042 /trunk/src/scripting/lua.cpp: Ensured that config objects created by Lua are handled by the vconfig cache system, so that they are not deleted prematurely. 20090322 20:02:04< CIA-70> silene * r34041 /trunk/src/game_events.cpp: Added a 'lua' tag. 20090322 20:02:09< ShikadiLord> I knew it. 20090322 20:02:10< CIA-70> silene * r34044 /trunk/src/scripting/lua.cpp: Removed arbitrary access to Lua files. 20090322 20:02:12< CIA-70> silene * r34043 /trunk/src/scripting/lua.cpp: Added a boolean parameter to wesnoth.get_variable for faster queries. 20090322 20:02:21< CIA-70> silene * r34045 /trunk/src/scripting/lua.cpp: Fixed reporting on syntax error. 20090322 20:02:24< CIA-70> silene * r34046 /trunk/src/scripting/ (lua.cpp lua.hpp): Added copyright. 20090322 20:02:31-!- ShikadiLord is now known as Shadow_Master 20090322 20:02:33< CIA-70> silene * r34049 /trunk/src/ (game_events.cpp scripting/lua.cpp scripting/lua.hpp): Passed event arguments by complete table and added the "args" tag to it. 20090322 20:02:36< CIA-70> silene * r34047 /trunk/src/scripting/lua.cpp: Made the Lua kernel reentrant by storing the error handler in the registry. 20090322 20:02:37< CIA-70> silene * r34048 /trunk/data/lua/ (. helper.lua): Added Lua helper file. 20090322 20:03:07< silene> nice, the order of the commits is completely random 20090322 20:03:22< Shadow_Master> poor CIA bots 20090322 20:03:36< Shadow_Master> it may also be a problem at gna though 20090322 20:03:58< Ivanovic> silene: it just depends on "when the bot gets the message" 20090322 20:04:21< silene> how do the cia bots work? do they read the ml? or are they plugged to a subversion commit scripts? or something else? 20090322 20:04:43< Shadow_Master> a svn commit hook does some magik to notify the CIA database of the commits 20090322 20:04:43< Ivanovic> they get some kind of notifications, it is not a plain commit hook 20090322 20:04:57< Shadow_Master> IIRC it is by sending an email 20090322 20:04:57< alink> the commit ml is in the good order 20090322 20:05:06< Shadow_Master> (not related to the commit ML) 20090322 20:05:27< alink> (this time, but not always) 20090322 20:06:11< alink> mmh *I* received the commit mail in the good order, not sure if it's the same for CIA 20090322 20:06:36< noy> sigh, who knows how to put a range ban on the multiplayer server? 20090322 20:07:07< alink> (not related to the commit ML) <-- you mean CIA doesn't use that ? 20090322 20:07:28< Shadow_Master> yes, IIRC 20090322 20:08:44< noy> ... cmon people. 20090322 20:08:55< Shadow_Master> noy: Soliton isn't around atm. Let me see if I can figure it out for you ^^ 20090322 20:09:30-!- Velory [n=GProcess@85.104.144.149] has left #wesnoth-dev [] 20090322 20:09:38< noy> thanks 20090322 20:09:39-!- Velory [n=GProcess@85.104.144.149] has joined #wesnoth-dev 20090322 20:10:31-!- Velory [n=GProcess@85.104.144.149] has left #wesnoth-dev [] 20090322 20:13:43< loonycyborg> Anyone knows what "could not detach HEAD" git error means? 20090322 20:13:52-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090322 20:14:34-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has quit [] 20090322 20:14:48< Shadow_Master> #git :p 20090322 20:17:09< loonycyborg> git clean -df fixed it.. 20090322 20:17:15-!- Velory [n=GProcess@85.104.144.149] has joined #wesnoth-dev 20090322 20:17:24 * loonycyborg googled instead of asking on the channel 20090322 20:17:57< Shadow_Master> I know. 20090322 20:20:38< Shadow_Master> Ivanovic: so using whitespaces is evil now? what about the WML indentation standards here? 20090322 20:21:16< Ivanovic> Shadow_Master: we *are* the root of all evil 20090322 20:21:27< happygrue> Soliton: grrr edited the motd on the 1.6 server, and requests that you reformat it with newlines to make it look nice. 20090322 20:24:50< happygrue> Soliton: also, when you return can you please setup #wesnoth-mp-lobby-1.6 (or just edit the topic in #wesnoth-mp if it is already setup, as I couldn't find it) 20090322 20:25:19< Shadow_Master> happygrue: it is #wesnoth-mp-lobby-dev atm 20090322 20:25:24< Shadow_Master> i think. 20090322 20:25:27< happygrue> no, that is dead 20090322 20:25:36< happygrue> and I imagine that will be for 1.7 anyway 20090322 20:25:37< Shadow_Master> ah. hah, haha ;) 20090322 20:25:39< happygrue> ;) 20090322 20:25:57< happygrue> AFAICT there is no echo of the 1.6 lobby atm 20090322 20:26:35-!- kitty_ [n=kitty@wesnoth/artist/kitty] has joined #wesnoth-dev 20090322 20:26:57< Shadow_Master> hi kitty_ 20090322 20:27:02< kitty_> hi 20090322 20:27:04< Eternal> oh! hello! 20090322 20:28:14< Shadow_Master> hi Eternal 20090322 20:30:00< Eternal> The school ended. And you can guess what that means. 20090322 20:31:08< Shadow_Master> that we can kidnap you and use you as an art-making slave? 20090322 20:31:34< Eternal> Yes. 20090322 20:31:46< Shadow_Master> good. ask jetryl for a job. 20090322 20:31:57< Eternal> I have one: Orc Archer 20090322 20:32:22< thespaceinvader> hey Eternal 20090322 20:33:06< Eternal> yes? 20090322 20:33:16< Eternal> (or was it hey as in hi?) 20090322 20:33:42< Sirp> hi kitty_ 20090322 20:34:00< thespaceinvader> yeah, hey as in hi 20090322 20:34:02< kitty_> hi Sirp 20090322 20:34:20< Sirp> kitty_: congratulations on the huge impact you've made on 1.6. :) 20090322 20:34:20< thespaceinvader> though i have been wondering whether you were plpanning any further changes to the Great Troll 20090322 20:34:47< thespaceinvader> specifically, if you wouldn't mind a mildly less comically oversized hammer, in a similar design to the Hero's 20090322 20:34:50< kitty_> Sirp: :) I'm just downloading it 20090322 20:34:52< thespaceinvader> then i can animate them 20090322 20:34:53< CIA-70> loonycyborg * r34050 /trunk/ (SConstruct src/SConscript): Added support for lua to scons. 20090322 20:34:54< thespaceinvader> finally 20090322 20:34:57< Eternal> I will downsize the hammer 20090322 20:35:03< Eternal> the current one is a joke 20090322 20:35:13< Blueblaze> Eternal: Oh, we were hoping for a bigger one :( 20090322 20:35:33< Eternal> plus, some muscular anatomy was wrong in the previous one and that I must fic 20090322 20:35:42< thespaceinvader> cool 20090322 20:35:42< Eternal> blueblaze: :D 20090322 20:35:50< thespaceinvader> i'll get on with the Hero at some point 20090322 20:35:59< thespaceinvader> but I'll wait on the Great for a while 20090322 20:36:10< Blueblaze> Eternal: Better yet, replace it with this weapon, I like it better: http://www.wesnoth.org/forum/viewtopic.php?p=346712#p346712 20090322 20:36:51< Eternal> but it needs a spike for piercing damage 20090322 20:37:03< Blueblaze> ahh, good point 20090322 20:37:30-!- alink_ [n=alink@78.129.18.215] has joined #wesnoth-dev 20090322 20:42:48< ilor> summon mordante 20090322 20:44:16< AI0867> mordante: http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24583 20090322 20:44:22< grzywacz> ilor, I need him too : 20090322 20:44:37 * Shadow_Master raises a hand and gathers some sith power 20090322 20:46:49-!- fabi [n=fabi@f051233037.adsl.alicedsl.de] has joined #wesnoth-dev 20090322 20:46:54< Dragonking> Velory: Yes? 20090322 20:50:43-!- elias [n=elias@allegro/developer/allefant] has quit ["Leaving"] 20090322 20:50:55< zookeeper> wow, the 1.6 MP server is starting to fill up pretty fast. 20090322 20:52:58-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 145 (Connection timed out)] 20090322 20:53:24< CIA-70> loonycyborg * r34051 /trunk/ (SConstruct scons/pkgconfig.py): 20090322 20:53:24< CIA-70> Made pkgconfig check add '' around package's name 20090322 20:53:24< CIA-70> to relieve check's caller from this responsibility. 20090322 20:53:38< res|laptop> Sirp: I'm not fond of the .t_str() additions and game_state changes but I don't see a way around 20090322 20:53:44< Velory> Dragonking: i think i solved problem right now(before i always added creatures with Crate Unit(debug) and they gave me error always bu now i create a unit in scenario-test with [unit] tag and now working well 20090322 20:53:47< Blueblaze> zookeeper: Indeed, about 100 people on right now :o 20090322 20:53:49-!- shikadibot [n=shikadi@wesnoth/bot/shikadibot] has joined #wesnoth-dev 20090322 20:53:59< Blueblaze> Granted, this is peak time for the server 20090322 20:54:04-!- shikadibot [n=shikadi@wesnoth/bot/shikadibot] has quit [Client Quit] 20090322 20:54:45< Eternal> I've never seen so many people in wesnoth mp lobby before. 20090322 20:55:13< Blueblaze> Eternal, ehh, we surpass 200 on a daily basis 20090322 20:55:27< Shadow_Master> you've been out for too long it seems 20090322 20:55:31< Blueblaze> Heh 20090322 20:55:36-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has joined #wesnoth-dev 20090322 20:55:40< Shadow_Master> watch the 1.4 server instead ;) 20090322 20:55:45-!- alink [n=alink@wesnoth/developer/alink] has quit [Success] 20090322 20:55:58< Eternal> Well, it's true. I've been gone for a long time. 20090322 20:56:05< Dragonking> Velory: I see 20090322 20:56:18< grzywacz> I'm getting asserts in gui2 again. :S 20090322 20:56:32< res|laptop> Sirp: anyhow, I'm kind of thinking of the following plan: 1. store key strings in a global "add-only" store so each config only holds a pointer to the global copy; should cut down key mem usage 2. have t_string's value backed by a "copy on write" implementation, so for strings from the config (and elsewhere) a single copy is used unless modified 20090322 20:57:32< Sirp> res|laptop: okay, that sounds like it might be reasonable. I like having a global store, though we might have to consider the case where someone opens a campaign which contains a load of strings, then closes the campaign, and chooses to play a different campaign, which has another load of strings 20090322 20:57:40< Sirp> would the strings from the first campaign get released? 20090322 20:58:20< Velory> sudo make install 20090322 20:58:23< Velory> sorry :) 20090322 20:58:57< Velory> Dragonking:So should i upload this patch or what should i do ? 20090322 20:59:10< res|laptop> Sirp: keys no, values yes 20090322 21:00:26< res|laptop> I'm assuming that most configs use very similar sets of, and, not so many, keys so it doesn't hurt if they hang around 20090322 21:01:02< Dragonking> Velory: Paste both files on your wiki with proposal 20090322 21:01:08< res|laptop> btw, I forgot: 3. check for other remaining memory sinks ;) 20090322 21:01:32-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Connection timed out] 20090322 21:02:00< Sirp> res|laptop: ahhh yes I agree that keys can always stay around. 20090322 21:02:27-!- [[karambol]] [n=sienkiew@public14476.xdsl.centertel.pl] has joined #wesnoth-dev 20090322 21:02:29< Sirp> res|laptop: I think it might be useful to consider something somewhat similar for values though. 20090322 21:02:46< Sirp> res|laptop: if a value is translatable, I think it is highly likely to be unique, and so should be allocated 'dynamically' 20090322 21:02:56< [[karambol]]> is it on purpose that in wesnoth 1.6 bats have 60 % in water villages, but 40 % in all other villages? 20090322 21:03:06< Sirp> res|laptop: however if a value is non-translatable, I think it is highly likely to be shared, and so could be allocated from a global store. 20090322 21:03:10< res|laptop> Sirp: '_ "Blah"' means translatable? 20090322 21:03:22< Sirp> res|laptop: yes, the underscore indicates translatable. 20090322 21:03:23< Eternal> Fire Dragon: http://imagebin.org/42316 ... Are the wings still aligned off? What says the lot of you? 20090322 21:03:54< Velory> Dragonking: Ok just paste codes or with upload links ? And im thinking about Healer improvements at http://www.wesnoth.org/wiki/EasyCoding#Healer_improvements can u give me info about that improvement like what u want from me etc.? 20090322 21:03:58< zookeeper> Eternal, well, i know that they'd cover up any unit north of it :p 20090322 21:04:05-!- silene [n=plouf@ASte-Genev-Bois-152-1-25-51.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090322 21:04:09< res|laptop> Sirp: okay. yeah, although I also see strings like: 20090322 21:04:10< Ivanovic> crimson_penguin: http://www.macupdate.com/info.php/id/17692/battle-for-wesnoth 20090322 21:04:12< res|laptop> "type=Footpad_Peasant,Outlaw_Peasant,Fugitive_Peasant,Thug_Peasant,Bandit_Peasant,Highwayman_Peasant,Poac 20090322 21:04:12< res|laptop> her_Peasant,Trapper_Peasant,Huntsman_Peasant" 20090322 21:04:15< Ivanovic> "ZARN THE MAD The installer refuses to install to my HD. It claims I need at least Mac OS 10.4.4 to use the software. Since I have version 10.4.11 installed, I suspect that there is an error in the installer's configuration." 20090322 21:04:35< Ivanovic> ah, sorry, was an "old" reply for 1.5.2 20090322 21:04:42< Sirp> res|laptop: yeah that admittedly might not be shared. Though at least such strings tend to be small. 20090322 21:04:45< res|laptop> so maybe add a heuristic on top so very long yet untranslatable strings are still saved in a "deletable" way 20090322 21:04:55< Sirp> res|laptop: I can agree with that. 20090322 21:05:21< Eternal> zookeeper: I'd actually say that they don't. The north hex should fall right between the wings, so you can see most of the unit standing there. 20090322 21:06:01< zookeeper> Eternal, put it on a map and have a look. if you align it like that then the dragon's behind will cover up over half of the hex northwest of it 20090322 21:06:15< zookeeper> well...about half 20090322 21:08:40< Eternal> hmm.. true 20090322 21:08:53< Eternal> Is this really bad? 20090322 21:09:48 * zookeeper shrugs 20090322 21:10:12< cjhopman> loonycyborg: i don't think your lua check works right 20090322 21:10:44< boucman> back 20090322 21:10:47< res|laptop> Sirp: excellent. 20090322 21:10:52< boucman> congratulation everybody for 1.6 20090322 21:10:58< zookeeper> Eternal, test it in-game with various units surrounding it? 20090322 21:11:33< loonycyborg> cjhopman: It works right for me. Details? 20090322 21:12:41< cjhopman> well, it doesn't find lua and then won't build.. but i have lua5.1 20090322 21:13:37< cjhopman> lua5.1 -v Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio 20090322 21:13:56< Velory> boucman 20090322 21:14:08< Ivanovic> silene: you should also send a mail to the ml that you now added lua support and that a new dependency is needed 20090322 21:14:12< loonycyborg> cjhopman: Does "pkg-config --libs --cflags lua" print something? 20090322 21:14:13-!- Shadow_Master [n=ignacio@wesnoth/developer/shadowmaster] has quit ["bye"] 20090322 21:14:17< Ivanovic> and do not forget to also add this to RELEASE_NOTES 20090322 21:14:21< boucman> Velory: yes ? 20090322 21:14:31< Velory> i completed poisoning improvement also i added some conditions to eval 20090322 21:14:35< Velory> and tested 20090322 21:14:41< silene> Sirp, res|laptop: if you are talking about sharing non-translated attribute values, my testing shows it is completely unneeded; tstring objects are 16 or 24 bytes, so this is a space that is used anyway; just store untranslated strings as C strings in this space 20090322 21:15:14< Velory> working well now 20090322 21:15:20< silene> Ivanovic: yet another spam about lua on the ml-dev? people will start hating me 20090322 21:15:41< Ivanovic> silene: since it is an important change, this is needed... 20090322 21:15:56< cjhopman> loonycyborg: no package found 20090322 21:16:17< Velory> boucman:? 20090322 21:16:44< res|laptop> silene: hm, okay 20090322 21:16:59< loonycyborg> cjhopman: Does "pkg-config --libs --cflags lua5.1" work? 20090322 21:17:19< boucman> Velory: good, now you should post it to patches.wesnoth.org 20090322 21:17:28-!- alink__ [n=alink@78.129.18.215] has joined #wesnoth-dev 20090322 21:17:32< cjhopman> loonycyborg: no, same thing 20090322 21:17:44< loonycyborg> Which distro? 20090322 21:18:41-!- sk-- [n=sk@pool-68-238-184-65.phil.east.verizon.net] has joined #wesnoth-dev 20090322 21:18:49< sk--> I'm getting a pretty serious bug with 1.6a. 20090322 21:19:03< Velory> boucman:should i submit also scenario-formula test_ 20090322 21:19:05< Velory> ? 20090322 21:19:15-!- mhilmi [n=mhilmi@70.82.77.138] has joined #wesnoth-dev 20090322 21:19:18< boucman> yes, if it's not usefull I'll remove it 20090322 21:19:20< cjhopman> ubuntu intrepid... maybe its just some other package i need but i don't know... 20090322 21:19:21< sk--> When someone leaves a game and it gives the menu to select a player to hand the side to, if you try to hand it to an existing player it says that that player is not found. 20090322 21:19:26< sk--> This has happened 3 times now. 20090322 21:19:33< loonycyborg> cjhopman: liblua-dev or so. 20090322 21:19:41< loonycyborg> liblua5.1-0-dev 20090322 21:19:49< sk--> This is a pretty serious/obnoxious bug. 20090322 21:19:58< loonycyborg> "lua" package doesn't include development files. 20090322 21:20:20< cjhopman> yeah that's what i looked for... not in the repository 20090322 21:20:56< cjhopman> has 5.0 20090322 21:21:02< Velory> Ok, 20090322 21:21:16< cjhopman> i'll just go find it 20090322 21:21:27< sk--> You guys might want to fix that asap. 20090322 21:26:00< silene> cjhopman: 5.1 is 3 years old; how old is your repository? 20090322 21:26:10< Velory> boucman:by the way code has finished about 5 hours ago but i had took errors all the time.Then i found why im taking this error about 20 min ago. Its because im creating units in-game with create unit(!debug).its solved when i create poison ability units from scenario-formula.cfg with [unit] tag so i want to attach because of that 20090322 21:27:46< happygrue> sk--: did you file a bug report? 20090322 21:28:16-!- alink_ [n=alink@78.129.18.215] has quit [Connection timed out] 20090322 21:28:47< silene> cjhopman: that being said, you could test with 5.0, it may just work 20090322 21:29:33< cjhopman> silene: i've got it working. 20090322 21:30:07< cjhopman> maybe i was just being dumb, but the package wasn't showing up in synaptic, or with auto-complete in the terminal 20090322 21:30:15< sk--> happygrue, yes i filed a bug report 20090322 21:30:39< happygrue> ok, good 20090322 21:31:18-!- BenUrban_ [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20090322 21:32:55-!- lgraham [n=lgraham@d75-158-155-172.abhsia.telus.net] has quit ["Leaving"] 20090322 21:33:18-!- elad01 [n=they@void-59.cs.huji.ac.il] has joined #wesnoth-dev 20090322 21:33:50< elad01> hi all! 20090322 21:35:07< Velory> boucman:whats this patch priority? 20090322 21:35:22< boucman> leave the default 20090322 21:35:31< elad01> can someone tell me what is the "structure of developement community" of wesnoth (anarchy, meritocracy 20090322 21:35:31< elad01> ? 20090322 21:35:32< Velory> ok 20090322 21:36:15< Velory> boucman:check https://gna.org/patch/index.php?1138 20090322 21:36:21< boucman> elad01: hmm, i'd say it's an oligarchy, but i'm no expert 20090322 21:37:49< zookeeper> it's OSS so it has to be communism :< 20090322 21:38:09-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090322 21:38:43< elad01> zookeeper: not everyone can submit changes, there are people in charge, people who can refuse to make changes, etc... 20090322 21:39:27< boucman> elad01: the tricky part, is that we have "sub-communities" and each of them have their own form of governance 20090322 21:39:47< boucman> music is made of a handfull of people which discuss together and agree together what to do 20090322 21:39:48-!- alink__ is now known as alink 20090322 21:40:09< elad01> boucman: developers? 20090322 21:40:16< boucman> Art is mor like a dictatorship structure, lots of people doing stuff and a couple of people with real privileges 20090322 21:40:48< elad01> (code devlopers) 20090322 21:41:00< boucman> for code, we have a new developer process you have to go through, and once you're in, you have more or less power to do anything you want, just avoid stepping on your neighbour's toe 20090322 21:41:02< Blueblaze> elad01: Developers don't have say in every area either, only in their specific areas, like a code developer isn't going to tell the art director that this art looks bad 20090322 21:41:18< boucman> and big decisions are dicussed on a ML until we more or less reach a consensu 20090322 21:41:19< boucman> s 20090322 21:41:20< Blueblaze> Well, they may, but it won't have much authority behind it :P 20090322 21:41:54< elad01> "good for all" anarchy 20090322 21:42:28-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Nick collision from services.] 20090322 21:42:33-!- BenUrban_ is now known as BenUrban 20090322 21:42:44< boucman> elad01: yes, for code 20090322 21:44:43-!- sylecn [n=sylecn@resnet2-50-218.dorm.utexas.edu] has quit ["Leaving"] 20090322 21:48:14-!- faktor4u [n=faktor@chello089077167144.chello.pl] has joined #wesnoth-dev 20090322 21:49:31-!- happygrue [n=George@wesnoth/developer/wintermute] has quit ["http://xkcd.com/91/"] 20090322 21:51:40< Eternal> Did some ingame testing with my dragon. http://imagebin.org/42323 20090322 21:51:49< Velory> boucman: im thinking about http://www.wesnoth.org/wiki/EasyCoding#Healer_improvements can you give me info about what you want ? 20090322 21:52:01< Velory> etc. 20090322 21:52:20< boucman> Velory: not really, that was a generic idea, it would need some thinking 20090322 21:52:50< boucman> basicaly look for a hex next to as many wounded units as possible and move there 20090322 21:52:53< alink> 'Here be dragons' ;-p 20090322 21:52:59< zookeeper> Eternal, haha, i like how the merman's tail gets in his face :P 20090322 21:53:07< Eternal> So do I :D 20090322 21:53:14-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090322 21:53:21-!- sk-- [n=sk@pool-68-238-184-65.phil.east.verizon.net] has left #wesnoth-dev ["Leaving"] 20090322 21:53:24< alink> why not just fold its wings ? 20090322 21:53:30< Eternal> It was pain just to get the dragon positioned in the hex like that 20090322 21:53:39< Eternal> because folded wings look so dull 20090322 21:53:57< Velory> boucman: will there any priorities in the units for example if leader's health is lower,first priority is going near of leader maybe ? 20090322 21:54:00< alink> 'just' <- would take weeks for me to redraw it ;p 20090322 21:54:13< zookeeper> i realized just now that the biggest problem i think will be with cave walls and castles and stuff. 20090322 21:54:21< boucman> Velory: well, maybe, you have to think about it :) 20090322 21:54:27< Eternal> zookeeper: indeed 20090322 21:54:28< boucman> we want to see how you think :P 20090322 21:54:30< Velory> Ok :) 20090322 21:54:36< Velory> hehe 20090322 21:54:42< elad01> what outer libs the game use and dephend on? 20090322 21:55:07< boucman> Eternal: the dragon should be drawn over the right merman => probably an engine bug, we'll have to discuss it with mordante 20090322 21:55:18< Velory> and im thinking about add Global functions and variables to Formula AI language i can add in formula_function.cpp righT? 20090322 21:55:42< Velory> or any other codes that i can look in it ? 20090322 21:56:03< Eternal> boucman: good thing I could bring something like this up 20090322 21:56:19-!- Jetrel [n=Jetrel@wesnoth/artist/jetrel] has joined #wesnoth-dev 20090322 21:56:29< boucman> Velory: I think we already have that... 20090322 21:56:46< Jetrel> zookeeper said "eternal is on #wesnoth-dev now figuring out the fire dragon atm, if you're interested" 20090322 21:57:05< Eternal> Hi there Jet 20090322 21:57:07< Jetrel> eternal: so, although I'm stepping out for a quick shower, I'm around. 20090322 21:57:16< Jetrel> :) 20090322 21:57:24-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090322 21:57:52< boucman> Jetrel: Eternal posted this before you arrived http://imagebin.org/42323 20090322 21:58:33< zookeeper> (read the logs..) 20090322 22:02:58< Eternal> wings: to fold or not to fold? 20090322 22:04:28< cjhopman> http://pages.cs.wisc.edu/~hopman/pprof31904.1.ps 20090322 22:04:38< cjhopman> ^ starting to do heap profiling 20090322 22:04:51-!- andrai [n=andrelui@189.71.77.239] has quit [] 20090322 22:07:33-!- grouzen [n=grouzen@brt.net.ua] has left #wesnoth-dev [] 20090322 22:10:54-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20090322 22:11:08< mordante> hi 20090322 22:11:36 * mordante was just reading a certain line in the log just after starting xchat... 20090322 22:11:45 * mordante looks at ilor 20090322 22:12:08< mordante> and at grzywacz 20090322 22:12:17< Velory> boucman:i know we have formula_function.cpp :D i asking i must work with formula_funcion.cpp to do that right? 20090322 22:12:44< boucman> Velory: I don't understand what you're saying 20090322 22:12:52< mordante> ha my change at least gives a sane error instead of an assertion failure 20090322 22:13:10< mordante> looking at lua for cmake first 20090322 22:13:31< ilor> mordante: I wanted to show you the forum link AI0867 posted right around my summoning 20090322 22:13:39-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090322 22:19:13< Velory> boucman:ok no worry i think no problem about that :) 20090322 22:21:33< Eternal> Great Troll with a small hammer: http://imagebin.org/42328 20090322 22:21:42< [[karambol]]> are http://wesnoth.yi.org/statistics/ going to be updated? 20090322 22:21:55< Eternal> perhaps I should make the pole just plain longer 20090322 22:22:43< Eternal> it looks stupid the way it currently is 20090322 22:22:44< mordante> grzywacz, you get asserts? 20090322 22:22:54< boucman> Eternal: long fangs, red eyes... is this a vampire troll ? :P 20090322 22:23:07< boucman> (sorry, but that was the first thing i thought when seeing him) 20090322 22:23:41< PK> Eternal: the only thing I see wrong are the legs/feet 20090322 22:23:45< PK> but those are the hardest part, for me. 20090322 22:24:28< Jetrel> Eternal: move the head of the hammer back, and make the holding arm more of a V shape pose, methinks. 20090322 22:24:41< Jetrel> Tell you what, I'll do a quick edit. :D 20090322 22:24:57< Eternal> :D 20090322 22:25:08< boucman> Velory: please post your changes as a patch, not as attached files 20090322 22:25:21-!- AndreLuiz [n=AndreLui@unaffiliated/andreluiz] has joined #wesnoth-dev 20090322 22:25:40< boucman> Velory: more specifically, please read http://www.wesnoth.org/forum/viewtopic.php?p=136866#p136866 20090322 22:26:09-!- chains [n=Rylar@adsl-76-223-15-65.dsl.chcgil.sbcglobal.net] has joined #wesnoth-dev 20090322 22:26:31< chains> big day today ;) 20090322 22:26:38< mordante> hi chains 20090322 22:26:57< Eternal> PK: I absolutely love those legs/feet, they are very stiff and trollish imo :) 20090322 22:27:29< chains> Does anyone else have extremely high CPU usage while viewing replays? 20090322 22:27:32< Velory> boucman:ok im reading 20090322 22:28:16< PK> Eternal: I see, well. Okay then. 20090322 22:28:23< Dragonking> boucman: I asked him to just attach files :) 20090322 22:28:26< boucman> Velory: I'll post my other comments directly on the patch entry 20090322 22:28:34< boucman> Dragonking: bad boy :) 20090322 22:28:39< Dragonking> boucman: Since other sudents may have different formula proposals 20090322 22:28:40-!- Crab_ [n=crab_@62.80.175.218] has joined #wesnoth-dev 20090322 22:28:47< Crab_> hi 20090322 22:29:05< boucman> Dragonking: ok 20090322 22:29:08-!- ayona [n=ayona@151.57.11.162] has joined #wesnoth-dev 20090322 22:29:28-!- faktor4u [n=faktor@chello089077167144.chello.pl] has quit ["..."] 20090322 22:30:14-!- Munk [n=munkhsoy@99.225.134.228] has joined #wesnoth-dev 20090322 22:31:00< Sapient> silene: your complicated example of ConditionalWML is unnecessarily complex here: http://www.wesnoth.org/forum/viewtopic.php?f=21&t=24585 20090322 22:31:07< Velory> hi crab_ 20090322 22:31:07< Crab_> mordante: around ? 20090322 22:31:11< CIA-70> mordante * r34052 /trunk/ (CMakeLists.txt src/CMakeLists.txt): Add lua support for cmake. 20090322 22:31:12< Crab_> hi Velory 20090322 22:31:13< Sapient> Conditional WML is far more robust now 20090322 22:31:16< CIA-70> mordante * r34053 /trunk/INSTALL: Mention lua in INSTALL. 20090322 22:31:44< Sapient> see http://www.wesnoth.org/wiki/AdvancedConditionalWML 20090322 22:31:54< mordante> Crab_, yes I was already hoping to see you 20090322 22:32:17< mordante> Crab_, regarding your patch did you see the comment about too much comment? 20090322 22:33:23< Crab_> mordante: Yes, I've seen it. Is there a problem with that ? 20090322 22:33:52< Sapient> silene, also you can use find_in=target_hex inside any location filter 20090322 22:34:00< silene> Sapient: i'm not sure i see the difference; it even seems like the wml would have been more complicated; or am i missing something? 20090322 22:34:00< mordante> well comment that states the obvious is a bit overkill and can be distracting 20090322 22:35:04< Sapient> multiple if-then nesting is totally unnecessary in your example 20090322 22:35:27< Sapient> if you don't mind I'd like to rewrite it to a more standard form 20090322 22:35:29< Crab_> mordante: yes, there are a few comments there that can be removed. But, for example, comments on return values are intentional. because that function overloads the return value (for example, it returns 'variant()' both in case that 'no suitable files found' and in case 'unable to create a formula from file') 20090322 22:35:42< silene> Sapient: that i understand, but does it make it a lot less long if you don't nest if? 20090322 22:36:06< Sapient> right 20090322 22:36:31< Sapient> but I don't want to give people bad examples of WML that make it look more awkward than it is, or encourage bad usage 20090322 22:36:47< PK> like half of my usage. 20090322 22:36:48< Crab_> mordante: maybe, let me remove the comments that I think are 'ok to remove', and they you'll look at it and say what do you think of those I've left. 20090322 22:36:59< PK> don't be a PK. Its a bad habit to get into. 20090322 22:37:54-!- ayona [n=ayona@151.57.11.162] has quit ["Ухожу я от вас (xchat 2.4.5 или старше)"] 20090322 22:38:12-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090322 22:38:14< chains> I also have really slow animations... 20090322 22:38:18< boucman> alink: around ? 20090322 22:38:25-!- ayona [n=ayona@151.57.11.162] has joined #wesnoth-dev 20090322 22:38:30< chains> Is this the same for everyone? 20090322 22:38:38< Sapient> another non-standard usage is equals=yes/on/true instead of boolean_equals= 20090322 22:38:42-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090322 22:39:13< Sapient> so, may I make an edit? 20090322 22:39:19< silene> Sapient: i don't mind you rewriting it, but please fix the tutorial along the way; my goal was to compare with some wml actually included in wesnoth 20090322 22:39:34< Sapient> ugh... the tutorial is horrid 20090322 22:39:36< silene> if you only fix the forum post, that would defeat the point 20090322 22:39:38< Crab_> mordante, see http://wesnoth.pastebin.com/m4014d5a 20090322 22:39:53< Sapient> I have already cleaned up some parts of the tutorial code, FYI 20090322 22:40:03< mordante> Crab_, regarding the return value what extra info does it add? The comment above the blocks already state what the block is supposed to do 20090322 22:40:22< mordante> feel free to leave them I just want to know 20090322 22:40:53< mordante> (I wrote that before looking at your revisited patch) 20090322 22:41:26< PK> I think that if the tutorial wasn't so cheezy, it'd be more interesting. 20090322 22:41:53< PK> cheese is only good on food. 20090322 22:41:58-!- Pietro_S_ [n=sobotkap@217.10.15.5] has left #wesnoth-dev [] 20090322 22:42:00< PK> and comedy. 20090322 22:42:12< thespaceinvader> Ivanovic: is it OK to add a generic portrait into 1.6 at present? LordBob's just done an awesome one for the Orc Grunt 20090322 22:42:15< boucman> PK: feel free to rewrite one :P 20090322 22:42:26< Jetrel> Eternal: http://www.allacrost.org/staff/user/jetryl/Great-Troll_hammer.png 20090322 22:42:32< PK> pfft, don't look at me, I'm like the cheesiest person not living on the moon. 20090322 22:42:36< chains> heh Wesnoth uses so much of my CPU that my cooling fans run at 100% now. Can any one else confirm much higher cpu usage? 20090322 22:42:46 * PK agrees 20090322 22:42:50< Ivanovic> thespaceinvader: sure 20090322 22:42:52< PK> it was like that for me with 1.4, though. 20090322 22:42:57< thespaceinvader> excellent :D 20090322 22:43:17< boucman> chains: seems normal here... 20090322 22:43:38< chains> whats your average usage in 1.4 and 1.6 while watching a replay boucman? 20090322 22:44:04< thespaceinvader> kitty_: for the grunt, i'll commit him just as the generic for the grunt at present, if that's OK, and leave the out-of-style images in place for now 20090322 22:44:11< chains> maybe if I turn off accelerated speed ? 20090322 22:44:27< thespaceinvader> we can fill out the orcs as we go, it's not like we're massively time-pressured at the moment 20090322 22:44:37< kitty_> thespaceinvader: ok 20090322 22:44:45< PK> is wesnoth ever time pressured, really? 20090322 22:45:05< mordante> Crab_, thanks I like this amount of comment much better 20090322 22:45:13< PK> its not like you get fired if you're late, or get demoted, or get it taken out of your pay. 20090322 22:45:28< Sirp> silene: part of the aim would be to make tstring objects not take up so much space 20090322 22:45:29< silene> Sapient: i'm not asking you to rewrite the whole tutorial, just this example; it would be counter-productive not to commit it if you fix it 20090322 22:45:52< Sapient> sure 20090322 22:46:00< mordante> nice to see lua in silene :-) 20090322 22:46:04< Eternal> Jetrel: That's great, thanks. I'll just fix that alignment problem and we're all done on that. 20090322 22:46:40< Jetrel> Eternal: yeah, mess with the musculature on the arm I tweaked, and the detailing on the hammer, however you see fit. 20090322 22:47:00-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Read error: 104 (Connection reset by peer)] 20090322 22:47:04< Jetrel> Eternal: You'll note a new color for the shadows - I'm batch converting all the images to it. 20090322 22:47:38< Jetrel> Eternal: amongst other things one advantage of the new color is that it's unique from other colors in an image, and you can magic-wand select it and not get part of the unit. 20090322 22:47:58< Crab_> mordante: IMO, commenting overloaded return values allows you to see the intent of the developer. So, If there is a bug in the code, another person can use the comments to compare my intent to the actual situation, without looking for me and asking 'what is the semantics of that function?' for example, one of the bugs I've fixed (infinite loop in the ai) would be fixed faster if the return value were commented in this fashion (I've asked Sirp about it and 20090322 22:49:03< mordante> personally I prefer to comment in front of the block and not the return value 20090322 22:49:15< thespaceinvader> hey Jetrel 20090322 22:49:21< mordante> but that's my preference and you don't need to mimic that ;-) 20090322 22:49:22< Jetrel> heya 20090322 22:49:40< CIA-70> ai0867 * r34054 /trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg: Fix the 'wiseguy' event in the tutorial. 20090322 22:49:47< Eternal> Jetrel: Very good. I previously used "not quite black" for the units because of the magic wand problem. 20090322 22:50:37< CIA-70> thespaceinvader * r34055 /trunk/ (6 files in 5 dirs): Add and wire Girgistan and LordBob's Orcish Grunt portrait, update changelogs, portrait credits. 20090322 22:50:40-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090322 22:51:00< silene> Sirp: careful there; if you mean reducing tstring by adding an indirection, please keep in mind that malloc has a non-negligible memory footprint, especially since we are talking about translatable strings that are hardly shared 20090322 22:51:01< mordante> and I agree that the important thing about comment is that you can see what the author intended to do 20090322 22:51:09-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090322 22:51:10< Jetrel> Eternal: plus the switch to purple for shadows is just better color theory. Alphaed-black is kinda artificial. There's also a big advantage in that if we decide to alter the hue later, because it's totally uniform, someone could convert all the sprites in wesnoth in about 5min with an imagemagick script. 20090322 22:51:54< mordante> res|laptop, is the patch on this page ready for review? http://www.wesnoth.org/wiki/SummerOfCodeProposal_res 20090322 22:52:10-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Client Quit] 20090322 22:52:33-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090322 22:53:16< boucman> res|laptop, Crab_ : I already pointed Velory there, and you seem to follow more or less the guidelines, but please have a look at http://www.wesnoth.org/forum/viewtopic.php?f=10&t=9979 20090322 22:53:19-!- elad01 [n=they@void-59.cs.huji.ac.il] has quit ["using sirc version 2.211+KSIRC/1.3.12"] 20090322 22:53:42< chains> a Font question: is there anyway to increase the size of the font across the top? I can't read it. 20090322 22:53:42< CIA-70> thespaceinvader * r34056 /branches/1.6/ (6 files in 5 dirs): Add and wire Girgistan and LordBob's Orcish Grunt portrait, update changelogs, portrait credits. 20090322 22:53:45< mordante> loonycyborg, can you try to test whether this is a Windows only problem, I can't reproduce it over here http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24583 20090322 22:54:01< silene> Sirp: just to clarify, when i said in my post that i had divided memory consumption by 6, it's because i was removing mallocs, not the contrary 20090322 22:54:02< chains> (gold per turn village numbers terrian defense 30% ) 20090322 22:54:20< Crab_> boucman. Ok, thanks, I've read through it. 20090322 22:54:46-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090322 22:55:10-!- ayona [n=ayona@151.57.11.162] has quit ["Ухожу я от вас (xchat 2.4.5 или старше)"] 20090322 22:55:41< Sapient> AI0867: thanks, I was just about to commit the exact same code :P 20090322 22:55:58< Sapient> didn't notice you beat me to it 20090322 22:56:48< Sirp> silene: all any indirection would be into a large block of malloced strings. It would not be into a single malloced block. 20090322 22:57:08< Sirp> silene: I completely agree that adding indirection into a single malloced block would be a very bad idea. 20090322 22:57:12< boucman> Crab_: I'm documenting debug_float right now, but you will have to document run_file once it's commited 20090322 22:57:18< Crab_> boucman: we also need to reapply my debug_float patch (no hurry, it should be done when it will be convenient) - I've added doxygen documentation and replaced spaces with tabs 20090322 22:57:39< boucman> ok, will do 20090322 22:57:39 * thespaceinvader does happy dance 20090322 22:57:44< Sapient> AI0867: um... why did you remove the name of the event from line 720? 20090322 22:57:50< thespaceinvader> we've got artists coming out all over the shap at the moment 20090322 22:57:54< thespaceinvader> *shop 20090322 22:58:15< kitty_> another new one?! 20090322 22:58:26< Crab_> boucman: so, If you haven't done anything with it yet - don't add doxygen comments, I'll do that (thats because I have to train myself to write them :) ) 20090322 22:58:40< Sapient> I hate concurrent edits 20090322 22:58:41< Crab_> boucman: I'll submit it as a patch after that 20090322 22:58:46< boucman> Crab_: I already had commited the last version 20090322 22:58:52< Crab_> boucman: ok ) 20090322 22:58:55< boucman> please add a folowup patch on the existing bug 20090322 22:59:01< Crab_> ok 20090322 23:01:15< thespaceinvader> kitty_: someone contacted me on IRC, i'm awaiting them posting a thread with some examples of their work 20090322 23:01:29< thespaceinvader> and beeltlenaut doing some spriting too 20090322 23:01:35< kitty_> woho! portrait or pixel? 20090322 23:02:11< CIA-70> sapient * r34057 /trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg: 20090322 23:02:11< CIA-70> fix awkward/nonstandard ConditionalWML spotted by silene 20090322 23:02:11< CIA-70> - much more exists 20090322 23:03:08< mordante> I'm off night 20090322 23:03:14< thespaceinvader> kitty_: artist said a bit of both 20090322 23:03:15< boucman> g'night 20090322 23:03:24< Crab_> mordante: good night 20090322 23:03:34-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090322 23:03:41-!- ikarius [n=ross@216.27.182.3] has joined #wesnoth-dev 20090322 23:03:58< boucman> alink: please ping me when you're around 20090322 23:04:29< silene> Sirp: a single-allocated block is nice, but only when you know how many elements you will have in it; if you have to increase its size to add new items, it can be quite disastrous; this is quite funny for small test programs that use std::vector for instance: if you had items one by one, in the end your memory consumption is three times bigger than necessary 20090322 23:04:49< silene> s/had items/add items/ ouch... 20090322 23:05:32< Sirp> silene: well the way I would imagine it working is to load a WML document and then you know all your strings and can 'consolidate' them all into one block. 20090322 23:06:23 * boucman ponders adding a "recruiting animation" so lich and other necro could actually summon their minions 20090322 23:06:51< Velory> boucman: when i type target.undead to mechanical units it also giving 1 20090322 23:06:51< Sirp> boucman: we don't already have that? 20090322 23:06:55< Sirp> I thought it was added 20090322 23:07:14< Munk> Hello 20090322 23:07:17< silene> it's "recruited" animation we have, no? 20090322 23:07:19< boucman> Sirp: it's such a simple thing to do that we might have it and I forgot :P 20090322 23:07:31< Velory> i tried on mechanical units 20090322 23:07:35-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit [Remote closed the connection] 20090322 23:07:59< boucman> nope, we have recruited but not recruiting 20090322 23:08:17< Velory> boucman : but yes i need to check regenerating units 20090322 23:08:43< boucman> Velory: ok, so no need to test mechanical 20090322 23:09:04< zookeeper> i wonder why my 1.6 stderr is flooded with "error filesystem: Could not open 'D:/Games/Wesnoth-1.6/userdata/editor/maps/' for reading." 20090322 23:09:05< silene> Sirp: unfortunately, starting today, this is no longer possible, as lua does create strings on the fly (but i guess wml could too, no?) 20090322 23:09:11< zookeeper> MP-related i think 20090322 23:09:28< Velory> boucman: and  if(target.max_hitpoints - (target.max_hitpoints - target.hitpoints) > 5, u are right :) i think my brain stuck in this line :) 20090322 23:09:40< boucman> it happens :) 20090322 23:11:14< Eternal> boucman: About "recruiting animation", how do you think it would work with AI recruiting? It would either repeat the same animation very fast, looking stupid, or slow down computer recruiting, making it a pain. 20090322 23:11:28< zookeeper> the forums are laggy, which they haven't for a long time. maybe just extra 1.6-inspired traffic. 20090322 23:11:40< boucman> Eternal: not sure what you mean 20090322 23:11:52< boucman> it would play the recruiting anim at the same time as the recruited anim 20090322 23:11:58< boucman> so not much change 20090322 23:11:59< stikonas> Anybody needs Wesnoth 1.6 Ubuntu packages? https://launchpad.net/~stikonas/+archive/ppa 20090322 23:12:21< boucman> stikonas: do we have a chance to have 1.6 in 9.04 ? 20090322 23:13:11< Velory> boucman:ok i will check regenerating units first 20090322 23:13:13< stikonas> I am not an official packager, so I don't know 20090322 23:13:15< Velory> then i will submit patch 20090322 23:13:24-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090322 23:13:26< boucman> ok 20090322 23:13:41< chains> now that you have the repository in the install directions 20090322 23:13:52< chains> its better than having it included in 9.04 20090322 23:14:15< chains> 9.04's version will be out of date really quickly, but the version from the unofficial repo will never be out of date. 20090322 23:23:56-!- Tesafilmchen [n=tesa__@p5B2750BF.dip.t-dialin.net] has joined #wesnoth-dev 20090322 23:24:59< cjhopman> nice little graph of heap-usage after loading UtBS -> http://pages.cs.wisc.edu/~hopman/pprof5163.0.ps 20090322 23:25:54< Velory> ok now fixed 20090322 23:26:25< Eternal> boucman: so the recruiting anim would have to be as long as the recruited anim? 20090322 23:26:25< Tesafilmchen> hi all, small error occured just here 20090322 23:26:29< Sirp> cjhopman: ahh you got pprof working. :) 20090322 23:26:48< Tesafilmchen> when i choose faction (dwarf random) i get only the dice displayed 20090322 23:26:49< Sirp> cjhopman: I'm actually a little surprised that SDL_CreateRGBSurface is responsible for so much 20090322 23:26:51< boucman> Eternal: the anim engine is smart enough to handle animations of different length 20090322 23:26:58< Eternal> oh 20090322 23:27:03< Tesafilmchen> so it seems as if im choosen only random 20090322 23:27:07< boucman> and handle empty animations, so we don't have to add them to all leaders 20090322 23:27:13< Eternal> good to know 20090322 23:27:19< Eternal> thanks 20090322 23:27:28< Eternal> Artsy people: Should the Great Troll have more bling? 20090322 23:27:52< Crab_> boucman, I've submitted https://gna.org/support/download.php?file_id=5487 a small question - is that a acceptable way to comment formula_ai functions ? 20090322 23:28:11< thespaceinvader> Eternal: i'd like to see a little more shiny 20090322 23:28:17< thespaceinvader> at least as much as the warrior 20090322 23:28:21< thespaceinvader> preferably a little more 20090322 23:29:02< boucman> Crab_: looks good, but mordante would be a better person to ask, ping him when he's back tomorow 20090322 23:30:01< cjhopman> Sirp: yeah, I was surprised by that too. 20090322 23:30:26< Crab_> boucman, I'll comment run_file in the same way ;-) so, if he disagrees, I'll know :) I'll add his opinion to that bug about debug_print. 20090322 23:31:10-!- kitty_ [n=kitty@wesnoth/artist/kitty] has quit ["bye"] 20090322 23:31:18< Jetrel> Eternal: yeah, more bling. Also, shade the bling more "continuously". The current ankle-rings look like they're in separate segments, whereas it'd look better if they looked like one solid ring of gold. 20090322 23:31:19< boucman> Crab_: ok, I won't recommit the debug_float until you add a comment stating that you consider it commit ready 20090322 23:31:27< Crab_> boucman: good 20090322 23:31:49< alink> boucman: i am here 20090322 23:31:54< CIA-70> loonycyborg * r34058 /trunk/scons/pkgconfig.py: Refactoring. 20090322 23:32:13< Sirp> res|laptop: one thing in your patch, can you make it so store_gold_side() is kept exception safe and delete isn't called explicitly (use a scoped_ptr or something) 20090322 23:32:17< boucman> alink: wiki has been clean up, we can use {{DevFeature}} again, time to document in_hex 20090322 23:32:46< cjhopman> is there any flag to set the seed for the rng? 20090322 23:32:53< alink> boucman: i can do that 20090322 23:33:03< res|laptop> Sirp: I should prolly try to get rid of 'new' entirely, somehow. 20090322 23:33:26< boucman> yes, thx, it's about bed-time here anyway 20090322 23:33:31< alink> boucman: but note that if we add it in 1.6.1, {{DevFeature}} is not needed. 20090322 23:33:33< silene> Sirp: is it really that much usage from sdl? 40MB doesn't seem to big; i mean, just loading all the desert elves would already require 15MB; if you add terrains and other graphisms, i'm not surprised one reaches 40MB 20090322 23:33:44< boucman> alink: we'll remove the tag at that point 20090322 23:33:57< alink> boucman: ok 20090322 23:34:25< boucman> alink: and if you could test you patch heavily so I feel confident when backporting that would be great (basically, apply it to your local copy of 1.6 and play with it a lot) 20090322 23:34:40< boucman> I can't really do that here because of the high number of patches floating around... 20090322 23:34:48< alink> boucman: ok, I will do that too 20090322 23:35:01-!- kasiahayden [n=kasia@12.16.112.2] has joined #wesnoth-dev 20090322 23:36:43< kasiahayden> hey boucman or Sirp, i was talking with you yesterday about doing the stats project. can I have some data to work on the copy database i set up? 20090322 23:37:11< boucman> kasiahayden: that would be for Sirp to answer... 20090322 23:37:49< Crab_> kasiahayden, see http://www.wesnoth.org/cgi-bin/stats/dump.pl 20090322 23:37:58< Sapient> res|laptop: I have some feedback for your patch 20090322 23:38:13< res|laptop> okay 20090322 23:38:30< Sapient> first, I am glad to see your initiative on this area 20090322 23:38:40< kasiahayden> thanks Crab 20090322 23:38:43< happygrue> mac packagers or anyone on who could test this on a mac could have a look: http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24587 20090322 23:39:05< Sapient> second, res, I noticed your implementation of store_gold_side() is not exception-safe 20090322 23:39:15< Sapient> there's a lot of Wesnoth code that's not exception-safe; I'm just pointing this out because the previous implementation of store_gold_side was exception-safe. 20090322 23:39:34< res|laptop> sirp just pointed that out, too 20090322 23:39:39< Sapient> we prefer exception safe code, whether you use auto_ptr or one of our own smart pointers 20090322 23:39:59< Sapient> oh, ok 20090322 23:40:15-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has quit ["good night to everyone"] 20090322 23:41:07< Sapient> also, I am not sure what to say about get_variable_const but we may want to make variable_set return copy of t_string instead of reference... or consider config::proxy_string if it doesn't introduce too many dependencies 20090322 23:41:33-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090322 23:41:59< Sapient> nonetheless, I think it is good enough without the variable_set modification 20090322 23:43:10< Sapient> res|laptop: are you familiar with the wesnoth custom smart pointers? 20090322 23:43:20-!- kasiahayden [n=kasia@12.16.112.2] has left #wesnoth-dev [] 20090322 23:43:40< Sapient> actually, I'm not sure if we still use those due to boost being introduced 20090322 23:43:52 * Sapient checks 20090322 23:45:08< Sapient> ok, the relevant file is src/scoped_resource.hpp 20090322 23:46:46< Sapient> boost is fair game too 20090322 23:47:39-!- [[karambol]] [n=sienkiew@public14476.xdsl.centertel.pl] has quit ["leaving"] 20090322 23:49:47-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090322 23:53:12< Velory> boucman: are you there? 20090322 23:53:51< boucman> not really 20090322 23:54:00< boucman> or more precisely, I'll leave in a minute 20090322 23:54:32< Velory> velory:hehe hmm i think i found some bug if only undead unit in range im taking formula_ai: IMPOSSIBLE MOVE ORDER - MOVE FAILED 20090322 23:54:58< boucman> well post a new patch once you fixed that, then 20090322 23:55:20< Crab_> Velory, IMPOSSIBLE MOVE ORDER - MOVE FAILED, usually means that the ai tries to move into occupied square 20090322 23:56:02-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection] 20090322 23:56:10-!- Munk [n=munkhsoy@99.225.134.228] has quit [] 20090322 23:56:53< Velory> but im not trying to move unit if target is undead im just taking -1 value 20090322 23:58:02< Velory> u mean i should do something if i take -1 value :S? 20090322 23:58:27-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090322 23:59:43< Crab_> Velory, AI interprets you command as a move ) --- Log closed Mon Mar 23 00:00:16 2009