--- Log opened Tue Nov 09 00:00:19 2010 --- Day changed Tue Nov 09 2010 20101109 00:00:19-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has joined #wesnoth-dev 20101109 00:11:05-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has quit [Remote host closed the connection] 20101109 00:21:12-!- _jbx_ [~jbailey@12.190.80.225] has quit [Quit: They're all bold as love.] 20101109 00:23:15-!- mjs-de [~mjs-de@vpw.wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20101109 00:45:41-!- eleazzaar_ [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20101109 00:45:41-!- eleazzaar [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20101109 00:45:41-!- eleazzaar_ is now known as eleazzaar 20101109 00:46:01-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has joined #wesnoth-dev 20101109 00:55:55-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has quit [Ping timeout: 245 seconds] 20101109 01:08:34-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20101109 01:16:09-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 265 seconds] 20101109 01:19:26-!- phlaem [~marc@212.84.227.31] has quit [Quit: Leaving] 20101109 01:27:24-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20101109 01:46:20-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20101109 01:47:11-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20101109 01:51:07-!- mjs-de [~mjs-de@vpw.wh.Uni-Dortmund.DE] has quit [Remote host closed the connection] 20101109 02:03:42-!- Appleman1234 [~Appleman1@131.181.21.11] has joined #wesnoth-dev 20101109 02:10:12-!- Upthorn [ogmar@adsl-75-26-162-133.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20101109 02:19:39-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20101109 02:35:09-!- PeterPorty [~Pete@pc-177-251-120-200.cm.vtr.net] has quit [Quit: Saliendo] 20101109 02:38:36-!- Vetinari_ [~lukjad@unaffiliated/lukjad] has quit [Quit: leaving] 20101109 02:38:44-!- Vetinari [~lukjad@ip216-239-79-231.vif.net] has joined #wesnoth-dev 20101109 02:38:44-!- Vetinari [~lukjad@ip216-239-79-231.vif.net] has quit [Changing host] 20101109 02:38:44-!- Vetinari [~lukjad@unaffiliated/lukjad] has joined #wesnoth-dev 20101109 03:07:50-!- StealthyCoin [~StealthyC@hawknet-wireless-gw-ext.cabrillo.edu] has joined #wesnoth-dev 20101109 03:11:37-!- eoc [~eoc@pD956130D.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 03:14:28-!- eoc` [~eoc@pD9560B19.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 20101109 03:42:39< CIA-81> shadowmaster * r47522 /trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/06_Temple_in_the_Deep.cfg: TRoW 6: raise player corpses only as long as Lenvan is present 20101109 04:07:34-!- Ivanovic_ [~ivanovic@dtmd-4db2abd7.pool.mediaWays.net] has joined #wesnoth-dev 20101109 04:09:55-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 265 seconds] 20101109 04:11:06-!- Ivanovic_ is now known as Ivanovic 20101109 04:27:20-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has joined #wesnoth-dev 20101109 04:57:26-!- ancestral [~ancestral@mobile-166-137-140-103.mycingular.net] has joined #wesnoth-dev 20101109 05:03:43-!- StealthyCoin [~StealthyC@hawknet-wireless-gw-ext.cabrillo.edu] has quit [Quit: StealthyCoin] 20101109 05:10:17< shadowmaster> fendrin: why is https://gna.org/bugs/?15976 marked as fixed? 20101109 05:10:28< shadowmaster> I can't find the option or a relevant commit message in the tracker 20101109 05:11:04< shadowmaster> and I just wasted my time writing part of the implementation of that thing, except I did it in the Wrong Way™. 20101109 05:12:49< shadowmaster> ah hm. 20101109 05:12:57< shadowmaster> actually, eleazzaar marked it as fixed for whatever reason. 20101109 05:13:35-!- ancestral_ [~ancestral@174-20-60-148.mpls.qwest.net] has joined #wesnoth-dev 20101109 05:14:07< Gambit> He's offended that you don't want to look at his animated terrain. :P 20101109 05:14:09< Gambit> (I jest) 20101109 05:14:28-!- ancestral [~ancestral@mobile-166-137-140-103.mycingular.net] has quit [Ping timeout: 240 seconds] 20101109 05:14:28-!- ancestral_ is now known as ancestral 20101109 05:14:46< Gambit> (probably) 20101109 05:14:57< Gambit> Good night 20101109 05:15:51-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20101109 05:15:52-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20101109 05:16:15< shadowmaster> eleazzaar: might want to reply to https://gna.org/bugs/index.php?15976 20101109 05:24:31-!- Blueblaze [~Blueblaze@adsl-99-186-66-48.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20101109 05:27:35-!- FAAB [~huajie@124.126.193.121] has joined #wesnoth-dev 20101109 05:41:29-!- un214 [~quassel@adsl-75-45-0-228.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20101109 05:52:05-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has quit [Ping timeout: 260 seconds] 20101109 05:57:32-!- un214 [~quassel@adsl-75-45-0-228.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20101109 06:02:56-!- ancestral [~ancestral@174-20-60-148.mpls.qwest.net] has quit [Ping timeout: 255 seconds] 20101109 06:06:04-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Ping timeout: 252 seconds] 20101109 06:09:23-!- ancestral [~ancestral@mobile-166-137-143-206.mycingular.net] has joined #wesnoth-dev 20101109 06:26:12-!- StealthyCoin [~StealthyC@adsl-99-2-148-92.dsl.pltn13.sbcglobal.net] has joined #wesnoth-dev 20101109 06:36:30-!- Blueblaze [~Blueblaze@adsl-99-186-66-48.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20101109 06:48:29-!- StealthyCoin [~StealthyC@adsl-99-2-148-92.dsl.pltn13.sbcglobal.net] has quit [Quit: StealthyCoin] 20101109 06:54:44-!- ancestral [~ancestral@mobile-166-137-143-206.mycingular.net] has quit [Quit: Smell ya later!] 20101109 06:55:41-!- Appleman1234 [~Appleman1@131.181.21.11] has quit [Remote host closed the connection] 20101109 07:15:38-!- wesbot changed the topic of #wesnoth-dev to: 172 bugs, 298 feature requests, 17 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20101109 07:26:35-!- dtiger [~dtiger2@fe26.hc.ru] has joined #wesnoth-dev 20101109 07:32:26-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 264 seconds] 20101109 07:39:02-!- timothyqiu [~timothyqi@72.52.94.229] has joined #wesnoth-dev 20101109 07:39:25-!- timothyqiu [~timothyqi@72.52.94.229] has left #wesnoth-dev [] 20101109 07:52:26-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20101109 08:21:13-!- Upth [~ogmar@adsl-75-26-162-133.dsl.scrm01.sbcglobal.net] has quit [Quit: Some message that is totally family friendly and work safe.] 20101109 08:28:07-!- Upth [~ogmar@adsl-75-26-162-133.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20101109 08:29:39-!- FAAB [~huajie@124.126.193.121] has quit [Quit: Leaving.] 20101109 08:40:07-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20101109 08:43:25-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20101109 08:51:54-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20101109 09:04:44< CIA-81> zookeeper * r47523 /trunk/data/campaigns/The_Rise_Of_Wesnoth/images/portraits/typhon.png: Added LordBob's revised Typhon portrait. 20101109 09:05:17-!- eoc is now known as off|eoc 20101109 09:07:12-!- eleazzaar_ [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20101109 09:07:12-!- eleazzaar [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20101109 09:07:13-!- eleazzaar_ is now known as eleazzaar 20101109 09:08:11-!- eleazzaar_ [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20101109 09:08:11-!- eleazzaar [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20101109 09:08:11-!- eleazzaar_ is now known as eleazzaar 20101109 09:20:38-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20101109 09:36:19-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20101109 09:43:05< zookeeper> wesbot, seen gabba 20101109 09:43:06< wesbot> zookeeper: The person with the nick gabba last spoke 27d 12h ago. 22d 11h ago person left: 20101109 09:50:18-!- euschn [~eugen@wesnoth/developer/euschn] has joined #wesnoth-dev 20101109 09:50:40-!- VladimirSlavik [~vladimir@PC-E233-396.ubmi.feec.vutbr.cz] has joined #wesnoth-dev 20101109 09:50:59-!- VladimirSlavik [~vladimir@PC-E233-396.ubmi.feec.vutbr.cz] has quit [Changing host] 20101109 09:50:59-!- VladimirSlavik [~vladimir@wesnoth/translator/VladimirSlavik] has joined #wesnoth-dev 20101109 09:51:26-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has joined #wesnoth-dev 20101109 10:08:50-!- VladimirSlavik [~vladimir@wesnoth/translator/VladimirSlavik] has quit [Remote host closed the connection] 20101109 10:15:04-!- VladimirSlavik [~vladimir@PC-E233-396.ubmi.feec.vutbr.cz] has joined #wesnoth-dev 20101109 10:18:04-!- Ivanovic [~ivanovic@dtmd-4db2abd7.pool.mediaWays.net] has quit [Changing host] 20101109 10:18:04-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20101109 10:18:12-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20101109 10:18:26< Ivanovic> moin 20101109 10:23:01-!- Vorpal [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20101109 10:35:39-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has quit [Ping timeout: 250 seconds] 20101109 10:35:44-!- SpoOkyMagician [~chatzilla@74-138-202-211.dhcp.insightbb.com] has quit [Read error: Connection reset by peer] 20101109 10:36:19-!- SpoOkyMagician [~chatzilla@74-138-202-211.dhcp.insightbb.com] has joined #wesnoth-dev 20101109 10:37:17-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Read error: Connection reset by peer] 20101109 10:41:43-!- shikadib1t [~shikadi@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20101109 10:42:39-!- apoi_ [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20101109 10:44:45-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20101109 10:45:26-!- NaSTy [~NaSTy@93-43-165-153.ip92.fastwebnet.it] has joined #wesnoth-dev 20101109 10:47:18-!- Netsplit *.net <-> *.split quits: apoi, shikadibot, LordNaSTy 20101109 10:53:20-!- VladimirSlavik [~vladimir@PC-E233-396.ubmi.feec.vutbr.cz] has quit [Changing host] 20101109 10:53:20-!- VladimirSlavik [~vladimir@wesnoth/translator/VladimirSlavik] has joined #wesnoth-dev 20101109 10:56:55-!- NaSTy is now known as LordNasty 20101109 11:26:03-!- GNUtoo|laptop [~gnutoo@host106-130-dynamic.16-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20101109 11:43:42-!- euschn [~eugen@wesnoth/developer/euschn] has left #wesnoth-dev [] 20101109 12:31:51-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20101109 13:12:35-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 245 seconds] 20101109 13:29:06-!- eleazzaar_ [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20101109 13:29:07-!- eleazzaar [~jbjerk@ppp-70-226-203-109.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20101109 13:29:07-!- eleazzaar_ is now known as eleazzaar 20101109 13:31:35-!- rigved [~rigved@116.72.163.243] has joined #wesnoth-dev 20101109 13:31:46-!- Gambit [~Gambit@67.232.229.73] has joined #wesnoth-dev 20101109 13:31:46-!- Gambit [~Gambit@67.232.229.73] has quit [Changing host] 20101109 13:31:46-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20101109 13:36:28-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has joined #wesnoth-dev 20101109 13:50:08-!- Dalton [~~@warzone2100/moderator/Dalton] has quit [Ping timeout: 245 seconds] 20101109 13:51:09-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Remote host closed the connection] 20101109 13:52:40-!- Dalton [~~@warzone2100/moderator/Dalton] has joined #wesnoth-dev 20101109 13:53:13-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20101109 13:55:06-!- sfb_ is now known as sfb 20101109 13:55:08-!- FAAB [~huajie@219.142.234.64] has joined #wesnoth-dev 20101109 14:08:25-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has quit [Ping timeout: 252 seconds] 20101109 14:09:47-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20101109 14:10:32-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20101109 14:11:09-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20101109 14:16:14-!- lgn [~debian@149.201.42.27] has joined #wesnoth-dev 20101109 14:27:25-!- VladimirSlavik [~vladimir@wesnoth/translator/VladimirSlavik] has quit [Remote host closed the connection] 20101109 14:34:26< FAAB> hi Crab_, I get some strange things happening when I put 2 lua AI together. See my post http://wesnoth.org/forum/viewtopic.php?f=58&t=29403&p=464545#p464545 20101109 14:34:45< Crab_> hi, FAAB 20101109 14:35:03< FAAB> could you suggest any good way to investigate that, I can't find any. 20101109 14:35:24-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has joined #wesnoth-dev 20101109 14:36:50< FAAB> is there any log I could output to see what is happening in the engine? I tried ai/engine/lua but it didn't output anything. 20101109 14:39:49< Crab_> FAAB: I'd start with :inspect to see if the ai configs end up sane enough 20101109 14:41:04< FAAB> Crab_: I did that, the config is as expected and doesn't change while the AI behavior becomes strange 20101109 14:41:28< Crab_> FAAB: then, I'd use --log-debug=ai/stage/rca to see if any lua-based candidate action are called and how they evaluate 20101109 14:42:24< FAAB> Good. I will do. Thanks. 20101109 14:42:51< Crab_> pastebin the log if you'll have questions about it 20101109 14:43:23< Crab_> also note that according to candidate action contract, it must change the game state if it evaluates highest and is called. if it doesn't do anything, it's blacklisted till end of turn 20101109 14:45:58-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20101109 14:48:55-!- shikadib1t is now known as shikadibot 20101109 14:50:06-!- sl33k [~DELL@117.195.4.0] has joined #wesnoth-dev 20101109 14:50:22< sl33k> are there any easy coding task TODO? 20101109 14:51:51< shadowmaster> wiki.wesnoth.org/EasyCoding ? 20101109 14:53:22< sl33k> easy level 20101109 14:53:33< FAAB> Crab_: is there any way to check if it is blacklisted ? 20101109 14:53:43< sl33k> newbie to FOSS 20101109 14:54:23< Crab_> FAAB: it's say so in the log 20101109 14:55:49< Crab_> FAAB: 'Disabling candidate action because it failed to change the game state: ...' or something like that 20101109 14:56:02< sl33k> shadowmaster, 20101109 14:56:03< Crab_> FAAB: and 'Skipping disabled candidate action:...' on subsequent loops 20101109 14:57:13< Crab_> sl33k: another good thing to do is to look through a list of bugs ( http://bugs.wesnoth.org/ ) - there's usually a few very easy things in it 20101109 14:58:10< Crab_> sl33k: find something that looks easy, ask about it to let someone here confirm that it's indeed easy, and try to fix 20101109 15:05:15< FAAB> my CA is evaluated on the second turn, which is good. It returns -1 though, which is not good. I am gonna find out why. 20101109 15:13:23< sl33k> Crab_ reproduced this on my windows xp https://gna.org/bugs/index.php?16875 20101109 15:14:15< FAAB> Crab_: that is strange, The code is http://wesnoth.pastebin.com/egPK87Jm and the subsequent log is http://imagebin.org/122506 20101109 15:15:22< FAAB> Crab_: see how my ai.side is set to 2 inside label:label_evaluation while it is set to 3 in subsequent calls to label_select 20101109 15:22:31-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20101109 15:23:54< Crab_> sl33k: yes, looks like a good one 20101109 15:24:09< sl33k> hmm, trivial? 20101109 15:24:31< Crab_> sl33k: I don't know. but at least it doesn't affect much things through the game, it's "localized' 20101109 15:25:00< Crab_> sl33k: there are bugs which are well entrenched in the codebase, so 'fixing' them one way or another has side effects or implications 20101109 15:25:28< Crab_> sl33k: but this one looks good in the respect that there's a 'unexpected behavior' and it should be possible to fix it without breaking anything else ;) 20101109 15:27:05< sl33k> yeah so shall i and how 20101109 15:29:34< Crab_> sl33k: how ? I guess that you have to find the code which selects the file to open, in the editor, and try to find out why it doesn't work as intended. 20101109 15:30:15< Crab_> sl33k: ilor probably knows the exact place to look for that... 20101109 15:30:44< Crab_> sl33k: but you can try to guess, i.e. go to src/editor/editor_controller.cpp 20101109 15:30:59< Crab_> then, there's editor_controller::load_map_dialog method in it which has a 'load' in it's name 20101109 15:31:21< Crab_> so, if you compile wesnoth in debug mode, and set a breakpoint in it, you will be able to confirm if it's the place or not 20101109 15:31:22< sl33k> which svn u use? 20101109 15:32:10< Crab_> for example, command-line svn + instructions in http://wiki.wesnoth.org/CompilingWesnothOnWindows 20101109 15:32:16< sl33k> n i am on windows so which ide i use? 20101109 15:33:35< Crab_> you can develop/build either with visual studio (there's a project file for studio, and there's cmake-based generator for it, whatever you like more), or with gcc-based builds (ask loonycyborg for howto and details on possible ides) 20101109 15:34:38< Crab_> if it doesn't compile for whatever reason, ask here, we'll try to help 20101109 15:34:42< loonycyborg> I use gcc+scons 20101109 15:34:50< loonycyborg> On windows too. 20101109 15:35:20< Crab_> FAAB: yes, I see 20101109 15:37:01< loonycyborg> Getting dependencies can be *fun* on windows 20101109 15:37:49< Crab_> (for visual studio, there's an archive will most/all of them) 20101109 15:38:03< loonycyborg> iirc I haven't updated my zip files on files.wesnoth.org/hidden/win with extra files needed by ana. 20101109 15:38:28< CIA-81> shadowmaster * r47524 /trunk/data/ai/ais/testing_ai_default.cfg: Remove phpBB session id from a commented link 20101109 15:38:31< sl33k> i have visual studio 2008 20101109 15:39:33< sl33k> Crab_: i checkout the cpp file u said 20101109 15:40:05< Crab_> sl33k: so, there's two routes you can try: 1) use cmake to generate project file ( http://wiki.wesnoth.org/CompilingWesnothOnWindows ) 2) use project file in svn, taking all the dependencies - headers and libs, from ftp://ftp.terraninfo.net/wesnoth/msvc9/external_19.zip 20101109 15:40:15-!- dtiger [~dtiger2@fe26.hc.ru] has quit [Remote host closed the connection] 20101109 15:40:35< Crab_> for (2), you'll have to fix the project file somewhat or add library and include directories to studio settings 20101109 15:42:07< sl33k> i also have dev c++? shall i download Cmake? 20101109 15:42:54< Crab_> sl33k: cmake is needed for wesnoth windows build if you want to generate a visual studio project from cmake files available in wesnoth. 20101109 15:43:17< Crab_> sl33k: (we haven't tested any of the other possible cmake generators on windows) 20101109 15:44:33< Crab_> FAAB: so, it seems that the only 'buggy' part is wesnoth.get_units({lua_function="label_select"}) which does not get the proper context ? 20101109 15:46:07< FAAB> Crab_: I can't say if it the *only* part. But there is a problem there as it seems. 20101109 15:47:06< FAAB> that what make my label_select returns nothing, so my stack of unit is empty, hence the CA return -1 as the debug trace confirms 20101109 15:47:20< Crab_> FAAB: I'd say "file this example as a bug, because we need to look at it, to see how it should be done", and work around by using your own implementation of get_units - just filter by your predicate 20101109 15:47:26< FAAB> so that looks consistent 20101109 15:47:50< sl33k> Crab_: i will use visual stidio n i am downloading cmake 20101109 15:47:54< Crab_> ok 20101109 15:48:29-!- einHarzil [harzi@camelot.germanistik.fu-berlin.de] has quit [Quit: Leaving] 20101109 15:48:40< Crab_> FAAB: the problem is that label_select is defined by each ai, for each side 20101109 15:48:55< Crab_> FAAB: so, only the 3rd declaration (where ai.side =3 ) remains 20101109 15:49:17< Crab_> FAAB: and, wesnoth.get_units is not ai-context-aware, so it uses the last one 20101109 15:49:45< Crab_> FAAB: that's why label_attack CA has execution="local ai,cfg = ...; ai:label_execution(cfg)" - it has to get that ai context, then use it 20101109 15:51:16< sl33k> Crab_: cmake downloaded, how do i proceed now 20101109 15:51:51< Crab_> sl33k: according to http://wiki.wesnoth.org/CompilingWesnothOnWindows 20101109 15:52:27< sl33k> first paragraph there 20101109 15:52:34< Crab_> yes 20101109 15:52:40< Crab_> those steps 1-9 20101109 15:52:59< Crab_> (installing cmake is one of them) 20101109 15:53:16< sl33k> so fixing comes after compiling? 20101109 15:54:05< Crab_> sl33k: well, I think that compiling an unmodified source tree is a good idea 20101109 15:54:23< sl33k> ok 20101109 15:54:27< Crab_> sl33k: then, after you know that it compiles fine, go and play with it, trying to fix that bug 20101109 15:54:55-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20101109 15:55:01< Crab_> sl33k: so, at start, to be sure that your environment is set up and you're ready to do what you want 20101109 15:56:09< Crab_> FAAB: yes, I see the problematic place in the C++ code 20101109 15:56:26< FAAB> Crab_: could I just define ai:label_select? 20101109 15:56:47< Crab_> FAAB: no 20101109 15:56:58< Crab_> FAAB: the place which runs the lua code doesn't know anything about the ais.. 20101109 15:57:07< FAAB> o right as it is called by get_units 20101109 15:57:45< Crab_> FAAB: exactly. if you manage to make your filters have a different name for each ai, then it'll work 20101109 15:58:05< Crab_> FAAB: the c++ code does a 'Get the user filter by name.' trick deep inside 20101109 15:58:08< FAAB> I can wait for a fix, as long as I understand what is happening now, so I just file a bug and wait for the fix, is that fine with you? 20101109 15:58:37< Crab_> FAAB: yes 20101109 15:58:49< Crab_> FAAB: you can easily workaround with a pure lua filter 20101109 15:58:56< Crab_> FAAB: filter all units by your predicate, in lau 20101109 15:59:04< Crab_> but we'll find a way to fix it 20101109 15:59:25< Crab_> *lua 20101109 16:00:14-!- rigved [~rigved@116.72.163.243] has quit [Quit: Bye] 20101109 16:00:49< FAAB> you mean if ai.side=2 then wesnoth.get_units({label_select_side2}) end if ai.side=3 then wesnoth.get_units({label_select_side3}) end? 20101109 16:01:28< Crab_> FAAB: yes, that should work. 20101109 16:01:31< FAAB> which both function label_select_side2 and label_select_side3 doing the same thing? 20101109 16:01:51< Crab_> FAAB: they can call label_select_side(1) or label_select_side(2) 20101109 16:02:00< Crab_> FAAB: so, the actual code won't be duplicated 20101109 16:02:05< Crab_> FAAB: but that's a workaround 20101109 16:02:37< FAAB> I see, I will file the bug for now 20101109 16:02:46< sl33k> Crab_: sorry din understand 1st step; i am on second step now downloading 1.8 20101109 16:03:16< Crab_> sl33k: we need svn.exe for two things : 20101109 16:03:29< Crab_> 1) to get wesnoth's sources (alternatively, you can download them or use gui svn client) 20101109 16:03:42< Crab_> 2) to allow visual studio to determine the revision of the sources 20101109 16:04:06< Crab_> so, the most foolproof way of doing that is to install command-line svn (i.e. http://www.sliksvn.com/en/download ) 20101109 16:04:23< sl33k> so direct downloading step 2 is not correct? 20101109 16:04:55< sl33k> can i use git? 20101109 16:05:00< Crab_> sl33k: steps 2 or 3 are not about getting the sources, they are about getting the windows headers and libs 20101109 16:05:13< sl33k> oh ok 20101109 16:05:34< Crab_> sl33k: yes, you can use git-svn 20101109 16:06:44< Crab_> but I don't know if it's stable enough on windows (I use git-svn myself to work on wesnoth, but on debian) 20101109 16:07:09< Crab_> (I've sent the location of the git tarball of wesnoth's repository to you, via a query) 20101109 16:08:31< Crab_> subversion works ok, too 20101109 16:09:04< sl33k> i will use that 20101109 16:09:14< sl33k> subversion 20101109 16:12:44-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20101109 16:14:24< sl33k> source code can be on other drives than C? 20101109 16:24:52-!- GNUtoo|laptop [~gnutoo@host106-130-dynamic.16-79-r.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 20101109 16:24:56< Crab_> sl33k: yes, in any directory 20101109 16:25:04< Crab_> sl33k: I'd pick any directory name without spaces :) 20101109 16:32:55< FAAB> wesbot: bug 17055? 20101109 16:33:10< FAAB> wesbot: bug 17055 20101109 16:33:11< wesbot> Bug #17055 Assigned to: None Status: None Priority: 5 - Normal 20101109 16:33:11< wesbot> Summary: Data mismatch when several lua AIs are calling wesnoth.get_units() 20101109 16:33:14< wesbot> Original submission: Usually, a lua AI will call wesnoth.get_units({lua_functi 20101109 16:33:17< wesbot> on="---"}), to select the units it will handle in a candidate action. The functi 20101109 16:33:20< wesbot> URL: https://gna.org/bugs/?17055 20101109 16:33:23< wesbot> Attached file (1st): https://gna.org/bugs/download.php?file_id=11168 20101109 16:33:30< FAAB> Crab_: ^ 20101109 16:34:16< Crab_> FAAB: great, thanks 20101109 16:34:21< FAAB> that report goes beyond my area of expertize so forgive the bad wording 20101109 16:34:43-!- Dalton [~~@warzone2100/moderator/Dalton] has quit [Ping timeout: 245 seconds] 20101109 16:35:19-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has quit [Ping timeout: 250 seconds] 20101109 16:35:45< Crab_> FAAB: well, it's good enough. and the fact that it works on first turn is another sign that we're correct in our root cause analysis... 20101109 16:39:44< Crab_> FAAB: it should be easy enough to fix, but I'll have to search for the best way to do it ( lua wesnoth.get_units calls c++ get_units c++ unit.matches_filter which calls matches_filter_internal which calls back C++ LuaKernel::run_filter which calls lua function you provided.. 20101109 16:40:08< Crab_> FAAB: and our specific ai context is only available to the original caller 20101109 16:41:34< Crab_> FAAB: so, the most obvious solution (which, by the way, will have a side effect of making formula_ai work from unit filter in some situations ), requires dragging a handle to that ai context all the way from lua to c++ and back, but maybe there's a more elegant solution available 20101109 16:43:25< FAAB> Crab_: take your time to fix it proper and well. You can let me know when it is done on the forum. 20101109 16:43:47< Crab_> (the bugtracker is a better place to check if it's fixed or not) 20101109 16:44:33< FAAB> yes, but I check the forum more often :/ 20101109 16:45:03< Crab_> FAAB: :) then let's add a reference to forum in the bugtracker, so I won't forget about it 20101109 16:54:16-!- phlaem [~a@e179040043.adsl.alicedsl.de] has joined #wesnoth-dev 20101109 16:55:40< sl33k> Crab_: i have to checkout the full repository from here http://wiki.wesnoth.org/WesnothSVN 20101109 16:55:44< sl33k> ? 20101109 16:56:01< Crab_> sl33k: checkout trunk 20101109 16:56:10< Crab_> svn co http://svn.gna.org/svn/wesnoth/trunk wesnoth 20101109 17:02:00-!- dtiger [~dtiger@dynamic-vpdn-93-125-65-48.telecom.by] has joined #wesnoth-dev 20101109 17:03:26-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has joined #wesnoth-dev 20101109 17:03:33-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has quit [Client Quit] 20101109 17:05:40-!- FAAB [~huajie@219.142.234.64] has quit [Quit: Leaving.] 20101109 17:06:43-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20101109 17:08:29-!- eoc` [~eoc@pD9561BC1.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 17:10:36-!- off|eoc [~eoc@pD956130D.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 20101109 17:11:20-!- dtiger [~dtiger@dynamic-vpdn-93-125-65-48.telecom.by] has quit [Ping timeout: 245 seconds] 20101109 17:11:29-!- dtiger [~dtiger@93.125.14.47] has joined #wesnoth-dev 20101109 17:13:50-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20101109 17:25:24-!- GNUtoo|laptop [~gnutoo@host106-130-dynamic.16-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20101109 17:31:55-!- lgn [~debian@149.201.42.27] has quit [Ping timeout: 240 seconds] 20101109 17:44:23-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20101109 17:45:27-!- DELL__ [~DELL@117.195.4.0] has joined #wesnoth-dev 20101109 17:46:29-!- eoc [~eoc@pD9561402.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 17:47:21-!- Grimling [~floris_ki@91.181.114.60] has joined #wesnoth-dev 20101109 17:47:55-!- sl33k [~DELL@117.195.4.0] has quit [Ping timeout: 240 seconds] 20101109 17:48:00-!- eoc` [~eoc@pD9561BC1.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 20101109 17:48:20-!- DELL__ [~DELL@117.195.4.0] has left #wesnoth-dev [] 20101109 17:49:02-!- sl33k [~DELL@117.195.4.0] has joined #wesnoth-dev 20101109 17:50:20-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20101109 17:52:39< zookeeper> AI0867, seen http://www.wesnoth.org/forum/viewtopic.php?f=12&t=32112 yet? maybe you could chime in... 20101109 17:53:03< AI0867> looking... 20101109 17:54:55-!- DELL__ [~DELL@117.195.4.0] has joined #wesnoth-dev 20101109 17:55:14-!- sl33k [~DELL@117.195.4.0] has quit [Ping timeout: 264 seconds] 20101109 17:55:41-!- DELL__ [~DELL@117.195.4.0] has left #wesnoth-dev [] 20101109 17:56:18-!- sl33k [~DELL@117.195.4.0] has joined #wesnoth-dev 20101109 17:58:43< AI0867> ah, ideas forum, I haven't read that in months 20101109 18:20:32-!- fendrin [~fabi@88-134-143-104-dynip.superkabel.de] has joined #wesnoth-dev 20101109 18:20:32-!- fendrin [~fabi@88-134-143-104-dynip.superkabel.de] has quit [Changing host] 20101109 18:20:32-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20101109 18:39:11-!- GNUtoo|laptop [~gnutoo@host106-130-dynamic.16-79-r.retail.telecomitalia.it] has quit [Ping timeout: 265 seconds] 20101109 18:40:38< shadowm_laptop> eleazzaar: keep the changelog categories in alphabetical order the next time, please >.< 20101109 18:40:45< shadowm_laptop> only Miscellaneous and bugfixes goes at the end 20101109 18:42:04< CIA-81> shadowmaster * r47525 /trunk/changelog: Alphabetical order... 20101109 18:42:25< fendrin> shadowmaster: hi 20101109 18:42:35< shadowm_laptop> ho 20101109 18:42:41-!- GNUtoo|laptop [~gnutoo@host106-130-dynamic.16-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20101109 18:59:33-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has joined #wesnoth-dev 20101109 19:08:09< shadowmaster> so, will anyone fix the saurians' animations? 20101109 19:09:26-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has joined #wesnoth-dev 20101109 19:10:17< Rhonda> wesbot: seen silene 20101109 19:10:18< wesbot> Rhonda: The person with the nick silene last spoke 1d 21h ago. 1d 9h ago they left with the message: Quit: Leaving. 20101109 19:10:21< Rhonda> huhm 20101109 19:10:44< Rhonda> Found a bug in autofoo in 1.9 branch. src/lua/Makefile.in doesn't get removed on distclean. 20101109 19:15:05-!- eoc is now known as off|eoc 20101109 19:15:37-!- wesbot changed the topic of #wesnoth-dev to: 173 bugs, 298 feature requests, 17 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20101109 19:29:53-!- ancestral_ [~ancestral@174-20-44-78.mpls.qwest.net] has joined #wesnoth-dev 20101109 19:29:56-!- ancestral [~ancestral@75-168-248-229.mpls.qwest.net] has quit [Ping timeout: 255 seconds] 20101109 19:29:56-!- ancestral_ is now known as ancestral 20101109 19:29:56-!- ancestral [~ancestral@174-20-44-78.mpls.qwest.net] has quit [Client Quit] 20101109 19:30:32-!- anonymissimus [~chatzilla@HSI-KBW-095-208-089-203.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20101109 19:33:17-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20101109 19:34:25< zookeeper> shadowmaster, silene fixed some of them IIRC, not sure if it was all of them. 20101109 19:34:49< shadowmaster> at least the L2 Flanker still glitches when attacking/defending on melee 20101109 19:39:25< zookeeper> right. i guess the fixes might have been only to ranged. 20101109 19:39:42< anonymissimus> what do I need to do to re-enable the delay shroud update setting ? it's only some comment or so I hope 20101109 19:40:33< anonymissimus> so that it's available in the menu I mean 20101109 19:46:47< Gambit> anonymissimus: will you commit that change when you find it? 20101109 19:48:53-!- off|eoc [~eoc@pD9561402.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 20101109 19:50:21< anonymissimus> no 20101109 19:50:34< anonymissimus> of course not thats only for personal use 20101109 19:51:45-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has quit [Ping timeout: 245 seconds] 20101109 19:52:06< Gambit> Aww :( 20101109 19:52:53< Gambit> Well I've already voiced my opinion on removing certain features to force users to test other ones. 20101109 19:53:37< anonymissimus> I consider it good that it's disabled currently 20101109 19:54:08 * shadowmaster stares blankly. 20101109 19:54:13< anonymissimus> it would be good to know how to ignore certain changes when committing however 20101109 19:54:58< Gambit> I don't even use the feature (or shroud or fog for that matter) but the idea is what I find silly. 20101109 19:55:05< shadowmaster> svn diff 20101109 19:55:12< shadowmaster> patch -p1 -R < path_to_diff 20101109 19:55:17< shadowmaster> svn commit 20101109 19:55:23< shadowmaster> patch -p1 < path_to_diff 20101109 19:55:26< shadowmaster> rinse and repeat 20101109 19:55:42< shadowmaster> hm, for svn diff's format it's -p0 anyway 20101109 19:56:08< anonymissimus> I have no command line svn 20101109 19:56:15< shadowmaster> too bad 20101109 19:56:27< shadowmaster> anyway, that feature really saved my ass multiple times in MP 20101109 19:56:44< anonymissimus> delay shroud ? 20101109 19:56:49< shadowmaster> yes 20101109 19:56:53< shadowmaster> and I have no idea if I'll be able to use the replacement whiteboard thing, it sounds too complicated in comparison 20101109 19:57:29< anonymissimus> hm; yes for sp it's ok but I also fear that for mp there is simply not enough time for all this planning 20101109 19:58:14< anonymissimus> for sp it does lots of stuff which until now I had to do "in my mind only" 20101109 19:58:16< Gambit> shadowmaster: exactly it should still be kept for people that don't want the bulk 20101109 19:58:37< shadowmaster> Gambit: I don't disagree with you. 20101109 19:58:56< anonymissimus> also there are still some important bugs that need to be fixed 20101109 19:59:04< anonymissimus> around the whiteboard 20101109 20:03:04-!- off|eoc [~eoc@pD9561E2F.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 20:03:43< zookeeper> not that i've played any WB MP, but i'd think that i'd like it more in MP. i've played some SP since it's been added but i've never actually used it... 20101109 20:05:31-!- Grimling [~floris_ki@91.181.114.60] has left #wesnoth-dev [] 20101109 20:06:08< anonymissimus> shadowmaster: in IftU you have some "doors"; they block the vision range via impassable terrain, right ? what happens/did happen when they were removed, did the vision range update at once ? this has become a problem now because "update shroud now" is no longer available; [redraw] etc doesn't help 20101109 20:06:55< shadowmaster> I have no idea and I guess I don't want to know yet. 20101109 20:07:10< shadowmaster> IftU for 1.9.x is untested and undermaintained. 20101109 20:07:40< shadowmaster> shroud would update at the end of the death event in 1.5.x (and AFAIK, 1.7.x too) 20101109 20:08:21< anonymissimus> it does not 20101109 20:09:12< shadowmaster> I'm soon going to face the problem in its face anyway. 20101109 20:09:32< shadowmaster> as soon as AtS 9 is completed. 20101109 20:09:43< Gambit> He will burn it with heat and kill it to death. 20101109 20:09:59-!- Grimling [~floris_ki@91.181.114.60] has joined #wesnoth-dev 20101109 20:09:59< shadowmaster> actually I could just play AtS 7 (as soon as I finish playing AtS 5) 20101109 20:10:23< shadowmaster> but don't worry, it's not the first time that I've had to modify the game engine to unbreak or work-around mainline changes for my own campaigns. 20101109 20:13:45-!- eoc` [~eoc@pD9560B66.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 20:17:00< shadowm_laptop> shikadibot: repo 20101109 20:17:00< shikadibot> shadowm_laptop: Repository URI: http://svn.gna.org/svn/wesnoth 20101109 20:17:28-!- off|eoc [~eoc@pD9561E2F.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 20101109 20:17:44-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20101109 20:18:56-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has quit [Remote host closed the connection] 20101109 20:19:08< [Relic]> Hello :) 20101109 20:23:56-!- rigved [~rigved@116.72.163.243] has joined #wesnoth-dev 20101109 20:33:03-!- Lancer2013 [~jval@cs.longwood.edu] has joined #wesnoth-dev 20101109 20:36:02-!- rigved [~rigved@116.72.163.243] has left #wesnoth-dev [] 20101109 20:41:44< anonymissimus> btw Gambit, shadowmaster : it's in playsingle_controller.cpp line line 986-88 if you want to have a personel version with delay shroud 20101109 20:42:22< Gambit> thanks 20101109 20:43:22< anonymissimus> no idea regarding OOS etc :P 20101109 20:51:14< sl33k> how to proceed with fourth step for windows http://wiki.wesnoth.org/CompilingWesnothOnWindows 20101109 21:06:35< CIA-81> shadowmaster * r47526 /trunk/data/core/units/monsters/Water_Serpent.cfg: Make Water Serpents use the same undead variation as Sea Serpents 20101109 21:07:46-!- Lancer2013 [~jval@cs.longwood.edu] has quit [Remote host closed the connection] 20101109 21:12:49< Grimling> could someone help me with the build of wesnoth, please? I've followed the instructions listed on the wiki, but when I try to run my build, I get the error: string iterator not referencable 20101109 21:17:00< sl33k> ilor: i have put the path in cmake, how do i proceed from there 20101109 21:19:11< shadowm_laptop> anonymissimus: did you ever check whether the logic in my commit fixing yours was correct btw? 20101109 21:33:08-!- eoc [~eoc@pD956099D.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 21:35:08-!- eoc` [~eoc@pD9560B66.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 20101109 21:38:49-!- Grimling [~floris_ki@91.181.114.60] has left #wesnoth-dev [] 20101109 21:41:25-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20101109 21:44:52-!- Dalton [~~@warzone2100/moderator/Dalton] has joined #wesnoth-dev 20101109 21:48:23< anonymissimus> shadowmaster: yes 20101109 21:50:36< anonymissimus> sl33k: at first you don't need to put any paths; I ran cmake by navigating into the directory with its binary 20101109 21:51:38< sl33k> anonymissimus: din understand step 4 20101109 21:52:27< sl33k> i have cmake instaleed n vstudio 2008 20101109 21:52:31-!- Grimling [~floris_ki@91.181.235.228] has joined #wesnoth-dev 20101109 21:53:04< anonymissimus> do you know how .bar files work ? 20101109 21:53:07< anonymissimus> .bat 20101109 21:53:38< sl33k> not used; n00b 20101109 21:54:30< anonymissimus> what do you get when double clicking the bat 20101109 21:57:12< sl33k> nothing; command line appears n vanishes 20101109 21:57:22< sl33k> immediately 20101109 21:58:12< anonymissimus> add a pause command at the end 20101109 21:58:18< anonymissimus> or start it from a shell 20101109 21:59:12< anonymissimus> remove the .bat ending and open it in the editor 20101109 21:59:30< anonymissimus> then add a line break and pause 20101109 21:59:43< anonymissimus> so you'll see the error output 20101109 22:00:30< anonymissimus> here's mine: http://wesnoth.pastebin.com/2Q72nxBU 20101109 22:01:51-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has joined #wesnoth-dev 20101109 22:04:29< anonymissimus> Grimling: OS ? 20101109 22:04:56< Grimling> Windows 20101109 22:05:01< Grimling> windows 7 20101109 22:05:51< Grimling> but now I'm on another pc, and i don't have the source code here 20101109 22:06:02< Grimling> I'll do everything again tomorrow 20101109 22:06:55< anonymissimus> Grimling: and which build system do you use ? 20101109 22:07:12< Grimling> the VC compiler 20101109 22:07:34< Grimling> as the wiki said, i have ran the bat file and opened the sln-file 20101109 22:07:48< anonymissimus> yes, and the cmake or the standalone version, and 1.8 or 1.9 ? 20101109 22:07:57-!- eoc` [~eoc@pD956067A.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 22:09:05< Grimling> I've nothing changed in the settings, so I don't think cmake is used for building in vc 20101109 22:09:10< Grimling> do i need to change that? 20101109 22:09:29< Grimling> 1.9 20101109 22:09:59< anonymissimus> hm no you shouldn't need to change anything 20101109 22:10:06< sl33k> anonymissimus: din get step 4 20101109 22:10:10< sl33k> confused 20101109 22:10:28< anonymissimus> I somehow doubt that any dev is compiling win7+MSVC 20101109 22:10:40< anonymissimus> so you're probably out of luck 20101109 22:10:54< Grimling> I'll try it again on a linux distro 20101109 22:11:15< Grimling> which distro is the best do you think for developing? 20101109 22:11:28-!- eoc [~eoc@pD956099D.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 20101109 22:11:59< anonymissimus> I don't know since I'm no Linux dev; but I'd try ubuntu, if the drivers work for you 20101109 22:12:45< Grimling> yes, they work, I have installed the previous version 20101109 22:12:59< Grimling> is developing in a virtual machine also an option? 20101109 22:13:12< anonymissimus> sl33k: sry, read a bit about .bat files, command windows and environment variables (that's meant by %PATH%) 20101109 22:13:47-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20101109 22:16:11< sl33k> anonymissimus: i dont want to use environment variables 20101109 22:16:22< anonymissimus> then use full paths 20101109 22:16:47< sl33k> ok 20101109 22:20:24< Crab_> sl33k: how it's going ? 20101109 22:22:14< anonymissimus> Crab_: you should put a pause command at the end of that bat file so people can tell what's wrong when they execute it 20101109 22:23:02< Crab_> anonymissimus: yes, a good idea. meanwhile, they can just run it from cmd 20101109 22:23:19< Grimling> Crab_:that's what he did now 20101109 22:23:55< sl33k> Crab_: yep ran bat file 20101109 22:24:14< Crab_> sl33k: any errors ? or was the project file generated ok ? 20101109 22:25:03< Crab_> sl33k: last time I've tried, it was in september. running svn update at one of my win7 systems atm, to see if it'll work for me now 20101109 22:25:36< Grimling> for me, it worked 20101109 22:25:42< Grimling> I've done it yesterday 20101109 22:25:54< Grimling> but my problem is when I try to run the exe 20101109 22:25:59-!- GNUtoo|laptop [~gnutoo@host106-130-dynamic.16-79-r.retail.telecomitalia.it] has quit [Quit: Program received signal SIGSEGV, Segmentation fault.] 20101109 22:26:07< Crab_> Grimling: what happens ? 20101109 22:26:34< Grimling> first, the exe couldn't find the dll-files, altough i put them in the %PATH% 20101109 22:26:52< Grimling> after copying the dll's to the exe directory, i got an error message 20101109 22:27:06< Grimling> something like: string iterator isn't dereferencable 20101109 22:27:51< sl33k> Crab_: http://wesnoth.pastebin.com/KbxbyvqK 20101109 22:28:05< sl33k> dont know what noob mistake i made 20101109 22:29:11< Crab_> sl33k: there's a step "install cmake http://www.cmake.org/cmake/resources/software.html and put it into %PATH% (that can be done by the installer) " 20101109 22:30:04< Crab_> sl33k: it says in your log "'cmake' is not recognized as an internal or external command, operable program or batch file. ", so cmake is not in %PATH% 20101109 22:30:40< anonymissimus> sl33k: instead of "cmake" try putting the full path to where your cmake exe is 20101109 22:30:41< Crab_> sl33k: either put it in %PATH% or replace cmake with something like "c:\program files\cmake\bin\cmake" (including the quotes) 20101109 22:30:47-!- Johannes13_ [~Johannes@pD950303F.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 22:30:47-!- Johannes13_ [~Johannes@pD950303F.dip0.t-ipconnect.de] has quit [Changing host] 20101109 22:30:47-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20101109 22:30:56< Crab_> where the path is the one where cmake.exe is located, just as anonymissimus says 20101109 22:31:06< Crab_> but there's more weird things in there, in the log.. 20101109 22:31:08-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Read error: Connection reset by peer] 20101109 22:31:20< Crab_> you run the script as 'D:\>BattleForWesnoth\external\msvc9-cmake ' 20101109 22:31:34< Crab_> you must run it from 'D:\BattleForWesnoth\external' directory 20101109 22:32:19< Crab_> so, do a cd /d "d:\BattleForWesnoth\external" before running the bat.file as "msvc9-cmake" 20101109 22:33:15< Crab_> the project will be generated in d:\BattleForWesnoth\ directory 20101109 22:35:01< zookeeper> AI0867, so, uhm, are you going to post anything in that thread? 20101109 22:38:49< Crab_> (ok, I've generated my cmake-based project, and I'm trying to rebuild ) 20101109 22:41:01< sl33k> Crab_: where to set path for cmake 20101109 22:41:07-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 240 seconds] 20101109 22:41:33< sl33k> cmake is not recognized <-- this warning 20101109 22:41:39< Grimling> go to start 20101109 22:41:44< Grimling> richt click computer 20101109 22:41:48< Grimling> choose properties 20101109 22:41:56< Grimling> you'll get a window 20101109 22:42:20< sl33k> ya 20101109 22:42:21< Grimling> on the left side, click advanced system settings (i don't have an english version, so the translation can be a little different) 20101109 22:42:37< Grimling> on the bottom of the dialog, there's a button: 20101109 22:42:41< Grimling> system environment variables 20101109 22:42:57< sl33k> ya 20101109 22:42:59< Grimling> in that new dialog, there are two lists 20101109 22:43:11< sl33k> one user n system 20101109 22:43:14< Grimling> if you want to set a variable for all users, choose the second list 20101109 22:43:14< Grimling> yes 20101109 22:43:22< Grimling> select the path-variable 20101109 22:43:53< Grimling> and click edit, at the end of the line, add a semicolon (;) if there isn't one, and then the path to the bin-dir of cmake 20101109 22:44:05< Grimling> click ok a few times 20101109 22:44:11< Grimling> restart the console window 20101109 22:44:16< Grimling> and type cmake 20101109 22:44:16< Crab_> to get the path to bin-dir of cmake, find cmake.exe, get full path to its directory - i.e. if "D:\tools\CMake 2.8\bin\cmake.exe" is the path to cmake.exe (it'll be different for you), then you need to add D:\tools\CMake 2.8\bin to the PATH variable. note that you need to restart your cmd session after that 20101109 22:48:48< anonymissimus> I think he didn't say his os version; on xp at least I need to restart the system for environment variables to have affect 20101109 22:49:37< Crab_> anonymissimus: no, both on xp and on 7, it's not necessary to restart system for changes in %PATH% to have effect 20101109 22:49:52< Crab_> anonymissimus: you only need to restart the application that'll use the new %PATH% (cmd.exe in this case) 20101109 22:49:59< Grimling> I'm here on xp, it works without rebooting 20101109 22:50:17< anonymissimus> Crab_: not my experience :P 20101109 22:50:31< Crab_> anonymissimus: ;) 20101109 22:50:47< sl33k> i guess i have to restart 20101109 22:51:00< Grimling> sl33k: what's the message you get after typing cmake in cmd 20101109 22:51:07< Crab_> sl33k: try the simple test Grimling suggests 20101109 22:51:11< sl33k> same 20101109 22:51:20< sl33k> not re recognized 20101109 22:51:30< Grimling> are you sure you added it correctly? 20101109 22:51:32< Crab_> sl33k: type echo %PATH% 20101109 22:51:44< Crab_> sl33k: and paste the output to pastebin or here, it should be 1 long line 20101109 22:52:26< Crab_> sl33k: (it might get truncated to N short lines - just use the pastebin in this case) 20101109 22:53:34< sl33k> D:\BattleForWesnoth\external>echo %PATH% 20101109 22:53:34< sl33k> next line --> C:\Program Files\CMake 2.8\bin\cmake.exe 20101109 22:53:49< Crab_> sl33k: you need only "C:\Program Files\CMake 2.8\bin\" 20101109 22:53:58< Grimling> I don't think you need de exe 20101109 22:54:11< Grimling> oh :p too late 20101109 22:54:40< Crab_> sl33k: so, you've changed %PATH% almost correctly, fix it and restart cmd yet again :) 20101109 22:55:57< Crab_> Grimling: great, I've reproduced your 'string iterator isn't dereferencable' msg :) 20101109 22:56:20< Grimling> so, I don't have done something wrong? 20101109 22:56:58< sl33k> yep fixed Crab_ 20101109 22:57:00< Crab_> Grimling: no, it looks like a MSVC-specific issue recently introduced to source. such things pop up from time to time since few devs use MSVC 20101109 22:57:16< Crab_> Grimling: should be fixable, at least previous ones were fixable :)" 20101109 22:57:16< Grimling> but, as anonymissimus said, i guess it will be better to use another os? 20101109 22:57:30< Crab_> Grimling: well, once you get it working, it works ) 20101109 22:57:41< Crab_> and it worked ok two months ago) 20101109 22:58:20< Grimling> i've looked it up, and they say it isn't allowed to use < with iterators 20101109 22:59:06< anonymissimus> Grimling: no, I encourage you to stay with windows, because there are very few devs using it, resulting in *LOTS* of win-only issues (bugs, compilation, linking etc) which bug me then :P 20101109 22:59:09< sl33k> Crab_: CMake Error: The source directory "D:/BattleForWesnoth" does not appear to conta 20101109 22:59:09< sl33k> in CMakeLists.txt 20101109 22:59:21< sl33k> *contain 20101109 22:59:44-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20101109 22:59:52-!- stikonas [~and@bcm-131-111-247-113.girton.cam.ac.uk] has joined #wesnoth-dev 20101109 22:59:53-!- stikonas [~and@bcm-131-111-247-113.girton.cam.ac.uk] has quit [Changing host] 20101109 22:59:53-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20101109 22:59:59< Grimling> okay :p if can help wesnoth with working on windows :p 20101109 23:00:26< Crab_> sl33k: see http://svn.gna.org/viewcvs/wesnoth/trunk/ - that's what your source dir should contain after checkout 20101109 23:00:34< Crab_> sl33k: note that CMakeLists.txt is definitely there 20101109 23:01:46-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20101109 23:02:43< sl33k> Crab_: my folder has it but :( 20101109 23:03:06< sl33k> all checked 20101109 23:03:14< Crab_> do a ' cd /D D:/BattleForWesnoth/external '' 20101109 23:03:26< Crab_> then show what 'dir ../*.txt' says 20101109 23:04:06< Crab_> i.e. http://wesnoth.pastebin.com/jvfr3bUH 20101109 23:04:24< Crab_> ( dir ..\*.txt ) 20101109 23:04:42-!- dtiger [~dtiger@93.125.14.47] has quit [Remote host closed the connection] 20101109 23:06:04< Crab_> Grimling: ok, fun thing - copy compiled wesnoth.exe from 'Debug' (or 'Release') directory to source root dir 20101109 23:06:16< Crab_> Grimling: it runs fine for me after that 20101109 23:06:58< Grimling> I'll do it tomorrow, because i'm now on another pc, I'm sorry 20101109 23:07:05< Grimling> I'll let you know if it works 20101109 23:07:09< Crab_> Grimling: ok, thanks 20101109 23:07:47< Crab_> Grimling: if it'll work, we can just change the default output dir or try to add some command-line options to make it find data directory... 20101109 23:08:09< Crab_> (I copied wesnoth.exe from D:\personal\src\wesnoth\Debug to D:\personal\src\wesnoth ) 20101109 23:09:26< Grimling> thanks a lot for your help 20101109 23:09:53< Crab_> np, I really want wesnoth to be more easy to compile on windows :) 20101109 23:10:36< sl33k> Crab_: http://imgur.com/HekP8 20101109 23:10:45< Grimling> except of this error message, everything was clear for me 20101109 23:11:04< Crab_> sl33k: move external to wesnoth 20101109 23:11:31< Crab_> sl33k: then, in cmd, do cd /D D:\BattleForWesnoth\wesnoth\external 20101109 23:11:49< Crab_> sl33k: then, run the .bat file 20101109 23:11:57< sl33k> ok 20101109 23:12:25< Crab_> sl33k: your source directory is D:\BattleForWesnoth\wesnoth 20101109 23:12:53< Crab_> sl33k: ( D:\BattleForWesnoth\CMakeCache and :\BattleForWesnoth\CMakeFiles can be deleted ) 20101109 23:13:16< Crab_> sl33k: and 'external' needs to be as D:\BattleForWesnoth\wesnoth\external 20101109 23:14:32< sl33k> yep 20101109 23:17:31-!- Grimling [~floris_ki@91.181.235.228] has quit [Ping timeout: 240 seconds] 20101109 23:17:32< sl33k> Crab_: 1 error 20101109 23:17:50< sl33k> Error spawning cmd.exe 20101109 23:18:08< Crab_> sl33k: can you show the full log ? 20101109 23:18:50-!- Grimling [~floris_ki@91.181.129.34] has joined #wesnoth-dev 20101109 23:19:32-!- Grimling [~floris_ki@91.181.129.34] has left #wesnoth-dev [] 20101109 23:20:09< sl33k> http://wesnoth.pastebin.com/rfBhNUBT 20101109 23:21:11-!- ancestral [~ancestral@mobile-166-137-142-049.mycingular.net] has joined #wesnoth-dev 20101109 23:22:40< Crab_> sl33k: check this thread - 20101109 23:22:43< Crab_> http://social.msdn.microsoft.com/Forums/en-SG/Vsexpressinstall/thread/adc6e067-60a4-4914-9673-571b047d9376 20101109 23:22:54< Crab_> sl33k: looks like a slight misconfiguration in your visual studio setup 20101109 23:22:56-!- ancestral [~ancestral@mobile-166-137-142-049.mycingular.net] has quit [Client Quit] 20101109 23:23:00< Crab_> when cmake tries to compile a test program, it fails 20101109 23:33:59< sl33k> Used MMali's suggesstion 20101109 23:34:04< sl33k> that error gone 20101109 23:34:21< sl33k> but something different error 20101109 23:35:36-!- phlaem [~a@e179040043.adsl.alicedsl.de] has quit [Quit: Leaving] 20101109 23:36:51< Crab_> sl33k: which error ? 20101109 23:39:58< sl33k> http://wesnoth.pastebin.com/6WNXgUEG 20101109 23:40:42< Crab_> try the suggestion in there - ' Please exit all running instances of Visual Studio before continuing. ' 20101109 23:40:49< Crab_> i.e. exit studio and rerun script 20101109 23:43:30-!- Elvish_Pillager [~eli@dhip-164.foss.residences.colby.edu] has quit [Read error: Operation timed out] 20101109 23:49:57< sl33k> closed now 20101109 23:50:08< sl33k> Crab_: from line no 86 20101109 23:50:37< sl33k> still not being able to get through 20101109 23:50:42< Crab_> sl33k: so, what does it say now? 20101109 23:50:54< sl33k> http://wesnoth.pastebin.com/6WNXgUEG 20101109 23:51:46< sl33k> line no 221 onwards 20101109 23:51:54< sl33k> some rubbish not found 20101109 23:54:46< Crab_> sl33k: strange, says that boost_system and boost_thread were not found. they should be somewhere under D:\BattleForWesnoth\wesnoth\external\boost_1_42 20101109 23:55:01< Crab_> sl33k: tomorrow, I'll recheck the external archive again, just in case 20101109 23:55:24< Crab_> sl33k: meanwhile, you can try rebooting and checking if you've fully unzipped external_19.zip to external dir 20101109 23:55:49< sl33k> http://wiki.wesnoth.org/CompilingWesnothOnWindows 20101109 23:56:00< sl33k> 1 and 5 are not in my path 20101109 23:56:06< sl33k> only cmake 20101109 23:56:14< Crab_> well, it doesn't matter atm 20101109 23:56:19< Crab_> cmake runs, it's on path 20101109 23:56:53< Crab_> having no svn on path will only lead to some potential trouble with revision number, it's not important, it has (I think) other ways to get it, as well 20101109 23:57:15< sl33k> external/dll 20101109 23:58:18-!- eoc [~eoc@pD956060E.dip0.t-ipconnect.de] has joined #wesnoth-dev 20101109 23:58:50-!- eoc` [~eoc@pD956067A.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 20101109 23:59:49< sl33k> Crab_: there is really no boost_system n other here --- Log closed Wed Nov 10 00:00:01 2010