--- Log opened Thu Jun 07 00:00:08 2012 20120607 00:00:18< boucman> in which case effect could be attached to unit_animation class, and the effect itself described in the [animation] block but independantly of any frame 20120607 00:00:23< boucman> that would make sense... 20120607 00:00:46< bloodycoin_m> I didn't dig too deep in wml part yet.. Then, how one determines which unit_anim to play? 20120607 00:01:19< boucman> bloodycoin_m: it's complicated, let's just say the animation engine does it for you :P 20120607 00:01:47< boucman> there is a complex process of grading different animations, eliminating the ones that don't mach the current situation and eventually playing the best one 20120607 00:03:03< bloodycoin_m> I figured that much out myself... xD but if can suppose unit_anim get choosen by string or some other key, then animation could be associated with a set of strings, which describe, which effect to use 20120607 00:03:37-!- Oleg [~quassel@109-184-202-140.dynamic.mts-nn.ru] has quit [Read error: Operation timed out] 20120607 00:04:30< boucman> I am not sure I understand you... animations are chose from a set of criteria that are described in WML, yes, but I am not sure where you are going... 20120607 00:04:50-!- MeccaGod [~majs@host189-199.bornet.net] has quit [] 20120607 00:05:00< boucman> the WML side of animations could be extended to have all the info you need to define an effect, including a effect_type= string 20120607 00:05:08-!- Blueblaze [~Blueblaze@adsl-76-202-17-144.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120607 00:05:11< bloodycoin_m> also, adding effect name to the effect itself, for some reflection, allows to identiify if such effect is already active (supposing we have a list of effects in effect_user) 20120607 00:05:18< boucman> but that has nothing to do whith how animations are chosen 20120607 00:05:31< boucman> mkay 20120607 00:07:17< bloodycoin_m> err.. I mean.. I not that interested in how animation is chosen, but if I can identify, which one is chosen to play, and get chosen animation parameters and described in wml 20120607 00:07:58< bloodycoin_m> last and -> as 20120607 00:08:04< boucman> bloodycoin_m: don't worry about that, I can pass you a config object (which is basically a WML subtree) and you can have whatever you want in it, 20120607 00:08:41< boucman> the best way would be for effect_user to have a ctor that takes a config object as a parameter, reads it and creats effects based on that WML 20120607 00:09:08< boucman> this way that ctor could be reused for all the places we want to have effects, and thus the WML syntax would be common for all the places 20120607 00:11:19< bloodycoin_m> err... but the question is: can I know which animation is chosen to play, and get a string identifying this anim (or other key) 20120607 00:12:11-!- Oleg [~quassel@109-184-202-140.dynamic.mts-nn.ru] has joined #wesnoth-dev 20120607 00:12:12< boucman> why would you want that ? you are not interested in the animation itself, you are interested in the WML block that is effect related within it, and I can pass you that 20120607 00:13:38< bloodycoin_m> ok, you are right, I am only interested in wml. but for the sake of argument, can I get animation identification? :) 20120607 00:13:50-!- Gallaecio_ [~quassel@84.120.114.134.dyn.user.ono.com] has quit [Remote host closed the connection] 20120607 00:14:01< boucman> nope :P 20120607 00:14:10< boucman> animations don't have unique id 20120607 00:14:39< boucman> and a single animation on the WML side can give multiple animations on the C++ sides so figuring out what anim is really playing can be tricky 20120607 00:14:42< bloodycoin_m> err... by id I mean their type - i.e. attack anim, standing, idle etc 20120607 00:14:49< boucman> very annoying when debugging anims :D 20120607 00:15:45< boucman> just their type ? I am not sure, but I think no. An animation can have multiple types attached to it, though at a given time they will play for a single reason 20120607 00:16:02< boucman> but I don't think we keep that reason anywhere once we used it to choose the animation 20120607 00:18:27< boucman> ok, I need to go to bed soon, are you ok with what you need to do next ? 20120607 00:18:32-!- Blueblaze [~Blueblaze@adsl-76-202-17-144.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20120607 00:18:36< bloodycoin_m> ok, so in summary... animations are painful, but I can get wml subtree with parameters. And got segfault after trying to remove effect in effect_user destor... xD 20120607 00:19:13< boucman> hehe yes, that sums it up 20120607 00:19:32< boucman> i'll be here all afternoon on friday, so we can look at the specifics of animation integration at that point 20120607 00:20:23< bloodycoin_m> mmm... possible, problem is I have exam on monday.. >.< 20120607 00:20:35< boucman> hmm, ok 20120607 00:21:11< boucman> well, we'll see at that point, i need to look at the code to give you more info on where to find the WML so i'll be there. ping me if you can 20120607 00:21:50< boucman> ok, good night 20120607 00:22:02-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20120607 00:53:12< shadowm> Espreon: thanks for r54375, especially the second hunk. 20120607 00:54:07< Espreon> No prob. 20120607 00:54:11< shadowm> I wonder if those strings are used in contexts that don't support Pango; some formatting could make it even easier to quickly identify the problem. 20120607 00:54:31< Espreon> Hmmmm... 20120607 00:54:35< shadowm> Ah right, they are dumped to stderr. 20120607 00:54:40< Espreon> Yeah. 20120607 00:54:56< shadowm> If only we had a de-markupification function... :( 20120607 01:00:25< Espreon> Yeah. 20120607 01:00:30< Espreon> That *would* be nice. 20120607 01:29:58< fendrin> shadowm: Hi, regarding the map format changes, do you think some notes on the issue does belong in this http://forums.wesnoth.org/viewtopic.php?f=21&t=36057 ? 20120607 01:36:09< shadowm> I think that's obviously "yes", but I'm not the OP. 20120607 01:39:12< fendrin> shadowm: Right, I am asking you because the alternative would be a new sticky thread dedicated to the change if I am not mistaken, and you are some sort of the forum chief lately. 20120607 01:46:11< shadowm> "lately" being "since Q3 2009 or so", but okay. 20120607 01:47:02< shadowm> However, I'm not in charge of telling developers how they should do their community interaction (much to my frustration). 20120607 01:47:57< shadowm> I am going to give you a recommendation, though: if your notes require more than a couple of paragraphs of explanations, a separate topic might be more optimal than anonymissimus' terse, tidy sticky. 20120607 01:48:49< shadowm> As usual, I haven't checked out the map format changes in trunk yet, and I probably won't until 1.11.0 becomes a certainty. 20120607 01:49:38< shadowm> *explanations/examples 20120607 01:51:37-!- ToBeFree [~tobefree@unaffiliated/tobefree] has quit [Read error: Connection reset by peer] 20120607 01:56:54< fendrin> shadowm: Thank you for the advice. 20120607 02:14:59< shadowm> mordante: Is it any use to work on features for the old add-ons server for 1.11.x at the moment, or should I wait until this organizational conundrum is solved first? 20120607 02:16:40< shadowm> I'm thinking in particular, making add-on titles unique (which is kind of a high-priority issue that might make sense in 1.10 too) and implementing dependency tiers (optional, conflicts, required). 20120607 02:18:11-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Ping timeout: 252 seconds] 20120607 02:27:15-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120607 02:27:57-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20120607 02:51:01-!- leonid [~leonid@124.65.134.54] has joined #wesnoth-dev 20120607 02:57:23-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20120607 03:11:46-!- AI_Android [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20120607 03:13:15-!- AI_Android [~ai@wesnoth/developer/ai0867] has quit [Client Quit] 20120607 04:04:21-!- Gambit is now known as MegaGaruruGambit 20120607 04:15:49-!- Pete-Flux [~quassel@unaffiliated/peterporty] has quit [Read error: Connection reset by peer] 20120607 04:16:17-!- PolarPanda [~quassel@unaffiliated/peterporty] has joined #wesnoth-dev 20120607 04:18:26-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 04:29:11-!- MegaGaruruGambit [~gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20120607 04:36:16-!- Ivanovic_ [~ivanovic@dtmd-4db237ca.pool.mediaWays.net] has joined #wesnoth-dev 20120607 04:36:16-!- Ivanovic_ [~ivanovic@dtmd-4db237ca.pool.mediaWays.net] has quit [Changing host] 20120607 04:36:16-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120607 04:40:10-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 260 seconds] 20120607 04:40:10-!- Ivanovic_ is now known as Ivanovic 20120607 04:43:16-!- PolarPanda [~quassel@unaffiliated/peterporty] has quit [Remote host closed the connection] 20120607 05:26:09-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has joined #wesnoth-dev 20120607 06:20:13-!- Blueblaze [~Blueblaze@adsl-76-202-17-144.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120607 07:31:08-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 240 seconds] 20120607 07:33:27-!- Blueblaze2 [~Blueblaze@adsl-99-148-246-30.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120607 07:36:20-!- Blueblaze [~Blueblaze@adsl-76-202-17-144.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 20120607 07:36:21-!- Blueblaze2 is now known as Blueblaze 20120607 07:39:17-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has joined #wesnoth-dev 20120607 07:40:13-!- Blueblaze [~Blueblaze@adsl-99-148-246-30.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20120607 07:59:26-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20120607 08:25:54-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120607 08:26:21-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 246 seconds] 20120607 08:28:37-!- shadowm_laptop2 is now known as shadowm_laptop 20120607 08:38:36-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has quit [Ping timeout: 246 seconds] 20120607 08:43:06-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120607 08:43:19-!- Crendgrim [~crend@77-22-112-72-dynip.superkabel.de] has joined #wesnoth-dev 20120607 08:59:52-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120607 09:08:22< shadowm> anonymissimus: The note for http://wiki.wesnoth.org/EventWML#.5Bfilter_condition.5D means that autostored event variables such as $unit and $second_unit won't work properly/lead to UB when used in [filter_condition]? The wording isn't very clear. 20120607 09:09:47< shadowm> If that is the case then it should be "This tag should _not_ be used for defining conditions that depend on the stored contents of the filtered units." or something like that. 20120607 09:12:53-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 248 seconds] 20120607 09:18:58-!- ancestral [~ancestral@97-127-66-8.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120607 09:24:29-!- neXyon [~neXyon@84-119-56-54.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20120607 09:26:38-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120607 09:27:18< the_new_lipk> shadowm: what flags are you using for compilation? 20120607 09:27:45< shadowm> -Werror, which can be easily added by setting strict mode in scons or cmake. 20120607 09:28:15< the_new_lipk> grrr, good old -Werror 20120607 09:28:20< shadowm> Well, and a bunch of other flags. 20120607 09:28:47< shadowm> Submitted patches should build without warnings either way; if you don't get a warning yourself then I'll try removing one or more of the other flags. 20120607 09:30:06< the_new_lipk> I believe I didn't see any warnings, but I'm not using a very intelligent IDE so I could miss something 20120607 09:30:38< shadowm> Grrr, IDEs. 20120607 09:45:33< the_new_lipk> shadowm, no warning here 20120607 09:46:44< shadowm> Hm, okay, then I'll try again later with less flags or gcc 4.6. 20120607 09:46:58< shadowm> That doesn't make my other concerns any less valid, though. ;) 20120607 09:47:13< the_new_lipk> sure 20120607 09:47:32< the_new_lipk> I admittedly didn't pay much attention to that 20120607 09:47:42< shadowm> mordante: I'm assigning this to you: https://gna.org/patch/?3319 20120607 09:48:07< shadowm> I guess you should check that out before answering my question about the server. 20120607 09:48:57< shadowm> Later. 20120607 09:49:18-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: oh gods why am i still awake] 20120607 09:49:42-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120607 09:59:35-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120607 10:09:19-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 10:16:49-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 245 seconds] 20120607 10:21:16-!- _vdn [~nazgul-sa@ppp91-77-233-240.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120607 10:29:59-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120607 10:31:18-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120607 10:34:01-!- Nephro [~Dmitry@80.233.231.12] has joined #wesnoth-dev 20120607 10:34:13-!- Nephro [~Dmitry@80.233.231.12] has quit [Client Quit] 20120607 10:34:23-!- Nephro [~Dmitry@80.233.231.12] has joined #wesnoth-dev 20120607 11:02:59-!- stikonas [~gentoo@bcm-131-111-216-103.girton.cam.ac.uk] has joined #wesnoth-dev 20120607 11:02:59-!- stikonas [~gentoo@bcm-131-111-216-103.girton.cam.ac.uk] has quit [Changing host] 20120607 11:02:59-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120607 11:05:05-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: So long and thanks for all the fish!] 20120607 11:28:47-!- Ayne [~Ayne@cpc2-sgyl34-2-0-cust493.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20120607 11:53:22< CIA-88> nephro * r54376 /trunk/ (3 files in 3 dirs): LuaAI: first draft of the external candidate action system, with on-the-fly file reloading, if you use the --debug-lua launch argument 20120607 12:08:46-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20120607 12:14:54-!- ToBeFree [~tobefree@unaffiliated/tobefree] has joined #wesnoth-dev 20120607 12:23:29-!- leonid [~leonid@124.65.134.54] has quit [Remote host closed the connection] 20120607 12:26:57-!- Nephro [~Dmitry@80.233.231.12] has quit [Ping timeout: 244 seconds] 20120607 12:58:59-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: Computer has gone to sleep.] 20120607 13:14:28-!- jamit [~james@pool-173-61-156-210.cmdnnj.east.verizon.net] has joined #wesnoth-dev 20120607 13:25:15-!- horon [~horon@nttkyo216070.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20120607 13:32:40-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has joined #wesnoth-dev 20120607 13:32:42-!- _vdn [~nazgul-sa@ppp91-77-233-240.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 20120607 13:36:11-!- _vdn [~nazgul-sa@ppp91-77-253-182.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120607 13:45:13-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20120607 13:49:50-!- wesbot changed the topic of #wesnoth-dev to: 176 bugs, 337 feature requests, 16 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120607 13:51:13-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120607 14:01:46-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20120607 14:07:49-!- negusnyul [~negusnyul@dsl4E5C4631.pool.t-online.hu] has joined #wesnoth-dev 20120607 14:24:07-!- MeccaGod [majs@host189-199.bornet.net] has joined #wesnoth-dev 20120607 14:26:21-!- _vdn [~nazgul-sa@ppp91-77-253-182.pppoe.mtu-net.ru] has quit [Quit: Leaving.] 20120607 14:27:20< CIA-88> ivanovic * r54377 /trunk/data/core/about.cfg: updated list of Chinese (Traditional) translators 20120607 14:27:36< CIA-88> ivanovic * r54378 /branches/1.10/data/core/about.cfg: updated list of Chinese (Traditional) translators 20120607 15:04:27-!- mjs-de [~mjs-de@g224184141.adsl.alicedsl.de] has joined #wesnoth-dev 20120607 15:53:52-!- darne [~darne@HSI-KBW-134-3-189-144.hsi14.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20120607 16:09:38-!- neXyon [~neXyon@84-119-56-54.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20120607 16:11:03-!- ancestral [~ancestral@97-127-66-8.mpls.qwest.net] has joined #wesnoth-dev 20120607 16:28:45-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has joined #wesnoth-dev 20120607 16:55:44-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 17:00:29-!- horon [~horon@nttkyo216070.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20120607 17:18:40-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120607 17:20:04-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20120607 17:34:43-!- negusnyul [~negusnyul@dsl4E5C4631.pool.t-online.hu] has quit [Read error: No route to host] 20120607 17:34:48-!- negusnyul__ [~negusnyul@dsl4E5C4631.pool.t-online.hu] has joined #wesnoth-dev 20120607 17:34:53-!- negusnyul__ is now known as negusnyul 20120607 17:38:50-!- MeccaGod [majs@host189-199.bornet.net] has quit [] 20120607 17:58:19-!- Ayne [~Ayne@cpc2-sgyl34-2-0-cust493.sgyl.cable.virginmedia.com] has quit [Remote host closed the connection] 20120607 17:59:26-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20120607 18:07:56-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120607 18:08:11-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has joined #wesnoth-dev 20120607 18:10:08-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 18:11:32-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: Computer has gone to sleep.] 20120607 18:11:53-!- noy_ [~Noy@s207-81-152-50.bc.hsia.telus.net] has joined #wesnoth-dev 20120607 18:11:53-!- noy_ [~Noy@s207-81-152-50.bc.hsia.telus.net] has quit [Changing host] 20120607 18:11:53-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 18:13:38-!- darne [~darne@HSI-KBW-134-3-189-144.hsi14.kabel-badenwuerttemberg.de] has quit [Quit: Verlassend] 20120607 18:14:49-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 252 seconds] 20120607 18:14:50-!- noy_ is now known as noy 20120607 18:36:03-!- ancestral [~ancestral@97-127-66-8.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120607 18:42:17-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20120607 18:48:54< trademark_> hi 20120607 18:50:07< trademark_> does someone knows if it exists a class that check the validity of a "config tree", I would like to easily check if a config match a model. 20120607 18:54:13-!- Oleg [~quassel@109-184-202-140.dynamic.mts-nn.ru] has quit [Ping timeout: 248 seconds] 20120607 19:06:32-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-dev 20120607 19:14:14< fendrin> trademark_: AI0867 did something like that with his wmlvalidator 20120607 19:16:18< trademark_> fendrin, I can't see it in src/ with a grep wmlvalidator * or validator, do you know where it is ? 20120607 19:18:17< Crendgrim> trademark_: data/tools/ 20120607 19:18:53< trademark_> fendrin, Crendgrim thanks 20120607 19:19:01< trademark_> it's in Python 20120607 19:19:38< trademark_> I'll do mine in C++, do you think it's useless ? 20120607 19:21:09< fendrin> trademark_: Hard to tell. 20120607 19:21:50< trademark_> fendrin, sure, well I'll think about it, thanks anyways. 20120607 19:21:50< fendrin> trademark_: I once started something similar, by enhancing the config class with validation methods. 20120607 19:23:00< fendrin> trademark_: If you do it, make sure you use the same syntax for the description of how the tags should look like. 20120607 19:25:38< trademark_> fendrin, does the validation methods are in the class, or you didn't finish the work ? 20120607 19:26:20< trademark_> fendrin, I'm sure what you mean by "syntax" a tag it's just like this : "[tag] ... [/tag]" no ? 20120607 19:26:57< fendrin> trademark_: No, I didn't finish it. 20120607 19:27:08< trademark_> fendrin, ok 20120607 19:27:30< fendrin> trademark_: You need to have some description of how the config should look like, right? 20120607 19:28:02< fendrin> trademark_: You called it "model". 20120607 19:29:07< trademark_> yeah 20120607 19:30:51< trademark_> but it wasn't about the syntax, more about the semantic, such as : "I would like to check this config is like : [info] ID=integer [/info]" and check if the tag is really write "info", if there is a field ID which is an integer, etc... 20120607 19:34:03-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120607 19:35:00< fendrin> trademark_: Yes, I would say that wml tag names and their attributes can still be called syntax. 20120607 19:35:24< fendrin> trademark_: A semantic error would be hitpoints=eighty_eight 20120607 19:35:59< fendrin> AI0867 defined WML syntax describing WML syntax. 20120607 19:39:32< trademark_> in the wmlvalidator ? 20120607 19:40:55< trademark_> if so, I'll carefully read this to respect the syntax ;-) 20120607 19:52:24-!- Blueblaze [~Blueblaze@adsl-76-202-16-96.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120607 19:55:07-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has quit [Read error: Connection reset by peer] 20120607 19:57:38-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20120607 20:01:10-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120607 20:16:25-!- bloodycoin_m [~bloodycoi@193.170.135.78] has quit [Ping timeout: 260 seconds] 20120607 20:18:42< fendrin> trademark_: Have a look at data/schema.cfg 20120607 20:28:13-!- worduk [~jon@77.76.205.90] has quit [Read error: Connection timed out] 20120607 20:29:39-!- worduk [~jon@77.76.205.90] has joined #wesnoth-dev 20120607 20:33:07< trademark_> fendrin, it's interresting, thank you for the advices ;) 20120607 20:33:16< trademark_> I'm off, bye bye ;) 20120607 20:37:47-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has quit [Ping timeout: 244 seconds] 20120607 20:38:09-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 20:42:51-!- neph [~neph@80.233.231.12] has joined #wesnoth-dev 20120607 20:43:03< neph> mattsc, hi 20120607 20:43:43-!- bloodycoin_m [~bloodycoi@193.170.135.78] has joined #wesnoth-dev 20120607 20:43:56< mattsc> Hi, neph. I compiled your latest changes, but don't know what to do with them. 20120607 20:44:12< neph> I'll tell you in like 10 minutes if you're still here 20120607 20:44:41< mattsc> I'll be around for several hours, but don't have much time to do anything today. 20120607 20:49:03-!- mjs-de [~mjs-de@g224184141.adsl.alicedsl.de] has quit [Remote host closed the connection] 20120607 20:49:18< the_new_lipk> zookeeper: around? 20120607 20:49:24< zookeeper> yes 20120607 20:49:40< the_new_lipk> well, I'm having an idea again 20120607 20:49:49-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Connection reset by peer] 20120607 20:49:59< the_new_lipk> I like to create city scenarios with lot of villages 20120607 20:50:09-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120607 20:50:34< the_new_lipk> but then, to prevent people from stacking too much gold, I have to set village_gold to 0 20120607 20:51:54< the_new_lipk> this is quite the opposite end, people then get stuck with very low income 20120607 20:52:43< zookeeper> humm 20120607 20:52:44< the_new_lipk> would it be possible to add non-integer income per village? like 1 gold after every 4 village or so 20120607 20:53:49< zookeeper> possible? sure, but... i don't think we really want that 20120607 20:54:29< zookeeper> btw, you can already hack such a system in WML 20120607 20:54:31-!- Oleg [~quassel@109-184-202-140.dynamic.mts-nn.ru] has joined #wesnoth-dev 20120607 20:55:29< neph> mattsc, basically now you can just place candidate action in a file as a table with fields eval and exec 20120607 20:55:45-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120607 20:55:58< the_new_lipk> zookeeper: yeah, I know. I just thought this could be useful in general for scenarios with many villages 20120607 20:56:04< neph> next step will be removal of engine definition 20120607 20:56:17< neph> mattsc, I will modify the docs 20120607 20:56:26< neph> I just don't really know which page should I modify 20120607 20:56:31< neph> since there are several 20120607 20:56:49< mattsc> neph: Ok, that sounds great. I was going to ask for the syntax, but sounds like you're going to take care of that. 20120607 20:57:15< mattsc> As for which wiki page, I'd suggest starting a new one for Lua AI as of 1.11 20120607 20:57:40< mattsc> Since it will be a while until 1.12 comes out (I presume), we should keep the 1.10 documentation 20120607 20:57:57< neph> yes, sounds good 20120607 20:58:24< neph> the addition of external CA's and deprecation of engine definition are quite big changes 20120607 20:58:25< zookeeper> the_new_lipk, i'm sure it would, but it'd also be ackward to display in the UI so that the player would always know whether their income will go up if they cap one village 20120607 20:58:39< mattsc> ... and, probably, rewriting it from scratch might be less work than cleaning up some of the existing pages 20120607 20:58:52-!- LordNasty [~NaSTy@93-43-160-229.ip92.fastwebnet.it] has quit [Ping timeout: 244 seconds] 20120607 20:59:22< neph> mattsc, at this moment you can start moving your development to the external ca's... your workflow will not change, except for the fact that you will not have to move things around when you finish, they will be in the right place 20120607 20:59:51< mattsc> neph_: sounds great 20120607 21:00:10< neph> mattsc, also, you can already stop using global ai tables 20120607 21:00:19< neph> tomorrow you won't have to worry about them at all 20120607 21:01:33< neph> mattsc, there will also be a launch argument --debug-lua, that makes external CA's reload on the fly as you like it, if this key is not present, then the CA's will be loaded only once for better performance 20120607 21:01:35< mattsc> neph: nice. I've already changed some of that global ai table stuff using an init function instead (I had a brief exchange with Crab about that a couple days ago), but it sounds like I won't even need that. 20120607 21:01:35< neph> and safety 20120607 21:02:07< mattsc> ... like interference between the wolf and the sheep AI. :) 20120607 21:02:18< mattsc> Sounds great. 20120607 21:02:34< neph> mattsc, well, in the end you will just code your CA's 1 per file and do a simple [candidate] engine=lua location="file" [/candidate] 20120607 21:02:37< neph> and that will be it 20120607 21:02:44< neph> 0 boilerplate 20120607 21:02:54< mattsc> Nice. 20120607 21:03:09< neph> mattsc, you will have to follow a format of the files though 20120607 21:03:20< neph> but it is very simple and clean and logical 20120607 21:03:28< mattsc> That's no problem 20120607 21:03:50< the_new_lipk> zookeeper: there's already some confusion in that area, since you as for now, you can't detect how much income a village gives you without actually capturing a village (afaik) 20120607 21:03:52< mattsc> Another thing I have started is to write my code in a way that works with both the 1.10 and 1.11 syntax. But that's only been recently and there's a lot of code left to generalize... 20120607 21:03:52< neph> I actually forgot to commit the example external CA that I used for testing 20120607 21:04:25< neph> mattsc, thing is, everything is backward compatible, meaning, all of the olc code should work without changes 20120607 21:04:30< zookeeper> the_new_lipk, yeah, but AFAIK your income will always increase when you cap a village 20120607 21:04:46< mattsc> neph: No rush, I won't really have much time before the weekend anyway 20120607 21:04:47< neph> but it is encouraged to use the new code, since it is cleaner and more consistent 20120607 21:05:15< mattsc> neph: That might be true for the engine/CA definition, but there are things that are not. 20120607 21:05:23< mattsc> Like the weapon number, for example 20120607 21:05:30< the_new_lipk> zookeeper: but probably it'd be a good idea to fix that instead and *then* non-integer income would be much less confusing 20120607 21:05:59< mattsc> .. and I'd really like to start using some of the new functions you created, so that code wouldn't work in 1.10 20120607 21:05:59< the_new_lipk> zookeeper: I've already got some feedback that 0 income per village is quite confusing itself 20120607 21:06:40< the_new_lipk> zookeeper: it seems to be increasing for a while (because of the supports) and then suddenly stops 20120607 21:07:04< zookeeper> the_new_lipk, yeah, i certainly wouldn't mind a clearer UI for predicting income changes 20120607 21:07:09< zookeeper> not that i have any ideas 20120607 21:07:11< mattsc> But anyway, this is all great. It will be much easier to create your own AI soon. 20120607 21:07:24< mattsc> So hopefully that will get some more people to work on that. 20120607 21:08:08< CIA-88> crab * r54379 /trunk/ (changelog src/ai/default/attack.cpp): Patch #3275 by akihara: AI now properly consders the expected damage from poison when attacking using poisoners 20120607 21:09:23-!- crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20120607 21:10:55-!- crab_ [~Crab_@wesnoth/developer/crab] has left #wesnoth-dev [] 20120607 21:10:58-!- crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20120607 21:11:26< crab_> Akihara: so, I've checked your patch and committed it. sorry that it took that long :) 20120607 21:12:04< crab_> Akihara: btw, the second bug there remains - chance of the attacker to get poisoned is not properly considered - so, it's possible to game the AI by letting it attack a single poisoner with multiple units. 20120607 21:12:54< crab_> mattsc, neph: It's good to hear that it's now easier to code LuaAI stuff, that means that Neph's project goals are getting done. 20120607 21:14:00< crab_> mattsc: if you know of any LuaAI pieces that are still missing, by all means let us know. 20120607 21:14:02< mattsc> crab_: yes, it's great (from my own selfish perspective) 20120607 21:14:25< the_new_lipk> zookeeper: well, when you select a unit and hover over a hex which gives income, a "capture icon" is already displayed. Maybe adding the amount of plus income there would be sufficient. 20120607 21:14:40< crab_> yes. and the intent was to have proper docs for all of that, so it'll be documented, which is good :) 20120607 21:14:49< mattsc> crab_: well, there are a couple bugs left (but I don't think they are very important). And I forgot what the status on get_attacks() is 20120607 21:15:15< crab_> getting attacks is fairly messed up now on the C++ side, as it's not that easy to customize it. 20120607 21:15:29< crab_> but getting the list of attacks (as calculated by current method) should be possible. 20120607 21:15:30< zookeeper> the_new_lipk, ah, yes, good idea, i think. 20120607 21:16:01< mattsc> crab_: yes, the latter is what I was talking about 20120607 21:16:25< mattsc> crab_, neph: and then there's my wishlist here: :) 20120607 21:16:27< mattsc> http://wiki.wesnoth.org/Practical_Guide_to_Modifying_AI_Behavior#Ideas_for_Potentially_Easy_AI_Patches 20120607 21:17:25< the_new_lipk> zookeeper: very well, then I think I've got something to work on until mordante gets around to review my patch ;) 20120607 21:19:11-!- crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Do it for joy and you can do it forever] 20120607 21:21:46< neph> argh, wanted to ask crab about my solution, but he was fast :) 20120607 21:21:46< wesbot> neph: Sometimes we are fast 20120607 21:21:55< neph> wow 20120607 21:22:03< neph> :D 20120607 21:22:08< neph> crab fast 20120607 21:22:21< mattsc> How did you do that? 20120607 21:22:21< neph> how does this thing work? 20120607 21:22:26< neph> I don't know 20120607 21:23:50< neph> something triggerred that bot to speak 20120607 21:24:19-!- ancestral [~ancestral@97-127-66-8.mpls.qwest.net] has joined #wesnoth-dev 20120607 21:26:20-!- ancestral [~ancestral@97-127-66-8.mpls.qwest.net] has quit [Client Quit] 20120607 21:27:55< zookeeper> the_new_lipk, one thing to beware: a newbie might easily think that the icon/number/whatever means the amount of gold you'll receive from capturing the village, so that should be avoided if possible 20120607 21:43:26< the_new_lipk> zookeeper: ok, I'll post something on the forums when I will have worked out the details 20120607 21:47:44< zookeeper> all right 20120607 22:02:14-!- mjs-de [~mjs-de@g224184141.adsl.alicedsl.de] has joined #wesnoth-dev 20120607 22:02:42-!- neXyon [~neXyon@84-119-56-54.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20120607 22:04:21-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: So long and thanks for all the fish!] 20120607 22:27:50-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120607 22:30:45-!- PolarPanda [~quassel@unaffiliated/peterporty] has joined #wesnoth-dev 20120607 22:38:22-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has quit [Remote host closed the connection] 20120607 23:08:10-!- esr [~chatzilla@wesnoth/developer/esr] has quit [Remote host closed the connection] 20120607 23:11:43-!- Crendgrim [~crend@77-22-112-72-dynip.superkabel.de] has quit [Quit: ...] 20120607 23:14:55-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 260 seconds] 20120607 23:29:38-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20120607 23:31:06< mattsc> Hey all. If I have a game with a Side 1 with 'controller=null' and a message with '[option]' in a start event, I get this: http://imagebin.org/215561 20120607 23:31:37< mattsc> If I click either 'yes' or 'no', it continues just fine after that. (my guess is that this would go away if I disable auto saves) 20120607 23:31:50< mattsc> Is this known? Should I report it as a bug? 20120607 23:32:44< mattsc> I know that there are easy ways to set up the WML so that this won't happen, I'm just wondering if it is known. 20120607 23:32:50-!- negusnyul [~negusnyul@dsl4E5C4631.pool.t-online.hu] has quit [Quit: Konversation terminated!] 20120607 23:33:18< mattsc> s/game/scenario 4 lines up there ^ 20120607 23:34:17-!- euschn [~eugen@wesnoth/developer/euschn] has joined #wesnoth-dev 20120607 23:36:26-!- neph [~neph@80.233.231.12] has quit [Ping timeout: 246 seconds] 20120607 23:48:27-!- neXyon [~neXyon@84-119-56-54.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20120607 23:49:45-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120607 23:50:21-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Read error: Connection reset by peer] 20120607 23:52:49-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev --- Log closed Fri Jun 08 00:00:12 2012