--- Log opened Fri Apr 06 00:00:04 2012 --- Day changed Fri Apr 06 2012 20120406 00:00:04< boucman> it all points to an invalidation bug 20120406 00:00:55< bloodycoin> yep, but as I was trying to find it in code it's spread over like 6 files if not more 20120406 00:01:23< bloodycoin> (in my view at least) 20120406 00:02:01< boucman> yeah... you picked a hard bug, I would be impressed if you solved it :P but try... i'll monitor your progress and probably help you a little when I have more time and can "see for myself" exactly what's happening 20120406 00:02:03< HelloIRC> Hm, I've unfortunately run out of time to work on some of the patches I want to until the weekend... Is it all right if I just update the Wiki project page, and leave the Google proposal in its roughdraft state? 20120406 00:02:30< boucman> you should try to monitor get_overlaped_hex to make sure it returns a correct list of hex, and if not why... 20120406 00:03:14< boucman> HelloIRC: yes, if your google proposal is only one line "see wiki page at " and the wiki page is complete we are perfectly fine with that 20120406 00:03:32< HelloIRC> Awesome, thanks. 20120406 00:04:25< bloodycoin> boucman: thanks, now I at least have where to try to concentrate on :) 20120406 00:04:47< boucman> np, that code is complicated to debug, 20120406 00:06:39< CIA-69> espreon * r53790 /trunk/po/ (5 files in 5 dirs): Updated the Latin translation. 20120406 00:07:08< tyrannodogg> can somebody tell me if there is a function accessible fom menu_handler mapping from side_numbers to indices in teams_ or something similar? 20120406 00:07:11< gabba> bloodycoin: which bug did you pick? 20120406 00:07:12-!- IvanSav [~IvanSav@ns2.ultranet.com.ua] has quit [Quit: IvanSav] 20120406 00:07:56< gabba> tyrannodogg: that mysterious function would be team = side - 1 20120406 00:07:56< vultraz_laptop> anonymissimus: well after a new build that took HOURS, I still can't launch from explorer :S 20120406 00:08:05< gabba> if I understand well what you're saying 20120406 00:08:32< bloodycoin> also I am quite puzzled by playmp_controller.cpp:288 gui_->draw() as gui_ is inherited from display and display-> draw is called in play_slice() which is called 48 lines above o.o 20120406 00:08:58< bloodycoin> gabba: https://gna.org/bugs/index.php?19486 20120406 00:09:03< CIA-69> espreon * r53791 /branches/1.10/po/ (5 files in 5 dirs): Updated the Latin translation. 20120406 00:09:46-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 265 seconds] 20120406 00:10:57< gabba> bloodycoin: oh, welcome to one of my bugs. Bug might be the fault of whiteboard code... or not. 20120406 00:11:46< gabba> If I had to make a bet, I'm probably simple forgetting to invalidate the proper hex at a critical place, when using fake units 20120406 00:12:17< bloodycoin> <.^ v.> 20120406 00:12:21< tyrannodogg> gabba: so i cannot use teams_ indices to check if two sides are allied, so whats the best way to do this? 20120406 00:13:03< bloodycoin> gabba: your bugs territory seems very cozy :) 20120406 00:13:19< tyrannodogg> gabba: or did i get the definition of side wrong? 20120406 00:13:37< gabba> tyrannodogg: I know it's confusing, but whenever a number is called side you can assume it's the numbering starting at 1, and team is the numbering starting at zero 20120406 00:13:46< gabba> but they're the same thing otherwise 20120406 00:14:40< gabba> bloodycoin: very cozy indeed... and well-furnished 20120406 00:14:51-!- Valectar [~valectar@32.164.30.202] has joined #wesnoth-dev 20120406 00:15:32< Espreon> vultraz_laptop: Try launching it with the compiler's run function or whatever. 20120406 00:15:35< boucman> gabba: you invalidate stuff yourself ??? in what case ? 20120406 00:15:50< vultraz_laptop> Espreon: that works..but it's horribly SSSSSLLLLLOOOOOOWWWWWW 20120406 00:15:51< Espreon> Well, I probably should say IDE, but whatever. 20120406 00:15:55< vultraz_laptop> at loading 20120406 00:15:59< Espreon> Build without debug symbols? 20120406 00:16:02< gabba> boucman: err, I suddenly feel guilty for some reason 20120406 00:16:04< vultraz_laptop> too long 20120406 00:16:14< bloodycoin> xD 20120406 00:16:14< gabba> boucman: wait, I'll try and explain my evil actions 20120406 00:16:24< boucman> hehe 20120406 00:16:26< Espreon> vultraz_laptop: ... or perhaps the proper optimizations weren't set... I dunno... 20120406 00:16:44< boucman> no need to, just point bloodycoin to them, he can explain to me what he finds later :P 20120406 00:18:14< gabba> works for me 20120406 00:18:41< boucman> ok, I need to go to bed now, bloodycoin, i'll read the logs tomorow, so don't hesitate to comment here if you find stuff... 20120406 00:18:49-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20120406 00:18:57< bloodycoin> hmm... messenger boy seems fair a first step xD 20120406 00:19:16< gabba> vultraz_laptop: debug build is slow to load under Windows? There's an easy fix for that, muhaha 20120406 00:19:55< shadowm> Windows isn't very good at loading half-gigabyte executables, I take it? 20120406 00:20:42< vultraz_laptop> the exe is 32 mb :P 20120406 00:20:54< shadowm> then you got a non-debug build 20120406 00:21:35< shadowm> unless it's doing that thing where debug symbols are stored in an external file 20120406 00:21:56< vultraz_laptop> it's debug 20120406 00:22:08< vultraz_laptop> gabba: what is this famous fix 20120406 00:22:11< gabba> bloodycoin: well, I'm surprised that boucman is surprised that I invalidate stuff, since 1- I do it A LOT 2- He directed my 2010 GSoC project :P 20120406 00:22:29< gabba> vultraz_laptop: a) insert Ubuntu CD b) hit install 20120406 00:22:36< Espreon> gabba: Are you mad? 20120406 00:22:45< Espreon> An Ubuntu CD... blargh. 20120406 00:22:51< gabba> no? 20120406 00:23:12 * vultraz_laptop facedesks 20120406 00:23:18< gabba> Setting up for compiling is a piece of cake under Ubuntu, and debug build is 5-6 times faster 20120406 00:23:28< Espreon> At least suggest a respectable distro. 20120406 00:23:36< gabba> I just tried compiling under windows, didn't like the end result 20120406 00:23:55< Espreon> Compiling under Windows is indeed painful... 20120406 00:24:00< gabba> Well Ubuntu is somewhat easy to use, at least. tried all distros... 20120406 00:24:41< Valectar> Hello, I'm a student trying to apply for this years GSOC, and I was wondering if someone might aid me in choosing a project? I was thinking I might be able to help work on the Python tools, as I am relatively inexperienced with development and don't know much C++, and I was if such work is required and I I might be able to apply to do that as my project? 20120406 00:24:50< bloodycoin> hmm.... that means 1- lots code comparison 2- does the same destiny awaits me? xD 20120406 00:25:01-!- HelloIRC is now known as Yokipi 20120406 00:26:21< gabba> bloodycoin: I suggest you grep for the word invalidate in the whole whiteboard folder 20120406 00:26:37< bloodycoin> doing that for some time now ;P 20120406 00:26:41< gabba> you could try removing all calls to it for starters 20120406 00:26:57< gabba> the result might be hilarious, at least 20120406 00:28:16< bloodycoin> gabba: yea, I guess I didn't commented out enough of your code, because I still didn't get any hilarious results :) 20120406 00:28:41< gabba> my, my, that's disappointing 20120406 00:29:02< bloodycoin> and I try to avoid compiling as much as possible, because it's not that fast on my atom.. 20120406 00:29:29-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: bye] 20120406 00:32:26-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has joined #wesnoth-dev 20120406 00:34:01< Valectar> Can anyone help with my project decision? I can post a link to my application minus the project part, if that helps. 20120406 00:34:03< CIA-69> espreon * r53792 /branches/1.10/po/ (7 files in 7 dirs): Updated the Spanish translation. 20120406 00:35:00-!- aknahs [aknahs@174.pool85-50-123.dynamic.orange.es] has quit [] 20120406 00:36:28-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120406 00:37:14< anonymissimus> vultraz_laptop: set the project configuration to release, resulting executable should be in the wesnoth root dir to launch from explorer 20120406 00:37:46 * gabba emits subliminal messages: iiinnnnstaaaallll uuuubunnnntuuuu 20120406 00:37:55< shadowm> haha 20120406 00:37:59< vultraz_laptop> XD 20120406 00:38:11< anonymissimus> of course, you launch wesnoth from MSVC/under the debugger only if you develop C++ or perhaps need to investigate some problem 20120406 00:38:12< bloodycoin> or better: debian :) 20120406 00:38:14< vultraz_laptop> anonymissimus: it's in Debug/wesnoth.exe now 20120406 00:38:25< shadowm> bloodycoin++ 20120406 00:38:40< bloodycoin> ubuntu seem bit overloaded imho 20120406 00:39:07< anonymissimus> pah, debian & co are the hell of userhostileness 20120406 00:39:12< gabba> bloodycoin: or that, or gentoo, or slackware for that matter :P 20120406 00:39:44< shadowm> I'm sure we can all agree that Gentoo isn't the most user friendly thing ever invented either. 20120406 00:39:52< bloodycoin> haven't tried slackware yet 20120406 00:39:58< anonymissimus> vultraz_laptop: of course, if you only play, develop wml or lua you use a release built 20120406 00:40:05< gabba> I'm not a fanboy of any of them, it's just that the only desktop I ever got to work with basic windows-like functionality was ubuntu (like y'know, copy-paste and cd burning work out of the box) 20120406 00:40:11< shadowm> *build 20120406 00:40:17< gabba> maybe the whole ecosystem has improved since 20120406 00:40:18< vultraz_laptop> anonymissimus: well...I might be tinkering with some C++ 20120406 00:40:40< vultraz_laptop> gabba: the new Unity interface in Ubuntu s blagh 20120406 00:40:43< vultraz_laptop> is* 20120406 00:40:51< gabba> vultraz_laptop: it is blagh, agreed 20120406 00:40:59< bloodycoin> it is known 20120406 00:43:13< vultraz_laptop> Mac OS X does that type of interface 10x better 20120406 00:49:16-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20120406 00:58:16-!- avrilfanomar3 [~omar@91.202.129.152] has left #wesnoth-dev [] 20120406 01:02:38< CIA-69> espreon * r53793 /trunk/po/ (4 files in 4 dirs): Updated the Finnish translation. 20120406 01:02:47-!- nagafono|2 [~kvirc@178.19.254.1] has joined #wesnoth-dev 20120406 01:04:18-!- mjs-de [~mjs-de@d120201.adsl.hansenet.de] has quit [Ping timeout: 246 seconds] 20120406 01:05:00-!- nagafono [~kvirc@178.19.254.1] has quit [Ping timeout: 246 seconds] 20120406 01:11:26< shadowm> does any of you by chance know how .resting works? 20120406 01:11:50< CIA-69> espreon * r53794 /branches/1.10/ (6 files in 5 dirs): Updated the Finnish translation. 20120406 01:12:00< shadowm> .resting being the .resting attribute for a given unit written to WML 20120406 01:12:06-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has quit [Ping timeout: 245 seconds] 20120406 01:13:24-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120406 01:14:24-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120312181643]] 20120406 01:17:13-!- mjs-de [~mjs-de@d189204.adsl.hansenet.de] has joined #wesnoth-dev 20120406 01:19:45-!- Valectar [~valectar@32.164.30.202] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 20120406 01:31:09-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has joined #wesnoth-dev 20120406 01:35:25-!- nagafono|2 [~kvirc@178.19.254.1] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 20120406 01:45:04< shadowm> one would think a gameplay mechanic element like unit resting would be trivial to examine in WML, but no. I'll use a less elegant approach instead. 20120406 01:46:22< jamit> .resting is what controls the rest healing, isn't it? You cannot examine that in WML? 20120406 01:46:40< dream_lane> vultraz_laptop: I've yet to talk to someone who thinks the unity interface is great 20120406 01:47:02< vultraz_laptop> hehe 20120406 01:47:05< shadowm> jamit: no, it's not the only factor. 20120406 01:47:21< vultraz_laptop> it's just a mac parody 20120406 01:47:23< vultraz_laptop> sorta 20120406 01:47:28< vultraz_laptop> and mac does it MUCH beter 20120406 01:47:31< vultraz_laptop> better* 20120406 01:47:37< dream_lane> I agree 20120406 01:47:44< Gambit> Wait what? 20120406 01:47:48< Gambit> vultraz_laptop likes Unity? 20120406 01:47:51< shadowm> jamit: MP are also involved. Apparently retrieving that information on a side turn and comparing against the same information after a side turn refresh isn't a reliable way to determine whether a unit has made effective use of their regenerates ability. 20120406 01:47:52< Gambit> And Transformers? 20120406 01:47:58< dream_lane> Although honestly I prefer the Win 7 interface with RocketDock and rainmeter 20120406 01:48:04< vultraz_laptop> Gambit: no, I only like Transformers ;) 20120406 01:48:07< Gambit> And Beiber. I'm seeing a pattern here. 20120406 01:48:47< jamit> shadowm: After a side refresh, .resting should be true for all of that side's units. 20120406 01:48:52< vultraz_laptop> dream_lane: I think the win7 taskbar is good enough that I don't need rocketdock 20120406 01:49:05< shadowm> in fact I tried retrieving all that on side turn and resting was always no for units for whom it was yes before that event 20120406 01:49:49-!- wesbot changed the topic of #wesnoth-dev to: 1.10.2 planned for April 7th, string freeze for branches/1.10 | Wesnoth accepted in GSoC 2012 | http://wiki.wesnoth.org/SummerOfCodeIdeas | 170 bugs, 328 feature requests, 17 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120406 01:49:59< dream_lane> vultraz_laptop: I've talked to some people who definitely agree with you there. I like to keep my taskbar hidden 20120406 01:50:43< shadowm> I see it like this: people who are just being introduced to computers might be able to grasp Unity 20120406 01:50:54< shadowm> people who have been using computers for decades, not really 20120406 01:50:56-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 252 seconds] 20120406 01:53:05< vultraz_laptop> I had a really cool piece of software installed when I was on Vista that allowed me to have 4 desktops 20120406 01:53:14< vultraz_laptop> on a cube 20120406 01:53:41< shadowm> compiz did it before, didn't it? 20120406 01:53:50< vultraz_laptop> ? 20120406 01:54:06< shadowm> compiz, you know, that compositing window manager that can be used with GNOME and KDE 20120406 01:54:15< shadowm> no, of course you don't know 20120406 01:54:40< vultraz_laptop> no, I don't :P 20120406 01:58:13< CIA-69> espreon * r53795 /trunk/po/ (wesnoth/es.po wesnoth-help/es.po wesnoth-l/es.po): Updated the Spanish translation. 20120406 01:58:15< vultraz_laptop> I had rocketdock and objectdock installed before 20120406 01:59:27< vultraz_laptop> well I do now too but don't use them :P 20120406 02:01:15 * shadowm detests frivolous mechanisms like that which don't contribute to anything. 20120406 02:02:58< vultraz_laptop> they;re nice :P 20120406 02:03:16< vultraz_laptop> and I need to get my WoW wallpapers back 20120406 02:04:06< Espreon> Oh God... 20120406 02:04:18< gabba> yes, but do you have virtual desktops ;) [awesome for a 4-client wesnoth MP test where you lose track of who's who] 20120406 02:04:44< vultraz_laptop> ok...now I;m confused 20120406 02:04:50< vultraz_laptop> what's a virtual desktop :P 20120406 02:04:55< dream_lane> gabba: Virtual desktops or VMs? 20120406 02:04:57< gabba> ah, read the above and apparently you did 20120406 02:05:12< gabba> no, not VM lol 20120406 02:05:14< dream_lane> lol 20120406 02:05:15< vultraz_laptop> ohthat 20120406 02:05:18< dream_lane> I see now 20120406 02:05:36< dream_lane> yeah, I like Mac OSX best for multiple desktops 20120406 02:05:40< vultraz_laptop> Espreon: lolwut. I need my Wogen walpaper back :P 20120406 02:05:55< vultraz_laptop> and my whatshisname 20120406 02:05:57< vultraz_laptop> um 20120406 02:06:00< dream_lane> Windows is definitely lacking there 20120406 02:06:08< shadowm> I almost never use my window manager's virtual desktops functionality 20120406 02:06:11< dream_lane> and Ubuntu has em, but I don't like the interface 20120406 02:06:12< vultraz_laptop> dream_lane: mac does it best 20120406 02:06:22< shadowm> I find it way too easy to loose track of running applications that way 20120406 02:06:29< shadowm> *lose 20120406 02:06:35< dream_lane> yeah, spaces was good stuff, but I like Lion's version even better 20120406 02:06:56< vultraz_laptop> I usually have 4 VDs 20120406 02:07:00< vultraz_laptop> 1 for firefox 20120406 02:07:02< dream_lane> shadowm: I run into the same problem with ubuntu 20120406 02:07:03< vultraz_laptop> 1 for chrome 20120406 02:07:06< vultraz_laptop> 1 for wesnoth 20120406 02:07:07< gabba> shadowm: I used it a bit, but then when I had to do repeated 4-client MP tests of Wesnoth, I saw the light 20120406 02:07:12< vultraz_laptop> and 1 for scen work 20120406 02:08:00< gabba> thing is, it's perfect when you need fast app switching between more than two, because then alt-tab is a pain in the ass 20120406 02:08:21< vultraz_laptop> gabba: exactly why I use them 20120406 02:09:00< vultraz_laptop> and I have it set up sp moving my mouse to the bottom right of the screen triggers the space selection thingy 20120406 02:09:05< tyrannodogg> gabba: what is the format to use to submit a patch? 20120406 02:09:21< gabba> tyrannodogg: standard svn diff 20120406 02:09:58< tyrannodogg> ok thanks 20120406 02:10:06< gabba> make sure your patch is clean, i.e. doesn't accidentally contain leftover changes such as extra blank lines in weird places 20120406 02:11:16< jamit> shadowm: What was it you were trying to do with .resting? I did a quick check, and it seems to be working. Units that had moved or were attacked had resting=no in side_x_turn, then had that changed to yes in side_x_refresh. 20120406 02:12:20< jamit> The one odd thing I noticed was that units do not get .resting set to yes until turn 2 (no rest healing at the start of turn 2), but that usually does not matter. 20120406 02:12:34< gabba> Well, gotta sleep soon. See you people - I'm won't be online much until monday evening EST. 20120406 02:13:00< gabba> Good luck to all GSoC applicants. 20120406 02:13:55-!- gabba [~gabba@wesnoth/developer/gabba] has quit [Quit: Leaving.] 20120406 02:14:45-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: Computer has gone to sleep.] 20120406 02:15:17< shadowm> jamit: trying to determine when a unit used their regenerates ability 20120406 02:16:44< jamit> Resting would not affect whether or not regenerates is used. It would just increase the healing from +8 to +10. 20120406 02:17:20< jamit> Well, unless poisoned, in which case the regenerates' +8 becomes curing the poison. 20120406 02:17:51< shadowm> or a non-resting unit regenerating 2 HP because they are only two below the maximum 20120406 02:19:41< jamit> Hmm... so you want to compare HP before and after the refresh, grab the resting value from before the refresh, and come up with whether or not the unit really benefited from regenerates? 20120406 02:20:04< jamit> And the poisoned status from before the refresh. 20120406 02:20:40< jamit> If not poisoned and resting and HP difference is <= 2, then regenerates had no real effect. 20120406 02:21:01< shadowm> yeah I guess it'll be simpler to forget about corner cases where the difference is less than or equal to 2 20120406 02:21:42< jamit> Better: if poisoned or HP difference > 2, then regeneration did something. Unless there is a healer nearby or the unit is in a village. 20120406 02:22:06< shadowm> of corse 20120406 02:22:22< jamit> Else if not resting and not healthy and hit point difference > 0, then regeneration did something. 20120406 02:23:55< jamit> Else regeneration was not useful that turn. I think that covers the cases. 20120406 02:25:58< jamit> Oh, it gets trickier if you want to account for a heals +4 ability. 20120406 02:26:53-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120406 02:28:19< neph> anyone with a hint on how to do tables in wiki? 20120406 02:28:33 * neph really lazy to write html for that purpose 20120406 02:29:00< Yokipi> Most of this http://en.wikipedia.org/wiki/Help:Table applies. 20120406 02:30:16< tyrannodogg> good night everyone 20120406 02:30:21-!- tyrannodogg [~tyrannodo@ip-29-16.travedsl.de] has left #wesnoth-dev [] 20120406 02:31:33< ejls> neph: Actually, if it's for your proposal, you should write it in HTML since Google Melange accept HTML and not wikitext. :) 20120406 02:31:55< neph> ejls, I only post a link to my wiki on melange page 20120406 02:32:14< ejls> Well, you don't need to bother then. :D 20120406 02:48:23-!- mjs-de [~mjs-de@d189204.adsl.hansenet.de] has quit [Remote host closed the connection] 20120406 02:55:57-!- Gallaecio_ [~quassel@84.120.114.134.dyn.user.ono.com] has quit [Read error: Connection reset by peer] 20120406 03:00:52-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has quit [Ping timeout: 265 seconds] 20120406 03:22:11< CIA-69> espreon * r53796 /branches/1.10/po/ (wesnoth-httt/la.po wesnoth-l/la.po wesnoth-low/la.po): Updated the Latin translation. 20120406 03:22:58< CIA-69> espreon * r53797 /trunk/po/wesnoth-l/la.po: Updated the Latin translation. 20120406 03:25:23-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has joined #wesnoth-dev 20120406 03:30:03< bloodycoin> boucman: should I try to refine my proposal timeline more? 20120406 03:35:43< dream_lane> Hey guys. My hotkeys are not working in the windows 1.10 binary... I'm not seeing anything on the big tracker about this, is this a known issue? I can't use n to get next unit for example... or hit t to continue moving after enemy unit spotted. I can use m to speak though... 20120406 03:42:06-!- avrilfanomar3 [~omar@91.202.129.152] has joined #wesnoth-dev 20120406 03:42:40< avrilfanomar3> had anybody runtime error "string iterator is not dereferencable"? 20120406 03:44:20< avrilfanomar3> I don't know what to do with it because I only trying to run Wesnoth from svn repository without any changes 20120406 03:44:52< jamit> dream_lane: hit your ALT key. 20120406 03:45:45< neph> avrilfanomar3, windows? 20120406 03:45:50< avrilfanomar3> yes 20120406 03:46:11< neph> avrilfanomar3, yes I had that problem, I don't know why it's not fixed yet 20120406 03:46:14< avrilfanomar3> visual studio 10 20120406 03:46:26< shadowm> most likely because it's not Wesnoth's issue to fix 20120406 03:46:53< avrilfanomar3> what should I use? 20120406 03:47:03< avrilfanomar3> I have Linux too 20120406 03:47:07< neph> I solved it by commenting out the line that crashes it, but that was my way around it, because I was working in a very specific area 20120406 03:47:11< avrilfanomar3> QT? 20120406 03:47:35< shadowm> ah bah, I was looking at dream_lane's problem 20120406 03:47:51< neph> shadowm, well, it was last year, and I didn't manage to find out what was causing that 20120406 03:48:29< dream_lane> jamit: problem solved thanks, not sure why I had to hit alt? 20120406 03:48:40< jamit> dream_lane: https://gna.org/bugs/?17244 https://gna.org/bugs/?17868 https://gna.org/bugs/?19286 are the ones I know about. 20120406 03:48:43< shadowm> neph: yeah, I don't know about the string iterator thing but thats more likely to be something we can at the very least work around in some fashion 20120406 03:49:52< shadowm> i.e. unlike an Alt key getting stuck because of poor SDL behavior on Windows 20120406 03:49:54< jamit> The ALT key gets "stuck" in a way sometimes when switching applications. What hitting the key does is makes sure the application gets a key-up event, resetting the record of the keyboard status. 20120406 03:50:58< dream_lane> okay I see... so we think it's an SDL issue, and nothing we can do in wesnoth code to fix it? 20120406 03:51:32< jamit> dream_lane: If you download SDL 1.2.15 from http://www.libsdl.org/download-1.2.php and replace the .dll in your Wesnoth directory, the problem should go away. 20120406 03:51:52< dream_lane> jamit: okay sweet thanks 20120406 03:52:19< jamit> Of course downloading takes more time than hitting a key... :) 20120406 03:52:36< neph> shadowm, are you a mentor for GSoC this year//did I bug you about my application yet? 20120406 03:53:09< shadowm> neph: I'm not a mentor 20120406 03:54:24-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20120406 03:59:26< dream_lane> So the windows wesnoth binary ships with SDL 1.2.7? 20120406 04:01:54< dream_lane> Wow, this suddenly explains why when remapping the speak key to enter/return it kept making it alt+return 20120406 04:02:33< shadowm> 1.2.7? that's very old 20120406 04:08:03-!- avrilfanomar3 [~omar@91.202.129.152] has left #wesnoth-dev [] 20120406 04:11:07< dream_lane> shadowm: I am mistaken 20120406 04:11:15< dream_lane> shadowm: It came with 1.2.13 20120406 04:18:48-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has quit [Quit: Page closed] 20120406 04:18:49< dream_lane> jamit: downloading the latest SDL fixed the issue for me, thanks. So now I wonder, is there a reason the windows download for 1.10 doesn't include SDL 1.2.15? Should we put things in motion to make it so? 20120406 04:20:12< jamit> SDL 1.2.15 was released shortly before Wesnoth 1.10. Not enough time to test it out, for one reason. 20120406 04:20:41< jamit> I could check the dates, but I think it was something like only a week or two before. 20120406 04:20:57< dream_lane> Ahh ok, ya I didn't check the dates... 20120406 04:22:04-!- neph [~neph@02de475b.bb.sky.com] has quit [Ping timeout: 265 seconds] 20120406 04:24:17-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120406 04:28:21-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20120406 04:29:05-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20120406 04:46:58-!- thethomaseffect [~thethomas@86-40-82-101-dynamic.b-ras1.mgr.mullingar.eircom.net] has quit [Quit: Leaving] 20120406 04:47:14-!- thethomaseffect [thethomase@86-40-82-101-dynamic.b-ras1.mgr.mullingar.eircom.net] has joined #wesnoth-dev 20120406 04:52:08-!- Yokipi [~Yokipi@wireless-165-124-145-107.nuwlan.northwestern.edu] has quit [Ping timeout: 240 seconds] 20120406 04:52:31-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has quit [Quit: bye] 20120406 04:53:36-!- Ivanovic_ [~ivanovic@dtmd-4db2abf1.pool.mediaWays.net] has joined #wesnoth-dev 20120406 04:56:40-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 272 seconds] 20120406 04:57:32-!- Ivanovic_ is now known as Ivanovic 20120406 05:06:44-!- HelloIRC [~Hello@wireless-165-124-145-107.nuwlan.northwestern.edu] has joined #wesnoth-dev 20120406 05:17:57 * dream_lane is afk for the night 20120406 05:20:56-!- thethomaseffect [thethomase@86-40-82-101-dynamic.b-ras1.mgr.mullingar.eircom.net] has quit [Quit: Leaving] 20120406 05:21:38-!- Elvish_Pillager [~eli@dhip-149.coburn.residences.colby.edu] has quit [Ping timeout: 244 seconds] 20120406 05:23:35-!- a_weeks [~A.Matt@h22-net08.simres.netcampus.ca] has joined #wesnoth-dev 20120406 05:33:08-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has joined #wesnoth-dev 20120406 06:01:41-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has quit [Remote host closed the connection] 20120406 06:06:35-!- a_weeks [~A.Matt@h22-net08.simres.netcampus.ca] has quit [Ping timeout: 244 seconds] 20120406 06:08:54-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120406 06:09:15-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has quit [Quit: Page closed] 20120406 06:16:04-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120406 06:18:19-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Read error: Connection reset by peer] 20120406 06:18:24-!- vultraz_laptop_ [~chatzilla@124.109.10.221] has joined #wesnoth-dev 20120406 06:18:34-!- vultraz_laptop_ is now known as vultraz_laptop 20120406 06:19:13< CIA-69> espreon * r53798 /trunk/ (55 files in 28 dirs): Updated the Old English translation. 20120406 06:23:54< CIA-69> espreon * r53799 /branches/1.10/ (57 files in 29 dirs): Updated the Old English translation. 20120406 06:30:02-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120406 06:34:01-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has joined #wesnoth-dev 20120406 06:38:27-!- HelloIRC [~Hello@wireless-165-124-145-107.nuwlan.northwestern.edu] has quit [Quit: Leaving] 20120406 06:46:31< CIA-69> espreon * r53800 /trunk/ (5 files in 4 dirs): Updated the Old English translation. 20120406 06:46:41< Espreon> ... Damn it. I forgot about those. 20120406 06:48:46-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120406 06:49:07< CIA-69> espreon * r53801 /trunk/data/core/images/terrain/ (4 files in 3 dirs): Reverted unintentional effects of the previous commit. 20120406 06:49:54-!- avrilfanomar [~omar@91.202.129.140] has joined #wesnoth-dev 20120406 06:50:57< CIA-69> espreon * r53802 /branches/1.10/po/wesnoth-help/ang@latin.po: Updated the Old English translation. 20120406 06:57:09-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20120406 06:58:11-!- avrilfanomar [~omar@91.202.129.140] has left #wesnoth-dev [] 20120406 07:09:30-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20120406 07:13:39-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 265 seconds] 20120406 07:16:25-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120406 07:21:24-!- naman22 [naman22@1.22.184.16] has joined #wesnoth-dev 20120406 07:35:12-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120406 07:49:49-!- wesbot changed the topic of #wesnoth-dev to: 1.10.2 planned for April 7th, string freeze for branches/1.10 | Wesnoth accepted in GSoC 2012 | http://wiki.wesnoth.org/SummerOfCodeIdeas | 170 bugs, 328 feature requests, 18 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120406 08:02:48-!- atomicbomb [~quassel@125.164.91.115] has joined #wesnoth-dev 20120406 08:02:48-!- a_weeks [~A.Matt@h22-net08.simres.netcampus.ca] has joined #wesnoth-dev 20120406 08:04:05-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has joined #wesnoth-dev 20120406 08:32:19-!- Ivanovic [~ivanovic@dtmd-4db2abf1.pool.mediaWays.net] has quit [Changing host] 20120406 08:32:19-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120406 08:32:19-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has joined #wesnoth-dev 20120406 08:32:35< Ivanovic> moin 20120406 08:34:29-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20120406 08:39:31-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120406 08:41:49-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20120406 08:49:12-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20120406 08:50:12-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120406 08:59:10-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has quit [Quit: And that’s the end of THAT chapter.] 20120406 09:15:31-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has joined #wesnoth-dev 20120406 09:17:41-!- Gallaecio_ [~quassel@84.120.114.134.dyn.user.ono.com] has joined #wesnoth-dev 20120406 09:20:26-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20120406 09:21:04-!- naman22 [naman22@1.22.184.16] has quit [Ping timeout: 276 seconds] 20120406 09:35:28-!- MeccaGod [majs@host189-199.bornet.net] has joined #wesnoth-dev 20120406 09:40:58-!- enchilado [~enchilado@219-88-25-70.dialup.xtra.co.nz] has joined #wesnoth-dev 20120406 09:43:19-!- negusnyul [~negusnyul@dsl4E5CD33A.pool.t-online.hu] has joined #wesnoth-dev 20120406 09:43:42-!- enchilado [~enchilado@219-88-25-70.dialup.xtra.co.nz] has quit [Changing host] 20120406 09:43:42-!- enchilado [~enchilado@defocus/yummy/enchilado] has joined #wesnoth-dev 20120406 09:47:08-!- a_weeks [~A.Matt@h22-net08.simres.netcampus.ca] has quit [Ping timeout: 240 seconds] 20120406 09:56:44-!- khoover [~crazy1010@69.159.23.64] has quit [Ping timeout: 265 seconds] 20120406 10:00:47< CIA-69> ivanovic * r53803 /branches/1.10/data/core/help.cfg: copy the "how to use" text from mp commands to general and debug commands (no new strings, just a copy!) 20120406 10:01:01< CIA-69> ivanovic * r53804 /trunk/data/core/help.cfg: copy the "how to use" text from mp commands to general and debug commands (no new strings, just a copy!) 20120406 10:02:14-!- khoover [~crazy1010@69.159.23.64] has joined #wesnoth-dev 20120406 10:04:50-!- naman22 [naman22@1.22.184.246] has joined #wesnoth-dev 20120406 10:08:54< CIA-69> ivanovic * r53805 /branches/1.10/po/ (wesnoth-help/de.po wesnoth-lib/de.po): updated German translation 20120406 10:09:27< CIA-69> ivanovic * r53806 /trunk/po/ (4 files in 4 dirs): updated German translation 20120406 10:19:59-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has quit [Quit: Konversation terminated!] 20120406 10:33:40-!- Crendgrim [~crend@77-22-112-72-dynip.superkabel.de] has joined #wesnoth-dev 20120406 10:34:41-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20120406 10:53:07-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has quit [Ping timeout: 250 seconds] 20120406 10:57:20-!- enchilado [~enchilado@defocus/yummy/enchilado] has quit [Read error: Connection reset by peer] 20120406 11:09:22-!- _vdn [~nazgul_sa@ppp91-77-226-1.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120406 11:10:12-!- khoover [~crazy1010@69.159.23.64] has quit [Ping timeout: 265 seconds] 20120406 11:13:08-!- khoover [~crazy1010@69.159.23.64] has joined #wesnoth-dev 20120406 11:22:53-!- IvanSav [~IvanSav@ns2.ultranet.com.ua] has joined #wesnoth-dev 20120406 11:33:21-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20120406 11:41:50-!- atomicbomb [~quassel@125.164.91.115] has quit [Read error: Connection reset by peer] 20120406 11:46:41-!- mjs-de [~mjs-de@d189204.adsl.hansenet.de] has joined #wesnoth-dev 20120406 11:47:18-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20120406 11:51:10-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20120406 11:54:39-!- negusnyul [~negusnyul@dsl4E5CD33A.pool.t-online.hu] has quit [Quit: Konversation terminated!] 20120406 11:58:42-!- LordNasty [~NaSTy@93-43-168-221.ip92.fastwebnet.it] has quit [] 20120406 12:12:08-!- atomicbomb [~quassel@125.160.81.149] has joined #wesnoth-dev 20120406 12:15:45-!- horon [~horon@nttkyo322045.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20120406 12:25:43-!- LordNasty [~NaSTy@93-43-168-221.ip92.fastwebnet.it] has joined #wesnoth-dev 20120406 12:39:43-!- _vdn [~nazgul_sa@ppp91-77-226-1.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20120406 12:58:13-!- _vdn [~nazgul_sa@ppp91-77-226-1.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120406 13:02:12-!- _vdn [~nazgul_sa@ppp91-77-226-1.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20120406 13:05:56-!- Crab_ [Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20120406 13:20:34-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120406 13:24:39-!- dream_lane [~benjamin@99-93-250-85.lightspeed.chtnsc.sbcglobal.net] has quit [Quit: Leaving.] 20120406 13:24:54-!- Upthorn [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has quit [Read error: Connection reset by peer] 20120406 13:25:30-!- Upth [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has joined #wesnoth-dev 20120406 13:25:30-!- Upth is now known as Upthorn 20120406 13:56:21-!- csarmi [~csarmi@2E6B859D.catv.pool.telekom.hu] has joined #wesnoth-dev 20120406 14:04:38-!- atomicbomber [~quassel@125.160.81.149] has joined #wesnoth-dev 20120406 14:05:12-!- thethomaseffect [thethomase@86-40-82-101-dynamic.b-ras1.mgr.mullingar.eircom.net] has joined #wesnoth-dev 20120406 14:06:35-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120406 14:08:09-!- Elvish_Pillager [~eli@dhip-149.coburn.residences.colby.edu] has joined #wesnoth-dev 20120406 14:09:57-!- negusnyul [~negusnyul@dsl4E5CD33A.pool.t-online.hu] has joined #wesnoth-dev 20120406 14:11:49-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20120406 14:19:02-!- avrilfanomar [~omar@host-70-116.emplot.net] has joined #wesnoth-dev 20120406 14:19:28-!- avrilfanomar [~omar@host-70-116.emplot.net] has left #wesnoth-dev [] 20120406 14:29:24-!- retr0virus [~vyrm@static-213-182-118-060-teleos.ewe-ip-backbone.de] has joined #wesnoth-dev 20120406 14:33:53-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120406 14:41:51-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has quit [Quit: Leaving.] 20120406 14:42:24-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120406 14:43:26-!- tyrannodogg [~tyrannodo@ip-55-20.travedsl.de] has joined #wesnoth-dev 20120406 14:46:50-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has joined #wesnoth-dev 20120406 14:49:11-!- nagafono [~kvirc@178.19.254.1] has joined #wesnoth-dev 20120406 14:59:46< Crab_> to GSoC students: I'll be mostly afk for the easter weekend, returning on Monday. Still, should have email/melange access/irclogs - if there're questions, just put them here or in google's melange. I'll try to sort out any patches today in the evening and comment/commit (will do the same on monday) 20120406 15:04:34-!- loonybot [~loonybot@46.138.73.65] has joined #wesnoth-dev 20120406 15:04:35-!- loonybot [~loonybot@46.138.73.65] has quit [Changing host] 20120406 15:04:35-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20120406 15:07:01-!- chpln [~chpln@ppp59-167-91-125.static.internode.on.net] has quit [Ping timeout: 248 seconds] 20120406 15:08:01-!- atomicbomber [~quassel@125.160.81.149] has quit [Remote host closed the connection] 20120406 15:09:02-!- chpln [~chpln@ppp59-167-91-125.static.internode.on.net] has joined #wesnoth-dev 20120406 15:12:28-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has joined #wesnoth-dev 20120406 15:14:03-!- neph [~neph@02de475b.bb.sky.com] has joined #wesnoth-dev 20120406 15:16:06< neph> Crab_, hi. I 20120406 15:16:13< Crab_> neph: hello 20120406 15:16:29< neph> I've added the timeline to the application. If you could take a look that'd be great. 20120406 15:19:11< Crab_> for exposing lua ai contexts to global env (I've read the IRC discussion you had on that) - if it's debug only, i'd be ok with it, but I'd prefer a format where you 'run' something on the ai instead of getting access to the context. 20120406 15:19:41< Crab_> i.e., wesnoth.ai_do( func ) 20120406 15:19:42< neph> Crab_, yes, that was how I thought it should be done 20120406 15:20:00< Crab_> that way, it'll be slightly more evident that we do not want the value of the AI context to be cached somewhere 20120406 15:20:32-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20120406 15:21:00< Crab_> neph: I suggest moving the debug tools and features 'up' - they'll be important to you, as well 20120406 15:22:45< neph> Crab_, I can swap it around with the previous task. Those are quite big time segments 20120406 15:22:49< Crab_> tyrannodogg: note that in this particular case I would consider it ok and even recommend to take a look at neph's timeline and 'steal' stuff from it. neph, I hope you don't mind - as lua ai has not much documentation, it's hard to get info on it and it's problems. 20120406 15:23:11< Crab_> neph: well, if you do a small part of it before, it'll help you. so, split it into two 20120406 15:24:16-!- Danceman [~Danceman@a94-132-158-220.cpe.netcabo.pt] has joined #wesnoth-dev 20120406 15:24:19< CIA-69> alarantalara * r53807 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_The_Morning_After.cfg: Eliminate condition/variable in stables 20120406 15:24:25-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has quit [Ping timeout: 276 seconds] 20120406 15:25:06< Crab_> neph: also, I'd recommend putting more emphasis on discussing stuff with (potential) users or even coding some small stuff with them - it's highly useful, esp. with the powerusers we have. 20120406 15:25:12< Crab_> neph: overall, I like your timeline 20120406 15:25:40< Crab_> neph: the main 'todo' item remains the same 'impress us', but you're going well so far. 20120406 15:32:27< Akihara> Crab_: Hi! I have a little question :) 20120406 15:32:36< Crab_> hello 20120406 15:33:33< Akihara> I'm searching a little patch AI oriented (if it's possible). Do you have an idea? :) 20120406 15:34:28< Crab_> I'll take a look now... 20120406 15:34:47< neph> Akihara, there 20120406 15:34:52< neph> is this section http://wiki.wesnoth.org/Practical_Guide_to_Modifying_AI_Behavior#Ideas_for_Potentially_Easy_AI_Patches 20120406 15:35:47< Crab_> Akihara: those are possible as well, but I would propose something different, actually :) 20120406 15:36:05-!- teraquendya [~nils@wsip-70-182-72-226.ok.ok.cox.net] has joined #wesnoth-dev 20120406 15:36:13< Akihara> Crab_: what do you propose? 20120406 15:36:17< Akihara> neph: thanks ;) 20120406 15:36:21< Crab_> Akihara: most of the list at ^ is luaai-specific, but 'Set up an option that lets the leader participate in the move-to-targets phase' and 'Set up an option that lets the leader participate in the move-to-targets phase' are good 20120406 15:36:47< Crab_> Akihara: in src/ai/default/attack.cpp, AI evaluates attacks 20120406 15:36:59< neph> Crab_, you copied the leader part twice 20120406 15:37:08< Crab_> neph: oops :) 20120406 15:37:32< Crab_> Akihara: ^ should read 'Set up an option that lets the leader participate in the move-to-targets phase' and 'Set up an option the allows us to exclude units from the move-to-targets phase similar to [filter_own] for the combat phase' 20120406 15:37:52< Crab_> Akihara: so, in src/ai/default/attack.cpp, AI evaluates attacks , and it adds to the score of the attack if the target is poisoned after the attack 20120406 15:38:32< Crab_> Akihara: I highly suspect that it is broken - i.e., if the unit is already poisoned before the attack, the chance of it being poisoned after the attack is 1 20120406 15:38:36-!- teraquendya [~nils@wsip-70-182-72-226.ok.ok.cox.net] has left #wesnoth-dev [] 20120406 15:38:52< Crab_> Akihara: so, the AI would tend to try to poison already poisoned units, instead of spreading poisoning around 20120406 15:39:28< Crab_> Akihara: this is easy to test with a small map where you add some poisoners and unpoisoned living targets (or use the ai arena, it has a scenario for that) 20120406 15:40:27< Akihara> yeah I see the problem 20120406 15:40:29< Crab_> Akihara: in this case (if the bug is present), a proper fix would be to only consider the chance of unit being poisoned *during* the attack (i.e., by not considering it if unit was already poisoned) 20120406 15:40:52< Crab_> Akihara: if the bug is not present (unlikely, but possible), prove it (i.e. point to lines in source code where it's taken into account already. 20120406 15:41:11< Crab_> but, afair, the AI would try to poison same unit repeatably 20120406 15:41:18< Crab_> so, most likely, we have the bug there. 20120406 15:41:32< Crab_> pick any of those three bugs, depending on what's most interesting to you 20120406 15:41:40< Crab_> the previous two are more 'infrastructure' stuff 20120406 15:41:47< Crab_> but this is a real AI-related stuff 20120406 15:42:15< Akihara> okay :) 20120406 15:42:32< Crab_> (And you're welcome to ping me if you'd like another bug) 20120406 15:42:36< Crab_> but those are good. 20120406 15:42:50< Akihara> in the case there is no bug, must open a "patch note" to say it? 20120406 15:43:00-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has joined #wesnoth-dev 20120406 15:43:49< Crab_> Akihara: yes, or add it in 'patches' section of your application, like "at the request of Crab, I've investigated FOO and found out that BAR does not happen .... " 20120406 15:44:10< Akihara> okay no problem :) thanks 20120406 15:44:36< nagafono> Crab_: hi, if you dont remeber i'm develop the patch from easycoding stuff "candidate action for leader control", so i worry that im doing something and want to clarify. the leader control means leadership, am i right? 20120406 15:44:55< Crab_> nagafono: leader control means doing something useful with your leader 20120406 15:45:15< nagafono> Crab_: damn i mess it up 20120406 15:45:40< Crab_> using leaders having leadership is one of ways to do it 20120406 15:45:52< Crab_> so, leadership is one of possible cases 20120406 15:45:58< nagafono> Crab_: well thats the thing on which i bet now 20120406 15:46:01< fendrin> hello 20120406 15:46:14< Crab_> nagafono: so, if you've done something to use leadership better, it's in line with "leader control" 20120406 15:46:22< Crab_> fendrin: hello 20120406 15:49:36< nagafono> Crab_: i havent done this yet but its being developed . so should i concentrate just on leader control using the leadership thing or can continue the work on global leadership? 20120406 15:50:03< Crab_> as you want to, however, make sure you can deliver something useful while it's still gsoc application period :)) 20120406 15:50:23< nagafono> Crab_: also i'm coding in lua so if you will be out of IRC on weekend i want to ask you how to convert lua to c++ to submit the patch as the part of the core. not addon 20120406 15:50:55< Crab_> nagafono: what do you mean about 'convert lua to c++' ? 20120406 15:51:05-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has joined #wesnoth-dev 20120406 15:51:51< Crab_> nagafono: if you want to use lua, it's ok. ping nephro or read this guide by mattsc - http://wiki.wesnoth.org/Practical_Guide_to_Modifying_AI_Behavior - there are examples and howtos there on how to use lua stuff. 20120406 15:52:04< nagafono> Crab_: a couple of days ago you recommend me to go with mattsc (hi , mattsc :)) approach what im doing right now. but in this case the patch would be looked as an addon 20120406 15:52:06-!- Samual [diotecktec@c-71-195-88-69.hsd1.pa.comcast.net] has quit [Ping timeout: 252 seconds] 20120406 15:52:20< ghart2010> Drat, I'm going to still be busy for the rest of this gsoc period 20120406 15:52:39< Crab_> ghart2010: happens. still, there'll be gsoc's next year, as well 20120406 15:52:48< Crab_> nagafono: it's ok. it's more important for me to see the code than to have it in 'core' format 20120406 15:52:48< nagafono> Crab_: so mattsc said that there is some case to simply covert lua to c++ 20120406 15:53:10< nagafono> ok then i will concentrate on lua functions then 20120406 15:53:35-!- ghart2010 [a376f3e1@gateway/web/freenode/ip.163.118.243.225] has quit [Quit: Page closed] 20120406 15:53:38< Crab_> nagafono: i.e., we want to see that you have a good idea of how to make it work, but, of course, the main coding part is during the summer 20120406 15:53:42< nagafono> Crab_: btw if you havent seen yet, i updated my wiki (set the timeline and something liek a plan) 20120406 15:54:01< nagafono> Crab_: i jsut want to be sure with that formal things 20120406 15:54:25< nagafono> 'cause i wqorry that it woldnt be in "patch format" 20120406 15:55:05< Crab_> it's ok for this particular project 20120406 15:55:18< fendrin> Crab_: I have thought about the post on the mailing list regarding the transportation of units. I told the OP that it is already doable with lua and WML. But after a second glance at the issue, that is not entirely true. 20120406 15:55:52< Crab_> fendrin: why is that not entirely true? 20120406 15:55:59< fendrin> One needs to remove the units from the map while in transportation. 20120406 15:56:05< Crab_> yes 20120406 15:56:29< fendrin> They can no longer participate in filter searches. 20120406 15:56:49< Crab_> yes 20120406 15:57:16< fendrin> Or count for the upkeep. 20120406 15:57:25< Crab_> yes 20120406 15:57:29-!- nagafono [~kvirc@178.19.254.1] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 20120406 15:57:39< fendrin> maybe more and even more important stuff I don't think off yet. 20120406 15:57:58-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has quit [Ping timeout: 245 seconds] 20120406 15:57:58< Crab_> if we want to make it work better, we can reintroduce the concept of 'far recall' - i.e. additional configurable lists of units which would be stored like recall list is 20120406 15:58:29-!- Samual [diotecktec@c-71-195-88-69.hsd1.pa.comcast.net] has joined #wesnoth-dev 20120406 15:58:30< Crab_> but, each list would have properties like 'affects unkeep?' 'is possible to filter on it?' 'will go to next scenario?' 20120406 15:58:39< Crab_> that idea was originally made regarding DM 20120406 15:58:47< fendrin> :-) 20120406 15:58:48< Crab_> since it has many different recall lists 20120406 15:59:42< mattsc> Hi Crab, neph, nagafono 20120406 15:59:53< neph> hello mattsc 20120406 15:59:53< Crab_> hi, mattsc 20120406 16:00:07< mattsc> Sorry for the confusion there yesterday about how things should be exposed and done. 20120406 16:00:33< fendrin> I am working on a class hierarchy in files called unit_cargo.hpp and unit_cargo.cpp. 20120406 16:00:57< mattsc> I really don't know how this works internally, I just figured out empirically what works. So as long as you give me a way of easy debugging, I'll be happy no matter how it is done. 20120406 16:01:28-!- nagafono [~kvirc@178.19.254.1] has joined #wesnoth-dev 20120406 16:01:37< neph> mattsc, that's cool, the conversation pushed us towards a neat solution. 20120406 16:01:48-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120406 16:01:55< boucman> hey all 20120406 16:02:31< neph> hi boucman 20120406 16:02:33< mattsc> cool. great. 20120406 16:02:48< fendrin> hi boucman 20120406 16:03:30< neph> mattsc, your information input is very important, since your looking at the system from a different angle 20120406 16:03:46< fendrin> Crab_: The idea is that [unit_type] supports a new tag [cargo] or [cargo_bay]. 20120406 16:03:54< mattsc> I won't be around as much the next couple days, but if you have anything that I might be able to help with, just leave a message in the log. I'll check that periodically and log in if I find something. 20120406 16:04:10< Crab_> hi, boucman 20120406 16:04:22< Crab_> fendrin: looks good. I'd make an abstraction for those 'unit lists' 20120406 16:04:38< mattsc> neph: thanks. The "problem" with the different angle is that it sometimes takes us 2 hours until we speak the same language. :D 20120406 16:05:00< Crab_> fendrin: i.e. make [cargo] be internally implemented in terms of 'a list of units similar to recall list' 20120406 16:05:26< neph> mattsc, that's more of a terminology issue, if you ask me. We should get better at this :) 20120406 16:05:28< Crab_> fendrin: also, note that you might need to deal with recursive transports ;) 20120406 16:05:51< Crab_> fendrin: like a http://en.wikipedia.org/wiki/Matryoshka_doll :) 20120406 16:07:14< fendrin> Crab_: No, the tag does not hold unit lists. It defines the bay. A bay has a description like "Aircraft Hangar" or "Bag of the Kangoroo" etc. There a slots, a maximum weight, a maximum weight for each cargo item. 20120406 16:07:33< boucman> naman22: I think you were looking for me at some point... 20120406 16:07:33< mattsc> neph: I suspect that you're right with that. :) 20120406 16:07:50< boucman> bloodycoin: so, did you find something ? 20120406 16:07:50< naman22> yeah 20120406 16:08:19< Crab_> fendrin: it'd be good if there would not be need to track down new bays as units are created 20120406 16:08:40< naman22> so what do you think about my proposal 20120406 16:08:50< boucman> URL plz ? 20120406 16:09:17< naman22> http://wiki.wesnoth.org/User:Naman22 20120406 16:09:37-!- atomicbomb [~quassel@125.160.81.149] has quit [Remote host closed the connection] 20120406 16:09:45-!- stikonas [~gentoo@ctv-217-147-37-55.vinita.lt] has joined #wesnoth-dev 20120406 16:09:45-!- stikonas [~gentoo@ctv-217-147-37-55.vinita.lt] has quit [Changing host] 20120406 16:09:45-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120406 16:10:59< fendrin> Crab_: Sorry, I didn't get that. 20120406 16:13:56< Crab_> fendrin: i.e., if the bay does not contain a list of units, it should reference that list somehow 20120406 16:14:08< Crab_> fendrin: and, it'd be important to allow those lists and bays to be easily managed 20120406 16:14:16< Crab_> fendrin: but, sorry, I've got to go now 20120406 16:14:25< Crab_> will be online later this evening 20120406 16:16:07-!- Crab_ [Crab_@wesnoth/developer/crab] has quit [Quit: Crab_] 20120406 16:18:22< CIA-69> alarantalara * r53808 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_The_Morning_After.cfg: clear all variables left uncleared in The Morning After 20120406 16:29:33< CIA-69> alarantalara * r53809 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_The_Morning_After.cfg: Eliminate condition made redundant by game engine 20120406 16:32:52< naman22> whay say bouncman 20120406 16:32:58< naman22> what* 20120406 16:35:12< boucman> reading, gimme a sec 20120406 16:35:22-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Quit: Konversation terminated!] 20120406 16:36:14-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20120406 16:37:19-!- fendrin [~fabi@88-134-62-135-dynip.superkabel.de] has joined #wesnoth-dev 20120406 16:37:19-!- fendrin [~fabi@88-134-62-135-dynip.superkabel.de] has quit [Changing host] 20120406 16:37:19-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20120406 16:37:53< boucman> naman22: ok, two main remarks 20120406 16:38:08< naman22> yeah 20120406 16:38:32< boucman> 1) your technical proposal is way too short, you need to go much further in details, provide an idea of what your API would look like or how it would fit in the current animation WML things like that 20120406 16:39:16< boucman> 2) you need to code something for wesnoth, correct some bugs, provide some patches, and reference them in your proposal so we know it's you when we review it 20120406 16:39:49< naman22> i see 20120406 16:39:55< naman22> sir but the problem 20120406 16:40:25< naman22> is my college won't let me free till my exams that would be over only by 15 may 20120406 16:40:55< naman22> till then i find it really hard to code. 20120406 16:41:14< boucman> hmm, that is a problem, we really need to see how you code. You should at least work a lot on your proposal before that... 20120406 16:41:18< naman22> but i can asure you that i can get the job done as i have been intern for 2 companies 20120406 16:42:03< naman22> and my work was appriciable. i can provide reference to prove that 20120406 16:42:10< bloodycoin> boucman: except for curious comment about no invalidation done in whiteboard/manager.cpp:draw_hex, not really much... I fell asleep :) 20120406 16:42:21< boucman> hehe fair enough 20120406 16:43:37-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20120406 16:44:17< naman22> i have my college from 9 to 6 in the evening and rest of the time goes in preparing for mid terms as my exams are way to close 20120406 16:45:27< naman22> after exams i can do whatever job proposed. 20120406 16:47:51-!- aknahs [~aknahs@109.144.240.190] has joined #wesnoth-dev 20120406 16:53:01< CIA-69> alarantalara * r53810 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/01_The_Morning_After.cfg: Clean up comments in The Morning After 20120406 17:05:58-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20120406 17:09:01-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20120406 17:14:28-!- timotei21 [~timotei@188.24.4.67] has joined #wesnoth-dev 20120406 17:14:28-!- timotei21 [~timotei@188.24.4.67] has quit [Changing host] 20120406 17:14:28-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120406 17:17:58-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 245 seconds] 20120406 17:21:44< CIA-69> fendrin * r53811 /trunk/src/unit_display.cpp: Spell fix. 20120406 17:24:24-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120406 17:25:02< CIA-69> fendrin * r53812 /trunk/src/unit_frame.cpp: Spell fixing, indentation fixed. 20120406 17:26:52< CIA-69> fendrin * r53813 /trunk/src/unit_animation.cpp: Fixed code formatting. 20120406 17:32:00-!- Drakefriend [~kvirc@31-19-75-43-dynip.superkabel.de] has joined #wesnoth-dev 20120406 17:32:39-!- horon [~horon@nttkyo322045.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20120406 17:36:18-!- aknahs [~aknahs@109.144.240.190] has quit [Ping timeout: 245 seconds] 20120406 17:37:30-!- aknahs [~aknahs@109.144.240.190] has joined #wesnoth-dev 20120406 17:46:29-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20120406 17:48:59-!- dream_lane [~benjamin@99-93-250-85.lightspeed.chtnsc.sbcglobal.net] has joined #wesnoth-dev 20120406 17:54:24< neph> Alarantalara, hi. I see you are working on some campaigns. Are there any outstanding workarounds you know of in the AI customization you would like to get rid of? 20120406 17:58:36-!- liviuc [~liviu@p5.eregie.pub.ro] has joined #wesnoth-dev 20120406 18:06:04< Alarantalara> neph: I haven't been looking at the AI at all. I don't remember noticing anything that looked like a workaround, though 20120406 18:07:11< neph> Alarantalara, ok, thanks 20120406 18:07:20< Alarantalara> Actually, right now, the messenger in scenario 8 has to be on another team. It might be nice if that wasn't needed 20120406 18:08:32< Alarantalara> It would need an equivalent of a leader_goal for the messenger with a subset of units detailed to protect it 20120406 18:11:30< neph> I'll take a look on that, not sure if it's in my area though 20120406 18:11:39< mattsc> Alarantalara, hi. Couldn't having the messenger go there be done with goto_x,goto_y? (This doesn't take care of the protection detail, of course) 20120406 18:12:25< Alarantalara> mattsc: it actually should behave much like what you've done for the HttT demo 20120406 18:12:48< mattsc> Well, kind of, just that 20120406 18:13:05< mattsc> I really only control the protected units there, and let the other units do whatever they do by default. 20120406 18:13:39< mattsc> neph: I'll let you (or other GSoC students) have the first pick at that, if you want. If not, it sounds like it's right down my alley. 20120406 18:14:36< Alarantalara> also, the goto is a map edge, not a single target, and the wiki suggests that goto_x,goto_y is 20120406 18:15:34< Alarantalara> I guess that makes an argument for replacing the existing goto mechanism with a SLF 20120406 18:16:55-!- aknahs [~aknahs@109.144.240.190] has quit [] 20120406 18:17:31< mattsc> Yeah, that makes sense. Actually, could that be one of those application period patches for a student? 20120406 18:18:45< mattsc> Well, no, it's probably more complicated. Because if the goto goal is more than one hex, you also need to come up with a strategy which one to pick. 20120406 18:19:59< mattsc> I do have something like that in one of my AI specials (coward unit), but it uses a pretty arbitrary method. 20120406 18:20:51< Alarantalara> shortest path including enemies is probably a reasonable choice 20120406 18:21:18< mattsc> Could be, yes 20120406 18:22:08< Alarantalara> I just worry about what happens if the player and move obstacles around - watching the AI move back and forth would be funny but stupid 20120406 18:22:46< Alarantalara> s/and/can 20120406 18:23:29< mattsc> But isn't that what you'd do in real life as well? If the enemy moves something into your way, you'd change your path, possibly retreat (I know, WINRL). Happens quite frequently in chess. 20120406 18:24:39< mattsc> Actually, this gives me an idea for another probably easy patch: currently, goto_x,goto_y make the unit go there using a straight line, even if that leads into a dead end. That should be changed to use the shortest doable path. All the pieces for this are in place, should be pretty easy to do. 20120406 18:24:46< Alarantalara> I'm thinking of there being to spaces and the player alternately cover them with two units that couldn't stop it in a fight 20120406 18:25:07< mattsc> I see. 20120406 18:25:07< Alarantalara> so the AI moves first toward on and then the other, but never actually gets to either 20120406 18:25:29< zookeeper> it'd be great if AI units could figure out the goto path while taking into account future turns; it doesn't help to go around my units if you can't reach the destination this turn _and_ my units can trap you on the next turn. it should be possible to lookahead one turn and move to a location where my units can't reach it on the next turn. 20120406 18:25:30< Alarantalara> and I can't spell numbers 20120406 18:26:11< boucman> fendrin: around ? 20120406 18:27:01< mattsc> zookeeper, what I do in my HttT scenario "reenactment" is kind of along those lines. Not exactly, but something like that. 20120406 18:27:45< Alarantalara> could a unit make a request to other units that it wants them to eliminate an obstacle? 20120406 18:28:31< mattsc> Sure. Could be done easily in Lua AI. The problem is putting done a set of rules that a computer can understand. 20120406 18:28:48-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20120406 18:29:05< mattsc> *down 20120406 18:29:51< Alarantalara> For all enemy units, if removing it reduces time to reach target, make it a target unit for the turn 20120406 18:29:58< fendrin> boucman: hi 20120406 18:30:07< Alarantalara> Order priority by distance from unit with goto 20120406 18:30:27< boucman> fendrin: you're our editor guy, arn't you ? 20120406 18:31:46< mattsc> Alarantalara: that sounds reasonable. I'll wait a couple days to see if one of the students wants to pick this up. If not, I'll try to do something along those lines. 20120406 18:31:58-!- vcap [~vcap@AReims-551-1-142-19.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20120406 18:32:04< fendrin> boucman: Yes, I am. 20120406 18:32:43< mattsc> In the meantime, I'll put the goto patch idea (not making it go in a straight line) up on my 'potentially easy AI patches' wiki page 20120406 18:32:58< Alarantalara> mattsc: if the attack happens early enough, it might even be able to rescue the unit from being pinned en-route 20120406 18:33:09< boucman> fendrin: you might be interested in http://forums.wesnoth.org/viewtopic.php?f=10&t=36466 20120406 18:33:32< boucman> it's a new map generator that looks promising, but the guy might need a hand to integrate the parameters intou our UI 20120406 18:34:03< mattsc> Alarantalara: true 20120406 18:34:15< fendrin> boucman: I have seen the thread some weeks ago. 20120406 18:34:23< boucman> ok, cool 20120406 18:34:40< boucman> the guy said he would provide a patch, which makes more sense than a separate exe 20120406 18:34:59< fendrin> boucman: If the patch is there you can assign it to me. I will take care. 20120406 18:35:15< boucman> ok 20120406 18:35:42< mattsc> zookeeper: if you have specific suggestions or request for added/changed AI behavior, I am always looking for ideas. 20120406 18:37:06< Alarantalara> mattsc: I seem to recall a function that found paths ignoring enemies. It might be much faster to just mark all enemy units within 1 hex of that path 20120406 18:38:36< CIA-69> boucman * r53814 /branches/1.10/src/unit.cpp: apply patch 3196: fix for bug 19563, units hidden during replay 20120406 18:39:41< mattsc> Alarantalara, if you're talking about Lua, yes, wesnoth.find_path can be given a parameter to ignore enemy units 20120406 18:40:03< Alarantalara> I was thinking of FAI, actually, since I've used it but not Lua 20120406 18:40:46< fendrin> vultraz_laptop: Hello, are you around? 20120406 18:40:55< vultraz_laptop> fendrin: yes? 20120406 18:41:07< fendrin> vultraz_laptop: Are you in painting mood :-) ? 20120406 18:41:25< vultraz_laptop> fendrin: depends on what you need 20120406 18:41:32< mattsc> I haven't used FAI in a while, but there's probably a similar option. 20120406 18:42:40< fendrin> vultraz_laptop: I work an support for transport units. From medieval sailing ships to atomic aircraft carrier. 20120406 18:43:14< neph> atomic aircraft carrier - sounds like fun 20120406 18:43:22< vultraz_laptop> fendrin: um....wha???? 20120406 18:43:45< fendrin> Transport units. 20120406 18:44:30< vultraz_laptop> and.....? 20120406 18:44:36< vultraz_laptop> I'm confused here 20120406 18:44:45< fendrin> The gui needs some icons. 20120406 18:44:57< vultraz_laptop> oh 20120406 18:45:09< vultraz_laptop> for what tool exactly 20120406 18:45:28< neph> mattsc, I don't think I would do something AI implementation related right now. I was just asking to find out potential problems and include them to the future plans. Right now I am focused on impressing the big guys :) (have no idea at the moment, but something might be coming up) 20120406 18:45:34< fendrin> in trunk/images/cursors 20120406 18:46:29< CIA-69> alarantalara * r53815 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg: delete condition that must be true 20120406 18:46:34< vultraz_laptop> and....? 20120406 18:48:02< mattsc> neph: ok. Good luck. :) I'll still leave this out there for somebody else to pick up, if they want 20120406 18:48:14< neph> yes, that would be good 20120406 18:48:56< fendrin> vultraz_laptop: mount unit icon. A generic icon that means: The current unit will move into the unit under the cursor. 20120406 18:49:50< vultraz_laptop> lol that sounds dirty XD 20120406 18:50:08< vultraz_laptop> anyway, I think I can 20120406 18:51:10< vultraz_laptop> fendrin: it's a cursor, right? 20120406 18:51:29-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Disconnected by services] 20120406 18:51:30-!- avrilfanomar [~omar@91.202.129.159] has joined #wesnoth-dev 20120406 18:51:46-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120406 18:52:14< fendrin> vultraz_laptop: Yes, there are also bw versions. 20120406 18:52:32< fendrin> vultraz_laptop: And I need a second set of those attack indication arrows. 20120406 18:52:46-!- aknahs [~aknahs@cisne-cn09.upc.es] has joined #wesnoth-dev 20120406 18:53:55< vultraz_laptop> fendrin: up...which attack indicator 20120406 18:53:56< vultraz_laptop> s 20120406 18:55:05< fendrin> red arrows, indicating from which direction you attack. You see them often during playing. Just start the game and see what I mean. 20120406 18:55:26< fendrin> They are currently red. Maybe green or blue ones could be used for mounting a unit instead of attacking. 20120406 18:56:50< vultraz_laptop> oh yeah 20120406 18:57:00< vultraz_laptop> a complete recolored set? 20120406 18:57:42< vultraz_laptop> fendrin: um....where are those images? 20120406 18:57:48< vultraz_laptop> the arrows 20120406 18:58:06< vultraz_laptop> wesnoth/images/arrows? 20120406 19:02:58< fendrin> I don't know 20120406 19:03:03< fendrin> havent found them yet 20120406 19:05:41< fendrin> vultraz_laptop: images/misc 20120406 19:06:38< vultraz_laptop> fendrin: so you need a complete recolored set? 20120406 19:07:34< fendrin> vultraz_laptop: Do you see hover-hex-enemy.png? 20120406 19:07:45< fendrin> vultraz_laptop: And hover-hex-yours.png? 20120406 19:07:48-!- timotei21 [~timotei@wesnoth/developer/timotei] has left #wesnoth-dev ["SIGTERM"] 20120406 19:07:49< vultraz_laptop> yeah? 20120406 19:08:04< fendrin> I could put them in use. 20120406 19:08:25< fendrin> und thus the arrows need to be green to match the hover-hex-yours. 20120406 19:08:31< vultraz_laptop> ahhh 20120406 19:08:35< vultraz_laptop> I see 20120406 19:08:38< vultraz_laptop> will do 20120406 19:08:46< fendrin> :-) 20120406 19:08:50< vultraz_laptop> and then you need a cursor for mounting units 20120406 19:09:07< vultraz_laptop> any suggestions for the image? 20120406 19:09:08< fendrin> yes, one in color, one in black and white 20120406 19:09:34< fendrin> good question 20120406 19:10:33< vultraz_laptop> two unit outlines next to each other with a + sign between them? 20120406 19:14:21< vultraz_laptop> fendrin: ^ 20120406 19:14:56< fendrin> no 20120406 19:15:32< mattsc> All: when starting trunk at the command line with the --multiplayer option, Wesnoth crashes with this error message: 'error general: Error while playing the game: game_error: unknown unit type: random' 20120406 19:15:38< mattsc> Is this a known bug? 20120406 19:20:59-!- chpln [~chpln@ppp59-167-91-125.static.internode.on.net] has quit [Ping timeout: 245 seconds] 20120406 19:22:45-!- chpln [~chpln@ppp59-167-91-125.static.internode.on.net] has joined #wesnoth-dev 20120406 19:32:29-!- aknahs [~aknahs@cisne-cn09.upc.es] has quit [Ping timeout: 260 seconds] 20120406 19:33:22-!- aknahs [~aknahs@cisne-cn07.upc.es] has joined #wesnoth-dev 20120406 19:34:58-!- mordante [~mordante@roadie.xs4all.nl] has joined #wesnoth-dev 20120406 19:34:58-!- mordante [~mordante@roadie.xs4all.nl] has quit [Changing host] 20120406 19:34:58-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20120406 19:35:12< mordante> servus 20120406 19:37:08< mordante> aknahs, around? 20120406 19:42:27< IvanSav> mordante: hi 20120406 19:42:36< mordante> hi IvanSav 20120406 19:42:54< mordante> IvanSav, did you manage to work on the server prototype? 20120406 19:43:25< IvanSav> yeah 20120406 19:43:33< mordante> :-) 20120406 19:43:45< IvanSav> where should I upload it? 20120406 19:44:10< IvanSav> it's quite basic but it works 20120406 19:44:27< mordante> best at patches.wesnoth.org just explain it's a prototype for GSoC not intended to be committed 20120406 19:45:02< IvanSav> ok. will upload right now 20120406 19:45:29< mordante> ok will look at it right away 20120406 19:49:23< IvanSav> mordante: https://gna.org/patch/index.php?3241 20120406 19:49:49-!- wesbot changed the topic of #wesnoth-dev to: 1.10.2 planned for April 7th, string freeze for branches/1.10 | Wesnoth accepted in GSoC 2012 | http://wiki.wesnoth.org/SummerOfCodeIdeas | 170 bugs, 328 feature requests, 19 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120406 19:49:56-!- timotei [~timotei@188.24.4.67] has joined #wesnoth-dev 20120406 19:49:56-!- timotei [~timotei@188.24.4.67] has quit [Changing host] 20120406 19:49:56-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120406 19:50:00-!- liviuc [~liviu@p5.eregie.pub.ro] has left #wesnoth-dev [] 20120406 19:50:47< mordante> thanks IvanSav, don't forget to add it to your patches for your proposal 20120406 19:55:33-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20120406 19:55:35-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has quit [Read error: Connection reset by peer] 20120406 19:56:09-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120406 19:56:38-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120406 20:03:08< bloodycoin> is there some command for scons to bypass dependancy checks? or do I have to hack it myself? :) 20120406 20:04:18< mordante> IvanSav, can you post your .cfg as well. btw my compiler misses some #include s 20120406 20:05:07< mordante> tyrannodogg, just wanted to look whether you have been on IRC before while looking at your proposal 20120406 20:05:45< IvanSav> ok. but currently cfg is just part of reply from "real" server 20120406 20:06:44< tyrannodogg> mordante: ok 20120406 20:07:47< IvanSav> mordante: cfg uploaded 20120406 20:08:43-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120406 20:09:32< mordante> thanks 20120406 20:09:42-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120406 20:11:52< mordante> IvanSav, I just finished looking over the code and it looks nice, happy to see you also already had a look at strands 20120406 20:13:26< IvanSav> mordante: thanks 20120406 20:14:09-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20120406 20:14:59< mordante> IvanSav, in your addon loop you only protect against boost asio error exceptions 20120406 20:15:31< mordante> I'm not sure whether they're ever thrown since most (all?) is async and run has an ec parameter 20120406 20:16:23< mordante> I just tried to connect from Wesnoth to the server and umcd terminated after calling an exception 20120406 20:16:26< mordante> what(): Mandatory WML child missing yet untested for. Please report 20120406 20:16:38< mordante> is an instance of config::error 20120406 20:17:08< IvanSav> will check. I've been testing it with wesnoth_addon_manager tool. works fine 20120406 20:18:12< IvanSav> idea was to check only for exceptions from socket which are expected (closing connection results in exception) 20120406 20:19:10< mordante> "data/tools/wesnoth_addon_manager -alocalhost -p15002 -l" fails as well 20120406 20:20:01< IvanSav> strange. for me both manager and wesnoth itself works fine 20120406 20:21:46< mordante> I'll recompile with debug info to get a stack trace, will take some time 20120406 20:25:48-!- Ravi [~chatzilla@182.156.103.104] has joined #wesnoth-dev 20120406 20:26:03< Ravi> hi 20120406 20:26:45< Ravi> anyone there 20120406 20:27:56< ejls> A lot of people yes. :) 20120406 20:28:23< Ravi> .... 20120406 20:28:43< vultraz_laptop> lol 20120406 20:29:52-!- aknahs [~aknahs@cisne-cn07.upc.es] has quit [] 20120406 20:29:54< Ravi> will tommorow is the day of launch of wesnoth 1.10.2 20120406 20:31:08-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120406 20:31:25< mordante> Ravi, the topic says it's the plan 20120406 20:31:37< Ravi> oh 20120406 20:31:48< mordante> vultraz_laptop, any luck with the crash on Windows 20120406 20:32:14-!- MeccaGod [majs@host189-199.bornet.net] has quit [] 20120406 20:32:44< vultraz_laptop> mordante: it launches if I start it from within MSVC, albeit it loads veerrryy slowly. I can't launch from explorer 20120406 20:32:51< vultraz_laptop> I get that error 20120406 20:33:30< mordante> and you get the error directly at loading or do you have to press F5? 20120406 20:34:38< vultraz_laptop> um....I use F5 or 'Start Debugging' in MSVC, and it launches..... in explorer I just double click the exe and it gives me that error 20120406 20:35:43< Ravi> latest version is relly slow 20120406 20:37:22-!- chpln [~chpln@ppp59-167-91-125.static.internode.on.net] has quit [Ping timeout: 252 seconds] 20120406 20:37:51< vultraz_laptop> mordante: might have to do with some working directory, as it crashed with that error from within SVC until I set '../..' at the working dir path in MSVC 20120406 20:38:34< mordante> Ravi, what do you exactly mean with the latest version 1.10.x or trunk? 20120406 20:38:43< mordante> vultraz_laptop, and with my patches reverted? 20120406 20:39:12-!- chpln [~chpln@ppp59-167-91-125.static.internode.on.net] has joined #wesnoth-dev 20120406 20:39:17< vultraz_laptop> still crashes from explorer 20120406 20:39:32< mordante> vultraz_laptop, good to know it's not my patch 20120406 20:39:43< vultraz_laptop> I haven't tried with patches and correct working dir in MSVC, though 20120406 20:39:50< vultraz_laptop> though it should work... 20120406 20:39:54< Ravi> It runs smoothly but it sometimes stucked when loading game.... 20120406 20:40:00< mordante> btw fyi shadowm afaik msvc stores the debug information in a separate file 20120406 20:40:23 * vultraz_laptop wonders why he can't seem to get a working build on either Mac or Windows 20120406 20:40:37< mordante> vultraz_laptop, if you have time we can try an IRC debug session 20120406 20:41:21< mordante> vultraz_laptop, guess you didn't sacrifice enough goats to the RNG now luck is against you ;-) 20120406 20:41:31< vultraz_laptop> XD 20120406 20:42:06< vultraz_laptop> seems building in MSVC is much slower than XCode 20120406 20:43:09< vultraz_laptop> much much slower 20120406 20:43:21< vultraz_laptop> well could also be the slower hardware.. 20120406 20:44:02< vultraz_laptop> 1.86 GhZ Celeron M VS. 2.33 GhZ Core 2 Duo 20120406 20:45:12< Ravi> lol 20120406 20:45:48< mordante> IvanSav, seems it can't find an addon http://paste.debian.net/162352/ 20120406 20:49:12< IvanSav> mordante: ah. If there are no uploaded addons in config file it will crash. Needs some checks at initialization 20120406 20:49:34< mordante> I just used your umcd.cfg ... 20120406 20:50:40< mordante> oh wait I see it's hard-coded twice 20120406 20:51:05< IvanSav> now that's weird. That cfg have several addons in it... 20120406 20:51:20< vultraz_laptop> mordante: don't really have time to do complex debugging right now. It's late, I should get to bed. I feel sorta sick, and I have sailing club in the morning :P 20120406 20:51:40< mordante> IvanSav, after changing the second hard-coded value it seems to work 20120406 20:51:57< mordante> vultraz_laptop, ok no problem, just ping me when you have time 20120406 20:52:19< vultraz_laptop> will do :) 20120406 20:52:59< IvanSav> mordante: looks to be it. just got same exception when config file is missng 20120406 20:56:45-!- Drakefriend [~kvirc@31-19-75-43-dynip.superkabel.de] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 20120406 21:00:40< Ravi> good night 20120406 21:04:50-!- avrilfanomar [~omar@91.202.129.159] has left #wesnoth-dev [] 20120406 21:06:01-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20120406 21:06:28-!- Artemius [~Artemius@pc-84-96.wls.metu.edu.tr] has joined #wesnoth-dev 20120406 21:06:53< loonycyborg> bloodycoin: What exactly you're trying to accomplish? 20120406 21:07:13-!- Ravi [~chatzilla@182.156.103.104] has quit [Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120312181643]] 20120406 21:07:35-!- Artemius [~Artemius@pc-84-96.wls.metu.edu.tr] has quit [Client Quit] 20120406 21:08:51-!- neph [~neph@02de475b.bb.sky.com] has quit [Read error: Connection reset by peer] 20120406 21:10:54-!- Nephro [~Dmitry@02de475b.bb.sky.com] has joined #wesnoth-dev 20120406 21:14:43-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20120406 21:22:05< mordante> I'm off night 20120406 21:22:19-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20120406 21:24:54-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has quit [Quit: Leaving.] 20120406 21:25:28-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has joined #wesnoth-dev 20120406 21:36:38< bloodycoin> loonycyborg: I was wondering if there issome command for scons, so I could skip wesnoth dependencies check and speed up compiling 20120406 21:37:32< loonycyborg> Most of those are just compiling test programs so the main compilation will likely fail if they failed. 20120406 21:38:16< loonycyborg> Though iirc there was one added in wesnoth's script. 20120406 21:39:00< loonycyborg> prereqs=false 20120406 21:58:11-!- nagafono [~kvirc@178.19.254.1] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 20120406 22:04:17-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20120406 22:12:52-!- tyrannodogg [~tyrannodo@ip-55-20.travedsl.de] has quit [Remote host closed the connection] 20120406 22:14:07-!- avrilfanomar [~omar@91.202.129.138] has joined #wesnoth-dev 20120406 22:18:28< bloodycoin> thanks, exactly what I wanted :) 20120406 22:19:32< bloodycoin> ok, maybe not... 20120406 22:21:39< Nephro> mattsc, have you ever encountered an error, when you return something from a function it becomes nil? 20120406 22:22:07< Nephro> mattsc, don't bother, i'm stupid 20120406 22:24:56-!- avrilfanomar [~omar@91.202.129.138] has left #wesnoth-dev [] 20120406 22:25:23< Nephro> mattsc, the caching system should be completed today, just saying. after that we'll have to decide which values we want to cache and which we don't, but that'll be straightforward. the framework is completed. 20120406 22:26:21 * Nephro afk 20 minutes 20120406 22:33:57-!- retr0virus [~vyrm@static-213-182-118-060-teleos.ewe-ip-backbone.de] has quit [Quit: Ein Nichts im Nichts und ins Nichts vertrieben!] 20120406 22:52:28< mattsc> Nephro: sounds good. Just let me know what you need from me. 20120406 22:53:20< mattsc> I'd also need a brief run-down again of what exactly the caching system does, just to avoid misunderstandings like yesterday 20120406 22:53:22-!- aknahs [aknahs@90.163.34.106] has joined #wesnoth-dev 20120406 22:58:00< Nephro> mattsc, well, you won't probably notice anything 20120406 22:58:11< Nephro> but it will improve the performance of LuaAI 20120406 22:58:16< Nephro> it will basically be fastr 20120406 22:58:19< Nephro> faster* 20120406 23:00:02-!- Tuggers [~Tuggers@rrcs-97-77-50-90.sw.biz.rr.com] has quit [Quit: Leaving] 20120406 23:00:10-!- negusnyul [~negusnyul@dsl4E5CD33A.pool.t-online.hu] has quit [Quit: Konversation terminated!] 20120406 23:01:41< mattsc> Nephro: faster is good! Some of my AI mods do have a small but noticeable lag. Of course, in most cases I can reduce that significantly by better programming, but any improvement helps. 20120406 23:02:16< mattsc> Nice work getting in done. 20120406 23:04:05-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Ping timeout: 252 seconds] 20120406 23:04:15< Nephro> mattsc, the problem is, I presume you use move maps a lot right? right now they were moved around very inefficiently 20120406 23:04:49< Nephro> not they will be cached inside LuaAI and you will have instant access to them unless they got invalidated 20120406 23:04:53-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120406 23:04:57< mattsc> Nephro: actually, no, I haven't used them yet because of the bug you fixed a couple days ago. 20120406 23:05:04-!- Crendgrim [~crend@77-22-112-72-dynip.superkabel.de] has quit [Quit: ...] 20120406 23:05:11< Nephro> ah, I see 20120406 23:05:14< Nephro> but they would cause 20120406 23:05:25< mattsc> So, being able to use them now should speed things up compared to what I do already 20120406 23:05:37< mattsc> And then having them be cached will make things even faster. 20120406 23:05:55-!- HappyKsuh [~ksu.nyaka@217.118.78.99] has joined #wesnoth-dev 20120406 23:06:08< mattsc> So you've already made things faster for me in two ways. :) 20120406 23:06:15-!- aknahs [aknahs@90.163.34.106] has quit [Ping timeout: 250 seconds] 20120406 23:06:39< mattsc> Now if you could also make the attacks available to me also ... ;) 20120406 23:07:50< Nephro> mattsc, that is the next planned thing 20120406 23:08:01< mattsc> Cool! 20120406 23:08:13< Nephro> tomorrow I should provide you with attacks. enemy_attacks could take a little bit longer 20120406 23:09:11-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has joined #wesnoth-dev 20120406 23:09:12< mattsc> That would be great. AI side attacks are more important in most cases anyway. 20120406 23:10:17-!- HappyKsuh [~ksu.nyaka@217.118.78.99] has quit [Client Quit] 20120406 23:11:34-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120406 23:11:48< Nephro> I didn't commit the cacher yet 20120406 23:11:53< Nephro> i need it to be approved by crab 20120406 23:12:23< mattsc> No worries. As you said, I won't really notice the difference anyway. 20120406 23:13:43< Nephro> mattsc, I meant, you wouldn't notice the difference in usage 20120406 23:13:55< Nephro> mattsc, I really hope you'll see massive differences in performance 20120406 23:14:10< mattsc> Nephro, right, sorry, that's what I meant as well. 20120406 23:14:18< Nephro> I'll reboot 20120406 23:15:52-!- Nephro [~Dmitry@02de475b.bb.sky.com] has quit [Read error: Operation timed out] 20120406 23:21:10< mattsc> but since I am not using movemaps right now, I don't have a comparison point 20120406 23:22:46-!- _vdn [~nazgul-sa@ppp91-77-226-1.pppoe.mtu-net.ru] has quit [Quit: Leaving.] 20120406 23:23:47-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20120406 23:26:56-!- neph [~neph@02de475b.bb.sky.com] has joined #wesnoth-dev 20120406 23:32:55-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120406 23:35:17-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20120406 23:35:24< mattsc> neph: while we're talking performance, can I make a request that would improve performance a lot, I believe (and you can tell me why it is nonsense)? 20120406 23:35:43< neph> sure 20120406 23:36:22< mattsc> Let's assume I want to figure out which enemy units can reach hex (10,10), in order to see if it is safe for my leader or something 20120406 23:36:53< mattsc> I use ai.get_enemy_dstsrc, which then has, among others, and element with key {x=10,y=10}, a lua table 20120406 23:37:07< mattsc> *an element ... 20120406 23:38:10< mattsc> However, because of the way how Lua tables work, I cannot get the content (values) of this element directly, I have to loop over all elements of the table (or at least all of them before 10,10) 20120406 23:38:42< mattsc> An operation like that is needed quite often, and it is really inefficient 20120406 23:39:55< mattsc> Would it be possible to change the movemaps so that they use 1dim scalar keys or (since this breaks backwards compatibility) add a second set of get_movemaps() functions that returns it in this way? 20120406 23:40:53< mattsc> I can, of course, convert the current movemaps to the new type easily, but then I lose the caching advantage that you just coded. (And I can only do this by doing the loop at least once) 20120406 23:41:10< mattsc> Does that make any sense? 20120406 23:42:29< neph> mattsc, yes it makes sense 20120406 23:42:38< neph> I will refactor the access to data in move maps 20120406 23:43:43< mattsc> That would be nice. (I think, I am not sure that I understand 100% what that would mean) 20120406 23:45:36< mattsc> Oh! I think I just got it... 20120406 23:46:05< mattsc> That would be nice indeed!! 20120406 23:47:10< neph> well, I will just remake the way move maps are exposed 20120406 23:47:13< neph> to luea 20120406 23:47:14< neph> lua* 20120406 23:49:35< mattsc> with a different kind of key system? 20120406 23:50:32-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has quit [Remote host closed the connection] 20120406 23:50:55-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has joined #wesnoth-dev 20120406 23:52:56-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has quit [Client Quit] 20120406 23:53:18-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has joined #wesnoth-dev 20120406 23:56:46-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has quit [Ping timeout: 252 seconds] --- Log closed Sat Apr 07 00:00:48 2012