--- Log opened Fri Aug 06 00:00:25 2010 --- Day changed Fri Aug 06 2010 20100806 00:00:25-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100806 00:00:34< gabba> bonjour 20100806 00:01:47-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100806 00:08:58-!- Gambit [~Gambit@pa-67-234-108-240.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100806 00:09:09-!- Gambit [~Gambit@pa-67-234-108-240.dhcp.embarqhsd.net] has quit [Changing host] 20100806 00:09:09-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100806 00:09:34-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100806 00:11:47-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Read error: Operation timed out] 20100806 00:12:54-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100806 00:15:00< Sapient> what up g 20100806 00:27:26-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100806 00:36:27< eleazar_> never mind, i'm not gonna change any terrain codes-- i see an alternate, equally good method. 20100806 00:36:33-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100806 00:37:18-!- ancestral [~ancestral@mobile-166-137-142-093.mycingular.net] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 20100806 01:01:07< CIA-87> gabba * r45243 /trunk/src/whiteboard/recruit.cpp: Whiteboard: comments. 20100806 01:01:12< CIA-87> gabba * r45244 /trunk/src/menu_events.cpp: Whiteboard: change to recall interception code. 20100806 01:01:19< CIA-87> gabba * r45245 /trunk/src/whiteboard/ (manager.cpp manager.hpp): Whiteboard/recall: changed a parameter name. 20100806 01:01:24< CIA-87> gabba * r45246 /trunk/src/whiteboard/ (recall.cpp recall.hpp): Whiteboard/recall: constructor parameters and private members. 20100806 01:14:52< CIA-87> eleazar * r45247 /trunk/ (144 files in 4 dirs): full support for chasms that blend seamlessly with different colored chasms. Also a new earth-toned chasm. Also much file reorganization amongt the chasms. 20100806 01:45:15-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100806 02:03:07< CIA-87> eleazar * r45248 /trunk/data/core/images/terrain/mountains/ (volcano6_1.png volcano6_2.png volcano6_3.png): spiffed up the big volcano a little. 20100806 02:05:40-!- Sapient [~patrickp@wesnoth/developer/sapient] has left #wesnoth-dev [] 20100806 02:12:27< CIA-87> eleazar * r45249 /trunk/data/core/terrain.cfg: moved the 'test' terrains to the bottom of the editor list, since they will seldom be needed. Also removed the unneded (and probably never used) Wt terrain from all editor groups. 20100806 02:36:55-!- Sirp [~me@wesnoth/developer/dave] has quit [Ping timeout: 258 seconds] 20100806 03:15:45-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has joined #wesnoth-dev 20100806 03:15:45-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has quit [Changing host] 20100806 03:15:45-!- PeterFA [~quassel@unaffiliated/peterfa] has joined #wesnoth-dev 20100806 03:21:07-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100806 03:25:14-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20100806 03:30:11-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20100806 03:30:55-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100806 03:32:25-!- me_ [~me@pool-71-164-166-178.dllstx.fios.verizon.net] has joined #wesnoth-dev 20100806 03:33:37-!- PeterFA_ [~quassel@68-29-201-228.pools.spcsdns.net] has joined #wesnoth-dev 20100806 03:34:40-!- PeterFA [~quassel@unaffiliated/peterfa] has quit [Disconnected by services] 20100806 03:34:46-!- PeterFA_ is now known as PeterFA 20100806 03:34:58-!- PeterFA [~quassel@68-29-201-228.pools.spcsdns.net] has quit [Changing host] 20100806 03:34:58-!- PeterFA [~quassel@unaffiliated/peterfa] has joined #wesnoth-dev 20100806 03:35:26-!- me_ is now known as Sirp 20100806 03:35:31-!- Sirp [~me@pool-71-164-166-178.dllstx.fios.verizon.net] has quit [Changing host] 20100806 03:35:31-!- Sirp [~me@wesnoth/developer/dave] has joined #wesnoth-dev 20100806 03:42:04-!- ancestral [~ancestral@mobile-166-137-143-039.mycingular.net] has joined #wesnoth-dev 20100806 04:03:03-!- PeterFA_ [~quassel@24-113-142-187.wavecable.com] has joined #wesnoth-dev 20100806 04:03:25-!- PeterFA [~quassel@unaffiliated/peterfa] has quit [Disconnected by services] 20100806 04:03:30-!- PeterFA_ is now known as PeterFA 20100806 04:03:37-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has quit [Changing host] 20100806 04:03:37-!- PeterFA [~quassel@unaffiliated/peterfa] has joined #wesnoth-dev 20100806 04:06:12-!- silene [~plouf@AMarseille-553-1-192-218.w92-153.abo.wanadoo.fr] has joined #wesnoth-dev 20100806 04:06:12-!- silene [~plouf@AMarseille-553-1-192-218.w92-153.abo.wanadoo.fr] has quit [Changing host] 20100806 04:06:12-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100806 04:16:26-!- ancestral_ [~ancestral@mobile-166-137-142-108.mycingular.net] has joined #wesnoth-dev 20100806 04:18:30-!- ancestral [~ancestral@mobile-166-137-143-039.mycingular.net] has quit [Ping timeout: 258 seconds] 20100806 04:18:35-!- ancestral_ is now known as ancestral 20100806 04:20:49-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 276 seconds] 20100806 04:24:57< norbert_> quite a lot of audio files on the add-on server are not GPL'ed 20100806 04:26:16-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 240 seconds] 20100806 04:28:17< norbert_> but I won't mention any details, would make things complicated 20100806 04:42:19-!- silene [~plouf@wesnoth/developer/silene] has quit [Quit: Leaving.] 20100806 04:42:26-!- ancestral [~ancestral@mobile-166-137-142-108.mycingular.net] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 20100806 04:51:43-!- norbert_ [~norbert@82-171-70-54.ip.telfort.nl] has quit [Quit: Leaving] 20100806 04:55:23-!- AnMaster [~AnMaster@unaffiliated/anmaster] has quit [Ping timeout: 265 seconds] 20100806 05:13:58-!- noy [~Noy@70.70.255.54] has joined #wesnoth-dev 20100806 05:14:09-!- noy [~Noy@70.70.255.54] has quit [Changing host] 20100806 05:14:09-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100806 05:20:07-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Remote host closed the connection] 20100806 05:26:10-!- ancestral [~ancestral@206.55.180.8] has joined #wesnoth-dev 20100806 05:31:56-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100806 05:43:18-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100806 05:44:12-!- PeterFA [~quassel@unaffiliated/peterfa] has quit [Quit: No Ping reply in 180 seconds.] 20100806 05:44:27-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has joined #wesnoth-dev 20100806 05:44:27-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has quit [Changing host] 20100806 05:44:27-!- PeterFA [~quassel@unaffiliated/peterfa] has joined #wesnoth-dev 20100806 05:54:46-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100806 05:57:04-!- PeterFA [~quassel@unaffiliated/peterfa] has quit [Ping timeout: 240 seconds] 20100806 05:58:48-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100806 05:59:42-!- PeterFA [~quassel@unaffiliated/peterfa] has joined #wesnoth-dev 20100806 06:12:49< Upthorn> I have a question 20100806 06:13:07< Upthorn> How do I get the side number of the current host in multiplayer? 20100806 06:19:09-!- PeterFA [~quassel@unaffiliated/peterfa] has quit [Ping timeout: 240 seconds] 20100806 06:30:47-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has joined #wesnoth-dev 20100806 06:30:47-!- PeterFA [~quassel@24-113-142-187.wavecable.com] has quit [Changing host] 20100806 06:30:47-!- PeterFA [~quassel@unaffiliated/peterfa] has joined #wesnoth-dev 20100806 06:48:22-!- PeterFA [~quassel@unaffiliated/peterfa] has quit [Ping timeout: 276 seconds] 20100806 06:58:00-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ...] 20100806 07:03:21-!- iwaim [~iwaim@ns1.alib.jp] has quit [Remote host closed the connection] 20100806 07:06:01-!- chris| [~Chris@golf326.server4you.de] has quit [Quit: ""] 20100806 07:10:15-!- chris| [~Chris@golf326.server4you.de] has joined #wesnoth-dev 20100806 07:23:53-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100806 07:25:28-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100806 07:28:09-!- ancestral [~ancestral@206.55.180.8] has quit [Ping timeout: 240 seconds] 20100806 07:37:09-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20100806 07:37:33-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100806 07:40:53-!- dtiger [~dtiger@dynamic-vpdn-93-125-13-194.telecom.by] has joined #wesnoth-dev 20100806 07:43:32< Upthorn> silene: I have a question regarding MP sync that you might know the answer to, may I ask it of you? 20100806 07:45:10< Upthorn> in networked multiplayer, is there any method provided for the active player to wait for data from another player who is not the host? 20100806 07:52:34-!- ancestral [~ancestral@206.55.180.8] has joined #wesnoth-dev 20100806 07:52:56-!- ancestral [~ancestral@206.55.180.8] has quit [Client Quit] 20100806 07:57:43-!- ancestral [~ancestral@206.55.180.8] has joined #wesnoth-dev 20100806 07:58:06-!- ancestral_ [~ancestral@mobile-166-137-142-108.mycingular.net] has joined #wesnoth-dev 20100806 07:58:11-!- ancestral_ [~ancestral@mobile-166-137-142-108.mycingular.net] has quit [Client Quit] 20100806 07:58:23< silene> Upthorn: no 20100806 08:00:54< Upthorn> okay. so if I want that to happen I will have to write it myself. 20100806 08:13:21-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20100806 08:20:29-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100806 08:22:14-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100806 08:22:51-!- ancestral [~ancestral@206.55.180.8] has quit [Quit: And that's the end of THAT chapter] 20100806 08:35:49< timotei> morning 20100806 08:36:10< shadowmaster> I'm attempting to give PC-BSD 8 a try 20100806 08:36:19< timotei> good luck:P 20100806 08:36:37< shadowmaster> 8.1. Unfortunately I get distracted very easily. 20100806 08:36:45< timotei> distracted by? 20100806 08:36:49< shadowmaster> stuff 20100806 08:37:29< shadowmaster> and since there's no VirtualBox Guest Additions for operating systems other than Windows, Linux, Solaris and OS/2, it's not terribly comfortable to run FreeBSD-based systems there either. 20100806 08:37:41< timotei> :| 20100806 08:37:50< timotei> ubuntu in vmware runs flawless 20100806 08:38:41< shadowmaster> anyway PC-BSD'sinstallation is fairly straightforward. 20100806 08:39:02< shadowmaster> compared to vanilla FreeBSD, or even certain Linux distribiutions 20100806 08:39:19< shadowmaster> *cough* *cough* openSUSE *cough* 20100806 08:40:19< timotei> :)) 20100806 08:40:39< timotei> no ofense, but when installed OpenSuse the installer was so retarded 20100806 08:40:48< timotei> I deleted a partition, but there wasn't any display of 'free space' 20100806 08:40:56< timotei> I had to take the risk and 'create a new partition':| 20100806 08:43:04< shadowmaster> uh. 20100806 08:43:16< shadowmaster> itexpets you to do the maths. 20100806 08:43:21< shadowmaster> *it expects 20100806 08:43:23< timotei> right 20100806 08:43:42< timotei> but sabayon guys did wrong move. they moved to anaconda installer 20100806 08:43:43< timotei> and that sucks 20100806 08:43:48< timotei> the one before was nicer 20100806 08:44:23< timotei> both in aesthetics and functionality 20100806 08:45:54< shadowmaster> ohhhhh, I found the kubuntu 10.04 DVD image 20100806 08:46:21< timotei> ah, so enjoying to stretch in the morning :D 20100806 08:46:25< timotei> dvd??? 20100806 08:48:03< timotei> shouldn't that be on a single CD? 20100806 08:48:15< timotei> btw, I like testing linux with booting from usb 20100806 08:48:19< timotei> it's more practical 20100806 08:48:30< shadowmaster> CD??? 20100806 08:48:41< shadowmaster> http://cdimage.ubuntu.com/kubuntu/releases/10.04/release/ 20100806 08:48:56< timotei> lol 20100806 08:49:02< shadowmaster> granted, DVD images are rarely used especially since most people in non-third-world countries have cheap access to deent Internet... 20100806 08:49:05< shadowmaster> decent* 20100806 08:49:14< timotei> yeah 20100806 08:49:39< shadowmaster> I haven't even decided on an operating system to replace my desktop's openSUSE 10.3 installation yet 20100806 08:57:41< shadowmaster> I'm really tempted to try Sabayon, if only because Espreon talks about it all the time. 20100806 09:02:47< timotei> shadowm_laptop: +1 from me too 20100806 09:06:13< shadowmaster> okay, so I got our KMS stories put together as Espreon wanted. 20100806 09:06:20< shadowmaster> http://shadowm.rewound.net/blog/archives/92-Kernel-modesetting-on-Linux-Godsend,-or-imment-catastrophe.html 20100806 09:07:11-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100806 09:07:35< shadowmaster> oops, I can't spell imminent. Fixed. 20100806 09:09:48-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20100806 09:12:14-!- shadowm_laptop2 is now known as shadowm_laptop 20100806 09:12:37< timotei> fendrin: hey :) 20100806 09:12:38< shadowmaster> at least now I know it wasan't the laptop inducing epileptic seizures on me 20100806 09:17:30< shadowmaster> at this point I should just make a separate category for ATI Radeon-related posts 20100806 09:22:05< timotei> I have a HD 4570 mobile ATI:P 20100806 09:22:25< timotei> hmm, Espreon uses KMS too? 20100806 09:23:56< shadowmaster> no. He's just a keen tester like me 20100806 09:24:00< shadowmaster> "Espreon’s laptop is now damaged and unusable after some minor testing of KMS + Gallium3D drivers. The screen simply doesn’t work anymore." 20100806 09:24:19< shadowmaster> so you probably mean "used", not "uses" 20100806 09:24:41< timotei> :| 20100806 09:26:54-!- Trilby [~Trilby@87.114.205.238] has joined #wesnoth-dev 20100806 09:28:21-!- Trilby [~Trilby@87.114.205.238] has quit [Client Quit] 20100806 09:47:18-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: n] 20100806 09:47:19-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100806 10:13:22< Ivanovic> moin 20100806 10:36:17-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100806 10:38:47< CIA-87> silene * r45250 /trunk/src/network_manager_ana.cpp: Fixed compilation of ana. 20100806 10:38:50< CIA-87> silene * r45251 /trunk/src/unit_animation.cpp: Made clearer the distinction between toplevel anmation tags and inner (possibly conditional) tags. 20100806 10:38:54< CIA-87> silene * r45252 /trunk/src/unit_animation.cpp: 20100806 10:38:54< CIA-87> Sped up unit animation preparation by following all the branches at once and by lazily merging children. (Partial fix for bug #16363.) 20100806 10:38:54< CIA-87> This brings the profile footprint of prepare_animation from 44% to 6%. 20100806 10:49:39< timotei> hi Ivanovic :P 20100806 10:57:28-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20100806 10:58:58-!- grzywacz [~grzywacz@chello089078180180.chello.pl] has joined #wesnoth-dev 20100806 10:59:08-!- grzywacz [~grzywacz@chello089078180180.chello.pl] has quit [Changing host] 20100806 10:59:08-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20100806 11:07:30< fendrin> timotei: hi 20100806 11:07:39< timotei> fendrin: hey 20100806 11:08:59< timotei> fendrin: I wanted to ask/tell you that I need to copy some source files from another open source project, in order to get 'external workspace' files working 20100806 11:10:10< timotei> fendrin: I've done that already, but I want to know your opininon. 20100806 11:16:22< fendrin> timotei: Well, that is the point of open source. Borrow as much code as you need. Don't ask the author of the code just inform him or her. Say "Thank you". 20100806 11:16:35< timotei> ok 20100806 11:16:43< timotei> I've talked with him about that already :P 20100806 11:16:54< fendrin> timotei: What is "external workspace"? 20100806 11:17:01< timotei> outside workspace 20100806 11:17:10< timotei> a file that is not contained in any project 20100806 11:17:35< fendrin> hmmm, I don't get it. 20100806 11:17:53< timotei> well, there are 2 types of files in eclipse: 20100806 11:17:58< timotei> IFile and IFileStore 20100806 11:18:04-!- Mythological [Mythologic@77.29.95.68] has joined #wesnoth-dev 20100806 11:18:05< timotei> IFile is just in workspace 20100806 11:18:25< timotei> that is, it is contained within a project in the workspace,and can be reached by: Workspace.getRoot().get File() 20100806 11:18:35< timotei> the other one represents a full/absolute path on the disk 20100806 11:18:39< timotei> whethere is or not in workspace 20100806 11:19:29< timotei> the current xtext editor was not able to use IFIleStore but only IFile 20100806 11:19:55< fendrin> timotei: You need that to highlight/parse the wesnoth core/data? 20100806 11:20:16< timotei> fendrin: no. I need it for: 1) show prepreocessed config file (that ends in .cfg) 2) jump to macro definition :D 20100806 11:20:36< fendrin> timotei: I see. 20100806 11:20:43< timotei> othewrise you get error 20100806 11:20:47< timotei> when trying to open :( 20100806 11:23:25-!- Blueblaze [~Blueblaze@adsl-99-182-54-48.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100806 11:24:03-!- j-b [~jb@videolan/developer/j-b] has left #wesnoth-dev [] 20100806 11:27:53-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has joined #wesnoth-dev 20100806 11:27:53-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has quit [Changing host] 20100806 11:27:53-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100806 11:28:19-!- wesbot changed the topic of #wesnoth-dev to: 135 bugs, 286 feature requests, 13 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100806 11:28:46-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100806 11:35:11-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has quit [Ping timeout: 248 seconds] 20100806 11:51:45-!- AnMaster [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20100806 11:52:26-!- gabba [~gabba@wesnoth/developer/gabba] has quit [Quit: Leaving.] 20100806 11:56:33-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has quit [Ping timeout: 252 seconds] 20100806 12:00:35-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20100806 12:16:04-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Remote host closed the connection] 20100806 12:18:00-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100806 12:33:10-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: Leaving] 20100806 12:33:22< CIA-87> silene * r45253 /trunk/src/unit.cpp: 20100806 12:33:22< CIA-87> Optimized the special case [filter_wml][variables] when matching units. (Partial fix for bug #16363.) 20100806 12:33:22< CIA-87> This brings the profile footprint of matches_filter from 28% to 3%. 20100806 12:49:25-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100806 12:57:11-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100806 12:57:32< Upthorn> Ack. I can't seem to figure out how to get an int value out of a vconfig. 20100806 12:58:06< Upthorn> and vconfig doesn't seem to inherit from config like I thought it did. 20100806 13:01:08< Upthorn> oh, wait, found it. lexical_cast. I knew it was something I'd seen all over the code before. 20100806 13:06:55-!- freim [~hogne@wesnoth/artist/freim] has quit [Ping timeout: 265 seconds] 20100806 13:09:04-!- dhoine [c16e7311@gateway/web/freenode/ip.193.110.115.17] has joined #wesnoth-dev 20100806 13:11:19< dhoine> hi all, i'm just get same trouble with wesnoth client... I cant use any characters in Cyrillic, but all interface are on russian... 20100806 13:11:39< dhoine> OS is ubuntu 10,04-amd64 20100806 13:12:19< loonycyborg> Does this apply to all text fields? 20100806 13:12:29< dhoine> yeap 20100806 13:12:34< dhoine> cant write on russian 20100806 13:14:39< loonycyborg> Don't remember whether I tried typing in russian on my ubuntu install but it works fine here on Gentoo. 20100806 13:15:00< dhoine> mb i'm using wrong font? 20100806 13:15:45< loonycyborg> You said the interface is in Russian.. 20100806 13:15:55< dhoine> yeap :( 20100806 13:16:03< loonycyborg> Maybe it's keyboard config? 20100806 13:16:13< dhoine> hmm 20100806 13:16:18< dhoine> what u mean? 20100806 13:16:22< loonycyborg> Can you type in russian in other apps than wesnoth? 20100806 13:16:33< dhoine> sure 20100806 13:16:46< dhoine> it's just wesnoth's trouble 20100806 13:17:40< loonycyborg> What exactly happens when you type with keyboard layout set to russian? 20100806 13:18:00< dhoine> nothing happend 20100806 13:18:15< dhoine> i can copy-past russian words into chat 20100806 13:18:24< dhoine> from another app 20100806 13:18:46< dhoine> but can't typing 20100806 13:18:53< loonycyborg> Does english layout work? 20100806 13:18:59< dhoine> yeap 20100806 13:19:33< loonycyborg> Weird.. 20100806 13:23:05< dhoine> hmm, than i'm turn on ru layout i can typing only digitals 20100806 13:27:46< dhoine> trying to upgrade from the basic repository 20100806 13:33:21< zookeeper> eleazar_, do you have any uncommitted terrain changes to mainline maps? i'm currently making some tweaks using the new terrains, so hopefully you don't have any conflicting stuff coming up. 20100806 13:43:30< zookeeper> eleazar_, one thing about the (fabulous) new grass(es): when i have a big patch of normal green grass, i find myself constantly placing a lot of random spots of dry grass to give it more subtle variations (the dry grass is great for that since the transitions are so smooth). 20100806 13:43:44< zookeeper> so, i wonder if we should have a "wild grass" terrain which would use a lot more variation in colour than the dry grass, perhaps simply using the green+dry grass tiles? 20100806 13:45:07< zookeeper> i suspect that at least i'll otherwise just end up using a random mixture of green and dry grass to simulate that, which gets a bit tedious to do since there's lots of grass on most maps... 20100806 13:45:08-!- Upth [~ogmar@adsl-75-26-198-150.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100806 13:46:04-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100806 13:57:50-!- Mythological [Mythologic@77.29.95.68] has quit [] 20100806 14:01:21< Ivanovic> zookeeper: sounds like a great idea to have such a terrain 20100806 14:25:05< CIA-87> silene * r45254 /trunk/src/ (unit_animation.cpp unit_animation.hpp): 20100806 14:25:05< CIA-87> Delayed further the creation of config objects. (Partial fix for bug #16363.) 20100806 14:25:05< CIA-87> This brings the profile footprint of add_anims from 30% to 24%. 20100806 14:32:42< Ivanovic> wow silene, doing some heavy optimization work today 20100806 14:33:12< Ivanovic> zookeeper: https://gna.org/bugs/index.php?16370 20100806 14:33:56< silene> Ivanovic: yes; yesterday Elvish Pillager came with a testcase where an attack was taking 20s to complete; the game was barely usable 20100806 14:34:07< Ivanovic> WOW 20100806 14:34:18< Ivanovic> 20s is *really* extreme 20100806 14:34:35< silene> that said, i only halved the time by two, so it's still unusable, but it's better 20100806 14:35:38< Upthorn> Oh wow. What was the test case? 20100806 14:35:43< Ivanovic> https://gna.org/bugs/index.php?16363 20100806 14:35:51< Ivanovic> a unit with 80 different animations 20100806 14:36:28< Upthorn> I see. 20100806 14:44:47-!- dtiger [~dtiger@dynamic-vpdn-93-125-13-194.telecom.by] has quit [Remote host closed the connection] 20100806 14:46:08-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20100806 14:47:48< dhoine> configure: error: *** Please upgrade your SDL and/or SDL_ttf version 20100806 14:47:59< dhoine> anyone can help me? 20100806 14:48:18-!- joo [~joo@188-221-182-115.zone12.bethere.co.uk] has quit [Ping timeout: 260 seconds] 20100806 14:50:00< Soliton> well, what's the problem doing the suggested? 20100806 14:50:42< dhoine> i'm try to compile wesnoth 1.8.3 20100806 14:51:20< dhoine> and can't update sdl from main repositories 20100806 14:51:25< dhoine> ubuntu10.04 20100806 14:52:39< elias> 1.8.3 is in ubuntu 20100806 14:54:22< dhoine> "apt-get install wesnoth" > downloading "wesnoth-data 1:1.6.5-1build1 [59,3MB]" 20100806 14:54:30< elias> apt-get install wesnoth-1.8 20100806 14:54:32< elias> try that 20100806 14:54:35< silene> elias: no, it's 1.8.0 20100806 14:54:40< elias> oh 20100806 14:55:19< dhoine> oh 20100806 14:55:31< silene> dhoine: try doing apt-get build-dep wesnoth-1.8 before compiling 20100806 14:56:06< dhoine> hm 20100806 14:56:12< dhoine> someone download 20100806 14:56:13< dhoine> :) 20100806 14:57:45< dhoine> don't help 20100806 14:58:17< dhoine> Please upgrade your SDL and/or SDL_ttf version 20100806 15:00:46-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100806 15:02:35< silene> dhoine: what are your versions of libsdl1.2-dev and libsdl-ttf2.0-dev? 20100806 15:03:10< silene> and do you have things in /usr/local/include? 20100806 15:04:04 * zookeeper is puzzled by the cliffs of thoria bug 20100806 15:04:33< dhoine> begin_code.h SDL_cpuinfo.h SDL_keyboard.h SDL_opengl.h SDL_timer.h close_code.h SDL_endian.h SDL_keysym.h SDL_platform.h SDL_types.h SDL_active.h SDL_error.h SDL_loadso.h SDL_quit.h SDL_version.h SDL_audio.h SDL_events.h SDL_main.h SDL_rwops.h SDL_video.h SDL_byteorder.h SDL_getenv.h SDL_mouse.h SDL_stdinc.h SDL_cdrom.h SDL.h SDL_mutex.h SDL_syswm.h 20100806 15:04:51< dhoine> hmm 20100806 15:05:13< dhoine> how i can know versions of this packet's? 20100806 15:05:29< silene> dhoine: you don't, you just remove it 20100806 15:05:48< silene> remove everything related to sdl inside /usr/local/include and /usr/local/lib 20100806 15:06:01< silene> zookeeper: which bug? 20100806 15:06:14< zookeeper> silene, http://gna.org/bugs/?16370 20100806 15:06:18-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Read error: Operation timed out] 20100806 15:06:25< zookeeper> i'm currently trying to pinpoint what exactly doesn't work in it... 20100806 15:07:10< dhoine> done 20100806 15:07:11< zookeeper> ok, this is funny... 20100806 15:07:27< dhoine> what's next? 20100806 15:08:22< zookeeper> silene, it's as if [switch] doesn't work at all 20100806 15:08:41< zookeeper> silene, line 700 if you want to look 20100806 15:08:42< Soliton> dhoine: just try again. 20100806 15:09:18< dhoine> try to compile? 20100806 15:09:27< zookeeper> s/700/694 20100806 15:10:05< Soliton> no, try to configure. 20100806 15:10:19< zookeeper> silene, i put a debug message right before/after the [switch] and that displayed all right (and $spawn_level was set right too), but nothing inside the [switch] seems to get executed 20100806 15:10:47< silene> zookeeper: ok, i will check; i may have introduced this bug; strangely enough, the switch from the test scenario works fine 20100806 15:11:01< dhoine> error, again 20100806 15:11:27< zookeeper> silene, ok, great. the [switch] in the test scenario doesn't use numerical values though, maybe that's relevant 20100806 15:12:28< silene> dhoine: check in /usr/local if you haven't missed some files 20100806 15:16:05< dhoine> wow, manual removing of all *sdl* files was helped me :) 20100806 15:16:17-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100806 15:16:50< dhoine> thx a lot 20100806 15:17:03< dhoine> now try to compile 20100806 15:21:19< zookeeper> eleazar_, btw, it seems you've lightened up the swamp water tiles, but not the transitions. 20100806 15:22:21-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100806 15:23:49< CIA-87> silene * r45255 /trunk/data/lua/wml-tags.lua: Fixed handling of numerical values in [case] statements. (Fix for bug #16370.) 20100806 15:25:36-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100806 15:27:06-!- Greywhind [~Greywhind@fw-34-18.cs.brown.edu] has joined #wesnoth-dev 20100806 15:30:14< zookeeper> silene, seems to work now 20100806 15:30:49< silene> zookeeper: i hope so, i wouldn't close a bug without first testing if it works :-) 20100806 15:41:53< Soliton> elias: 'wesnoth_addon_manager --port 1.9.x --verbose --download=.* -c /home/wesnoth/WWW/html/files/addons/1.9/unpacked --html=/home/wesnoth/WWW/html/addons/1.9 --url=http://files.wesnoth.org/addons/1.9/ --tar=/home/wesnoth/WWW/html/files/addons/1.9' got stuck on: 'recv(3, ""..., 4, 0)' ideas? 20100806 15:42:32< Soliton> there are like 6 addons on there. 20100806 15:43:49-!- Gambit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100806 15:43:49-!- Gambit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has quit [Changing host] 20100806 15:43:49-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100806 15:44:33< Soliton> another instance was stuck on removing an addon. 20100806 15:44:39< elias> hm 20100806 15:44:45< elias> let me try here 20100806 15:46:09-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Ping timeout: 240 seconds] 20100806 15:47:20< elias> it downloaded 6 addons 20100806 15:48:10-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100806 15:48:15-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: Leaving] 20100806 15:48:40< Soliton> yeah, i didn't think it's reproducable. 20100806 15:48:49< elias> do you have the complete traceback 20100806 15:48:50< elias> ? 20100806 15:49:09< Soliton> that was just an strace attach. 20100806 15:49:25< alink> it happened after the 4h site downtime 2days ago, maybe it's what triggered it ? 20100806 15:49:26< Soliton> can gdb get useful tracbacks? 20100806 15:49:53< elias> ah, so there was no python exception? 20100806 15:50:12< Soliton> no, it was just stuck. 20100806 15:50:20< Soliton> or in a busy loop. 20100806 15:50:31< Soliton> calling recv() over and over. 20100806 15:50:41< elias> recv() is blocking i think 20100806 15:51:41< Soliton> well, it returned immediately with 0. 20100806 15:51:47< elias> i see 20100806 15:52:01< elias> i'll add checks for 0 return 20100806 15:53:00< silene> 0 means that the connection closed 20100806 15:55:09< elias> i think i may have fixed it 20100806 15:55:15< CIA-87> elias * r45256 /trunk/data/tools/wesnoth/campaignserver_client.py: Make python addon manager handle the case when the server closes the connection prematurely, but without error. 20100806 15:55:16-!- Mythological [Mythologic@77.28.89.241] has joined #wesnoth-dev 20100806 15:55:18< elias> but don't have a test server up to try it out 20100806 15:55:49< elias> hm, actually, that fix should do nothing :P 20100806 15:56:00< elias> since trying to recv on a closed connection will cause an exception 20100806 15:57:42< boucman> silene: thx for the fix... does it make the whole thing playable ? 20100806 15:58:20< silene> boucman: no, it brings the time from 20s to 10s, so it's still unplayable; once i'm done with my commits, i will upload a new callgraph 20100806 15:58:31< boucman> k, thx 20100806 15:58:38< Soliton> elias: is there anything useful to get from the stuck process? 20100806 15:59:17< elias> well, gdb might tell something 20100806 16:01:17< Soliton> http://yourpaste.net/5891 20100806 16:04:28< Soliton> more interesting: http://yourpaste.net/5892 20100806 16:04:52< Soliton> it didn't download any addon. 20100806 16:05:14-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: leaving] 20100806 16:05:19< elias> what is this second paste? 20100806 16:05:32< Soliton> the log of the stuck process. 20100806 16:06:07< CIA-87> silene * r45257 /trunk/src/ (unit.cpp unit.hpp): 20100806 16:06:07< CIA-87> Avoided copying config objects just before deleting them from units. (Partial fix for bug #16363.) 20100806 16:06:07< CIA-87> This brings the profile footprint of config copy constructor from 18% to 8%. 20100806 16:08:48-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100806 16:09:48< elias> Soliton: it should only do the html generation after that 20100806 16:10:47< elias> ah, those messages are not in order 20100806 16:10:55< Soliton> it appears to be stuck on trying to recv() though. 20100806 16:10:59< elias> Done outputting html, now generating 5 TC'ed images 20100806 16:11:00< elias> Closing socket. 20100806 16:11:08< elias> so it's already done 20100806 16:11:11< elias> the main thread at least 20100806 16:11:43< CIA-87> zookeeper * r45258 /trunk/data/core/macros/interface-utils.cfg: Greatly simplify the CLEAR_FOG and UNCLEAR_FOG macros now that [hide_unit] accepts a SUF. 20100806 16:11:57< elias> can you get a thread listing in gdb? 20100806 16:12:06< Soliton> just one thread. 20100806 16:12:20< Soliton> it connects twice to get the listing and then to download, no? 20100806 16:12:30< elias> yeah 20100806 16:12:38< elias> so only once in this case since there was no download 20100806 16:12:45< elias> and it closes the socket 20100806 16:12:52< elias> so no more recv calls after that 20100806 16:13:57< elias> can you check if it created the 5 iamges? 20100806 16:14:04< elias> that's the very last thing the program does... 20100806 16:15:12< elias> inside icons/ 20100806 16:15:32< elias> their timestamp should be, well, match the time it was started or so 20100806 16:16:10< Soliton> yeah, but many manager runs happened already. 20100806 16:16:31< Soliton> the timestamp is from 15min ago when the last one ran. 20100806 16:16:43< elias> ah, ok 20100806 16:17:09< elias> so maybe that log is not from the stuck one? 20100806 16:17:15< Soliton> actually that also means that log is bogus, sorry. 20100806 16:17:21< Soliton> yeah. 20100806 16:17:30< elias> then maybe my commit somehow fixed something :) 20100806 16:17:39< Soliton> ok, great. 20100806 16:17:52-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20100806 16:18:01< Soliton> can you backport to 1.8 as well if it makes sense? 20100806 16:18:32< elias> let me try 20100806 16:18:57< elias> i should get git-svn again 20100806 16:19:28< elias> well, for now i'll just download the 1.8 svn checkout :P 20100806 16:28:49-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has joined #wesnoth-dev 20100806 16:31:06< CIA-87> elias * r45259 /branches/1.8/data/tools/wesnoth/campaignserver_client.py: backported revision 45257 to 1.8 (addon manager fix) 20100806 16:32:29< eleazar_> zookeeper: i have no uncommitted mainline maps 20100806 16:32:53< eleazar_> zookeeper: feel free to define a mixed green/semi-dry terrain 20100806 16:33:07< eleazar_> i think that would be useful too 20100806 16:33:33< eleazar_> and yeah, i'm aware of the swamp 20100806 16:33:45< eleazar_> should probably fix that before dev release 20100806 16:34:58< zookeeper> ok, i'll see if i can cobble together the WML for such a grass 20100806 16:39:05-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has quit [Read error: Connection reset by peer] 20100806 16:40:03-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has joined #wesnoth-dev 20100806 16:46:21< CIA-87> silene * r45260 /trunk/src/scripting/lua.cpp: 20100806 16:46:21< CIA-87> Avoided copying units put on map if they are temporary. (Partial fix for bug #16363.) 20100806 16:46:22< CIA-87> This brings the profile footprint of putting units on map from 20% to 10% (not counting the actual cost of creating them). 20100806 16:46:57< zookeeper> great, unsurprisingly there doesn't seem to be a ready way to do the grass thing, so i have to again dive into the macro mess 20100806 16:47:36< boucman> zookeeper: can I be of any help ? 20100806 16:48:05< zookeeper> i don't know 20100806 16:48:41< zookeeper> boucman, i'll see if i can get it working by adding a straight GENERIC_SINGLE_RANDOM_LFB call to terrain-graphics.cfg. if it works, then maybe you can see if it can be cleaned up. 20100806 16:49:11< boucman> zookeeper: generic is internal IIRC... isn't it ? 20100806 16:49:18< dhoine> I can't type text on russian at chat of Wesnoth. Someone knows anything about this problem? 20100806 16:49:24< zookeeper> boucman, yes 20100806 16:49:51< boucman> the macros you should use are the ones that are not in internal-* 20100806 16:50:05< boucman> in your case I guess they are the one in base.cfg 20100806 16:50:29< zookeeper> yes, i know 20100806 16:50:32< boucman> TERRAIN_BASE_RANDOM_LFB is what you are looking for 20100806 16:51:04< boucman> and unless you have reason not to, I would advise going with TERRAIN_BASE_COMPLETE 20100806 16:52:12< zookeeper> meh, neither GENERIC_SINGLE_RANDOM_LFB nor TERRAIN_BASE_RANDOM_LFB seem to do the job 20100806 16:52:45< zookeeper> what i want is a terrain which picks its tiles randomly from grass/green*, grass/semi-dry* and grass/dry* 20100806 16:53:31< zookeeper> now, of course i can just write a lot of TERRAIN_BASE_P calls, one for each image 20100806 16:53:38< zookeeper> but that's pretty ugly 20100806 16:54:51< boucman> hmm 20100806 16:55:24< boucman> yes my macros so far assume that all the things to pick randomly from have the same base name... 20100806 16:55:54< boucman> and you have a numeric suffix to differentiate them 20100806 16:56:53< boucman> and you want to have the correct transitions too, I guess... 20100806 16:57:29< zookeeper> err, yeah, that too 20100806 16:57:45< zookeeper> which is probably way more problematic than the base tiles 20100806 16:58:09< boucman> why not make them different terrains ? 20100806 16:58:47< zookeeper> eleazar_, one thing about the (fabulous) new grass(es): when i have a big patch of normal green grass, i find myself constantly placing a lot of random spots of dry grass to give it more subtle variations (the dry grass is great for that since the transitions are so smooth). 20100806 16:58:49< zookeeper> so, i wonder if we should have a "wild grass" terrain which would use a lot more variation in colour than the dry grass, perhaps simply using the green+dry grass tiles? 20100806 16:58:51< zookeeper> i suspect that at least i'll otherwise just end up using a random mixture of green and dry grass to simulate that, which gets a bit tedious to do since there's lots of grass on most maps... 20100806 16:59:21< boucman> hmm, ok 20100806 16:59:30-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20100806 17:00:05< zookeeper> anyway, i did manage to make a quick hack for the base tiles already 20100806 17:00:10< zookeeper> but the transitions are of course still missing 20100806 17:01:04< boucman> zookeeper: you probably need to use the TERRAIN_BASE_PLFB macro with cycling the image you ask for (reuse the probabilities from the internal-complex.cfg file) 20100806 17:01:31< zookeeper> this works well enough for the base tile distribution for now: http://wesnoth.pastebin.com/idbnvrmv 20100806 17:01:44< boucman> if you do exactly the same thing with the transitions using the macros in transitions. cfg it might work (not sure, though 20100806 17:02:22< zookeeper> uh, ok...unfortunately i have very little idea of what you mean 20100806 17:02:50< zookeeper> i know nothing of how the macros are organized 20100806 17:02:55< boucman> zookeeper: ok, let's dicuss your pastebin, then 20100806 17:02:56< zookeeper> or how they work 20100806 17:03:21< boucman> you don't have equiprobability with your macros, is that on purpose ? 20100806 17:03:58< zookeeper> yes, it doesn't matter at this point 20100806 17:04:19< Soliton> dhoine: adminmsg is not for support. 20100806 17:04:25< boucman> ok, but will you want it equiprobable eventually ? 20100806 17:04:37< zookeeper> i guess 20100806 17:07:06< boucman> ok, you have 20 variants overall, and I have only macros able to handle up to 11 :P 20100806 17:08:29< zookeeper> 11 variants in total is enough 20100806 17:10:11< boucman> zookeeper: try this for the base macros, tell me if it works => http://wesnoth.pastebin.com/0muJYG7C 20100806 17:10:18< zookeeper> i think just mixing grassland and savanna and leaving out the dry grass could be good enough 20100806 17:12:34< boucman> zookeeper: i'm looking at transitions right now and it doesn't look simple... 20100806 17:13:21< zookeeper> sure, those work 20100806 17:13:38< boucman> the ones I pasted ? 20100806 17:13:41< zookeeper> yes 20100806 17:13:50< zookeeper> (not that i see how they couldn't have) 20100806 17:14:13< zookeeper> (since they're effectively the same as mine) 20100806 17:14:39< zookeeper> anyway, if it can't be done in a clean enough way then that's fine 20100806 17:15:41< boucman> wait a sec, I think there is another way to do it... 20100806 17:16:07< boucman> could you try http://wesnoth.pastebin.com/vxXAB3f3 ? 20100806 17:16:51< boucman> no, let me think some more for a sec... 20100806 17:17:49< boucman> no, won't work either :( 20100806 17:17:54< eleazar_> boucman: zookeeper the grass looks good because of the transitions *between* the different grass terrain types 20100806 17:18:24< eleazar_> on second though, i don't see how a single terrain could do what you want 20100806 17:18:24< boucman> eleazar_: I realize that... if we don't get the transitions working there is no point of only doing the base. 20100806 17:18:29< boucman> that's what i'm looking into 20100806 17:19:29< boucman> and i'm also afraid that depending on the "level of dryness" you want you put more or less of each type, and that overall the gain isn't that big 20100806 17:20:22< eleazar_> grass hexes can always be added by hand 20100806 17:22:37< boucman> zookeeper: yes, it's very tricky to do with the current macro structure... 20100806 17:28:19-!- wesbot changed the topic of #wesnoth-dev to: 134 bugs, 286 feature requests, 13 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100806 17:31:54< alink> it seems that what is needed is an editor tool to spray random terrain 20100806 17:32:25< alink> or a brush drawing randomly between 2 terrains (or more) 20100806 17:32:40< boucman> alink: interesting idea... 20100806 17:33:19< boucman> alink: btw, did you find something to do to improve the number of macros needed for random terrains ? 20100806 17:33:21< alink> maybe something like count the terrains in selection area, calculate the frequency of each, and use that for random drawing 20100806 17:33:59< boucman> well, we currently have a primary and a secondary terrain so 50/50 would make sense :P 20100806 17:34:28< boucman> having a three terrain random brush sounds a bit exagerated, usefull, but borderline overfeature 20100806 17:35:00< alink> the point is to also allow any ratio not just 50/50 20100806 17:35:19< boucman> ok, I understand better then 20100806 17:35:30< alink> select 3 dry and 1 grass and you got 75/25 20100806 17:36:04< alink> or just draw manualy a small part of your map with what you want (few dry, many grass and 2 trees) and then use that everywhere 20100806 17:36:10< boucman> alink: select dry and grass (so we keep the main+alternate selection we currently have) and have a slider for the relative percentage ? 20100806 17:36:30< boucman> we have a copy/paste area in editor ? 20100806 17:37:11< alink> maybe I was not clear, I mean select few hexes on the map with the selection area, and use that to get the probability 20100806 17:38:06< boucman> ok, 20100806 17:39:37< alink> a bit like these photoshop tool reconstructing image behind a cropped object 20100806 17:40:22< alink> but using only color frenquency, and ignoring any geometric info 20100806 17:42:35< zookeeper> hmh, yeah, a tool like that would be neat 20100806 17:43:01< zookeeper> but i'd be happy enough if i could just use the fill tool so that it'd use 50% primary terrain and 50% secondary terrain 20100806 17:43:18< alink> or a simple spray tool ? 20100806 17:43:24< zookeeper> or that 20100806 17:43:41< silene> anonymissimus: "advance" is not a name i choose, it's the internal name from the engine; i'm not exactly sure what it is supposed to encompass; i guess they are effects gained from advancing; i can change the internal name, but i will have to check that i don't break anything 20100806 17:44:12< alink> zookeeper: IIRC ilor wanted to implement more brush, and I think the code is done support it, maybe it's easy to do 20100806 17:45:07< alink> there is a editor/brushes.cfg, but not sure how it's plugged in the editor UI 20100806 17:45:12< anonymissimus> understood, I was assuming it 20100806 17:45:17< zookeeper> does grep have a random replace operation? :P 20100806 17:45:33< anonymissimus> for the other two the name is the same as the tag however 20100806 17:45:51< silene> anonymissimus: as for the first argument being a proxy unit, it has to be; the function actually modifies a unit, so it would be strange to take a wml table (nothing would happen) 20100806 17:46:34-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100806 17:48:12< silene> anonymissimus: losing x and y on create_unit was not intended, i will fix it; private proxy unit live neither on the map nor on the recall lists, that's why they are private; they are units you can create for simulating combats for instance, or testing defences, resistances, and so on 20100806 17:51:07< alink> zookeeper: yes it works, with WML, you can replace the line brush by a spray. And even add a 4th one, but the button will be half clipped 20100806 17:51:33< alink> mmh, I still need to fix hex brightening in editor. I will to that later today 20100806 17:52:00< alink> in the mean time, changing hex_brightening in game_config restore the feature 20100806 17:53:37< alink> well, I suppose that a truly random spray would be better than a repetition of the same patern 20100806 18:00:36-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100806 18:01:46< alink> better/alternate idea for my random terrain frequency stuff: since ctrl+click already allow to sample terrain under the mouse, use that to get several terrains. Either by keeping ctrl pressed when picking different terrains, or by using ctrl+big brush to get all terrains under the brush 20100806 18:02:33< boucman> i like the ctrl-brush idea... it makes sense UI-wise 20100806 18:03:40-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Read error: Connection reset by peer] 20100806 18:03:43-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100806 18:04:25< alink> and another one: ctrl click directly into the terrain palette, so you see several blue square showing the selected terrains 20100806 18:05:35< alink> and maybe clicking the same one to get higher frequency (indicated by brighter color) 20100806 18:08:22-!- dhoine [c16e7311@gateway/web/freenode/ip.193.110.115.17] has quit [Quit: Page closed] 20100806 18:17:33< alink> mmh there is already a "Randomize tool in selection" 20100806 18:18:03< silene> alink: are you the one who changed colour to color? 20100806 18:18:13< alink> silene: yes 20100806 18:18:41< silene> alink: it breaks wml that reads units/sides and expects to find a colour attribute 20100806 18:19:13< alink> silene: I forget one "colour" in c++ code? 20100806 18:19:40< silene> alink: no, that's the contrary, you removed too many of them; the generated wml no longer contains colour attributes 20100806 18:20:12< alink> ah there is still old wml code still using "colour" 20100806 18:20:29< silene> alink: old == 1.8 20100806 18:21:13< alink> well I only changed it in 1.9, and wmllint was supposed to fix that, not sure if fully done yet 20100806 18:21:41< silene> alink: you marked it as deprecated and to be removed in 1.9.2, but there you already removed it 20100806 18:22:09< alink> there is backward compatibility code 20100806 18:22:37< alink> ah no,ok, for reading only 20100806 18:22:41< silene> alink: no, otherwise the wml would still execute without error; as i said, the attributes are no longer there, so it's not backward compatibel 20100806 18:22:44< silene> right 20100806 18:23:38< alink> so i need to write both keys until 1.9.2 20100806 18:24:09< alink> and I still see several "colour" in mainline wml 20100806 18:25:15< alink> ok thanks, I'll try to fix that later today. (I'll go afk soon) 20100806 18:26:43< alink> if I knew that this change was so much work, I would never started it :-/ 20100806 18:27:39< zookeeper> alink, i agree on being able to pick multiple terrains by ctrl-clicking on the palette 20100806 18:27:56< eleazar_> of the various "random brush" ideas the idea of control-clicking multiple terrains on the palette sounds best 20100806 18:27:59< zookeeper> sounds like a simple and convenient implementation 20100806 18:28:20< eleazar_> multiple-control clidking to adjust probability sounds too complex 20100806 18:28:43< eleazar_> i'd want a second control click to *un*select 20100806 18:28:58< alink> eleazar_: ah yes good point 20100806 18:30:28< eleazar_> alink: also re fixing the big editor brushes: Let me know if you want editor brushes to be constructed several single big 20100806 18:30:28< eleazar_> images, or little edge pieces that can be assembled. 20100806 18:31:10< CIA-87> silene * r45261 /trunk/src/ (9 files in 3 dirs): Simplified function naming. 20100806 18:31:15< CIA-87> silene * r45262 /trunk/src/ (config.cpp config.hpp scripting/lua.cpp): 20100806 18:31:15< CIA-87> Added visitors for converting config attributes. (Partial fix for bug #16363.) 20100806 18:31:15< CIA-87> This brings the profile footprint of pushing units to Lua tables from 15% to 5%. 20100806 18:32:23-!- timotei21 [~timotei@193.34.191.4] has joined #wesnoth-dev 20100806 18:33:23< alink> eleazar_: I was thinking as a simple hex overlay for starting. A brush using transition could be nice, but I need to check all the places needing such system and try to write a general function for them (brush,fog, shroud, maybe grid, lightmap, or unreachable) 20100806 18:34:37< eleazar_> OK, i should be able to turn out the 3 brush sizes pretty quick 20100806 18:35:14< alink> eleazar_: what do you mean ? 20100806 18:35:43< alink> just need transitions, so any brush sizes will be done in one step 20100806 18:36:09< eleazar_> i was replying to this: "I was thinking as a simple hex overlay for starting." 20100806 18:36:23< eleazar_> prehaps you mean something simpler than i thought? 20100806 18:36:34< eleazar_> i.e. like the old highlight method? 20100806 18:36:48< alink> yeah same 72x72 hex image repeated on the whole brush area 20100806 18:38:15< eleazar_> K 20100806 18:38:48< alink> OTOH we already draw and define the little icon image in editor/brushes.cfg, so it's true that we could reuse the same image with different size, but that's more work for limited gain 20100806 18:39:03< alink> s/size/scaling 20100806 18:40:04< eleazar_> i dont' see how scaling would work 20100806 18:41:34< zookeeper> or just draw the current image on every brush hex for starters 20100806 18:41:57< alink> zookeeper: yes I will start by that 20100806 18:42:48< alink> eleazar_: I mean if you gave me a big brush image (several 72x72 hexes), the image for the icon should be the same but scaled down (manually or automatically), but as I said it's more work for limited gain 20100806 18:42:53< alink> anyway, afk now 20100806 18:44:09< eleazar_> ah-- no that would actually be counter-productive. Shrinking large things to make little buttons only gives you indistinct pixel mush 20100806 18:44:18-!- timotei21 is now known as timotei 20100806 18:44:30-!- timotei [~timotei@193.34.191.4] has quit [Changing host] 20100806 18:44:30-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100806 18:44:43-!- Sirp [~me@wesnoth/developer/dave] has quit [Quit: ...] 20100806 18:46:37< CIA-87> zookeeper * r45263 /trunk/data/campaigns/ (3 files in 2 dirs): Added a few volcanoes to 'Isle of the Damned' in HttT as well as 'Cursed Isle' and 'Peoples in Decline' in TRoW. 20100806 18:49:22-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Remote host closed the connection] 20100806 19:04:40< CIA-87> eleazar * r45264 /trunk/images/editor/multi-hex-brush.png: a tile-able image for mutli-hex editor brushes. It looks a lot like my hex-selector, but trust me, it tiles much better. 20100806 19:04:56< eleazar_> alink: ^ 20100806 19:06:14-!- Trilby [~Augustus@87.114.205.238] has joined #wesnoth-dev 20100806 19:07:52< CIA-87> silene * r45265 /trunk/src/ (display.cpp display.hpp game_display.cpp): Cached the value of animate_map preference. Since it was queried every tile every frame, its footprint was not negligible. 20100806 19:09:45-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has quit [Read error: Connection reset by peer] 20100806 19:10:04-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20100806 19:22:29< anonymissimus> silene: after looking add_trait_description in unit.cpp it seems to me that "advance" does nothing that can't be done with object effect wml ? 20100806 19:23:09< anonymissimus> so maybe it is at best removed 20100806 19:24:35< silene> anonymissimus: while their addition has the same effect, it changes the place where things are added 20100806 19:26:38< silene> so i don't see much point in preventing using this modification type; for instance, someone may want to apply amla without having to advance units 20100806 19:29:29-!- Blarumyrran [~Blarumyrr@wesnoth/artist/blarumyrran] has joined #wesnoth-dev 20100806 19:33:07< CIA-87> silene * r45266 /trunk/src/ (variable.cpp variable.hpp): 20100806 19:33:07< CIA-87> Avoided copying scoped units. (Partial fix for bug #16363.) 20100806 19:33:07< CIA-87> This brings the profile footprint of variable_info from 9% to 4%. 20100806 19:33:47< anonymissimus> or may want to apply an advancement without playing advance animation ? 20100806 19:34:25< anonymissimus> like the [modify_unit]type= -thing 20100806 19:34:53< anonymissimus> is there a remove_modification functionality ? 20100806 19:35:54< Elvish_Pillage2> silene: is there any way to check whether a proxy unit in Lua is still valid? 20100806 19:36:24< silene> anonymissimus: no, the engine is unable to revert modifications; the way the engine does it is to restart from the unit type and reapply all the modifications 20100806 19:36:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100806 19:37:36< anonymissimus> so it is not possible to remove a trait, instantly at least ? 20100806 19:39:03< silene> Elvish_Pillage2: i don't think there is a clean way to do it; i guess you could write something like: function check_unit(u) local function dummy() return u.x end local check = pcall(check_unit) return check end 20100806 19:39:36< silene> anonymissimus: no 20100806 19:43:51< anonymissimus> ok, since the advance option doesn't add an amla advancement btu applies advancement effects instantly instead, it doesn't make sense to rename it 20100806 19:45:04< anonymissimus> my second suggestion is also bad since there's no [advance] tag 20100806 19:45:46< silene> boucman: do you know why unit_display::unit_attack create a temporary unit for the defender (but not for the attacker) instead of using it directly? 20100806 19:46:36< silene> (this amounts for 7% of the profile, so if it's useless, all the better) 20100806 19:47:24< anonymissimus> would you mind if I made the descriptions of the lua functions in the wiki better so that I would've undersood it :P 20100806 19:48:09< silene> please do 20100806 19:48:12< timotei> silene: you really take that seriously (the animation bug) 20100806 19:49:19< silene> timotei: the animation bug itself isn't that interesting; what's interesting is that, for the first time, we have something that is so heavyweight that profiling has time to detect bottlenecks in the engine 20100806 19:49:42< timotei> oh 20100806 19:49:44< timotei> right 20100806 19:49:56< timotei> maybe we could profile that for the 'cache loading' 'bug' too? 20100806 19:50:08< silene> which bug? 20100806 19:50:52< timotei> the "bug". the loading time of the cache which seemed broken in trunk 20100806 19:50:55< timotei> is that fixed? 20100806 19:51:27< silene> we already have profiled and we know what the bottleneck is (and it is partly fixed) 20100806 19:51:37< timotei> what was the cause? 20100806 19:52:19< silene> heavy usage of macros causing a flood of debug comments (locations) slowing down the parser 20100806 19:52:26< timotei> oh 20100806 19:52:53< silene> the location comments are now compressed, so the parser is less stressed 20100806 19:53:28< boucman> silene: the reason is I don't want the animation code to change the actual unit, so I need to make a copy in order to change the HP in order for the bars to decrease progressively 20100806 19:53:57< silene> boucman: the only modified thing is the hp? 20100806 19:53:58< boucman> I'm sure there is a better way to do it, but i'd really like the animation engine not to touch the unit data... 20100806 19:54:18< boucman> in the case of the defender, IIRC yes 20100806 19:55:07< silene> then i will just save and restore the hitpoints; copying several hundreds KB of data just for their sake is a bit overkill :-) 20100806 19:55:08< alink> and attacker when using drain 20100806 19:55:54< boucman> silene: you can do a quick check of the of the code in unit_display::unit_attack, but that should be it 20100806 19:56:30< boucman> alink: nope, the hp of the attacker doesn't grow progressively, it grows in one big chunk, which is due to the engine changing the hp... it's the progressive sliding that makes me make the copy 20100806 19:56:36< boucman> ok, afk again for ~20' 20100806 20:00:49< Elvish_Pillage2> silene: does wesnoth.find_reach (without ignore_units) return locations that contain other units of yours? 20100806 20:02:14< silene> Elvish_Pillage2: i think so, and allies too 20100806 20:08:30< alink> eleazar_: about multi-hex brush (thanks for the image btw), do I do something too with the 2 little terrain images which are currently only on the mouseover hex ? 20100806 20:09:18< alink> I also wonder what do with them if/when more>2 terrains is allowed 20100806 20:09:32< eleazar_> alink: i don't have a better idea than just to leave them as they are 20100806 20:09:42< eleazar_> for mutlipe selection-- yeah that's tricky 20100806 20:10:15< alink> ok, I will see that later then 20100806 20:10:43< eleazar_> i guess you can just keep shrinking the little thumbnails 20100806 20:11:47< alink> I could draw a pie chart into the hex ;-p (but that's too much work to code ) 20100806 20:12:21< alink> but i wonder if dividing the hex in 2 parts and draw half image of each terrains would be more clear 20100806 20:12:49< CIA-87> silene * r45267 /trunk/src/unit_display.cpp: 20100806 20:12:49< CIA-87> Used the original defender and restored its hitpoints instead of copying it to a temporary unit. (Partial fix for bug #16363.) 20100806 20:12:49< CIA-87> This brings the profile footprint of unit_attack from 7% to negligible. 20100806 20:12:50< eleazar_> for multiple selected hexes or just normal? 20100806 20:13:19< alink> just 2, but indeed that will not work for more >2 20100806 20:13:23-!- Trilby [~Augustus@87.114.205.238] has quit [Quit: Leaving] 20100806 20:16:32-!- Golbeeze [~Golbeeze@c-76-124-219-232.hsd1.nj.comcast.net] has joined #wesnoth-dev 20100806 20:16:38< Golbeeze> Elvish_Pillager: are you here? 20100806 20:16:42< Elvish_Pillage2> yes 20100806 20:16:46< boucman> back 20100806 20:17:52< Golbeeze> excellent...So I want to replace berserk with rage when a unit is sacrificed. However, I looked at the definition of berserk and I saw that it has a value=30 in it. I was wondering if I could simply modify the value of berserk when the unit is sacrificed to 3? 20100806 20:18:04< Elvish_Pillage2> you could. 20100806 20:18:12< Golbeeze> Would it just be a matter of altering the variable at the time of the sac? 20100806 20:18:24< Elvish_Pillage2> no 20100806 20:18:27< Golbeeze> darn 20100806 20:18:30< Elvish_Pillage2> then the change wouldn't remain when the unit levelld 20100806 20:18:36< Golbeeze> ah 20100806 20:18:41< Elvish_Pillage2> let's see... 20100806 20:19:01< Elvish_Pillage2> ooh, I think there's a good way to do it 20100806 20:19:46< Golbeeze> Originally I was thinking of doing an [if] it has a [berserk] attack then replace it somehow with [rage] but I don't know how to filter and replace it. Also, I figured there would be an easier way. 20100806 20:20:13< Elvish_Pillage2> [effect] name=attack special=(whatever the id of the berserk special is) remove_specials=(the same id) [set_specials] (the rage special) [/specials] [/effect] 20100806 20:20:24< Elvish_Pillage2> apply that effect to the unit 20100806 20:20:45< Elvish_Pillage2> e.g. with [object] silent=yes 20100806 20:21:22< Golbeeze> ok cool 20100806 20:25:45< Golbeeze> wouldn't I need to filter the attack for berserk? 20100806 20:25:49< Golbeeze> before all that 20100806 20:27:02< CIA-87> alink * r45268 /trunk/ (6 files in 4 dirs): 20100806 20:27:02< CIA-87> Fix bug #16347 (broken big editor brush area) 20100806 20:27:02< CIA-87> Now use a repeated overlay similar to the mouseover overlay. 20100806 20:41:24< Golbeeze> It didn't work EP. 20100806 20:41:27< CIA-87> boucman * r45269 /trunk/data/core/images/terrain/bridge/ (6 files): small update on the stonebridge provided by lurker 20100806 20:41:49< Elvish_Pillage2> Golbeeze: you did something wrong 20100806 20:42:03< Elvish_Pillage2> also, it DOES filter the attack for berserk: the special= line does the filtering 20100806 20:42:07< Elvish_Pillage2> oh... 20100806 20:42:10< Elvish_Pillage2> apply_to=attack, not name=attack 20100806 20:42:21< Golbeeze> ah 20100806 20:44:31< Golbeeze> there we go, it worked :) 20100806 20:44:35< Elvish_Pillage2> yay :) 20100806 20:44:37< Golbeeze> thanks again! 20100806 20:55:34-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100806 20:58:41-!- Golbeeze [~Golbeeze@c-76-124-219-232.hsd1.nj.comcast.net] has quit [Quit: So long King Bowser!] 20100806 21:00:44-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Ping timeout: 240 seconds] 20100806 21:14:19-!- Blueblaze [~Blueblaze@adsl-99-148-245-166.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100806 21:33:01-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100806 21:36:00-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100806 21:39:28-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 240 seconds] 20100806 21:41:26-!- Kiba [~user@adsl-88-79-243.asm.bellsouth.net] has joined #wesnoth-dev 20100806 21:41:37-!- Kiba [~user@adsl-88-79-243.asm.bellsouth.net] has left #wesnoth-dev ["ERC Version 5.3 (IRC client for Emacs)"] 20100806 21:47:44< CIA-87> alink * r45270 /trunk/src/ (5 files): Also write "colour" in WML for backward compatibility until 1.9.2 20100806 21:57:55-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Remote host closed the connection] 20100806 22:00:58-!- Gambit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100806 22:00:58-!- Gambit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has quit [Changing host] 20100806 22:00:58-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100806 22:13:03< Elvish_Pillage2> silene: I'm having trouble with the Lua AI syntax. I mostly copied from scenario-lua-ai.cfg, but in my [stage] engine=lua code="(...):do_moves()" [/stage] it's giving the lua runtime error "[string "(...):do_moves()"]:1: attempt to index a function value" 20100806 22:16:21< billynux> anybody knowledgeable of the threading implementation of the game? (threading::waiter, threading::async_operation) 20100806 22:18:20< silene> Elvish_Pillage2: the "..." is the parameter passed by the engine; it should be the return value of the [engine] tag; the error message seems to say that this return value is a function instead of a table 20100806 22:18:43< Elvish_Pillage2> hmm, I've got a mismatched end in here, that might cause it 20100806 22:20:38-!- Sirp [~me@wesnoth/developer/dave] has joined #wesnoth-dev 20100806 22:22:10< billynux> lua/lcode.c:243 error: ‘v’ may be used uninitialized in this function (?) 20100806 22:25:13< CIA-87> silene * r45271 /trunk/src/ (config.cpp config.hpp): Avoided creating blank attributes when doing complete copies. 20100806 22:25:16< CIA-87> silene * r45272 /trunk/src/game_events.cpp: Added missing 'colour'. 20100806 22:26:12-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Remote host closed the connection] 20100806 22:26:24-!- Sapient [~patrickp@wesnoth/developer/sapient] has joined #wesnoth-dev 20100806 22:27:17< Sapient> silene: [filter_wml] is an abomination... why not just add support for [variables] check directly to the SUF ? 20100806 22:28:03< Sapient> I regret that [filter_wml] was ever added 20100806 22:28:21-!- Gambit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100806 22:28:21-!- Gambit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has quit [Changing host] 20100806 22:28:21-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100806 22:28:57< Sapient> because it became an excuse to stop updating the natural attribute support 20100806 22:30:44< Sapient> so... it has resulted in more work for the engine (serialization) and more work for the WML author (typing [filter_wml][/filter_wml]) 20100806 22:31:28-!- ABCD [~abcd@gentoo/developer/abcd] has quit [Ping timeout: 240 seconds] 20100806 22:31:46< Elvish_Pillage2> sapient: it still gives that error message if the entirety of the lua engine is "return {}". 20100806 22:32:34< Sapient> Elvish_Pillage2: you probably meant to ping someone else there...? 20100806 22:32:40< Elvish_Pillage2> crap 20100806 22:32:41< Elvish_Pillage2> yeah 20100806 22:32:42< Elvish_Pillage2> silene 20100806 22:36:01< silene> Sapient: i agree that [filter_wml] is ugly; at least now [filter_wml][variables] is as fast as it can possibly be 20100806 22:36:19< silene> Elvish_Pillage2: strange 20100806 22:36:48< Elvish_Pillage2> silene: how would I tell Wesnoth to run the test scenario (to make sure that doesn't break for me too)? 20100806 22:37:28< silene> Elvish_Pillage2: type "wesnoth -t lua_ai path/to/wesnoth" 20100806 22:39:08< Elvish_Pillage2> sure enough, it works 20100806 22:47:46< silene> Elvish_Pillage2: another possibility would be that your engine is returning nil or nothing; that would confuse the ai sufficiently so that it mistakes the engine with another function 20100806 22:48:59< silene> Elvish_Pillage2: are you doing the engine change from your era or is it the native ai of a side? 20100806 22:49:15< Elvish_Pillage2> native AI; this is a separate thing 20100806 22:49:26< Elvish_Pillage2> it's directly in [side] [ai] [engine] name=lua 20100806 22:51:14-!- ABCD [~abcd@gentoo/developer/abcd] has joined #wesnoth-dev 20100806 22:52:34< elias> hm, someone with a git-svn checkout should make a Gource video of wesnoth 20100806 22:56:19< silene> Elvish_Pillage2: no idea then; i would check a last time that code= was not mistyped; but other than that... 20100806 22:57:06< silene> in fact, you could put an "assert(false)" in the engine code, just to be sure that it is executed 20100806 22:57:16< Elvish_Pillage2> right, trying that now 20100806 22:58:20< Elvish_Pillage2> sure enough, the engine code is not executing 20100806 23:01:37-!- Gallaecio [~Gallaecio@191.148.60.213.dynamic.mundo-r.com] has joined #wesnoth-dev 20100806 23:03:17-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100806 23:07:22< boucman> hey gabba 20100806 23:07:33< gabba> hey boucman 20100806 23:07:58< boucman> so, how is it going ? 20100806 23:09:18< gabba> slow week, unfortunately. A friend asked me to help reinstall his Windows XP laptop and I foolishly gave in... what a time-eater. 20100806 23:09:31< boucman> yeah :/ 20100806 23:09:52< gabba> Anyways I'll probably finish recall and "dead" actions today 20100806 23:10:15< gabba> Monday I overhaul the arrows so artists can contribute 20100806 23:10:17< boucman> k, good, do we have all actions avter that, or do we still miss something ? 20100806 23:10:27< gabba> nope, that's all of them I think 20100806 23:10:45< boucman> recall does cover recruit, doesn't it ? 20100806 23:11:23< gabba> recruit is already implemented; recall is different enough that I'm making it a separate action with its own class 20100806 23:11:34< boucman> ok 20100806 23:12:57< gabba> The only immediate annoyance remaining to solve is that you can't yet recruit/recall OOT, so I'll have to fix that next week too. 20100806 23:13:21< boucman> gabba: that and heavy testing, and we should be good, then 20100806 23:14:25< CIA-87> silene * r45273 /trunk/src/ (ai/lua/core.cpp scripting/lua.cpp): Changed misleading name: push should push. 20100806 23:14:26< gabba> yes, heavy testing will probably uncover more bugs 20100806 23:14:29< CIA-87> silene * r45274 /trunk/src/ai/lua/core.cpp: Avoided arbitrary return stack. 20100806 23:14:49< boucman> gabba: try to play games with someone else than me... 20100806 23:14:50-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100806 23:15:25< gabba> boucman: I'll recruit some guinea pigs :D 20100806 23:15:31< boucman> :P 20100806 23:19:46-!- silene [~plouf@wesnoth/developer/silene] has quit [Quit: Leaving.] 20100806 23:25:37-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100806 23:27:48-!- Gallaecio [~Gallaecio@191.148.60.213.dynamic.mundo-r.com] has quit [Remote host closed the connection] 20100806 23:28:18-!- wesbot changed the topic of #wesnoth-dev to: 133 bugs, 286 feature requests, 13 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100806 23:32:53-!- Greywhind [~Greywhind@fw-34-18.cs.brown.edu] has quit [Quit: leaving] 20100806 23:39:05< CIA-87> timotei * r45275 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/ (5 files in 2 dirs): 20100806 23:39:05< CIA-87> eclipse plugin: move some methods to a better place 20100806 23:39:05< CIA-87> to reflect their usage targets 20100806 23:39:26< CIA-87> timotei * r45276 /trunk/data/tools/wesnoth/wmlparser2.py: add xml header with version and encoding when generating xml 20100806 23:39:50< CIA-87> timotei * r45277 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/ (8 files in 4 dirs): eclipse plugin: add parsing of macro defines from file 20100806 23:40:06< CIA-87> timotei * r45278 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/ (6 files in 4 dirs): 20100806 23:40:06< CIA-87> eclipse plugin: add reading defines after _main.cfg preprocessing 20100806 23:40:06< CIA-87> and push the resulted file to subsequent files. In the end 20100806 23:40:06< CIA-87> parse the macros in memory so we can use them for autocompletion 20100806 23:40:06< CIA-87> and other checkings 20100806 23:40:11-!- AnMaster [~AnMaster@unaffiliated/anmaster] has quit [Quit: ZNC - http://znc.sourceforge.net] 20100806 23:40:25< CIA-87> timotei * r45279 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/utils/PreprocessorUtils.java: 20100806 23:40:25< CIA-87> eclipse plugin: add integer return values instead of boolean 20100806 23:40:25< CIA-87> so we can have a broader variety to choose from 20100806 23:40:46< CIA-87> timotei * r45280 /trunk/src/game.cpp: 20100806 23:40:46< CIA-87> add return code '1' in case of errors, since some 20100806 23:40:47< CIA-87> command line tools will use that 20100806 23:41:04< CIA-87> timotei * r45281 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/builder/WesnothProjectBuilder.java: 20100806 23:41:04< CIA-87> eclipse plugin: skip reading defines if 20100806 23:41:04< CIA-87> no modification were done to "_main.cfg" 20100806 23:41:23< CIA-87> timotei * r45282 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/utils/ (PreprocessorUtils.java ResourceUtils.java): 20100806 23:41:23< CIA-87> eclipse plugin: ensure the file is created 20100806 23:41:23< CIA-87> by creating any non-existent subsequent directories 20100806 23:41:42< CIA-87> timotei * r45283 /trunk/ (6 files in 5 dirs): enhance the output shown to the user 20100806 23:42:02< CIA-87> timotei * r45284 /trunk/utils/java/eclipse_plugin/META-INF/MANIFEST.MF: eclipse plugin: export the preprocessor package 20100806 23:42:24< CIA-87> timotei * r45285 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/utils/ProjectCache.java: 20100806 23:42:24< CIA-87> eclipse plugin: read existing defines (if any) 20100806 23:42:24< CIA-87> when creating the cache for each project 20100806 23:42:41< CIA-87> timotei * r45286 /trunk/utils/java/org.wesnoth.wml.ui/ (2 files in 2 dirs): eclipse plugin: add autocompletion for macro calls 20100806 23:43:06< CIA-87> timotei * r45287 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/preprocessor/ (Define.java DefinesSAXHandler.java): eclipse plugin: parse the arguments of the macro in the defin 20100806 23:43:21< CIA-87> timotei * r45288 /trunk/utils/java/ (2 files in 2 dirs): eclipse plugin: add macro parameters 20100806 23:43:41< CIA-87> timotei * r45289 /trunk/utils/java/ (33 files in 6 dirs): Convert CRLF to LF 20100806 23:44:04< CIA-87> timotei * r45290 /trunk/data/gui/default/window/data_manage.cfg: Convert CRLF to LF 20100806 23:44:35< CIA-87> timotei * r45291 /trunk/projectfiles/ (7 files in 3 dirs): Convert CRLF to LF 20100806 23:44:44< CIA-87> timotei * r45292 /trunk/utils/java/org.wesnoth.wml.ui/ (8 files in 2 dirs): eclipse plugin: add suport for external files 20100806 23:45:03< CIA-87> timotei * r45293 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/ (3 files in 2 dirs): eclipse plugin: add support for external files - part 2 20100806 23:45:23< CIA-87> timotei * r45294 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/xtext/EFSEditorInput.java: eclipse plugin: add proper function for checking equality 20100806 23:45:43< CIA-87> timotei * r45295 /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/utils/ (EditorUtils.java PreprocessorUtils.java): 20100806 23:45:43< CIA-87> eclipse plugin: refactor the way the editors 20100806 23:45:43< CIA-87> are used and add returns values for some methods 20100806 23:46:05< CIA-87> timotei * r45296 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/navigation/ (FileLocationOpenerHyperlink.java WMLHyperlinkHelper.java): eclipse plugin: add skeleton for going to macro definitions 20100806 23:46:28< CIA-87> timotei * r45297 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/ (17 files in 6 dirs): 20100806 23:46:28< CIA-87> eclipse plugin: replace the curent IEFS handlers with 20100806 23:46:28< CIA-87> better ones, that can allow much more features 20100806 23:46:55< timotei> ok, this pretty spammed the chat:| 20100806 23:48:01< Elvish_Pillage2> silene: omitting the version= line from the [ai] tag makes the lua ai test scenario give the same error. 20100806 23:48:20< Elvish_Pillage2> the AI-customizing page on the wiki doesn't even mention version=... 20100806 23:49:42< CIA-87> timotei * r45298 /trunk/utils/java/org.wesnoth.wml.ui/ (6 files in 3 dirs): svn propfix 20100806 23:49:58< CIA-87> timotei * r45299 /trunk/utils/java/org.wesnoth.wml.ui/src/org/wesnoth/ui/xtext/: remove empty directory 20100806 23:50:32-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: Leaving] 20100806 23:52:45-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has quit [] 20100806 23:59:36-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev --- Log closed Sat Aug 07 00:00:36 2010