--- Log opened Wed Apr 22 00:00:14 2009 --- Day changed Wed Apr 22 2009 20090422 00:00:13< Crab_> boucman: it will not be used by the rest of the game code at the moment, so there's no hurry. expect tomorrow. 20090422 00:00:25< boucman> ok 20090422 00:02:51< boucman> see you all tomorow... 20090422 00:02:55-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection] 20090422 00:09:12-!- wesbot changed the topic of #wesnoth-dev to: accepted students for SoC: http://socghop.appspot.com/org/home/google/gsoc2009/wesnoth | 52 bugs, 235 feature requests, 10 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090422 00:10:42-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090422 00:11:17-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 00:14:49-!- elias [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090422 00:16:16-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 113 (No route to host)] 20090422 00:18:29-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090422 00:35:55-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 00:43:41-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has quit [Remote closed the connection] 20090422 00:43:57-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090422 00:44:39< Ivanovic> time to head off to bed, n8 20090422 00:52:33-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090422 01:04:07-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090422 01:07:32-!- alink [n=alink@wesnoth/developer/alink] has quit [Remote closed the connection] 20090422 01:17:34-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090422 01:20:10-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"] 20090422 01:26:29-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20090422 01:27:00-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090422 01:27:12-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090422 01:29:15-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090422 01:29:59-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has joined #wesnoth-dev 20090422 01:35:31-!- Polarina [n=polarina@wesnoth/translator/Polarina] has quit ["Leaving."] 20090422 01:38:14-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090422 01:45:41-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 01:57:49-!- jmdc [n=jmdc@c-71-63-252-95.hsd1.mn.comcast.net] has joined #wesnoth-dev 20090422 02:03:58-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090422 02:06:58-!- ikarius [n=ross@smtp.gridironsystems.com] has quit [] 20090422 02:10:16-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit ["Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!"] 20090422 02:28:51-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090422 02:36:19-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 02:36:24-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090422 02:41:01-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090422 02:50:34-!- ancestral [n=ancestra@97-116-116-122.mpls.qwest.net] has joined #wesnoth-dev 20090422 02:51:54-!- Chusslove [n=caslav@brsg-d9bee1a5.pool.mediaWays.net] has quit [Read error: 110 (Connection timed out)] 20090422 02:52:37-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090422 02:57:56-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has joined #wesnoth-dev 20090422 02:59:58< corn> dfranke: I put up an SVN repo of my code at http://cornmander.com/svn/wesstats/ . I'll be doing my development on it. Do you want a login? 20090422 03:00:57-!- ikarius [n=ross@216.27.182.3] has joined #wesnoth-dev 20090422 03:04:00-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit ["Leaving"] 20090422 03:05:01-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has joined #wesnoth-dev 20090422 03:19:49-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090422 03:21:35-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090422 03:22:46< dfranke> corn: please; here's my ssh pubkey: http://dfranke.us/id_dsa.pub 20090422 03:32:30< Sirp> dfranke/ corn: we can't have it developed in the Wesnoth SVN repo? 20090422 03:43:24-!- Andrai [n=deko@unaffiliated/andreluiz] has quit ["Cya"] 20090422 03:58:14-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090422 04:13:47-!- Sirp [n=me@wesnoth/developer/dave] has quit ["leaving"] 20090422 04:16:10-!- Ivanovic_ [n=ivanovic@dtmd-4db2aa64.pool.einsundeins.de] has joined #wesnoth-dev 20090422 04:18:47-!- happygrue [n=quassel@wesnoth/developer/wintermute] has quit [Read error: 110 (Connection timed out)] 20090422 04:20:24-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [] 20090422 04:32:23-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090422 04:33:15-!- Ivanovic_ is now known as Ivanovic 20090422 04:37:29-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090422 04:39:50-!- jmdc [n=jmdc@c-71-63-252-95.hsd1.mn.comcast.net] has left #wesnoth-dev [] 20090422 04:40:17-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Read error: 60 (Operation timed out)] 20090422 04:51:48-!- happygrue [n=quassel@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090422 05:06:04< corn> Sirp: sure, that works too, although I'd like to make a lot of changes before I'd consider it commit ready to the wesnoth repo 20090422 05:19:33-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090422 05:40:32-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090422 05:46:05-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 06:14:57-!- fabi [n=fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20090422 06:14:57-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 104 (Connection reset by peer)] 20090422 06:19:17-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 90 seconds."] 20090422 06:19:43-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090422 06:23:32-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090422 06:25:23-!- ilor_ [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090422 06:28:21-!- Appleman1234 [n=Appleman@131.181.47.19] has joined #wesnoth-dev 20090422 06:43:55-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 110 (Connection timed out)] 20090422 06:58:44-!- AndreLuiz [n=deko@unaffiliated/andreluiz] has joined #wesnoth-dev 20090422 07:00:47-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090422 07:10:29-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090422 07:20:03-!- silene [n=plouf@ASte-Genev-Bois-152-1-53-107.w82-121.abo.wanadoo.fr] has joined #wesnoth-dev 20090422 07:21:54-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090422 07:28:52-!- Sirp [n=me@wesnoth/developer/dave] has quit ["leaving"] 20090422 07:30:29-!- ancestral [n=ancestra@97-116-116-122.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090422 07:36:58-!- ilor_ [n=user@wesnoth/developer/ilor] has quit [Read error: 110 (Connection timed out)] 20090422 07:51:37-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Success] 20090422 07:51:52-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 08:16:08-!- AndreLuiz [n=deko@unaffiliated/andreluiz] has quit [Remote closed the connection] 20090422 08:26:03-!- Einherjer [n=Einherje@c-98-220-192-27.hsd1.il.comcast.net] has joined #wesnoth-dev 20090422 08:28:09-!- MarioneTTe [n=Einherje@c-98-220-192-27.hsd1.il.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090422 08:39:45-!- turin [n=turin@168.215.249.223] has quit [Read error: 110 (Connection timed out)] 20090422 08:46:12-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090422 08:58:52-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090422 09:01:27-!- Chusslove [n=caslav@brsg-d9beeee3.pool.mediaWays.net] has joined #wesnoth-dev 20090422 09:08:31-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has joined #wesnoth-dev 20090422 09:09:53< YogiHH> hello everyone 20090422 09:24:30-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090422 09:50:13-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090422 09:53:23< Ivanovic> corn: one essential part is that development takes place in our rep 20090422 09:53:29< Ivanovic> corn: that is: commit often, too 20090422 09:53:55< Ivanovic> it is compltely fine to use "work in progress" stuff in our rep 20090422 09:54:19< Ivanovic> moin 20090422 10:12:26-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20090422 10:15:41-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090422 10:41:12-!- fabi [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection] 20090422 10:41:22-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20090422 10:42:08-!- loonycyborg [n=sergey@79.139.246.210] has joined #wesnoth-dev 20090422 10:46:48-!- krazny [n=Fred@AMontpellier-259-1-81-15.w92-133.abo.wanadoo.fr] has joined #wesnoth-dev 20090422 10:54:38-!- ilor [n=user@wesnoth/developer/ilor] has quit [] 20090422 11:00:52< corn> Ivanovic: ok. can I get a login? I also need to figure out how to store the stuff in svn without the mysql db password being revealed 20090422 11:01:22-!- Elvish_Pillager [n=eli@68.116.167.181] has joined #wesnoth-dev 20090422 11:01:23< corn> I guess I could include a file with some variable definitions that won't be tracked by svn 20090422 11:02:56< YogiHH> corn: can't you store an encrypted password? 20090422 11:04:27< corn> how would that help? 20090422 11:05:03< corn> I assume you mean storing the hash vs the actual password 20090422 11:05:50-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090422 11:06:23< corn> not sure that's possible also, this is a mysql password that I have to pass in an api 20090422 11:09:45< YogiHH> corn: yes, i meant storing the hash. 20090422 11:10:34< corn> well, the problem isn't that you don't want someone to intercept the password, it's that you don't want someone to use the password (or hash) to modify your DB 20090422 11:11:36< corn> so there has to be some kind of intermediate step between doing a code checkout and being able to run it 20090422 11:11:47< corn> where you submit your own login information and database info 20090422 11:12:54< YogiHH> corn: that is correct, it only works if the database access is interactive 20090422 11:13:38< YogiHH> a non-interactive access would have to provide the password as clear text somewhere 20090422 11:13:51< corn> yep 20090422 11:14:16< corn> I think the cleanest solution will be to make the program rely on a user-defined configuration file 20090422 11:14:45< Ivanovic> corn: jupp, that works probably easiest 20090422 11:14:51< corn> I'll include an example version in svn but when you install it you have to specify your own login info to make it work 20090422 11:14:52< Ivanovic> some file that is not tracked in svn 20090422 11:15:14< corn> ok 20090422 11:15:47< Ivanovic> in general you will be working under website/stats/ (instead of trunk/) 20090422 11:16:26< Ivanovic> and for the moment your cahnges to the "game" itself should go via patches.wesnoth.org to make sure that you are used to the mainline coding style 20090422 11:16:39< Ivanovic> (the good old two meaningfull patches guideline) 20090422 11:17:23< Ivanovic> basically this is a branch you got all for yourself (okay, almost...) 20090422 11:17:42< Ivanovic> it is just that everyone of us can reach the stuff, see progress, stuff like this 20090422 11:17:54< corn> ok, sounds good 20090422 11:18:05< Ivanovic> you got a login at gna.org? 20090422 11:18:08< corn> yeah 20090422 11:18:10< corn> cornmander 20090422 11:18:46< Ivanovic> okay, added you 20090422 11:19:45< corn> ok, I need to go to school soon but I'll checkin my code later today 20090422 11:19:45< CIA-30> ivanovic * r35104 /website/stats/: add stats folder for corn to work in for stats.wesnoth.org 20090422 11:20:17< Ivanovic> once you uploaded your ssh key, you should be able to checkout svn+ssh://cornmander@svn.gna.org/svn/wesnoth/website/stats 20090422 11:20:50< corn> ok, thanks 20090422 11:21:11< Ivanovic> you should add the ssh key now, so when you are back again it should be in the gna database 20090422 11:21:17< Ivanovic> (this can take some time) 20090422 11:21:31< corn> ok 20090422 11:21:33< Ivanovic> beside this: don't forget to subscribe to the mailling list wesnoth-dev 20090422 11:21:41< corn> btw, is my gsoc summary accessible to the layman? 20090422 11:21:42< Ivanovic> you might want to subscribe to wesnoth-commits, too 20090422 11:22:20< Ivanovic> what is available via the SoC page is the abstract 20090422 11:22:36< Ivanovic> and of course your wiki page is available to everyone surfing our wiki and finding it 20090422 11:22:57< Ivanovic> but for "normal users" your wiki page is not linked from google 20090422 11:23:26< corn> yes 20090422 11:23:35< Ivanovic> btw, if you commit something that is known not to work, add something about this or you will likely attract comments like "okay, this and that does not work" 20090422 11:24:04< Ivanovic> (eg some "still WIP" in the commit message, but don't omit the meaningful info ;) ) 20090422 11:24:04< corn> ah, ok 20090422 11:25:02< Ivanovic> that is: feel free to commit such work in progress stuff with stubs and whatever in your "branch", just make sure that other people see that it is work in progress 20090422 11:25:14< Ivanovic> though this is a *no go* for normal mainline game stuff 20090422 11:25:29< Ivanovic> there it should be commited in (small) functional pieces 20090422 11:26:08< corn> yeah, I was always irritated when working on projects and people committed code that would obviously segfault or not compile 20090422 11:26:09< Ivanovic> (you know, you commit some half working stub, leave for a week and miss the note "releasing in three days", thus something in the release is really borked, bad situation...) 20090422 11:26:55< Ivanovic> for the game the stuff should "basically work" as in compile, not too buggy, stuff like this 20090422 11:27:31< Ivanovic> keeping the pieces small in commits helps rolling problematic commits back and finding the problem areas, so 1k line changes in one commit are *bad* 20090422 11:27:33< Ivanovic> ;) 20090422 11:28:23< corn> speaking of commits, I have been working on a patch that changes the behavior of the End Turn button in observer mode. I'll submit to patches.wesnoth right now, but it is still WIP 20090422 11:29:15< corn> YogiHH: could you please check the patch out later? 20090422 11:29:38< CIA-30> ivanovic * r35105 / (2 files in 2 dirs): move website stuff from branches/resources to website/ 20090422 11:30:28< CIA-30> ivanovic * r35106 / (2 files in 2 dirs): move website stuff from branches/resources to website/ 20090422 11:30:53< CIA-30> ivanovic * r35107 / (2 files in 2 dirs): move website stuff from branches/resources to website/ 20090422 11:31:53< CIA-30> ivanovic * r35108 /website/ (stats/ stats.wesnoth.org/): rename folder to "common scheme" 20090422 11:31:57< Ivanovic> corn: okay, renamed the stats/ folder to stats.wesnoth.org/ 20090422 11:33:48< Ivanovic> Shadow_Master: when continuing working on the forum stuff, please keep my last commits in mind 20090422 11:34:01< Ivanovic> the forum.wesnoth.org folder is not at website/forum.wesnoth.org 20090422 11:35:14< Ivanovic> a plain svn switch svn+ssh://shadowmaster@svn.gna.org/svn/wesnoth/website/forum.wesnoth.org in the checkouts folder should be enough 20090422 11:36:30-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 11:39:43< CIA-30> ivanovic * r35109 /website/gettext.wesnoth.org/bin/update-wesnoth-stats: sync script with the "real" version used 20090422 11:39:47< YogiHH> corn: will check out your patch in about 10 hours 20090422 11:40:33< CIA-30> ivanovic * r35110 /website/gettext.wesnoth.org/bin/ (update-gettext-stats update-wesnoth-stats): rename binary name to match the one really used on the server... 20090422 11:41:22< corn> is there any way to spawn multiple scons instances, ala the '-j' flag for make? 20090422 11:41:29< corn> I want to speed up compilation 20090422 11:41:54< CIA-30> ivanovic * r35111 /website/gettext.wesnoth.org/ (20 files in 8 dirs): change folder setup to be more like it "has to be" 20090422 11:42:30< corn> nevermind, it does have a j opt 20090422 11:43:01< CIA-30> ivanovic * r35112 /website/gettext.wesnoth.org/public_html/: cleanup old folders 20090422 11:43:36-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090422 11:43:43< Ivanovic> cmake does offer such a -j option, too 20090422 11:43:44< Ivanovic> ;) 20090422 11:48:33< corn> YogiHH: ok, I submitted the patch. number is 5668, you probably got an email about it already 20090422 11:50:34< CIA-30> ivanovic * r35113 /trunk/po/wesnoth-low/pl.po: updated Polish translation 20090422 11:50:39< CIA-30> ivanovic * r35114 /branches/1.6/ (changelog players_changelog po/wesnoth-low/pl.po): updated Polish translation 20090422 11:52:22-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090422 11:52:27< Crab_> hi 20090422 11:56:36< loonycyborg> Ivanovic: Nope. cmake doesn't offer a -j option :P 20090422 11:58:51< Ivanovic> loonycyborg: at build time the generated files that are run through make *do* offer the -j option 20090422 11:58:53< Ivanovic> ;) 20090422 11:59:36< loonycyborg> Yes. But that's make. 20090422 12:01:07< Ivanovic> ah, but it is using the cmake recipe for building 20090422 12:01:16-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 12:01:29< Ivanovic> so when seeing "cmake" as well as "scons" as "ways to build", both ways offer a -j option 20090422 12:01:37< Ivanovic> to compile in parallel 20090422 12:04:08 * loonycyborg wonders how many make implementations support -j flag 20090422 12:08:32-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090422 12:09:00< loonycyborg> Single Unix specification doesn't seem to require make to have -j flag :P 20090422 12:39:21-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20090422 12:42:24-!- Appleman1234 [n=Appleman@131.181.47.19] has quit [Remote closed the connection] 20090422 13:16:48-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Success] 20090422 13:17:03-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 13:21:17-!- elias [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090422 13:25:13< CIA-30> torangan * r35115 /branches/1.6/po/ (wesnoth-aoi/sv.po wesnoth-trow/sv.po): swedish translation update 20090422 13:54:46-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090422 14:01:40-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 14:24:54-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090422 14:27:10< Shadow_Master> 11:34 the forum.wesnoth.org folder is not at website/forum.wesnoth.org 20090422 14:27:20< Shadow_Master> Ivanovic: s/not/now/ ? 20090422 14:29:09< Ivanovic> jupp, now 20090422 14:29:57< Shadow_Master> I see an 'e' and an 'r' between the 'w' and the 't' in my keyboard, so I take it yours isn't QWERTY ^^ 20090422 14:32:02< Ivanovic> no, it was just too early for typing correctly... 20090422 15:06:08-!- crimson_penguin [n=ben@64.201.60.216] has joined #wesnoth-dev 20090422 15:35:21-!- johani_ [n=johani@c83-250-162-206.bredband.comhem.se] has joined #wesnoth-dev 20090422 15:41:17< CIA-30> ivanovic * r35116 /trunk/po/ (5 files in 5 dirs): updated Russian translation 20090422 15:41:17< CIA-30> ivanovic * r35117 /branches/1.6/po/ (5 files in 5 dirs): updated Russian translation 20090422 15:51:49-!- johani [n=johani@c83-250-162-206.bredband.comhem.se] has quit [Read error: 113 (No route to host)] 20090422 15:52:38-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090422 16:04:30-!- Elvish_Pillage2 [n=eli@68-116-167-181.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090422 16:06:30-!- Elvish_Pillager [n=eli@68.116.167.181] has quit [Read error: 110 (Connection timed out)] 20090422 16:14:57-!- Ivanovic_ [n=ivanovic@dtmd-4db2c448.pool.einsundeins.de] has joined #wesnoth-dev 20090422 16:17:44-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Nick collision from services.] 20090422 16:17:47-!- Ivanovic_ is now known as Ivanovic 20090422 16:30:33-!- Polarina [n=polarina@wesnoth/translator/Polarina] has joined #wesnoth-dev 20090422 16:32:18-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 16:39:51-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090422 16:46:26-!- fendrin [n=fabi@f051236034.adsl.alicedsl.de] has joined #wesnoth-dev 20090422 16:47:06-!- Ivanovic_ [n=ivanovic@dtmd-4db2d7a9.pool.einsundeins.de] has joined #wesnoth-dev 20090422 16:50:54< fendrin> hi 20090422 16:55:32-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20090422 16:55:33-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090422 16:59:41-!- Ivanovic [n=ivanovic@dtmd-4db2b783.pool.einsundeins.de] has joined #wesnoth-dev 20090422 17:02:43-!- ikarius [n=ross@216.27.182.3] has quit [] 20090422 17:04:49-!- Ivanovic_ [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090422 17:31:13-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090422 17:33:00< CIA-30> soliton * r35118 /branches/1.6/src/server/server.cpp: made it so specific strings in /query commands are case insensitive 20090422 17:33:13< CIA-30> soliton * r35119 /branches/1.6/src/server/ (ban.cpp ban.hpp server.cpp): 20090422 17:33:13< CIA-30> rewrote ban time parsing 20090422 17:33:13< CIA-30> * all time modifiers are now case insensitive except months (M) and minutes (m) 20090422 17:33:13< CIA-30> and you can also write (part of) them out 20090422 17:33:13< CIA-30> * invalid time modifiers cause an error 20090422 17:33:14< CIA-30> * a permanent ban has to be explicitely stated with 'permanent' or '0' 20090422 17:39:06< CIA-30> torangan * r35120 /branches/1.6/changelog: keep in sync 20090422 17:39:48-!- Pericius [n=Miranda@78-3-89-4.adsl.net.t-com.hr] has joined #wesnoth-dev 20090422 17:40:06-!- ikarius [n=ross@smtp.gridironsystems.com] has joined #wesnoth-dev 20090422 17:40:39< Pericius> how would one go on porting battle for wesnoth to flash? 20090422 17:41:06 * Soliton blinks. 20090422 17:41:13< Pericius> concerning licenses and all, i mean 20090422 17:41:47< fendrin> Pericius: Battle for Wesnoth is open source under the gpl. Search for gpl and read. 20090422 17:41:49-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090422 17:42:04-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 17:42:29-!- Pericius [n=Miranda@78-3-89-4.adsl.net.t-com.hr] has left #wesnoth-dev [] 20090422 17:42:56 * fendrin hates flash 20090422 17:43:14< CIA-30> soliton * r35121 /branches/1.6/src/server/ban.cpp: typo fix 20090422 17:44:20< CIA-30> soliton * r35122 /trunk/src/server/server.cpp: made it so specific strings in /query commands are case insensitive 20090422 17:44:42< CIA-30> soliton * r35123 /trunk/src/server/ (ban.cpp ban.hpp server.cpp): 20090422 17:44:42< CIA-30> rewrote ban time parsing 20090422 17:44:42< CIA-30> * all time modifiers are now case insensitive except months (M) and minutes (m) 20090422 17:44:42< CIA-30> and you can also write (part of) them out 20090422 17:44:42< CIA-30> * invalid time modifiers cause an error 20090422 17:44:45< CIA-30> * permanent has to be explicitely stated as 'permanent' or '0' 20090422 17:52:43< crimson_penguin> Soliton: you know... Flash could probably handle it, in terms of performance 20090422 17:52:54< crimson_penguin> AS3 is even a pretty decent language, I think 20090422 17:54:43< Soliton> yeah, but asking how to do it... is a little weird. 20090422 17:55:01< crimson_penguin> true 20090422 18:02:26-!- deko [n=deko@201008172159.user.veloxzone.com.br] has joined #wesnoth-dev 20090422 18:02:36-!- deko is now known as AndreLuiz 20090422 18:03:54 * Shadow_Master cd ~soliton && patch -p0 < no_blink.diff 20090422 18:04:53 * Soliton inserts a syntax error in the patch. 20090422 18:05:56-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has left #wesnoth-dev [] 20090422 18:06:50-!- Sapient [n=patrickp@wesnoth/developer/sapient] has joined #wesnoth-dev 20090422 18:13:05< fendrin> I want to commit a file that is called wml.cfg which defines wml tags to core/data. 20090422 18:13:14< fendrin> Whrere would be the right place for it? 20090422 18:13:35< zookeeper> "defines wml tags"? 20090422 18:13:38< zookeeper> you mean using lua? 20090422 18:14:02< fendrin> zookeeper: I use the lua tag defining thing to define tag that define more tags. 20090422 18:14:13< zookeeper> oh, right. hmm. 20090422 18:14:55-!- EdB [n=edb@231.12.95-79.rev.gaoland.net] has joined #wesnoth-dev 20090422 18:15:07< zookeeper> data/core/something.cfg sounds ok, but i wonder what it should be named. 20090422 18:15:51< fendrin> well, I guess it grows and will need a directory soon. 20090422 18:15:59< zookeeper> could be 20090422 18:17:09< Soliton> custom-tags? 20090422 18:17:16< zookeeper> sounds good to me 20090422 18:18:13-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090422 18:18:36< Sapient> fendrin: why are these being added to core? 20090422 18:19:09< Sapient> if it is a core WML Action then it can be written in C++ 20090422 18:19:41< fendrin> Sapient: It's my goal to implement all wml action in lua. I want to replace c++ by lua for this. 20090422 18:19:51< Sapient> then 'It is my goal to stop you 20090422 18:20:52< Sapient> someone had a similar idea to rewrite some C++ abilities as WML and I rejected it for similar reasons 20090422 18:21:21< Sapient> likewise, abusing macros do do large tasks which should be supported in the C++ 20090422 18:22:33< fendrin> Sapient: I don't want to replace the c++ backend to the lua interpreter. The engine is still c++ only the interpreter part of action wml would be coded in lua. 20090422 18:23:01< Sapient> I know what you're proposing and it has no benefit to the game at all 20090422 18:23:18< Sapient> rather, it introduces ineffeciencies for zero gain 20090422 18:23:56< loonycyborg> IMO it's a better idea to reimplement WML macro stuff in lua somehow. 20090422 18:24:13< Sapient> just because you _can_ does not mean you _should_ 20090422 18:24:57-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090422 18:25:26-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 18:25:58< fendrin> loonycyborg: I don't see the connection to WML macro. What do you mean? 20090422 18:26:51< loonycyborg> AFAIK there are many helper functions used in WML that are implemented as preprocessor macros. 20090422 18:32:02< loonycyborg> Now if they were implemented as lua functions instead, they wouldn't be expanded at place of each invocation.. 20090422 18:34:44< fendrin> Sapient: You see performance issues with the lua support? I am sure that can be solved. 20090422 18:37:42< Soliton> loonycyborg: macros are there to save you typing. they don't implement functionality. moving macro expansion from preprocessing time to runtime doesn't sound like a good idea. 20090422 18:38:37< Soliton> loonycyborg: some complex WML (that is possibly also macrofied) could be replaced with lua though. 20090422 18:39:20< Shadow_Master> anyone happens to know how I can get the dimensions of an Array[][] in Java? :P 20090422 18:39:38< fendrin> name.size() 20090422 18:39:44 * loonycyborg assasinates Shadow_Master 20090422 18:39:53< Soliton> .length 20090422 18:40:15< Polarina> loonycyborg: I already killed him. 20090422 18:40:43< Shadow_Master> Soliton: but that will give me (rows + columns) I guess? 20090422 18:41:02-!- stikonas [n=quassel@ctv-213-164-120-170.vinita.lt] has joined #wesnoth-dev 20090422 18:41:11< Shadow_Master> Polarina: nope. That was Espreon disguised as me. 20090422 18:41:17< Soliton> well, use array.length and array[].length? 20090422 18:41:37< loonycyborg> What is Array[][]? An array of arrays? 20090422 18:41:40< Shadow_Master> says it's invalid syntax 20090422 18:41:58< Sapient> fendrin: performance issue of reading in and parsing a large amount of lua data every time wesnoth starts is obviously slower than compiled C++ code (not to mention running it) 20090422 18:42:03 * Polarina kills Shadow_Master. 20090422 18:42:15< Shadow_Master> Polarina: oh, and I'm immortal 20090422 18:42:42< Sapient> so for Core game functions there's no reason 20090422 18:42:49 * Polarina pulls Shadow_Master towards herself and puts him inside a bag and seals it shut. 20090422 18:43:26< Shadow_Master> time for your medicine :P 20090422 18:43:28 * loonycyborg casts Heal on Shadow_Master hoping that he's undead and will be killed by it. 20090422 18:44:07< stikonas> Ivanovic: can you tell me your groff version? 20090422 18:44:55< Shadow_Master> loonycyborg: You fail at playing Wesnoth. 20090422 18:45:05< Shadow_Master> undead aren't killed by units with the "heals" ability... 20090422 18:45:46< loonycyborg> Then someone should port that rule from D&D :) 20090422 18:46:12< Polarina> :) 20090422 18:47:42< fendrin> Sapient: I can't see the need for reading and parsing a large amount of lua data every time wesnoth starts. And executing game actions is fast enough in lua. There isn't happening much. (If there is something heavy it is in the c++ backend) And lua is known to be fast. 20090422 18:48:12< Soliton> Shadow_Master: array[0].length works fine here on a two dimensional array. 20090422 18:48:51< Sapient> fendrin: parsing "wml.cfg" could take quite a while if it is going to replace the entire game_Events code 20090422 18:49:08< Sapient> furthermore, there's no reason for it 20090422 18:49:25< Shadow_Master> Soliton: aha, thanks 20090422 18:50:09< loonycyborg> Are different arrays in that array of arrays guaranteed to be of same length? 20090422 18:50:49< Shadow_Master> yeah, at least as far as this course is concerned :p 20090422 18:51:08< fendrin> Sapient: No, events and filtering stay c++. 20090422 18:51:28< loonycyborg> Perhaps Java has a real matrix type, perhaps in a third-party library? 20090422 18:51:46< Shadow_Master> loonycyborg: if it has, they would not let me use it 20090422 18:51:57< fendrin> Sapient: Please have a look at my prototype when it is ready. I am sure you will like the idea. 20090422 18:52:05< Shadow_Master> I can't even use the do{} while(); idiom. Go figure. 20090422 18:52:22< loonycyborg> Shadow_Master: Those people are insane :/ 20090422 18:53:00-!- krazny [n=Fred@AMontpellier-259-1-81-15.w92-133.abo.wanadoo.fr] has quit ["Quitte"] 20090422 18:53:26< Shadow_Master> you tell me. My new goal is taking over the computer science department and switching the introductory course's language from Java to C#, and getting rid of these fascist rules 20090422 18:53:30< Shadow_Master> ;) 20090422 18:54:50< Shadow_Master> and getting rid of this couple of teacher assistants who don't even know what a ternary operator is 20090422 18:55:08< loonycyborg> Even better, to VBS. Or to DOS batch files :P 20090422 18:55:17< Shadow_Master> loonycyborg: hey, there is Mono. 20090422 18:55:53< Polarina> What's a ternary operator? 20090422 18:56:09< Shadow_Master> there's even a System.Windows.Forms reimplementation IIRC that should work for the very very basic needs of this kind of courses 20090422 18:56:10< Polarina> crap ? true : false 20090422 18:56:16< Polarina> Is that tenrary? 20090422 18:56:25< fendrin> Polarina: It's an infix operator on a 3d screen. 20090422 18:56:31< Polarina> fendrin: :O 20090422 18:59:18< Soliton> Polarina: yes, that's a ternary operator. 20090422 19:00:19< Shadow_Master> well, well, I had no idea that X.org had been ported to the GNU/hurd. Perhaps we can actually have Wesnoth running on it soon :p 20090422 19:01:07< Polarina> Yay! 20090422 19:01:48-!- Sirp_ [n=me@pool-173-74-2-179.dllstx.fios.verizon.net] has joined #wesnoth-dev 20090422 19:02:08-!- happygrue [n=quassel@wesnoth/developer/wintermute] has quit [Read error: 104 (Connection reset by peer)] 20090422 19:02:10< grzywacz> hey Sirp_ 20090422 19:03:10-!- Ivanovic_ [n=ivanovic@dtmd-4db267a5.pool.einsundeins.de] has joined #wesnoth-dev 20090422 19:03:45-!- stikonas [n=quassel@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20090422 19:04:41< Sirp_> hi grzywacz 20090422 19:05:22-!- Ivanovic_ is now known as Ivanovic 20090422 19:05:35-!- stikonas [n=quassel@ctv-213-164-120-170.vinita.lt] has joined #wesnoth-dev 20090422 19:06:38< stikonas> Ivanovic: is your groff version 1.20? 20090422 19:07:03< Ivanovic> 1.20.1 20090422 19:07:05< Ivanovic> why? 20090422 19:07:12< stikonas> man-db maintainer told me that groff <= doesn not have real UTF-8 support 20090422 19:07:19< stikonas> <1.20 20090422 19:07:21< Ivanovic> ah, okay 20090422 19:07:39< Ivanovic> with other words: yeah, it is an upstream problem... 20090422 19:08:10-!- turin [n=turin@168.215.249.223] has joined #wesnoth-dev 20090422 19:16:58< Polarina> I have 1.18.1. :O 20090422 19:17:52-!- elias [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090422 19:22:15-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has quit [Read error: 60 (Operation timed out)] 20090422 19:27:49-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090422 19:38:41-!- Sapient [n=patrickp@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090422 19:48:09-!- YogiHH [n=chatzill@d083047.adsl.hansenet.de] has joined #wesnoth-dev 20090422 19:48:19-!- maxy [n=maxy@80-219-0-199.dclient.hispeed.ch] has joined #wesnoth-dev 20090422 19:57:28< CIA-30> fendrin * r35124 /trunk/data/lua/wml-tags.lua: New wml tag wml_action that can define new action wml tags. 20090422 20:03:33-!- Elvish_Pillager [n=eli@68-116-167-181.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090422 20:08:17-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has joined #wesnoth-dev 20090422 20:08:36-!- Elvish_Pillage2 [n=eli@68-116-167-181.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090422 20:09:25-!- AndreLuiz [n=deko@unaffiliated/andreluiz] has quit [Remote closed the connection] 20090422 20:13:13< YogiHH> mordante, i could need your help :-) 20090422 20:27:42-!- fabi [n=fabi@f050251243.adsl.alicedsl.de] has joined #wesnoth-dev 20090422 20:28:47-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090422 20:38:47-!- Sirp_ [n=me@pool-173-74-2-179.dllstx.fios.verizon.net] has quit ["leaving"] 20090422 20:43:46-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 113 (No route to host)] 20090422 20:48:14-!- noy [n=Noy@d75-155-117-6.bchsia.telus.net] has joined #wesnoth-dev 20090422 20:49:41-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20090422 20:50:23-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Read error: 60 (Operation timed out)] 20090422 20:57:02-!- happygrue [n=quassel@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090422 20:58:13-!- fabi is now known as fendrin 20090422 20:58:19-!- busfahrer is now known as duschfahrer 20090422 21:04:55-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20090422 21:07:27< Crab_> wesbot: seen benetnash 20090422 21:07:27< wesbot> Crab_: The person with the nick benetnash last spoke 10d 5h ago. 9d 5h ago they left with the message: wolfe.freenode.net irc.freenode.net 20090422 21:09:02-!- maxy [n=maxy@80-219-0-199.dclient.hispeed.ch] has quit [] 20090422 21:11:51-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 21:12:06< YogiHH> afk 20090422 21:19:59-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090422 21:30:00-!- YogiHH_ [n=chatzill@d083047.adsl.hansenet.de] has joined #wesnoth-dev 20090422 21:36:53-!- YogiHH [n=chatzill@d083047.adsl.hansenet.de] has quit [Read error: 60 (Operation timed out)] 20090422 21:37:24-!- ettin [n=jorda@wesnoth/developer/ettin] has quit ["leaving"] 20090422 21:39:19-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has quit [Read error: 113 (No route to host)] 20090422 21:39:34-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20090422 21:40:00-!- duschfahrer is now known as busfahrer 20090422 21:41:47< Polarina> wesbot: seen Polarina 20090422 21:41:47< wesbot> Polarina: You are Polarina! 20090422 21:43:17< crimson_penguin> wesbot: She can't see herself! She needs to know if OTHER people can see her 20090422 21:43:24< crimson_penguin> (Or bots) 20090422 21:44:02-!- Shadow_Master is now known as Wesmirror 20090422 21:44:51< Wesmirror> hi, I'm a mirror. People use me to see themselves 20090422 21:45:00< Wesmirror> and say funny things to me 20090422 21:45:09< Polarina> Wesmirror: seen Polarina 20090422 21:45:30< Wesmirror> you're ugly :( 20090422 21:45:35-!- Wesmirror is now known as Broken_Mirror 20090422 21:46:47 * stikonas casts a spell to repare Broken_Mirror 20090422 21:48:18-!- Broken_Mirror is now known as Shadow_Master 20090422 21:48:50< Shadow_Master> stikonas: thank you 20090422 21:57:55-!- happygrue [n=quassel@wesnoth/developer/wintermute] has quit [Remote closed the connection] 20090422 22:02:28-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 22:02:33-!- Crab_ [n=Crab_@wesnoth/developer/crab] has left #wesnoth-dev [] 20090422 22:03:31-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Remote closed the connection] 20090422 22:10:13-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090422 22:14:05-!- EdB [n=edb@231.12.95-79.rev.gaoland.net] has quit [Remote closed the connection] 20090422 22:16:51-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090422 22:17:44< CIA-30> crab * r35125 /trunk/src/ai/ (ai_actions.cpp ai_actions.hpp): AI Refactoring: WIP version of ai_move_result, which provides a way for the AI to move unit, reusing unit movement routine from ./src/actions.cpp 20090422 22:24:48< YogiHH_> mordante: Is it possible to change the title of a gui2 window? I tried to give that label an id to do that, but i seem to run into a WML validation error. Any ideas on that? 20090422 22:26:53-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090422 22:27:06-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 22:27:10-!- silene [n=plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20090422 22:27:14< silene> hi 20090422 22:28:41< Polarina> Hello, silene. Greetings from Wesmere. 20090422 22:33:48< CIA-30> fendrin * r35126 /trunk/data/ (_main.cfg scenario-lua.cfg): Added a test scenario for the lua interpreter. 20090422 22:35:11-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090422 22:35:43< fendrin> hi silene 20090422 22:36:49-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090422 22:38:11< boucman> hey all 20090422 22:38:43-!- Velory [n=velory@78.166.66.239] has joined #wesnoth-dev 20090422 22:43:10-!- Velory [n=velory@78.166.66.239] has left #wesnoth-dev [] 20090422 22:47:47-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090422 22:47:59< Crab_> hi boucman 20090422 22:48:09< boucman> hey Crab_ 20090422 22:48:16< boucman> i'm rereading your changes as we speak... 20090422 22:49:32< Crab_> that's not all with move (there's still 1 more thing to do with it - insert additional optional parameter into actions.cpp movement routine to gather info about spotted units, uncovered hidden units, etc) 20090422 22:49:32< boucman> something that would be great to do would be to document the virtual functions in ai_move_result (the others too, but these ones are particularly usefull for comprehension) stating when they are called and what their purpose is... 20090422 22:50:00< Crab_> boucman: ok 20090422 22:50:09< boucman> yes, I sam a couple of error cases that seem to be missing too (including move is interrupted) 20090422 22:50:17< boucman> /sam/saw 20090422 22:50:44< Crab_> boucman: you see, I cannot *check* that case from ai_actions.cpp - I need to do this from actions.cpp 20090422 22:51:10< Crab_> since "movement" is, in fact, not 1 action, but N actions ("steps") 20090422 22:51:18-!- noy [n=Noy@wesnoth/developer/noy] has quit ["GO, GET TO THE CHOPPAH!!!"] 20090422 22:51:24< boucman> I'll trust you, I have only reread the .hpp at this point, I don't know why yet, but it seems to be missing from an API point of view 20090422 22:51:36-!- noy [n=noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090422 22:51:47< Crab_> boucman: what a player can do that is missing from there ? 20090422 22:52:17< boucman> it's not so much things that they "can do" as results that can happen, the API seems fine afaict 20090422 22:52:36< boucman> some intersting addition would be a capacity for the ai to "talk" to the player via messaging 20090422 22:52:53< boucman> (and maybe listen to player messages, but that's really no emergency) 20090422 22:53:30-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [Read error: 60 (Operation timed out)] 20090422 22:54:30< boucman> i'm a bit suprised that you need to specialize teleport too, I thought you could reuse some existing facility from somewhere... (still rereading code, that capacity might not be modularized at this point) 20090422 22:54:31< loonycyborg> It would be nice if you could tell ai "You fight like cow" and it answered appropriately :P 20090422 22:55:09< Crab_> boucman: "talk to the player", is, from my view, an "aspect" of the ai. so, it can be realized by providing a series of "integration points" which will raise events that that "talk to the player aspect" will observe. So, it would be possible to write a "chat section" of the ai in fai/lua/etc... 20090422 22:56:09< boucman> Crab_: yes, but that's not my point... my point is that "talking" is a capacity the player has and that would be cool to add to the AI<=>game API 20090422 22:56:20< boucman> how the API plugs in is not relevant at this point 20090422 22:57:56< boucman> (i'm firing random questions at this point, so they are completely open to discussions, btw) 20090422 22:58:27< boucman> i'm not sure of the way you handle the subjective vs real info (I like the concept of subjective info, btw) 20090422 22:58:50< boucman> do we really need to provide both info ? shouldn't only subjective info be provided ? 20090422 22:59:14< Crab_> boucman: you see, there is two kind of 'real-info-vs-subjective-info' situations 20090422 22:59:50< Crab_> boucman: the first is easier: when the subjective info misleads the ai on the chance-of-success. 20090422 23:00:19< boucman> ok, I think I understand now 20090422 23:00:21< Crab_> boucman: so, the action chosen by the ai will still be a *legal* action, only with, maybe, poorer chances of success 20090422 23:00:48< boucman> the AI needs to know only about subjective info, however the ai_move_result needs to check both with real and subjective info 20090422 23:03:27< boucman> ok, one more question, and I think I understant most of it 20090422 23:03:49< boucman> do_check_before can be called both while executing and while not executing... 20090422 23:04:52< boucman> nvm, let me rephrase 20090422 23:05:40< boucman> what is exactly do_check_before supposed to do... It seems to check if the move is legal, but since it doesn't return a bool nor mark the move as invalid, I'm not sure what the point exactly is 20090422 23:07:21< boucman> nvm I think I understand :P 20090422 23:14:24< boucman> Turuk_: around ? 20090422 23:14:36< Turuk_> For a minute, what's up? 20090422 23:16:11< boucman> Turuk_: nevermind, I was going to ask something stupid :P 20090422 23:16:20< Turuk_> Aww, no, go ahead :) I'm curious now 20090422 23:17:17< boucman> TSI moved a thread from art contrib to art workshop on request from the original poster (which is not an art dev) 20090422 23:17:42< boucman> and I thought he had moved it to art dev, and I was going to point out that original poster had no access to art dev 20090422 23:17:53< boucman> :P 20090422 23:18:40< Turuk_> Ah, gotcha. Well not a stupid question at all, you were trying to catch a problem at least ;) Good intentions 20090422 23:18:40-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit [Read error: 104 (Connection reset by peer)] 20090422 23:18:53-!- noy [n=noy@wesnoth/developer/noy] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 20090422 23:19:00< Turuk_> Hopefully Mefisto will take this one somewhere 20090422 23:19:02-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090422 23:19:07-!- noy [n=noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090422 23:19:11< boucman> Crab_: ok, overall I agree with your design (you might want to have a way to have multiple "is_success" results to describe partial success) I don't have much time tonoght, but it looks good :) 20090422 23:20:32< Crab_> boucman: well, "partial success" is that status code. i'll add a public accessor to it. 20090422 23:21:03-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 113 (No route to host)] 20090422 23:21:41< Crab_> boucman: and I can also pass info to client either via his ai_interface::info, or via publicly accessable methods of ai_*_result 20090422 23:22:10< boucman> yes, even som subclass specific methods when it makes sense... 20090422 23:22:15< Crab_> yes. 20090422 23:23:44< Crab_> boucman: and I'll commit ai_stopunit_result_too (it's trivial, a way for the ai to set a unit movement/attacks to 0. ai uses it in a number of places, although it shouldn't.) 20090422 23:24:19< Crab_> ( it *shouldn't* do this, because the player cannot do it ) 20090422 23:24:34-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has quit [Remote closed the connection] 20090422 23:24:56< Crab_> it serves as a marker "we have dealt with this unit for this turn", sorts of. 20090422 23:25:11-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090422 23:25:31< YogiHH_> hi Sapient 20090422 23:25:35< Sapient> hey there Yogi 20090422 23:25:38-!- ancestral [n=ancestra@97-116-120-23.mpls.qwest.net] has joined #wesnoth-dev 20090422 23:26:01< YogiHH_> Sapient, are you familiar with mordante's new window toolkit? 20090422 23:26:12< Sapient> 0% 20090422 23:26:25< YogiHH_> not enough ;-) 20090422 23:27:34< Sapient> I pretty much lost interest in the gui part 20090422 23:27:45< Sapient> that's mordante's area now 20090422 23:28:19< Sapient> my job is to keep fendrin from messing up WML ;) 20090422 23:29:53< Sapient> no, just kidding... your change looks fine, fendrin 20090422 23:30:01< Sapient> so far that is 20090422 23:30:07< Sapient> so, maybe half kidding 20090422 23:30:19 * Sapient winks 20090422 23:30:38< noy> Way to give him confidence Sapient 20090422 23:30:57< boucman> Crab_: ok 20090422 23:32:46< CIA-30> crab * r35127 /trunk/src/ai/ (ai_actions.cpp ai_actions.hpp): AI Refactoring: ai_stopunit_result ai action, which allows the ai to concede all moves and/or attacks of unit 20090422 23:32:46< Sapient> I think silene has more to answer for in that file 20090422 23:33:11< Sapient> it's a new way to get OOS 20090422 23:34:33< Sapient> now it's not enough to detect if your unit configs are in synch, we must also detect when the user has modified core wml-tags behavior 20090422 23:36:20< Sapient> I think it's great as a proof-of-concept, i.e. look what you can do with your UMC; I just don't think it's appropriate for our official core wml-tags to be outsourced to lua 20090422 23:36:58< Sapient> one obvious thing it eliminates is the possibility of compiling without lua support 20090422 23:39:10< YogiHH_> night everyone 20090422 23:39:22< Crab_> night YogiHH_ 20090422 23:39:34-!- YogiHH_ [n=chatzill@d083047.adsl.hansenet.de] has left #wesnoth-dev [] 20090422 23:40:06< boucman> night all 20090422 23:40:11< Sapient> gn, boucman 20090422 23:40:12-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection] 20090422 23:40:51< Sapient> noy: as an MP dev I think you might see the validity of those concerns 20090422 23:41:27< noy> As an mp dev, I was completely kidding 20090422 23:42:37-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection reset by peer] 20090422 23:42:52-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090422 23:49:15< Sapient> I'm not opposed to changes which add actual new capabilities and improvements; but this horizontal change (rewriting game_events in Lua) has far more drawbacks than advantages 20090422 23:51:10< Sapient> 1) longer load times for Wesnoth (parsing the additional Lua files), 2) new difficulties with determining the source of OOS, 3) unjustly eliminate possibility of compiling without Lua support 20090422 23:51:27< Sapient> and on the benefits side? 20090422 23:51:48< Sapient> 1) because we could and we thought it was cool 20090422 23:52:16< Sapient> 2) examples (though they didn't have to be wired in to be examples) 20090422 23:52:57< Sapient> 3) unit tests to prove nobody broke lua support (though, again, didn't have to be wired in to the core engine to do that) 20090422 23:55:24< Sapient> so while I definitely understand the "coolness" factor, I'm not convinced by the benefits analysis 20090422 23:57:35< Sapient> it would be far better to start implementing new tags that aren't supported in the c++ code yet 20090422 23:58:00< Sapient> then you could make a good case for the lua requirement 20090422 23:58:36< Sapient> which would nullify my point in drawback #3 --- Log closed Thu Apr 23 00:00:07 2009