--- Log opened Sun Jan 25 00:00:56 2009 20090125 00:05:39< Sapient> thanks, Shikadi 20090125 00:05:50< Sapient> cya later, have fun. 20090125 00:05:50-!- Sapient [n=sapien-x@c-24-126-133-155.hsd1.ga.comcast.net] has left #wesnoth-dev [] 20090125 00:08:27-!- boucman [n=rosen@140.117.71-86.rev.gaoland.net] has quit [Remote closed the connection] 20090125 00:09:08-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Read error: 60 (Operation timed out)] 20090125 00:09:21-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090125 00:19:59-!- Alesis-Novik_ [n=alesis@78.60.188.59] has quit [Read error: 60 (Operation timed out)] 20090125 00:24:13< Ivanovic> n8 20090125 00:28:40< YogiHH> good night everyone 20090125 00:28:59-!- YogiHH [i=YogiHH@d009173.adsl.hansenet.de] has quit ["Verlassend"] 20090125 00:29:40-!- loonycyborg [n=sergey@79.139.246.223] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzz"] 20090125 00:30:16-!- loonybot [n=loonybot@79.139.246.223] has quit [Remote closed the connection] 20090125 00:30:20< grzywacz> I could use some git help... ;) 20090125 00:35:07-!- Alesis-Novik_ [n=alesis@78.60.188.59] has joined #wesnoth-dev 20090125 00:43:49-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20090125 00:47:00< zookeeper> great. i can confirm that the transition glitches are WML-caused. probably that big macro overhaul someone did. 20090125 00:49:46< zookeeper> wesbot: seen mgoe 20090125 00:49:46< wesbot> zookeeper: Sorry, I don't know of mgoe. 20090125 00:53:35< zookeeper> i could've sworn that he's been here with that nick. 20090125 00:56:04-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] 20090125 01:26:54-!- cib0 [n=cib@p4FD0F9F1.dip.t-dialin.net] has joined #wesnoth-dev 20090125 01:27:32< grzywacz> ilor, awake? ;-) 20090125 01:27:42< ilor> grzywacz: sort of 20090125 01:29:16< grzywacz> ilor, do you know of any reasonable (that is: portable) alternatives to boost::program_options? I tried to extract program_options from 1.35 with bcp, but the list of dependencies is huge, so it's not practical to redistribute it with wesnoth. 20090125 01:29:54< grzywacz> I'm not sure if good, old getopt is of any value. It would surely require some additional code... 20090125 01:31:37-!- alesis__ [n=alesis@78.60.188.59] has joined #wesnoth-dev 20090125 01:32:37-!- Alesis-Novik_ [n=alesis@78.60.188.59] has quit [Read error: 110 (Connection timed out)] 20090125 01:33:19< ilor> grzywacz: I'm in a bit of a anti-boost mood currently 20090125 01:33:49< ilor> and to answer your question, no, not really 20090125 01:33:58< grzywacz> k, thanks 20090125 01:34:36< ilor> I think we should move on to a newer boost anyway, but that's not gonna happen soon 20090125 01:35:32< grzywacz> Unfortunately. I'm tempted to write a dumb wrapper over argc/argv that would just expose it as a map of strings... 20090125 01:36:25< ilor> which wouldn't be enough due to parameterless args 20090125 01:36:47< grzywacz> Nah. Ugly, but I could map a parameterless arg to an empty string. :P 20090125 01:37:04< ilor> a map of strings sounds lovely compared to what we have now 20090125 01:37:11< grzywacz> True. 20090125 01:37:24< grzywacz> tclap (@ sourceforge) may have some potential, now that I'm looking at it 20090125 01:37:32< grzywacz> And adds no .cpps 20090125 01:38:46< ilor> not necessarily a good thing 20090125 01:39:12< ilor> I'd prefer a solid .cpp or a library to a fully templated header that compiles ages 20090125 01:39:13< grzywacz> Gah, looks like it won't be able to handle our --log-level=domain,domain... options 20090125 01:39:45< ilor> grzywacz: we could handle that separately I guess 20090125 01:40:17< grzywacz> All or nothing! ;) 20090125 01:40:28 * ilor had some fun compiling boost-heavy software on an old Solaris. Actually it was a lot more than some fun, because it took several minutes per cpp file 20090125 01:40:50< grzywacz> You gotta love the c++ templates. 20090125 01:41:18< ilor> and I only use like three actual libraries in use apart from the helper stuff like foreach or smart ptr 20090125 01:41:22< grzywacz> I find it entertaining to listen to discussions when people "boast" which compiler dies first when using some boost libs in a more sophisticated manner :P 20090125 01:41:38< ilor> gah, grammar fail 20090125 01:42:31< grzywacz> The world of C++ templates is full of ugly hacks. 20090125 01:43:12< ilor> I also find gcc 3.4 a bit retarded 20090125 01:43:23< grzywacz> g++ has always been slow. 20090125 01:43:34< ilor> no, not slow. stupid. 20090125 01:43:45< ilor> breaks on templates that compile in vs and gcc4 20090125 01:46:02< grzywacz> Ok, let me try the manual thing. A map-like encapsulation won't be pretty, but at least it will get rid of some spaghetti. 20090125 01:46:32-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 01:46:42< grzywacz> :) 20090125 01:47:02< Shadow_Master> :) 20090125 01:47:10< Shadow_Master> (why am I smiling?) 20090125 01:47:38< grzywacz> To deflect my attack? It should be "(:" though. 20090125 01:48:39< Shadow_Master> Sapient: thanks what? :) 20090125 01:49:05< Shadow_Master> zookeeper: he's been there with that nick but wesbot has been reset at least twice since the last time 20090125 01:49:37< ilor> ok, I'm off. Night. 20090125 01:49:42-!- ilor [n=user@unaffiliated/ilor] has quit [] 20090125 02:03:31-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090125 02:03:35-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 02:06:46-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Client Quit] 20090125 02:06:50-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 02:13:37-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090125 02:13:45-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 02:16:23-!- Dragonking [n=dk@chello084010045237.chello.pl] has quit ["Leaving"] 20090125 02:22:43-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["I am fed up for today."] 20090125 02:34:39-!- crimson_penguin [n=ben@64.201.60.214] has joined #wesnoth-dev 20090125 02:37:36-!- thespaceinvader [n=chatzill@91.108.172.60] has quit ["night all"] 20090125 02:42:47-!- cib0 [n=cib@p4FD0F9F1.dip.t-dialin.net] has quit ["Leaving."] 20090125 02:44:50-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090125 03:01:09-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090125 03:01:13-!- Elvish_Pillage2 [n=eli@66-189-14-42.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!"] 20090125 03:04:47< Turuk> Yay, more opinions on what Wesnoth is doing wrong. 20090125 03:05:50< grzywacz> So what? 20090125 03:07:45< Turuk> Eh, no need to be hostile. Just making a note. 20090125 03:10:10< grzywacz> Sorry, I'm brief because it's late. Just meant to ask what's wrong about such opinions. 20090125 03:10:45< Turuk> That's ok, I figured it could go either way. Nothing really, and I know sometimes it's helpful. 20090125 03:11:12< Turuk> Just the attitude puzzles me. 20090125 03:11:29< grzywacz> From new people or oldtimers? 20090125 03:11:46< Turuk> Of hey, I've come back to playing the game but wanted to say all of the stuff you've worked on is wrong. 20090125 03:11:54< Turuk> New forum member, but played in the past. 20090125 03:12:44< grzywacz> I guess it's easier to write about something that feels wrong, for whatever reason. ;) 20090125 03:13:11< Turuk> A valid point. :) 20090125 03:13:14< Turuk> What is it they say? 20090125 03:13:24< Turuk> If you enjoy something, you're not going to take the time to comment on it? 20090125 03:14:38< grzywacz> Pretty much so, unless it's so brilliant one *has* to comment. ;) 20090125 03:14:57< grzywacz> g'night 20090125 03:15:21< Turuk> True ;). Night Grzywacz. 20090125 03:15:35-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has quit [Remote closed the connection] 20090125 03:29:00-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 03:31:03< Shadow_Master> :( 20090125 03:37:22-!- Canadork [n=Canageek@vlan360-044-116.maconline.McMaster.CA] has joined #wesnoth-dev 20090125 03:38:02-!- Canadork [n=Canageek@vlan360-044-116.maconline.McMaster.CA] has quit [Client Quit] 20090125 03:42:02-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090125 03:42:06-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 03:44:02-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Client Quit] 20090125 04:03:02-!- Ivanovic_ [n=ivanovic@dtmd-4db26c02.pool.einsundeins.de] has joined #wesnoth-dev 20090125 04:19:39-!- Ivanovic [n=ivanovic@dtmd-4db2bdb8.pool.einsundeins.de] has quit [Read error: 110 (Connection timed out)] 20090125 04:20:59-!- Ivanovic_ is now known as Ivanovic 20090125 04:31:45< AI0867> fabi_: you may want to clear OLURF_PARTY from LoW07's utils file 20090125 04:32:59< AI0867> also, http://www.wesnoth.org/forum/viewtopic.php?p=334750#p334750 20090125 04:33:56-!- crimson_penguin [n=ben@64.201.60.214] has quit ["Leaving"] 20090125 05:23:53-!- alesis__ is now known as Alesis-Novik 20090125 05:33:31-!- fabi__ [n=fabi@e179202180.adsl.alicedsl.de] has joined #wesnoth-dev 20090125 05:35:03-!- Kest|Fraith [i=ie@adsl-68-73-196-41.dsl.sfldmi.ameritech.net] has joined #wesnoth-dev 20090125 05:52:41-!- fabi_ [n=fabi@g227068066.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 20090125 06:05:25< Kest|Fraith> so is kitty gone? 20090125 06:12:01-!- governor [n=chatzill@bas4-hamilton14-1096566054.dsl.bell.ca] has quit ["ChatZilla 0.9.84 [Firefox 2.0.0.16/2008070205]"] 20090125 06:41:30-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090125 07:04:54-!- [Relic] [n=[Relic]@76.229.202.137] has quit ["Leaving"] 20090125 08:15:46-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Remote closed the connection] 20090125 08:16:34-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090125 09:20:20-!- boucman [n=rosen@140.117.71-86.rev.gaoland.net] has joined #wesnoth-dev 20090125 10:00:21-!- YogiHH [i=YogiHH@c204023.adsl.hansenet.de] has joined #wesnoth-dev 20090125 10:05:03-!- YogiHH [i=YogiHH@c204023.adsl.hansenet.de] has quit [Client Quit] 20090125 10:17:57< CIA-53> boucman * r32290 /trunk/src/ (unit_animation.cpp unit_animation.hpp): fix half of bug 12867 : incorrect selection animation for units with standing animations 20090125 10:44:06-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Nick collision from services.] 20090125 10:44:11-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20090125 10:44:19-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Nick collision from services.] 20090125 10:44:39-!- yann_ [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20090125 10:44:50-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20090125 10:45:09-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Remote closed the connection] 20090125 10:49:25-!- Sirp__ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has quit ["leaving"] 20090125 10:53:06-!- loonybot [n=loonybot@79.139.246.223] has joined #wesnoth-dev 20090125 10:53:11-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has joined #wesnoth-dev 20090125 10:53:47-!- loonycyborg [n=sergey@79.139.246.223] has joined #wesnoth-dev 20090125 11:01:56-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has joined #wesnoth-dev 20090125 11:25:00< CIA-53> zookeeper * r32291 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/06a_In_the_Tunnels_of_Trolls.cfg: Allowed the dust devil to trigger some movetos (with appropriate explorer speaker checks) and allowed undo in soma places. 20090125 11:25:39< Ivanovic> moin 20090125 11:27:19-!- YogiHH [i=YogiHH@d052122.adsl.hansenet.de] has joined #wesnoth-dev 20090125 11:30:21-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090125 11:30:43-!- ilor [n=user@unaffiliated/ilor] has joined #wesnoth-dev 20090125 11:33:59< YogiHH> ilor, are you awake? 20090125 11:34:11< ilor> YogiHH: yes 20090125 11:34:34< YogiHH> do you know if it is possible to login to the official mp server with two clients from the same machine? 20090125 11:34:54< YogiHH> it accepts my forum account, but nothing else 20090125 11:35:25< ilor> I've no idea 20090125 11:35:48< Ivanovic> YogiHH: do you try to login with the same nick twice? 20090125 11:35:51< Ivanovic> this should not work... 20090125 11:36:04< Ivanovic> or are you using two forum accounts or what? 20090125 11:36:04< YogiHH> no, i use different nicks 20090125 11:36:22< YogiHH> hmm, never mind, player1 seems to be a forum account as well :-) 20090125 11:36:55< Ivanovic> as you see, i am online with two accounts atm 20090125 11:38:06< grzywacz> :D 20090125 11:38:08< grzywacz> morning 20090125 11:40:31< YogiHH> grzywacz: Mahlzeit ;-) 20090125 11:40:49< CIA-53> zookeeper * r32292 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/ (2 files): Enabled the dust devil to trigger a couple more events and cleaned up some code. 20090125 11:41:38< grzywacz> YogiHH, yes, breakfast :P 20090125 11:42:09< YogiHH> :-) 20090125 11:49:42-!- Mordante [n=chatzill@roadie.xs4all.nl] has joined #wesnoth-dev 20090125 11:50:00< Mordante> hi 20090125 11:51:15< grzywacz> hey Mordante 20090125 11:51:26< Mordante> hi grzywacz 20090125 11:56:43< Mordante> Shadow_Master how to reproduce the out of window drawing? 20090125 11:56:54-!- YogiHH [i=YogiHH@d052122.adsl.hansenet.de] has quit ["Verlassend"] 20090125 11:59:40< Mordante> grzywacz I also had fun with a newer boost try to #define _ before including some boost headers 20090125 11:59:48< Mordante> chaos on msvc ensured 20090125 11:59:52-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090125 12:00:02< Mordante> and I'm worried about it since gettext uses _ 20090125 12:05:24< CIA-53> loonycyborg * r32293 /trunk/SConstruct: 20090125 12:05:24< CIA-53> Fixed an error about missing action with SCons 1.2.0 20090125 12:05:24< CIA-53> SCons 1.2.0 barfs if an empty list is passed as an action. 20090125 12:05:24< CIA-53> That that was the case with 'uninstall' alias if there were no targets in 20090125 12:05:24< CIA-53> 'install' alias. Fixed. 20090125 12:06:12< grzywacz> Mordante, ugh :S 20090125 12:06:29< grzywacz> Mordante, undef to the rescue, but that would be fugly ;) 20090125 12:06:50< Mordante> didn't have time to look at it further, but it looks troublesome 20090125 12:07:04< Mordante> no idea why the boosters thought using _ was a good idea :-/ 20090125 12:07:22< loonycyborg> Perhaps ask on #boost? :) 20090125 12:07:23< Mordante> and yes I'll undef gettext's _ 20090125 12:08:27< Mordante> I'll wait until I have a proper test case and bother them afterward 20090125 12:08:53< Patterner> 32292 segfaults too. 20090125 12:08:55< Mordante> it took my a while before I found the bug and wasn't in the mood to join irc afterwards 20090125 12:10:22< loonycyborg> Besides, there seem to be no #boost in the channel list :) 20090125 12:11:06-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090125 12:11:47< Mordante> loonycyborg that's odd http://www.boost.org/community/irc.html 20090125 12:12:37< loonycyborg> Indeed. I can join it. 20090125 12:12:47< loonycyborg> Must be some kvirc bug.. 20090125 12:25:49-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] 20090125 12:33:08-!- Noyga [n=lame-z@AVelizy-151-1-6-97.w82-120.abo.wanadoo.fr] has joined #wesnoth-dev 20090125 12:43:40< loonycyborg> grzywacz: I've got a silly idea how to implement command-line arguments: parse command-line with boost::spirit :P 20090125 12:44:01-!- yann_ is now known as yann 20090125 12:44:58-!- Patterner [n=Psyche@g224111162.adsl.alicedsl.de] has left #wesnoth-dev [] 20090125 12:59:10< CIA-53> ivanovic * r32294 /trunk/po/wesnoth-did/sk.po: updated Slovak translation 20090125 13:01:09-!- cib0 [n=cib@p4FD0FA7B.dip.t-dialin.net] has joined #wesnoth-dev 20090125 13:19:13-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090125 13:23:36-!- Dragonking [n=dk@dedikerad/dragonking] has joined #wesnoth-dev 20090125 13:24:12< CIA-53> mordante * r32295 /trunk/data/scenario-test.cfg: 20090125 13:24:12< CIA-53> Enhanched the parrot scenario a bit. 20090125 13:24:12< CIA-53> Now we have more test cases to test for with the new dialogs. 20090125 13:24:24< CIA-53> mordante * r32296 /trunk/data/core/about.cfg: Add myself to the German translation team. 20090125 13:24:26< CIA-53> mordante * r32297 /trunk/src/ (3 files in 2 dirs): 20090125 13:24:26< CIA-53> Add a helper function to show wml messages. 20090125 13:24:26< CIA-53> This way the code can be kept a bit more clean and is easier to extend 20090125 13:24:26< CIA-53> for the future. 20090125 13:26:21-!- thespaceinvader [n=chatzill@91.108.172.60] has joined #wesnoth-dev 20090125 13:35:56-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090125 13:36:32-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has joined #wesnoth-dev 20090125 13:43:19< AI0867> fabi__: also, people seem to interpret the choice in LoW 7 as giving them more time, which it doesn't do. Either the wording or the effects should probably change 20090125 14:06:38-!- YogiHH [i=YogiHH@d155171.adsl.hansenet.de] has joined #wesnoth-dev 20090125 14:06:47-!- YogiHH [i=YogiHH@d155171.adsl.hansenet.de] has quit [Client Quit] 20090125 14:16:31< fabi__> AI0867: hi 20090125 14:28:48< fabi__> AI0867: I don't believe that people are confused to believe they have the choice between more or less time. 20090125 14:29:34< fabi__> AI0867: The text is misleading to make them believe that they are facing a choice between high or low level enemies. 20090125 14:30:42< fabi__> AI0867: Both isn't the case. The choice is between a stronger or weaker ai. 20090125 14:31:17-!- zookeeper [n=l@84.248.159.215] has joined #wesnoth-dev 20090125 14:31:23< fabi__> hi zookeeper 20090125 14:31:59< fabi__> zookeeper: there is a bug report against low that is related to the new ai_controller. 20090125 14:32:26< fabi__> zookeeper: may I assign it to you? 20090125 14:35:54< zookeeper> yes 20090125 14:35:56< zookeeper> (afk) 20090125 14:39:13< CIA-53> ivanovic * r32298 /trunk/ (5 files in 4 dirs): updated German translation 20090125 14:44:38-!- Dragonking [n=dk@dedikerad/dragonking] has quit [] 20090125 14:45:40< grzywacz> loonycyborg, … 20090125 14:45:53< AI0867> fabi__: check the campaign feedback forum about low 7 20090125 14:46:41< AI0867> someone thinks that the choice isn't between normal/more units+dumber but normal/more units+more time 20090125 14:47:21< AI0867> the "this should not take long" line is probably at fault there 20090125 14:52:12< fabi__> AI0867: What about the stringfreeze? 20090125 14:54:07< AI0867> that's a problem 20090125 14:54:15< AI0867> but as it is, the options are misleading 20090125 14:54:52< fabi__> AI0867: Do you agree that disabling the option would solve the problem? 20090125 14:57:30< AI0867> yes 20090125 14:58:16-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090125 15:09:50< Mordante> I'm off bye 20090125 15:10:04-!- Mordante [n=chatzill@roadie.xs4all.nl] has quit ["ChatZilla 0.9.84 [Iceweasel 3.0.5/2008122011]"] 20090125 15:18:19-!- elias [n=elias@allegro/developer/allefant] has joined #wesnoth-dev 20090125 15:23:02< fabi__> The wml of trunk is broken. There are merge messages inside of data/gui/default.cfg 20090125 15:33:07< AI0867> ugh 20090125 15:33:45< AI0867> erm, not for me 20090125 15:34:40< AI0867> could it be on your end? 20090125 15:34:56< boucman> zookeeper: probably you to answer that one http://www.wesnoth.org/forum/viewtopic.php?p=335099#p335099 20090125 15:35:39< AI0867> fg 20090125 15:35:41< AI0867> er 20090125 15:40:05< fabi__> I guess my working copy is broken. svn reports me to have modified gui stuff. 20090125 15:43:16< CIA-53> fendrin * r32299 /trunk/data/campaigns/Legend_of_Wesmere/scenarios/07_Elves_last_stand.cfg: LoW 07: disabled the option that reduces enemy ai attack depth. The text is misleading. 20090125 15:44:33< zookeeper> boucman, yeah, i think i'll just talk about it with him when he gets on irc again.. 20090125 15:45:21< boucman> k 20090125 15:45:27< fabi__> zookeeper: How can I disable the ai_controller again? 20090125 15:45:59< fabi__> zookeeper: a player reports that he was able to control the enemy side of the next scenarios. 20090125 15:46:05< cib0> anyone mind explaining me what ai_controller does? sounds interesting but i havent found any documentation on it 20090125 15:47:05< fabi__> cib0: Ai controller is a macro that gives you an ai to modify some aspects of your allies ai. 20090125 15:47:15< fabi__> s/ai/gui 20090125 15:47:42< cib0> o.o 20090125 15:48:38< AI0867> s#s/ai/gui#s/an ai/a gui# 20090125 15:54:03-!- crimson_penguin [n=ben@64.201.60.214] has joined #wesnoth-dev 20090125 15:55:54-!- Baufo [n=thomas@62-47-149-109.adsl.highway.telekom.at] has joined #wesnoth-dev 20090125 16:04:27-!- YogiHH [i=YogiHH@d157025.adsl.hansenet.de] has joined #wesnoth-dev 20090125 16:06:57-!- YogiHH [i=YogiHH@d157025.adsl.hansenet.de] has quit [Client Quit] 20090125 16:08:39< cib0> sheesh 20090125 16:32:45-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090125 17:06:50-!- Turuk_ [n=JDiSab@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090125 17:14:57-!- Turuk [n=JDiSab@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)] 20090125 17:18:43< AI0867> src/serialization/parser.cpp #defines ERR_CF, WRN_CF and LOG_CF, but fails to actually include log.hpp... 20090125 17:23:56-!- cib1 [n=cib@p4FD0FA7B.dip.t-dialin.net] has joined #wesnoth-dev 20090125 17:24:20-!- cib0 [n=cib@p4FD0FA7B.dip.t-dialin.net] has quit ["Leaving."] 20090125 17:34:07-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has quit [Remote closed the connection] 20090125 17:35:17< Baufo> http://www.wesnoth.org/forum/viewtopic.php?p=334529#p334529 so we lost kitty? :( 20090125 17:37:07< AI0867> sounds like it =( 20090125 17:37:22< loonycyborg> She didn't honor Sirp's request to discuss this on IRC AFAIK. 20090125 17:37:34< AI0867> someone said something about an irc discussion, but I haven't seen anything of it 20090125 17:38:05< boucman> Baufo: see Sirp's last post, we are trying to do something, but no sure what will come out of it 20090125 17:39:07< CIA-53> ai0867 * r32300 /trunk/src/serialization/parser.cpp: Skip over utf8 BOMs. (address bug #12317) 20090125 17:41:07< loonycyborg> boucman: What exactly is being done? :) 20090125 17:41:32< boucman> we're organizing an IRC meeting between sirp/jetryl/kitty to discuss the issue, 20090125 17:41:49< boucman> just let us do what we can for the moment, there is not much to say 20090125 17:43:54< AI0867> wesbot: toic 20090125 17:43:56< AI0867> wesbot: topic 20090125 17:49:49-!- elias [n=elias@allegro/developer/allefant] has quit ["Leaving"] 20090125 17:51:14< CIA-53> ai0867 * r32301 /trunk/changelog: Fix up a changelog entry. 20090125 17:51:16< AI0867> wesbot: log 32032 20090125 17:51:17< wesbot> boucman * r32032 : add an option to disable scrolling during oponent's turn the fine details might need feedback/tuning from the MP community 20090125 17:51:20< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=32032 20090125 17:51:30< Ivanovic> zookeeper: http://www.wesnoth.org/forum/viewtopic.php?p=334992#p334992 20090125 17:52:36< Ivanovic> spanish speakers around? http://www.wesnoth.org/forum/viewtopic.php?p=335007#p335007 20090125 17:53:06< Ivanovic> "...lllegal character no se que..." sounds a lot like some old 1.2.x addons conflicting with >=1.4.x 20090125 17:54:56< Ivanovic> zookeeper: a case of bad default gold values, if you really need this much? http://www.wesnoth.org/forum/viewtopic.php?p=334900#p334900 20090125 17:55:06< Ivanovic> was this already changed with the new gold carryover in 1.5.x? 20090125 18:05:04-!- Baufo_ [n=thomas@62-47-149-88.adsl.highway.telekom.at] has joined #wesnoth-dev 20090125 18:07:23-!- Baufo [n=thomas@62-47-149-109.adsl.highway.telekom.at] has quit [Read error: 110 (Connection timed out)] 20090125 18:19:05< CIA-53> baufo * r32302 /trunk/src/server/forum_user_handler.cpp: made registered nicks case insensitive (e.g. if 'Baufo' is registered 'baufo' will still need a password) 20090125 18:21:04-!- Baufo_ is now known as Baufo 20090125 18:34:55-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 18:36:01-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090125 18:36:58-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090125 18:37:01-!- Baufo [n=thomas@62-47-149-88.adsl.highway.telekom.at] has quit [Remote closed the connection] 20090125 18:38:37< zookeeper> fabi__, still need help? 20090125 18:38:52< Shadow_Master> zookeeper: read my little reminder already? 20090125 18:39:07< zookeeper> yes 20090125 18:39:37< Shadow_Master> nice ^__^ 20090125 18:42:06< Shadow_Master> Ivanovic: to localize (e.g. translate) the manual's screenshots, am I allowed to commit the required files myself? :) 20090125 18:42:38< Ivanovic> Shadow_Master: uhm, sure 20090125 18:42:52< Ivanovic> just stick to the conventions (as eg done for the german manual) 20090125 18:43:11< Shadow_Master> yeah 20090125 18:43:19< Shadow_Master> (what is the real titlescreen screenshot's resolution btw? 20090125 18:43:43< loonycyborg> Shadow_Master: No. Ivanovic needs to run msgmerge on them(employs OCR) :P 20090125 18:43:47< zookeeper> Ivanovic, the TRoW bug guy didn't specify the version and i don't see how that'd be possible in trunk if he didn't do something retarded with the debug mode. the HttT gold thing is different in dev. 20090125 18:44:03< zookeeper> and i'm not gonna post there to state that obvious fact 20090125 18:44:35< Shadow_Master> it seems to be 1024 x 768 ? 20090125 18:45:04< Ivanovic> Shadow_Master: no idea 20090125 18:45:16< Ivanovic> the res that should be used for manual screenshots are on the -i18n list 20090125 18:45:47< Shadow_Master> okay 20090125 18:47:29-!- YogiHH [i=YogiHH@d164230.adsl.hansenet.de] has joined #wesnoth-dev 20090125 18:47:38-!- YogiHH [i=YogiHH@d164230.adsl.hansenet.de] has quit [Client Quit] 20090125 19:05:16-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090125 19:10:45< fabi__> zookeeper: yes 20090125 19:12:44< zookeeper> fabi__, just give it enabled=no in the arguments 20090125 19:12:54< zookeeper> (or...uh, just don't call it at all?) 20090125 19:13:29< fabi__> in every scenario from there on? 20090125 19:13:42-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Read error: 110 (Connection timed out)] 20090125 19:13:49-!- Sirp_ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has joined #wesnoth-dev 20090125 19:16:07< zookeeper> yes, of course you need to do whatever you do in every scenario 20090125 19:16:57< zookeeper> hmm, i wonder if there's a possibility of anything getting screwed up if the variables carry over to the next scenario...i'll check, just a sec 20090125 19:18:10< grzywacz> How do I make scons *not* check for dependencies? I know my system has everything in place, no need to waste time to look for boost and stuff on every run... 20090125 19:20:46< loonycyborg> grzywacz: scons doesn't recompile test programs, it uses its standard facilities to check whether they're up-to-date. 20090125 19:21:24< loonycyborg> But checking for them being up-to-date is rather slow because scons is written in python. 20090125 19:22:56< loonycyborg> Try passing fast=true. This will make it somewhat faster. 20090125 19:23:43< CIA-53> zookeeper * r32303 /trunk/data/core/macros/ai_controller.cfg: Ensure that the ai controller variables don't get carried over to the next scenario. 20090125 19:24:23< grzywacz> loonycyborg, yeah, I was asking if I can completely get rid of that step 20090125 19:24:24< zookeeper> that should do it.. 20090125 19:25:57-!- YogiHH [i=YogiHH@d097048.adsl.hansenet.de] has joined #wesnoth-dev 20090125 19:27:54< loonycyborg> grzywacz: The simplest way is to use prereqs=false and pass necessary flags in extra_flags_config 20090125 19:29:57< grzywacz> loonycyborg, k, thanks 20090125 19:30:42< loonycyborg> (since those checks are also responsible for setting up CFLAGS etc) 20090125 19:31:34-!- Dragonking [n=dk@dedikerad/dragonking] has joined #wesnoth-dev 20090125 19:38:17-!- CIA-53 [n=CIA@208.69.182.149] has quit [Remote closed the connection] 20090125 19:42:53< YogiHH> anyone knows what is the difference between libboost_iostreams-mgw34-s-1_34_1.a and libboost_regex-mgw34-mt-d-1_34_1.a? 20090125 19:43:16< YogiHH> -d- is for debug, i suppose and what about -s-? 20090125 19:45:25< YogiHH> strip symbols? 20090125 19:45:29< loonycyborg> IIRC it's static libstdc++ or something like that.. 20090125 19:47:47-!- fnaek [n=fnaek@athedsl-4502906.home.otenet.gr] has joined #wesnoth-dev 20090125 19:48:52-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has joined #wesnoth-dev 20090125 19:49:21< loonycyborg> http://www.boost.org/doc/libs/1_37_0/more/getting_started/unix-variants.html 20090125 19:49:44< loonycyborg> It looks like I've remembered right :) 20090125 19:50:46-!- CIA-53 [n=CIA@208.69.182.149] has joined #wesnoth-dev 20090125 19:53:37< zookeeper> Sapient, that "The maximum text width is less than 1." error is getting rather irritating :| 20090125 20:00:41-!- governor [n=chatzill@bas4-hamilton14-1168061178.dsl.bell.ca] has joined #wesnoth-dev 20090125 20:08:27-!- fnaek [n=fnaek@athedsl-4502906.home.otenet.gr] has left #wesnoth-dev [] 20090125 20:34:10-!- Dragonking [n=dk@dedikerad/dragonking] has quit [] 20090125 20:35:03< YogiHH> loonycyborg, can you interpret the message "the command '-ftemplate-depth-128' is wrong or couldn't be found" when building boost-iostreams with bjam? 20090125 20:36:01-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has quit [Read error: 104 (Connection reset by peer)] 20090125 20:36:08< loonycyborg> -ftemplate-depth-128 is one of compiler flags passed by bjam. 20090125 20:36:35< loonycyborg> What reports this error? gcc or bjam? 20090125 20:37:17-!- Baufo [n=thomas@62.47.149.88] has joined #wesnoth-dev 20090125 20:39:54< YogiHH> not sure, the command is: gcc.compile.c++ bin.v2\libs\iostreams\build\gcc\debug\threading-multi\file_descriptor.o 20090125 20:42:19< YogiHH> loonycyborg: another question, is it a problem if i debug wesnoth on a dual core machine with gdb (cause it halts all the time due to SIGTRAP without any breakpoints involved) 20090125 20:43:10 * loonycyborg doesn't know much about dual core machines :( 20090125 20:43:25< loonycyborg> Since I don't have one.. 20090125 20:45:32-!- ABCD_ [n=abcd@pool-173-71-204-106.clppva.fios.verizon.net] has joined #wesnoth-dev 20090125 20:46:12< loonycyborg> YogiHH: If -ftemplate-depth-128 would be passed to gcc which doesn't support it you'd get a different message. 20090125 20:47:26< YogiHH> ugh, having to clients play two different sound tracks at the same time is - err - not so nice :-) 20090125 20:47:32-!- thespaceinvader_ [n=chatzill@91.108.183.117] has joined #wesnoth-dev 20090125 20:47:35< YogiHH> s/to/two 20090125 20:47:44< loonycyborg> So likely bjam is treating -ftemplate-depth-128 as a command and tries to search for it in PATH or something.. 20090125 20:47:55-!- ABCD [n=abcd@wikipedia/ABCD] has quit [Read error: 113 (No route to host)] 20090125 20:48:07< loonycyborg> Do you have g++ installed? :P 20090125 20:48:41< YogiHH> yes, but maybe it's not in the PATH... 20090125 20:48:47 * YogiHH checks 20090125 20:53:10< YogiHH> loonycyborg: ah, you are gorgeous, thanks a lot :-). Ii still have to do the last touches on my new machine :-) 20090125 20:53:48-!- Sirp_ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has quit ["leaving"] 20090125 20:54:02-!- ABCD_ is now known as ABCD 20090125 20:59:39< YogiHH> boucman, you there? 20090125 20:59:47< boucman> yup what's up ? 20090125 21:00:12< YogiHH> what is the meaning of the class member unit.movement_? Is it movement done or movement left? 20090125 21:00:32< boucman> in unit.cpp ? 20090125 21:00:35< boucman> no idea 20090125 21:00:38< YogiHH> yes 20090125 21:00:45-!- thespaceinvader [n=chatzill@91.108.172.60] has quit [Nick collision from services.] 20090125 21:00:48< boucman> i'm the display guy, not the game engine guy ;) 20090125 21:01:01< boucman> more seriously, though, have a look at unit::redraw 20090125 21:01:10-!- thespaceinvader_ is now known as thespaceinvader 20090125 21:01:21< boucman> we draw the health bar there, so you cn probably find where we get the info from 20090125 21:23:59< YogiHH> zookeeper: you have no idea where you sent me with solving that movement bug ;-P 20090125 21:25:07< YogiHH> if i am not mistaken, the star_search algorithm for finding paths seems to be buggy 20090125 21:27:32< zookeeper> oh, sounds nasty 20090125 21:27:41< zookeeper> but...how on earth did it lead you there :o 20090125 21:28:07< zookeeper> i mean, i just don't see why that'd really have anything to do with pathfinding.. 20090125 21:29:49< YogiHH> if set by the replay, the unit's mp points left are calculated from the pathfinding 20090125 21:30:16< YogiHH> and all clients process the other sides actions through replays 20090125 21:30:58< YogiHH> what really wonders me is that this hasn't been caused trouble elsewhere long ago 20090125 21:31:55< zookeeper> uh. interesting. 20090125 21:32:29< zookeeper> well, good to get it fixed then :> 20090125 21:33:28< Noyga> YogiHH, i think it's movement left but i'm not 100% sure 20090125 21:34:22< YogiHH> Noyga: yes it is, i am sure about that by now 20090125 21:36:46-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has joined #wesnoth-dev 20090125 21:46:13< CIA-53> noyga * r32304 /branches/1.4/po/wesnoth-units/fr.po: French translation update 20090125 21:49:59< CIA-53> noyga * r32305 /trunk/po/wesnoth-units/fr.po: French translation update 20090125 21:56:29< YogiHH> Sirp, are you familiar with star_search algorithm (or anyone else)? 20090125 22:01:15-!- cib1 [n=cib@p4FD0FA7B.dip.t-dialin.net] has quit [Remote closed the connection] 20090125 22:13:24< YogiHH> boucman, you said you are the display guy ;-) 20090125 22:13:34 * boucman smells a trap 20090125 22:13:36< boucman> yes 20090125 22:13:39< YogiHH> hehe 20090125 22:14:22< YogiHH> do you know if star_searches are used to calculate positions of units for moving on screen? I was wondering that they work with doubles as cost. 20090125 22:14:38< boucman> nope, 20090125 22:14:54< boucman> a list of hex is given to the anim engine, I have no idea how they are calculated 20090125 22:15:21< boucman> it's the function move_unit in unit_display.cpp 20090125 22:15:55-!- Lord_Aether [n=castle@207.212.136.10] has joined #wesnoth-dev 20090125 22:16:02< YogiHH> boucman, ever heard the name Guillaume Melquiond? 20090125 22:16:20< boucman> not sure, should I ? 20090125 22:16:47< YogiHH> he is the copyright holder for our star_search stuff :-) 20090125 22:16:58< boucman> hmm 20090125 22:17:08< boucman> I know people by their nick usually 20090125 22:17:58< boucman> ok, it's Silene 20090125 22:18:05< boucman> old dev, long gone 20090125 22:18:26< YogiHH> damn, why is it always me to stir up a hornet's nest? :/ 20090125 22:20:09< boucman> we all do 20090125 22:20:41< YogiHH> *mutter, mutter* not fair... *mumble* no documentation... 20090125 22:20:44 * boucman has a nice one for mordante brewing :) 20090125 22:22:47< crimson_penguin> Silene is long gone? 20090125 22:23:02 * crimson_penguin feels wesnoth-old 20090125 22:23:13 * boucman knows how it feels 20090125 22:23:38< YogiHH> SILENE! I, yogi, summon thou! 20090125 22:24:16< YogiHH> well, it was worth a try ;-) 20090125 22:24:22-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has quit [Read error: 104 (Connection reset by peer)] 20090125 22:28:42< Noyga> found a typo in a translatable string, is it ok to fix ? 20090125 22:29:30< crimson_penguin> someone wanna commit this? http://codepad.org/oC0nDd51 20090125 22:30:01 * crimson_penguin should really get an authenticated svn checkout 20090125 22:32:14< loonycyborg> crimson_penguin: What should be in commit message? 20090125 22:33:03< crimson_penguin> loonycyborg: um... "Fixed going into 16-bit color when toggling fullscreen" I suppose 20090125 22:35:21 * crimson_penguin thinks he may have finally found the other place where the display mode is set 20090125 22:35:38< boucman> crimson_penguin: you have dev access, don't you ? 20090125 22:36:28< crimson_penguin> boucman: I do, but I don't currently have an authenticated checkout, only an anonymous one... and an authenticated one that's only the stats.w.o part 20090125 22:36:36< CIA-53> loonycyborg * r32306 /trunk/src/preferences_display.cpp: Committed a patch by crimson_penguin: Fixed going into 16-bit color when toggling fullscreen 20090125 22:36:50< boucman> k, updating my copy, then I'll see what I can do for you 20090125 22:36:54< crimson_penguin> wee, 118 files to recompile 20090125 22:37:08< CIA-53> noyga * r32307 /trunk/src/editor2/mouse_action.cpp: Small typo fix. 20090125 22:37:15 * loonycyborg eats a banana 20090125 22:37:19< crimson_penguin> boucman: well, looks like loonycyborg just did it, but thanks :) 20090125 22:37:27< boucman> np :) 20090125 22:37:48< crimson_penguin> now that I have tons of space available, maybe I should get that checkout 20090125 22:38:51< crimson_penguin> loonycyborg: thanks :) 20090125 22:38:53< boucman> crimson_penguin: it's pretty usefull to have 20090125 22:39:04 * boucman has two trunk, one 1.5 and one 1.4 20090125 22:39:17< crimson_penguin> two trunk? 20090125 22:39:37< boucman> one for my work, and one to quickly add/removes patches when patch-monkeying 20090125 22:40:26< loonycyborg> With git you'll need only one trunk 20090125 22:40:45< loonycyborg> since you could do git stash to move your work away.. 20090125 22:40:52< crimson_penguin> ah 20090125 22:43:04-!- Baufo [n=thomas@62.47.149.88] has quit [Remote closed the connection] 20090125 22:43:39< crimson_penguin> Yay! I found the other place where it was setting 16-bit color, and fixed it 20090125 22:43:51< crimson_penguin> Not so yay: I can't figure out what my password for gna is :( 20090125 22:44:33< YogiHH> lol 20090125 22:45:00< crimson_penguin> my password for my public key, that is 20090125 22:45:05< Ivanovic> they got some "send me a new password function for sure..." 20090125 22:45:06< Ivanovic> ahhh, okay 20090125 22:45:09< Ivanovic> that is not so good 20090125 22:45:20< Ivanovic> but you can just create a new one and enter that in the gna list 20090125 22:45:26< Ivanovic> (there several keys can be listed) 20090125 22:45:29< crimson_penguin> I suppose 20090125 22:45:43< loonycyborg> And wait hours/days for their cron job :) 20090125 22:46:23-!- Turuk_ [n=JDiSab@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 104 (Connection reset by peer)] 20090125 22:46:37-!- Turuk [n=JDiSab@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090125 22:48:03< crimson_penguin> but... but... why would I have used anything other than what I've already tried? :-/ 20090125 22:48:27< YogiHH> caps lock? ;-) 20090125 22:48:35< crimson_penguin> Nope :P 20090125 22:51:06< crimson_penguin> waaait a second, I think maybe the URL here is wrong 20090125 22:51:57< YogiHH> urgh, this pathfinding stuff is getting worse with every minute :/ 20090125 22:52:10< crimson_penguin> yeah, the problem wasn't the password, it was the URL 20090125 22:53:27< crimson_penguin> GAH, well I got it to work, but, but... I tried one password, didn't work, tried another one, didn't work, tried the first one again, and it worked! 20090125 22:54:08< crimson_penguin> I've gotten in a habit of retrying stuff like that, because it seems like that happens a lot :-/ 20090125 22:54:38< CIA-53> noyga * r32308 /trunk/po/wesnoth-editor/fr.po: Frenach translation update 20090125 22:55:18 * crimson_penguin updates the wiki so more people don't get confused 20090125 22:57:35< crimson_penguin> the wiki said to use "svn co svn+ssh://svn.gna.org/svn/wesnoth/trunk wesnoth", but you need to put gna_username@ before the svn.gna.org 20090125 23:09:00< crimson_penguin> YogiHH: still here? 20090125 23:09:04-!- silene [n=plouf@ASte-Genev-Bois-152-1-65-160.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090125 23:09:12< silene> hi 20090125 23:09:15 * crimson_penguin hopes YogiHH is still around 20090125 23:09:21< YogiHH> oh my god 20090125 23:09:28< YogiHH> silene! 20090125 23:09:38< YogiHH> my summoning worked :-) 20090125 23:09:48< grzywacz> O_o; 20090125 23:09:53< boucman> YogiHH: your powers are impressive indeed 20090125 23:10:17 * crimson_penguin used the power of /msg 20090125 23:10:19< Noyga> indeed 20090125 23:10:24< YogiHH> silene: have you got a few minutes for me? 20090125 23:10:39< silene> yes 20090125 23:10:52< YogiHH> you were the one to do the start_search algorithm, right? 20090125 23:11:01< YogiHH> star_search even 20090125 23:11:40< silene> no, it was not me, but ithink i reviewed the code and modified it 20090125 23:11:54< YogiHH> great :-) 20090125 23:12:19< YogiHH> i will try to outline the problem in a few sentences 20090125 23:12:55< Ivanovic> i am off to bed now, n8 20090125 23:13:03< Noyga> gnite Ivanovic 20090125 23:13:12< YogiHH> symptom: remaining movepoints for a unit goind from a to b are not calculated correct it seems 20090125 23:13:23-!- Dragonking [n=dk@dedikerad/dragonking] has joined #wesnoth-dev 20090125 23:14:28< YogiHH> the reason as i see it: The star_search algorithm knows the cost of a route, which it applies as movement_left for a unit 20090125 23:14:42-!- Kest|Fraith [i=ie@adsl-68-73-196-41.dsl.sfldmi.ameritech.net] has quit ["What a horrible night to have a curse..."] 20090125 23:14:46< YogiHH> but this is wrong, as it is supposed to be max_movement - cost 20090125 23:15:16< YogiHH> the problem: the star_search algorithm has not knowledge of a units max_movement 20090125 23:16:01< YogiHH> the problem part 2: the star_search algorithm is not only used for movement calculation but as well for map and cave generation, where no units are needed 20090125 23:16:31< YogiHH> it works with the base class cost_calculator, that has no knowledge about units 20090125 23:16:34< silene> could you give me a filename/line number please? i work better when looking at the code; and it has been 3 years, so what i remember is quite foggy 20090125 23:16:45< YogiHH> sure 20090125 23:17:11< YogiHH> astarsearch.cpp line 200 20090125 23:17:52< YogiHH> locRoute.move_left = int(locDestNode->g); 20090125 23:18:25-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 23:18:26< YogiHH> where "g" is the cost of the route, but not the unit's movement left 20090125 23:20:35< YogiHH> silene: you can follow me so far? 20090125 23:22:11< silene> more or less, the code seems fine at first sight 20090125 23:22:50< YogiHH> silene: why does star_search use doubles as cost when movement calculation needs integers? 20090125 23:23:44 * grzywacz summons Baufo 20090125 23:24:08< silene> most certainly because fractional moves allow you to prefer some paths over some others without breaking path correctness 20090125 23:24:28< silene> i don't remember if this trick was used in the code though 20090125 23:24:36< YogiHH> fractional moves, what is that? 20090125 23:25:40< YogiHH> hexes with "virtual" costs less than 1? 20090125 23:25:53< silene> suppose there is a path that goes through an enemy unit, you tell the path finder that it costs 1/100 more than another path, so the other path will be chosen first, if has the same length 20090125 23:26:13< YogiHH> ah, i see 20090125 23:26:40< silene> as long as all your pathes are less than 100 units of length, you don't break the algorithm 20090125 23:27:17< YogiHH> do you know where a_star_node.h actually gets calculated? 20090125 23:28:32< YogiHH> it looks like it fits my needs but i couldn't find where it is set 20090125 23:28:56< silene> anyway, back to the code, the move_left field doesn't look like movement lefts for a unit, but the time left with respect to the upper bound on path length (the sop_at argument maybe) 20090125 23:29:13< silene> stop_at* 20090125 23:29:59< YogiHH> yes, that irritated me as well. I thought "g" and "h" contain costs, but they are explained as time. 20090125 23:30:22< YogiHH> i couldn't make sense out of that 20090125 23:30:32< silene> a_star_node is filled in explore_neighbours 20090125 23:31:04 * YogiHH nods 20090125 23:32:19-!- ettin_ [n=jorda@201.206.219.87.dynamic.jazztel.es] has joined #wesnoth-dev 20090125 23:32:24< silene> perhaps you are misunderstanding the purpose of a_star_nore; it doesn't describe a point of the map, it describes a step of a path (but since a path can go through any point of the map, you potentially have as many steps as there points on the map) 20090125 23:32:53< silene> that's why g and h are times and not costs 20090125 23:33:26< YogiHH> so time means hexes on a map? 20090125 23:33:58-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090125 23:34:30< YogiHH> or more precisely number of hexes of a path? 20090125 23:34:37< silene> the sum of the costs to reach this step of the path, and a bound on the time to reach the destination point 20090125 23:35:17< silene> not exactly hexes, it should be that in plains; but in mountains, it should be tripled (or was it x4?) 20090125 23:35:17-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Read error: 145 (Connection timed out)] 20090125 23:36:02< silene> it's really meant to be how difficult it is reach a given point starting from a given point 20090125 23:36:26< YogiHH> well, that is what i understood by cost so far 20090125 23:36:27< boucman> silene: cost to reach that hex in MP ? 20090125 23:36:44< silene> yes 20090125 23:36:56< silene> (or something akin to it) 20090125 23:37:15-!- Turuk_ [n=JDiSab@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090125 23:38:28< YogiHH> silene: for line 200, wouldn't it be appropriate to use "h" then instead of "g"? 20090125 23:38:51< silene> the algorithm works like that: you create a nodee for the starting point of your path, then you create nodes for the 6 hexes around it and you set the time it takes to reach them, and so on until you have reached your destination point 20090125 23:39:17< YogiHH> i see 20090125 23:39:52< silene> no, i doubt it, h is almost never something you can use, as the value is only an estimated bound 20090125 23:39:55< boucman> and I guess that if a node has already been set, it means there is a shorter path to reach that hex, so you don't look further 20090125 23:40:46< silene> precisely; this ensures that once you reach the destination point, you know you can stop, because even if you keep looking, other paths will be longer 20090125 23:41:31< boucman> do you keep all "boundry of explored zone" hex in an ordered list so the first path found to dest is always the shortest ? 20090125 23:41:45< grzywacz> priority queue is normally used 20090125 23:42:20< silene> yes, there should be a priority queue somewhere 20090125 23:43:18< silene> openList looks very much like it 20090125 23:43:50-!- ettin [n=jorda@18.206.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 20090125 23:44:32< YogiHH> silene: route.move_left is explained as "movement unit will have left at end of the route." Using "g" to set it is not correct then, no? 20090125 23:44:43-!- Turuk [n=JDiSab@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)] 20090125 23:45:37< silene> yes, it's clearly not what g is suppsoed to be 20090125 23:46:30< YogiHH> ok, i think i know what to do then. Thank you very much. 20090125 23:47:28-!- zookeeper [n=l@84.248.159.215] has quit [] 20090125 23:52:33-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090125 23:53:09-!- Sapient [n=sapien-x@c-24-126-133-155.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090125 23:53:19< Sapient> yo 20090125 23:53:43< YogiHH> hi Sapient 20090125 23:53:49< Sapient> hi Yogi 20090125 23:53:59< silene> you should rename it path_cost or something and then check each part of the code that uses it 20090125 23:54:03< Shadow_Master> yo yo 20090125 23:54:21< Sapient> silene: you wrote the preprocessor.cpp right? 20090125 23:54:31< silene> yes 20090125 23:54:48< Sapient> we have been stuck with some bugs and feature requests 20090125 23:54:52< silene> what? is that broken too? :-) 20090125 23:55:25< Sapient> none of us understands your code well enough to maintain it and we've been considering a total replacement unless it gets some comments 20090125 23:55:33< Noyga> n8 20090125 23:55:34-!- Noyga [n=lame-z@AVelizy-151-1-6-97.w82-120.abo.wanadoo.fr] has quit ["Quitte"] 20090125 23:55:36< Sapient> (no offense) ;) 20090125 23:56:02< Sapient> if you could assist with that I'd be really grateful 20090125 23:58:09< silene> looking at svn blame, there is quite a bunch of code that was added/modified since then; do you have something precise in mind? 20090125 23:58:25< Sapient> yes, I'm trying to dig it up in the tracker 20090125 23:58:38< Sapient> but, as the old saying goes "teach a man to fish..." 20090125 23:59:10< YogiHH> "anachronistic old-style base class initializer"! Impudent compiler :-P 20090125 23:59:15< Sapient> bug #12897 unable to comment out an #enddef --- Log closed Mon Jan 26 00:00:05 2009