--- Log opened Sat Jul 10 00:00:05 2010 --- Day changed Sat Jul 10 2010 20100710 00:00:05-!- Unnheulu|Laptop [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100710 00:00:06< mordante> billynux, I just added some changes locally to disable the old code when ANA is selected see what the compiler thinks of it 20100710 00:00:39< mordante> still not sure why you get that exception 20100710 00:00:46< billynux> mordante, ok, commit and let me see 20100710 00:01:13< billynux> mordante, ah... that's easy. Someone is attempting to read but hasn't created a server or a client first 20100710 00:01:17< CIA-87> boucman * r44059 /trunk/data/core/terrain-graphics/ (5 files): fix various problems detected by wmlscope 20100710 00:01:21< gabba> boucman: I'm not very happy at show_attack_dialog being a private method in mouse_handler (mouse_events.cpp:716). I'm gonna make it public for now. Fortunately it has no reference to the mouse_handler member variables, so it would be easy to move out eventually. 20100710 00:01:38-!- Shakey [HydraIRC@c-71-201-89-187.hsd1.il.comcast.net] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!] 20100710 00:01:41< billynux> mordante, the error might be from something similar as before (my code not contemplating another form of creating them) 20100710 00:02:21< boucman> gabba: remember that the UI class was very self contained so far... I think it's normal you have to de-privatize some functions 20100710 00:02:29-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Remote host closed the connection] 20100710 00:02:30< mordante> billynux, ok 20100710 00:02:36-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 00:02:58< gabba> boucman: ok 20100710 00:03:07< shadowmaster> remind me to slap jb for using HydraIRC 20100710 00:04:43-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has quit [Quit: Leaving] 20100710 00:07:25< billynux> mordante, what were your changes? 20100710 00:08:58< mordante> billynux, adding a -DUSE_ANA and disable the code in network[worker|],[c|h]pp depending on that swith 20100710 00:09:26< mordante> however my compiler is still running and some other compilations as well so not sure whether it works/will work 20100710 00:09:32< esr> boucman: Any better luck with the wmlscope messages? 20100710 00:10:00< billynux> mordante, ok 20100710 00:10:03< mordante> and also not sure it will complete before I call it a night 20100710 00:10:11< mordante> when are you around this weekend 20100710 00:10:14< mordante> ? 20100710 00:10:16-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100710 00:10:21-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 00:10:24-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has left #wesnoth-dev [] 20100710 00:10:32-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 00:10:44< billynux> I can be on pretty much all the time, but if we agree on it 20100710 00:10:56< boucman> esr: see my commit above:) 20100710 00:11:12< esr> Ah. Thanks. 20100710 00:11:24< boucman> no,thx for reminding me 20100710 00:12:39< esr> Now that you know how to run that check, pleaser do it when you change macros. You'll catch bugs that ay that you wouldn't by eyeball. 20100710 00:13:02< boucman> will do 20100710 00:13:41< boucman> night all 20100710 00:13:47-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100710 00:18:12< billynux> mordante, Any time, but we should agree on it. 20100710 00:18:45< mordante> tomorrow I might be available in the evening here, but not sure 20100710 00:18:56< mordante> Sunday I'll be around all day 20100710 00:20:41< mordante> 20:30 gmt+2 seems like an ideal time to be on irc ;-) 20100710 00:21:20< mordante> but not sure whether you agree on that part ;-) 20100710 00:23:24< loonycyborg> mordante: I'd prefer to avoid -DUSE_ANA 20100710 00:23:32< mordante> loonycyborg, why? 20100710 00:23:41< loonycyborg> I like billynux way better. 20100710 00:24:00< billynux> mordante, That's fine, 15:30 gmt-3 for me tomorrow 20100710 00:24:18< loonycyborg> *billynux's 20100710 00:24:18< mordante> loonycyborg, I want to use it to make sure no old network code is used 20100710 00:24:34< shadowmaster> loonycyborg: yeah, I was interpreting it in a different way without 's :/ 20100710 00:25:02< mordante> billynux, line I said not sure whether I be around on Saturday, meeting some friends and not sure what time I get home 20100710 00:25:26< billynux> loonycyborg, mordante : I think if you USE_ANA.. it shouldn't even build the sdl code 20100710 00:25:39< billynux> :D :D 20100710 00:25:49< mordante> for Sunday I've no plans and expect to be on irc most of the day 20100710 00:25:57< loonycyborg> mordante: These defines cause full recompiles when you change the setting. 20100710 00:26:01< mordante> billynux, it should not, but I like to make sure 20100710 00:26:35< loonycyborg> And applied -D flags to only some sources might get goddamn confusing. 20100710 00:26:47< mordante> loonycyborg, true but at least I like to make sure all works fine without the SDL code 20100710 00:26:54< billynux> mordante, ok. I'll be on and off tomorrow too and try to be on most of the time on sunday (my girlfriend won't approve though :) ) 20100710 00:27:19< billynux> (she wouldn't approve of loonycyborg's comment withot the 's either :D ) 20100710 00:27:20< mordante> loonycyborg, at least I like to test it locally, no real need to commit it per se 20100710 00:27:43< loonycyborg> Great! :) 20100710 00:27:44-!- elvish_sovereign is now known as Deftly 20100710 00:28:08< mordante> but I want to make sure it works properly 20100710 00:28:31< billynux> mordante, test away! :) 20100710 00:29:07< mordante> billynux, ok we'll see just see when you have time to be around on Sunday 20100710 00:29:26< billynux> mordante, still, I need to modify CMake or the other build sys. to compile everything with ana (i.e. wesnothd too) 20100710 00:29:35< billynux> mordante, I thought you were going to commit that 20100710 00:29:40< mordante> I still have some other things to do on Sunday, but expect to be on irc while doing other things 20100710 00:30:26< mordante> billynux, if testing is successful yes, but that doesn't mean I need to add the -D switch everywhere can also omit the files 20100710 00:30:37< mordante> as long as their code is unused 20100710 00:30:54< billynux> hm, didn't parse that 20100710 00:31:04-!- Deftly is now known as elvish_sovereign 20100710 00:31:49< mordante> I can use the -D switch for testing and when that works remove the network.cpp and network_worker.cpp from the list of sources when ANA is disabled 20100710 00:32:19< mordante> but a -D switch will show errors before the linking stage 20100710 00:32:40< AI0867> billynux: I just switched the default of --enable-ana (or analogue) for scons and autotools, is that okay? 20100710 00:32:59< mordante> AI0867, does it compile properly? 20100710 00:33:27< billynux> we were discussing this... and I thought the idea was to only have this for CMake 20100710 00:33:47< billynux> but the more people testing it, the better 20100710 00:33:49< AI0867> scons does 20100710 00:34:00< mordante> IMO if it works on other build systems I'm in favour of switching 20100710 00:34:01< AI0867> and it's just chaning False to True or no to yes 20100710 00:34:16< billynux> AI0867, please login to the official server 20100710 00:34:17< billynux> :) 20100710 00:35:41< billynux> if you run from console you'll get a bunch of annoying debug messages 20100710 00:35:48< AI0867> it's taking a while 20100710 00:35:56< AI0867> DEBUG: connect2 20100710 00:35:56< AI0867> DEBUG: connect 20100710 00:35:56< AI0867> DEBUG: Creating client and connecting... 20100710 00:35:56< AI0867> DEBUG: Constructing a new ana_connect_handler... 20100710 00:35:56< AI0867> DEBUG: Connection attempt timed out 20100710 00:35:58< AI0867> DEBUG: Terminating an ana_connect_handler... 20100710 00:36:01< AI0867> DEBUG: Caught an exception while trying to connect. 20100710 00:36:03< AI0867> [1] 25523 segmentation fault ./wesnoth -s 20100710 00:36:16< AI0867> still want me to commit that? 20100710 00:36:33< billynux> :( 20100710 00:37:12< billynux> timed out would be fine, the segfault no 20100710 00:37:54< AI0867> creating a server also fails, but without a segfault 20100710 00:38:09< billynux> AI0867, yes, the server is not testable ATM 20100710 00:38:10< AI0867> er, the client doesn't die 20100710 00:38:12< AI0867> but the server does 20100710 00:38:26< loonycyborg> If there's a segfault after catching an exception then it's probably not exception safe :P 20100710 00:38:38< mordante> :-) 20100710 00:38:53-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has left #wesnoth-dev [] 20100710 00:39:08< billynux> so, AI0867, if you try to connect to the official server 20100710 00:39:10 * mordante misses captain obvious ;-) 20100710 00:39:13< billynux> you get a time out event 20100710 00:39:29< billynux> but no segfault? 20100710 00:39:33< AI0867> DEBUG: Constructing a new ana_receive_handler... 20100710 00:39:33< AI0867> DEBUG: Read a buffer of size 84 20100710 00:39:33< AI0867> [error] message = Invalid WML received: failed to uncompress 20100710 00:39:33< AI0867> [/error] 20100710 00:39:35< AI0867> Buffer has something. 20100710 00:39:37-!- shadowmaster is now known as Capt_Obvious 20100710 00:39:40< AI0867> this is attempt #2 at joining the MP server 20100710 00:39:48< Capt_Obvious> if it's segfaulting then it's a bug. 20100710 00:39:59-!- Capt_Obvious is now known as shadowmaster 20100710 00:40:09< billynux> :) 20100710 00:40:10< AI0867> it still runs 20100710 00:40:21< AI0867> it just doesn't get off the login screen 20100710 00:40:44< billynux> that is ok, the invalid WML isn't 20100710 00:41:17< billynux> I have gotten that error before, but didn't debug it at that time 20100710 00:41:47< AI0867> so, do you want the changes to scons and autotools in, like cmake? 20100710 00:42:02< billynux> this shouldn't be a SCons problem 20100710 00:42:13< billynux> mordante, what do you think? 20100710 00:42:20< billynux> me? yes, I would like them in 20100710 00:42:31< AI0867> attempt #3: 20100710 00:42:32< AI0867> DEBUG: Constructing a new ana_send_handler... 20100710 00:42:33< AI0867> DEBUG: Received id 36290 20100710 00:42:33< AI0867> DEBUG: Terminating an ana_send_handler... 20100710 00:42:33< AI0867> DEBUG: Terminating an ana_connect_handler... 20100710 00:42:35< AI0867> DEBUG: get_receive_stats 20100710 00:42:38< AI0867> Receive stats: 0,0,0 20100710 00:42:40< AI0867> terminate called after throwing an instance of 'std::runtime_error' what(): Global Buffer Queue here? 20100710 00:42:44< AI0867> [1] 27825 abort ./wesnoth -s 20100710 00:42:50< billynux> AI0867, you have an old version 20100710 00:42:58< billynux> 7up -> svn up 20100710 00:43:10< AI0867> r44038 20100710 00:43:30< AI0867> svn up had some changes, yes 20100710 00:44:38< billynux> AI0867, let me know after recompilation 20100710 00:45:25< billynux> I should try the version without debug options, it slows the code, sometimes hiding some bugs 20100710 00:46:01< mordante> billynux, brb Rhonda tricked me into watching youtube 20100710 00:46:07< billynux> :) 20100710 00:49:08< loonycyborg> mordante: Did she rickroll you? :P 20100710 00:49:18-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100710 00:50:08-!- Gambit_ [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100710 00:52:17< billynux> mordante, when you come back, do you think I should enable wesnothd to link to the ana implementation? Involves changing lines 641, 642 in src/CMakeLists.txt to ${network_implementation_files} 20100710 00:52:55< loonycyborg> Yes if you want to work on it :P 20100710 00:53:37-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has quit [Ping timeout: 245 seconds] 20100710 00:53:38< loonycyborg> *it* being making server work using it.. 20100710 00:53:50-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100710 00:54:23< billynux> loonycyborg, yep, its what I was thinking, no point to even ask. But this will break wesnothd until I finish an initial implementation 20100710 00:54:29-!- Gambit_ is now known as Gambit 20100710 00:54:42< billynux> say... next week? :) 20100710 00:54:46< mordante> loonycyborg, no she posted some links on her blob 20100710 00:55:23< loonycyborg> blob == binary large object? :P 20100710 00:55:37< shadowmaster> blog 20100710 00:55:37< billynux> that doesn't sound right :) 20100710 00:55:52< mordante> blob == mordante can't type ;-) 20100710 00:56:17< billynux> Freud FTW 20100710 00:56:51< mordante> only youtube is addictive... 20100710 00:58:54< billynux> hm, won't I have linker issues with that network_worker call that was laying around? 20100710 00:59:48< mordante> billynux, maybe first fix the known bug in wesnothd before enabling ANA for it 20100710 01:00:10< mordante> it doesn't make much sense to ask people to test when known bugs exist 20100710 01:00:31< billynux> mordante, known bug? 20100710 01:01:12< mordante> billynux, if we know the server won't work properly after enabling it on other build systems I prefer to fix that before enabling it 20100710 01:01:28< billynux> I only ask the testing of the client app 20100710 01:01:45< billynux> but building with the USE_ANA.. flag will compile everything with it 20100710 01:02:01< mordante> I like to enable that, but afaik for the other build systems enabling ANA enables both server and client 20100710 01:02:52< loonycyborg> billynux: Is addon dialog supposed to work with ana enabled? 20100710 01:03:12-!- phlaem [~a@e178082210.adsl.alicedsl.de] has quit [Quit: Leaving] 20100710 01:03:46< billynux> loonycyborg, "addon dialog?" 20100710 01:04:39< loonycyborg> Main menu-> Add-ons 20100710 01:05:21< billynux> loonycyborg, It should, if it doesn't use the network api 20100710 01:05:47< loonycyborg> It does. 20100710 01:06:28< billynux> loonycyborg, did it compile and crash when entering it? 20100710 01:06:46< loonycyborg> It hung *hard*. 20100710 01:07:13-!- Gambit_ [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100710 01:07:39-!- alink [~alink@wesnoth/developer/alink] has quit [Remote host closed the connection] 20100710 01:08:44< billynux> loonycyborg, do you know what is the code for the addon that uses the net api? 20100710 01:08:56< loonycyborg> And I've got 'invalid WML' error from MP too. 20100710 01:09:16< loonycyborg> shadowmaster worked on it recently. 20100710 01:09:29< shadowmaster> ? 20100710 01:09:41< shadowmaster> I haven't. 20100710 01:10:18< loonycyborg> You definitely worked on something addon related. 20100710 01:10:19-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has quit [Ping timeout: 240 seconds] 20100710 01:10:24-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100710 01:10:35< shadowmaster> I have a refactoring in progress in my laptop but that's not been committed. 20100710 01:10:37< billynux> loonycyborg, this invalid WML may be due to the way I uncompress things, the read_gz works fine for me, but it may not be the case for everybody 20100710 01:10:43< shadowmaster> besides that, some dependency tracking patch from FAAB 20100710 01:10:58< loonycyborg> billynux: It works with local server, but not with wesnoth.org 20100710 01:11:15< billynux> hm... 20100710 01:11:28< CIA-87> ai0867 * r44060 /trunk/ (SConstruct configure.ac): Flip the 'use ana' switch's default to true for scons and autotools 20100710 01:11:40< AI0867> typical case of "wrong button" 20100710 01:11:47< shadowmaster> sure we want it enabled by deafult? ;) 20100710 01:11:52< billynux> :) 20100710 01:11:53< AI0867> but I haven't run into any segfaults since the svn up 20100710 01:11:58< shadowmaster> *default right now 20100710 01:12:02< loonycyborg> I for one am not :P 20100710 01:12:37< billynux> well... it would enable more people testing it 20100710 01:12:54< AI0867> well, you have a bunch of errors to work on =P 20100710 01:12:59< billynux> yes :( 20100710 01:13:04< AI0867> terminate called after throwing an instance of 'std::runtime_error' what(): TODO:Not implemented accept_connection 20100710 01:13:20< billynux> AI0867, yes... th server isn't testable ATM 20100710 01:13:31< loonycyborg> billynux: I just tested it and I say enable it when you make addons and wesnoth.org server work. 20100710 01:13:38-!- Gambit_ [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has quit [Ping timeout: 240 seconds] 20100710 01:14:19< billynux> loonycyborg, where is that addons code? 20100710 01:14:32-!- Appleman1234 [~Appleman1@CPE-60-226-178-176.qld.bigpond.net.au] has joined #wesnoth-dev 20100710 01:18:27< billynux> you can still compile with the flag off, but it would have to be done explicitly, and this is annoying 20100710 01:18:57< billynux> mordante, around? 20100710 01:19:08< loonycyborg> Most people will probably not bother to research. They'll just say that trunk is broken :P 20100710 01:19:16< billynux> indeed 20100710 01:19:26< mordante> billynux, kind of, still hanging around on youtube ;-) 20100710 01:19:28< AI0867> revert all three systems? 20100710 01:19:36< billynux> one sec AI0867 20100710 01:19:43< billynux> I wan't to commit a CMake change 20100710 01:19:59< billynux> fixing link issues for the server 20100710 01:20:20< billynux> AI0867, you can revert the other two if you want to now 20100710 01:20:41< billynux> when will upload_log be finally removed? 20100710 01:20:45< billynux> Ivanovic, ^ ? 20100710 01:21:24< AI0867> if noone does something useful with it, yes 20100710 01:22:00< mordante> norbert_ wanted to do something with the upload log, not sure of the status 20100710 01:22:11< mordante> maybe ask him when he joins irc 20100710 01:22:11< billynux> AI0867, I removed it for 1.8 I think 20100710 01:22:42< mordante> for 1.8 it's removed my remarks were regarding trunk 20100710 01:23:02< billynux> mordante, It's now the thing keeping me from compilation without SDLnet 20100710 01:23:37< billynux> mordante, (I'm trying to change CMake files so as to remove SDLnet entirely when USE_ANA is selected) 20100710 01:24:55< mordante> which makes me in favour to remove the code from trunk as well 20100710 01:25:53< billynux> :) 20100710 01:26:02< billynux> mordante, we are about to revert the default flag 20100710 01:26:28< billynux> general opinion is: set it to default after it's functional 20100710 01:26:43< billynux> e.g. the addons hang and the server doesn't even run 20100710 01:27:30< mordante> that's why I already thought it wouldn't be a good idea to enable for scons/cmake ;-) 20100710 01:28:04< mordante> s/cmake/autotools/ 20100710 01:28:44< billynux> is it just a few of us using CMake? or you selectively wanted to bug people using CMake? :) 20100710 01:29:02< billynux> AI0867, go ahead and reverse scons/autotools 20100710 01:29:07< mordante> no but in cmake we at least don't activate the server ;-) 20100710 01:29:34< mordante> if the addons are also broken we might need to revert for cmake as well 20100710 01:30:13< billynux> even though it's not very testable ATM, the comments from the previous hour helped me 20100710 01:30:24< mordante> good :-) 20100710 01:30:29< billynux> mordante, yes, I agree, I'm doing it now 20100710 01:30:34< mordante> ok 20100710 01:30:51< loonycyborg> billynux: The addon code seems to be in src/addon/* 20100710 01:31:07< loonycyborg> Not sure whether network stuff is there too. 20100710 01:31:09< mordante> billynux, shadowmaster last worked on the addon code 20100710 01:32:07< shadowmaster> I explained above what was the last thing I did there. 20100710 01:32:09< CIA-87> billynux * r44061 /trunk/src/CMakeLists.txt: Reverts the default to use ana to OFF in CMake and, if selected, builds the server with it. 20100710 01:32:10< billynux> shadowmaster, everybody is pointing at you :) 20100710 01:32:38< mordante> shadowmaster, ok missed that 20100710 01:32:41< billynux> don't worry, I'll see what's wrong there 20100710 01:33:28< loonycyborg> Did you try addons dialog already? It hung really hard for me. I had to resort to SIGKILL 20100710 01:34:05< billynux> loonycyborg, I'm trying it now, it connects fine 20100710 01:34:21< billynux> but it hangs waiting for... something 20100710 01:34:28 * billynux is debugging it now 20100710 01:35:30< billynux> Is it possible that it's supposed to send uncompressed data? 20100710 01:35:33< loonycyborg> And since I was running fullscreen for some reason I had to kill it from a VT :P 20100710 01:35:43< billynux> loonycyborg, sorry for that :) 20100710 01:35:48< billynux> my bad 20100710 01:36:04< billynux> loonycyborg, however, it's good to know I have another test case :) 20100710 01:36:40< loonycyborg> No problem really. I have to do that often with non-wesnoth related stuff too. 20100710 01:37:16< billynux> you code lots of "while (1) ;" ? 20100710 01:38:07< loonycyborg> No. Those wouldn't lock up the X server. 20100710 01:39:36< loonycyborg> Most of such such my problems were caused by running fullscreen apps in wine iirc. 20100710 01:40:24< shadowmaster> they can lock up the X server if you run them with nice -20 20100710 01:40:55< CIA-87> ai0867 * r44062 /trunk/ (SConstruct configure.ac): revert r44060, ANA isn't ready yet 20100710 01:42:28< billynux> AI0867, commit message -> :( 20100710 01:42:40< shadowmaster> :( 20100710 01:42:41< billynux> :) 20100710 01:42:43< AI0867> well, failing to connect qualifies as "not ready" 20100710 01:43:02< billynux> yes, it was funny though 20100710 01:43:10< shadowmaster> double entendre warning 20100710 01:43:31< AI0867> -_-' 20100710 01:43:37< billynux> yes, that's my girlfriend's name BTW :) 20100710 01:43:41< mordante> well it says yet... so it just needs some fixes to be ready ;-) 20100710 01:46:04< billynux> this shouldn't be a scons problem but I keep logging on ok to the official server 20100710 01:46:12< billynux> so, more likely an architecture bug 20100710 01:46:32< billynux> ... that doesn't manifest as a compilation error 20100710 01:46:37< billynux> :( 20100710 01:46:43< mordante> but is the client or the server the problem for scons? 20100710 01:48:37< AI0867> well, I'm running only the client 20100710 01:49:40< billynux> that is what worries me 20100710 01:50:03-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100710 01:51:48< billynux> ana_network_manager::read_from is a large mess, I'll downsize soon 20100710 01:52:02< loonycyborg> billynux: Weird. wesnoth.org mp server just worked for me too. 20100710 01:52:34< billynux> loonycyborg, :) well... the good news are welcomed 20100710 01:52:47< billynux> the read operations are called with 100ms timeouts 20100710 01:52:57< billynux> (which I dislike, but I won't touch that ATM) 20100710 01:53:30< loonycyborg> And now again it doesn't. 20100710 01:54:13< billynux> do you quit the mp lobby and then connect again? or start the game over? 20100710 01:54:18< billynux> (both ways it should work) 20100710 01:54:30< mordante> anyway I'm off night 20100710 01:54:30< billynux> loonycyborg, you are getting timeouts right? 20100710 01:54:33< loonycyborg> I'm restarting. 20100710 01:54:44< billynux> mordante, bye... hope to catch you tomorrow 20100710 01:54:57< billynux> I'll be off soon too 20100710 01:55:01< mordante> we'll see otherwise on Sunday 20100710 01:55:09-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20100710 01:58:37< loonycyborg> That's weird. Sometimes it works, sometimes it doesn't 20100710 01:59:00< AI0867> eleazar_: wmlparser2 can have multiple attributes with the same name 20100710 01:59:11< AI0867> in wesnoth, the attribute contains only the last value 20100710 01:59:44< eleazar_> AI0867: huh? what's the context? 20100710 02:00:04< loonycyborg> billynux: Can you try to join the trunk server now? 20100710 02:00:14< billynux> loonycyborg, maybe code using the network API gives up easily, I'm looking into it 20100710 02:00:21< billynux> loonycyborg, I just had a problem with it too 20100710 02:00:34< billynux> the mp server is not responding with my id 20100710 02:00:40< AI0867> eleazar_: TagNode.get_all(att="foo") 20100710 02:00:40< loonycyborg> You're getting invalid WML too? 20100710 02:00:44< billynux> and this hangs the connection 20100710 02:00:55< AI0867> this returns a list, rather than a single AttributeNode 20100710 02:01:10< loonycyborg> billynux: Maybe because I'm on it right now :P 20100710 02:01:14< billynux> loonycyborg, no, just didn't receive the ID from the server (during handshake) 20100710 02:01:18< eleazar_> AI0867: why are you telling me this? 20100710 02:01:24< AI0867> argh, wrong e 20100710 02:01:28< AI0867> sorry, tab completion 20100710 02:01:29< billynux> there, it connected! 20100710 02:01:33< AI0867> elias: you 20100710 02:01:34< eleazar_> heh 20100710 02:01:36< billynux> loonycyborg, wtf :P 20100710 02:01:50< loonycyborg> billynux: I don't see you there. 20100710 02:01:59< loonycyborg> I see now. 20100710 02:02:04< billynux> :) 20100710 02:02:25< billynux> how is it that the mp server took ~1 min to reply with my id? 20100710 02:04:14< billynux> loonycyborg, there, I got a WML uncompression error 20100710 02:04:27< loonycyborg> Great! :P 20100710 02:04:37< CIA-87> eleazar * r44063 /trunk/images/misc/ (hover-hex-enemy.png hover-hex-yours.png hover-hex.png): Alternate appearances for the hover hex over enemies and over your units. 20100710 02:04:42-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20100710 02:05:21< billynux> loonycyborg, how is that great? I'll have trouble sleeping tonight 20100710 02:05:24< billynux> :) 20100710 02:06:16< billynux> anyway... I need to see how it is possible that the incoming message didn't uncompress right 20100710 02:06:22< loonycyborg> billynux: For a second I thought that it depended on name you were to login with. It held true for some time. 20100710 02:07:13< billynux> limitations: You can't use names ending with a "g" character... that would be hilarious 20100710 02:08:17< AI0867> you can't use names that md5 hash into a string that starts with a number greater than 4 20100710 02:08:29< loonycyborg> It never failed when I used 'serge' but 'sergey' fails often, but not always. 20100710 02:08:46< AI0867> no success with 'AI0867' yet 20100710 02:08:58< AI0867> I'll try some alternates 20100710 02:09:50< billynux> ah... it must be this code then: "if ( mem[ pos ] == 1 ) fail_horribly();" 20100710 02:10:30< billynux> jokes aside, same issue: the server took about 2 minutes to respond with my id 20100710 02:10:38< billynux> but then connected just fine 20100710 02:11:03< billynux> I see "sergey" go on and off 20100710 02:11:32-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20100710 02:11:39< loonycyborg> Yes. It started to always work too :P 20100710 02:13:36< AI0867> AI0867_ works fine 20100710 02:13:46< AI0867> though that nick isn't registered 20100710 02:13:53< AI0867> it may have to do with the login procedure 20100710 02:14:08< billynux> AI0867, but I login ok with my (registered) nick 20100710 02:14:13< loonycyborg> Yes. That's why I didn't even try 'loonycyborg' 20100710 02:14:30< AI0867> DEBUG: Sending to everybody. Zipped 20100710 02:14:30< AI0867> Sent data. 20100710 02:14:30< AI0867> terminate called after throwing an instance of 'std::runtime_error' what(): Trying to read but nothing was running. 20100710 02:14:33< billynux> and... the registration request is just an incoming WML, nothing strange 20100710 02:14:34< AI0867> [1] 20473 abort ./wesnoth -s 20100710 02:14:34< AI0867> after trying to start a game 20100710 02:14:42< loonycyborg> I wasn't sure that forum loging will work. 20100710 02:14:48< billynux> AI0867, yes, you can't start games 20100710 02:14:50< loonycyborg> *login 20100710 02:14:55< AI0867> it also dumps the entire WML document 20100710 02:15:04< billynux> AI0867, yes... I'm using that to debug 20100710 02:16:11-!- Gambit is now known as Onevirus 20100710 02:16:12< loonycyborg> Forum login seems to work though. 20100710 02:18:24-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has quit [Remote host closed the connection] 20100710 02:20:20-!- Bocom_ [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has joined #wesnoth-dev 20100710 02:21:01-!- Netsplit *.net <-> *.split quits: billynux, Bocom 20100710 02:30:11-!- e_s-iOS [~esios@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 02:35:49< CIA-87> gabba * r44064 /trunk/src/ (11 files in 2 dirs): Whiteboard: Adding the attack action, step 1 20100710 02:35:54< CIA-87> gabba * r44065 /trunk/src/whiteboard/ (5 files): Whiteboard: Adding the attack action, step 2 (queue_attack() in side_actions) 20100710 02:36:01< CIA-87> gabba * r44066 /trunk/src/ (8 files in 2 dirs): Whiteboard: Adding the attack action, step 3 (mouse code) 20100710 02:36:07< CIA-87> gabba * r44067 /trunk/src/ (mouse_events.cpp mouse_events.hpp play_controller.hpp): For use by whiteboard: Made show_attack_dialog() and attack_enemy() public in mouse_handler. Made get_mouse_handler_base() public in play_controller. 20100710 02:36:13< CIA-87> gabba * r44068 /trunk/src/whiteboard/ (attack.cpp attack.hpp manager.cpp move.hpp): Whiteboard: adding the attack action, step 4 (skeleton execution code) 20100710 02:36:22< CIA-87> gabba * r44069 /trunk/src/whiteboard/ (8 files): Whiteboard: adding the attack action, step 5 (visitors) 20100710 02:36:44< AI0867> eleazar_: did I tell you that the core gates are non-centered? 20100710 02:50:42-!- Bocom_ [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has quit [Quit: Lämnar] 20100710 02:58:28-!- e_s-iOS [~esios@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Quit: Colloquy for iOS - client quit] 20100710 02:59:20-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 03:04:43-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20100710 03:05:20-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100710 03:21:01-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100710 03:25:27< eleazar_> AI0867: somebody said something about the gates 20100710 03:25:36< eleazar_> but i didn't have a chance to ask questions 20100710 03:25:44< eleazar_> i'm not really sure how they are used 20100710 03:25:52< eleazar_> don't remember what i made them for 20100710 03:27:36< AI0867> apparently, centering makes them look better in walls/cave walls, so that's what has been done in several UMC 20100710 03:28:17< eleazar_> can you give me a screenshot? 20100710 03:33:56< eleazar_> alink: more comments on the hover-hex 20100710 03:34:58< AI0867> er, I didn't make the change, I just noticed the difference 20100710 03:35:41< eleazar_> well, yeah, but i can't evaluate it without seeing it 20100710 03:35:41< AI0867> http://wesnoth-umc-dev.svn.sourceforge.net/viewvc/wesnoth-umc-dev/trunk/Invasion_from_the_Unknown/images/terrain/props/ 20100710 03:36:06< AI0867> also, partial gates 20100710 03:59:04-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100710 04:02:07-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has quit [Client Quit] 20100710 04:15:41-!- Appleman1234 [~Appleman1@CPE-60-226-178-176.qld.bigpond.net.au] has quit [Ping timeout: 240 seconds] 20100710 04:20:20-!- Blueblaze [~irchon@166.205.13.86] has joined #wesnoth-dev 20100710 04:24:16-!- wesbot changed the topic of #wesnoth-dev to: 145 bugs, 282 feature requests, 15 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100710 04:24:30-!- Blueblaze [~irchon@166.205.13.86] has quit [Client Quit] 20100710 04:33:10-!- ancestral [~ancestral@97-116-104-149.mpls.qwest.net] has joined #wesnoth-dev 20100710 04:35:01-!- alink [~alink@wesnoth/developer/alink] has quit [Remote host closed the connection] 20100710 04:45:27-!- Ivanovic_ [~ivanovic@dtmd-4db2b0a5.pool.mediaWays.net] has joined #wesnoth-dev 20100710 04:49:15-!- Onevirus [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has quit [Read error: Connection reset by peer] 20100710 04:49:28-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 276 seconds] 20100710 04:51:26-!- Ivanovic_ is now known as Ivanovic 20100710 04:58:07< CIA-87> gabba * r44070 /trunk/src/ (9 files in 2 dirs): Whiteboard: adding the attack action, step 6. Added attack indicators, validation/deletion. Finished but a few bugs remain. 20100710 04:58:22-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Quit: Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!] 20100710 05:01:45< shadowmaster> WTF 20100710 05:01:55-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100710 05:02:05< shadowmaster> Rusty, of all people, posting in the Developers ML about the AppStore and GPL violations? 20100710 05:02:27< shadowmaster> noy: you might want to read that 20100710 05:02:46< shadowmaster> (he's one of our old devs in case you don't remember him) 20100710 05:03:12< noy> He's just asking about them 20100710 05:03:46< shadowmaster> I know. 20100710 05:04:32 * shadowmaster summons the list of members of the Developers group 20100710 05:05:05< noy> thanks, I was about to ask 20100710 05:05:08< shadowmaster> k, he last visited the forums on 2008, that's why he didn't hear of the forum discussions 20100710 05:19:39< ancestral> shadowmaster: How did the upgrades/maintenance go? 20100710 05:24:18< shadowmaster> very well 20100710 05:24:47< shadowmaster> the only problem is that I'm hungry and there's no food here at home. 20100710 05:25:01< shadowmaster> and tomorrow I have to go to the dentist 20100710 05:29:05< ancestral> That is a problem 20100710 05:34:36-!- Appleman1234 [~Appleman1@CPE-60-226-178-176.qld.bigpond.net.au] has joined #wesnoth-dev 20100710 05:47:10-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Quit: elvish_sovereign] 20100710 05:48:41-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100710 05:52:23-!- Aethaeryn is now known as aethPORT7000 20100710 05:52:31-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20100710 06:04:31-!- eleazar__ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 06:04:32-!- eleazar_ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 06:04:36-!- aethPORT7000 is now known as Aethaeryn 20100710 06:05:55-!- eleazar_ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 06:05:55-!- eleazar__ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 06:07:38-!- eleazar__ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 06:07:39-!- eleazar_ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 06:12:33-!- ancestral [~ancestral@97-116-104-149.mpls.qwest.net] has quit [Ping timeout: 258 seconds] 20100710 06:17:45-!- ancestral [~ancestral@97-116-105-157.mpls.qwest.net] has joined #wesnoth-dev 20100710 06:18:18-!- ancestral [~ancestral@97-116-105-157.mpls.qwest.net] has quit [Client Quit] 20100710 06:20:31-!- ancestral [~ancestral@97-116-118-222.mpls.qwest.net] has joined #wesnoth-dev 20100710 06:26:24-!- ancestral [~ancestral@97-116-118-222.mpls.qwest.net] has quit [Ping timeout: 252 seconds] 20100710 06:31:51-!- ancestral [~ancestral@97-116-110-209.mpls.qwest.net] has joined #wesnoth-dev 20100710 06:46:30-!- Mythological [Mythologic@77.28.86.203] has quit [] 20100710 08:00:24-!- ancestral [~ancestral@97-116-110-209.mpls.qwest.net] has quit [Quit: And that’s the end of THAT chapter.] 20100710 08:07:02< CIA-87> gabba * r44071 /trunk/src/whiteboard/ (action.hpp move.cpp move.hpp side_actions.cpp): Whiteboard: renamed a method to something that makes more sense. 20100710 08:07:09< CIA-87> gabba * r44072 /trunk/src/whiteboard/ (action.hpp move.cpp move.hpp): Whiteboard: removed method with duplicate functionality. 20100710 08:07:18< CIA-87> gabba * r44073 /trunk/src/whiteboard/action.hpp: Whiteboard: fixed commentary. 20100710 08:07:19-!- dtiger [~dtiger@dynamic-vpdn-93-125-12-61.telecom.by] has joined #wesnoth-dev 20100710 08:07:22< CIA-87> gabba * r44074 /trunk/src/ (7 files in 2 dirs): Whiteboard: stopped selecting enemy units, and did a few other tweaks. 20100710 08:07:30< CIA-87> gabba * r44075 /trunk/src/whiteboard/manager.cpp: Whiteboard: added security around temp modifiers. 20100710 08:07:36< CIA-87> gabba * r44076 /trunk/src/whiteboard/ (6 files): Whiteboard: added various useful functions and typedefs. 20100710 08:07:42< CIA-87> gabba * r44077 /trunk/src/ (7 files in 2 dirs): Whiteboard: more tweaks around the attack action. 20100710 08:28:06-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 08:28:13-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20100710 08:34:33< CIA-87> gabba * r44078 /trunk/src/whiteboard/side_actions.cpp: Whiteboard: increased numbers font size. 20100710 08:34:37< CIA-87> gabba * r44079 /trunk/src/whiteboard/highlight_visitor.cpp: Whiteboard: fixed an iterator bug 20100710 08:48:55-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: night] 20100710 08:50:37-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100710 08:52:24-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20100710 09:01:56< boucman> hey all 20100710 09:04:49< shadowmaster> hi there 20100710 09:06:35-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100710 09:13:31-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 09:24:06< Unnheulu> eleazar__, couldn't the hex be blitted under units? 20100710 09:24:13< Unnheulu> That may help with the keep issue 20100710 09:24:27< Unnheulu> (Hmm, ignore that, that's stupid) 20100710 09:30:26< CIA-87> jorda * r44080 /trunk/ (4 files in 3 dirs): Update Catalan translation (thanks to J. Ramon Dolcet) 20100710 09:43:35< CIA-87> jorda * r44081 /trunk/po/wesnoth-sotbe/ca.po: Update Catalan translation (thanks to Joan Adell) 20100710 09:49:38-!- Ivanovic [~ivanovic@dtmd-4db2b0a5.pool.mediaWays.net] has quit [Changing host] 20100710 09:49:38-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20100710 09:55:06-!- timotei [~Timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100710 09:56:11< timotei> morning :) 20100710 09:57:34< Ivanovic> moin 20100710 10:11:22-!- Sapient [~chatzilla@wesnoth/developer/sapient] has joined #wesnoth-dev 20100710 10:11:38< Sapient> Ivanovic / shadowmaster : around? 20100710 10:12:56< Sapient> I've deleted four or five posts so far from spam bot "zzjj1122" 20100710 10:15:58-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Ping timeout: 258 seconds] 20100710 10:16:33-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 10:17:25< Ivanovic> Sapient: banned 20100710 10:17:35< Sapient> thanks 20100710 10:24:16-!- wesbot changed the topic of #wesnoth-dev to: 146 bugs, 282 feature requests, 15 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100710 10:27:09-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100710 10:31:25-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100710 10:33:57-!- grzywacz [~grzywacz@chello089078180180.chello.pl] has joined #wesnoth-dev 20100710 10:34:00-!- grzywacz [~grzywacz@chello089078180180.chello.pl] has quit [Changing host] 20100710 10:34:00-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20100710 10:39:37< Sapient> yo zookeeper 20100710 10:44:04< zookeeper> yo 20100710 10:44:39< Sapient> have you comeo up with your unit_type description yet? XD 20100710 10:44:45< zookeeper> err, nope 20100710 10:45:04< zookeeper> i came up with my special ability though and even wrote the code for it :P 20100710 10:45:30< Sapient> well, that's way more effort than I was willing to put in :p 20100710 10:45:50< Sapient> now we will clearly be violating RIPLIB! what would EP say 20100710 10:45:54< zookeeper> meh, it didn't take me that long 20100710 10:46:19< Sapient> did you post it already? I didn't see it 20100710 10:46:30< zookeeper> i PMd it to them 20100710 10:46:45< zookeeper> every turn, i'm going to be impossible to hit from one randomly chosen direction (on defense only) :P 20100710 10:46:58< zookeeper> and of course only the player himself sees what the direction is 20100710 10:47:05< Sapient> nice ability 20100710 10:47:49< zookeeper> yeah. i was hoping you'd get something equally bizarre 20100710 10:48:19< Sapient> if I was going to give myself a custom WML ability, it would be "Summon Troll" from the test scenario ;) 20100710 10:48:27< zookeeper> uh 20100710 10:49:03< Sapient> I actually played a game on the MP server with that ability once, against Mythological 20100710 10:49:30< Sapient> summoning unlimited trolls was surprisingly more fun than I anticipated 20100710 10:50:27< Sapient> but, clearly overpowered, so ... no 20100710 10:55:07< grzywacz> http://root.cern.ch/drupal/content/reflex 20100710 10:55:08-!- eleazar__ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 10:56:51< timotei> grzywacz: nice one. didn't know reflection can be used in C++ too 20100710 10:57:41< grzywacz> timotei, well, it's not supported by the language itself. 20100710 10:57:52-!- eleazar [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 10:57:54< timotei> grzywacz: yes, but at least are libraries like that 20100710 10:57:55< Sapient> yeah, that was one of the things I missed coming from Java to C++ -- no reflection API 20100710 10:58:07< timotei> Sapient: you use "that" much reflection? 20100710 10:58:13< timotei> I mean, it's a bit slowish 20100710 10:58:17< grzywacz> It's not. 20100710 10:58:18< timotei> but can be useful at times 20100710 10:58:25< timotei> in .net it is 20100710 10:58:31< timotei> so I think in java too 20100710 10:58:34< grzywacz> Method lookups are quite slow, but invocations are not. 20100710 10:58:41< grzywacz> for example 20100710 10:58:45< Sapient> timotei: metaprogramming is often the most fun/interesting programming ;) 20100710 10:58:54< timotei> :-) 20100710 10:58:56< grzywacz> Programs that write programs, fun indeed. ;] 20100710 11:01:26< Sapient> I am curious how it works 20100710 11:03:36< grzywacz> Sapient, there's a short description on the front page, unless you need more details. :) 20100710 11:04:48< Sapient> you mean "It only has a few classes that allow to query the database, insert new data dynamically, generate objects of available types, and invoke their methods." 20100710 11:07:20< grzywacz> No, I mean: "The database is usually populated with information extracted from C++ headers. Several tools, e.g. GCCXML / genreflex and CINT, can parse header files and extract reflection information, which gets then written as C++ sources (dictionaries) that can be compiled, linked, and loaded to make the data available to Reflex." 20100710 11:08:51< Sapient> yeah, that sounds less attractive 20100710 11:10:03< Sapient> for example, if I build a test running module using the reflection API, then you have to have that additional component built off of your header files for it to work 20100710 11:12:39< Sapient> then, not sure if that could handle templates created in the .cpp files if it only checks headers 20100710 11:15:33< Sapient> Crab_: there? 20100710 11:24:14< Sapient> (or anyone who understands CMake and MSVC)? 20100710 11:24:46-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100710 11:25:49< timotei> Sapient: I might help you with MSVC 20100710 11:26:00< timotei> what's the problem? 20100710 11:26:05-!- Crab_1 [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev 20100710 11:26:15< Sapient> ok, I am trying to generate MSVC10 project files with CMake 20100710 11:26:36< Sapient> I get four subprojects 20100710 11:27:05< Sapient> ALL_BUILD, wesnoth-core, wesnoth-game, and ZERO_CHECK 20100710 11:27:10< timotei> msvc10 : vs 2010 right? 20100710 11:27:19-!- Crab_1 [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit [Client Quit] 20100710 11:27:21< Sapient> right 20100710 11:27:23< timotei> ok 20100710 11:27:24-!- Crab_1 [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev 20100710 11:27:53< Sapient> however, none of those subprojects includes game.cpp (thus no entrypoint) 20100710 11:28:00< timotei> and that's weird, there should be much more projects 20100710 11:28:04< timotei> INSTALL, REMOVE, wesnoth, wesnothd 20100710 11:28:19< timotei> generate them for msvc9, and convert them opening in vs2010 20100710 11:28:31< Sapient> it won't let me do that 20100710 11:28:38-!- Crab_1 [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit [Changing host] 20100710 11:28:38-!- Crab_1 [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20100710 11:28:41< timotei> because it can't find msvc9 right? 20100710 11:28:45< Sapient> right 20100710 11:28:55< timotei> well.. 20100710 11:29:02< timotei> one second to check the cmake 20100710 11:29:26< Sapient> another thing, the include paths were all screwed up and missing boost 20100710 11:29:40< Sapient> so I had to fix those manually 20100710 11:29:49< timotei> that's... not good 20100710 11:29:58< timotei> you followed crab's method from the wiki right? 20100710 11:30:08< Sapient> no, I followed the readme 20100710 11:30:17< Sapient> which wiki article? 20100710 11:30:52< timotei> I think they are the same, but: http://wiki.wesnoth.org/CompilingWesnothOnWindows 20100710 11:31:24< timotei> maybe there are issues with vs10 and cmake 20100710 11:32:16< Sapient> here's the first thing that confused me -- "unpack it into wesnoth's directory" 20100710 11:32:25< timotei> but I still can't get why he generates wesnoth-core since no string like that is in CMAke 20100710 11:32:32< timotei> wesnoth/external 20100710 11:32:46< timotei> wesnoth/external/msvc9-make.bat 20100710 11:32:54< Sapient> my directory structure is like this: C:\Users\Sapient\Projects\Wesnoth\trunk\src 20100710 11:33:07< Sapient> so which wesnoth? 20100710 11:33:10< timotei> so there should be: Wesnoth\external\msvc 20100710 11:33:18< Crab_1> timotei: no 20100710 11:33:20< timotei> sorry, 20100710 11:33:28< timotei> Wesnoth\trunk\external\msvc-cmake 20100710 11:33:50< Sapient> I tried that first, but it also expected src\external 20100710 11:34:02< Sapient> so I put it in both locations 20100710 11:34:17< Crab_1> if there is C:\Users\Sapient\Projects\Wesnoth\trunk\CMakeLists.txt, then the correct location would be C:\Users\Sapient\Projects\Wesnoth\trunk\external 20100710 11:35:11< Sapient> there is no CMakeLists.txt in trunk 20100710 11:35:19< Sapient> unless I was supposed to copy it there 20100710 11:35:29< Sapient> which, I didn't 20100710 11:35:45< Sapient> trunk is simply my checkout of trunk 20100710 11:35:48< timotei> that's weird, isn't it? 20100710 11:35:53< Crab_1> http://svn.gna.org/viewcvs/wesnoth/trunk/CMakeLists.txt?rev=42920&view=log 20100710 11:36:02< Crab_1> that file, from trunk. where it went for you ? 20100710 11:36:17< Sapient> good question 20100710 11:36:24< timotei> Sapient: this should be in trunk: http://svn.gna.org/viewcvs/wesnoth/trunk/ 20100710 11:36:50< Sapient> ok, I see it now. yes it's there 20100710 11:37:06< Sapient> the tortoiseSVN icon was confusing me 20100710 11:37:22< Sapient> hideous green checkboxes everywehere 20100710 11:37:36< Crab_1> then, to repeat, 'if there is C:\Users\Sapient\Projects\Wesnoth\trunk\CMakeLists.txt, then the correct location would be C:\Users\Sapient\Projects\Wesnoth\trunk\external, not C:\Users\Sapient\Projects\Wesnoth\trunk\src\external' 20100710 11:38:02< CIA-87> ivanovic * r44082 /trunk/po/ (4 files in 4 dirs): updated Japanese translation 20100710 11:38:06< Sapient> ok, let me retry that 20100710 11:38:09< CIA-87> ivanovic * r44083 /branches/1.8/ (6 files in 5 dirs): updated Japanese translation 20100710 11:38:20< Sapient> I remember it failed for some reason 20100710 11:38:49< zookeeper> Sapient, would it be an easy coding task to add standard conditional WML ([have_unit], [have_location], [variable]) to events, like as a new [trigger_if] tag? it's often a bit annoying to have to make the event first_time_only=no, use an [if] and a variable, for example when you want to make the event trigger only once but still depending on a non-unit-filter condition. 20100710 11:39:35< Sapient> zookeeper: seems reasonable enough 20100710 11:39:37-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Ping timeout: 276 seconds] 20100710 11:40:50-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 11:42:12< zookeeper> Sapient, ok, i guess i might add it to the easycoding page sometime then 20100710 11:42:32< Sapient> Crab_: here is my output -- http://wesnoth.pastebin.org/388253 20100710 11:45:35< Sapient> there exists external\boost_1_42\boost\iostreams 20100710 11:46:13< Sapient> and also external\boost_1_42\boost\regex 20100710 11:46:23< timotei> Sapient: it says the "libraries". so you need t check " boost_1_42\boost\lib\" 20100710 11:47:38< timotei> Sapient: http://pastebin.com/sGcf9ujr this should be in your directory 20100710 11:47:49< timotei> the list is from "external.zip" archive 20100710 11:48:11< Sapient> yes, all those are there 20100710 11:48:24< Sapient> I guess the "vc90" is the problem 20100710 11:48:54< timotei> wait... 20100710 11:48:59< timotei> you're compiling for vs10? 20100710 11:49:04< timotei> then need to compile boost for vs 10 20100710 11:49:05< timotei> :D 20100710 11:49:32< Sapient> yeah, apparently 20100710 11:49:43< timotei> it's not hard 20100710 11:50:04< timotei> just a tip: compile only the required libs, otherwise it would take you hours 20100710 11:50:10< Sapient> that doesn't explain some of the other errors I was getting, but whatever... I'll get to those later 20100710 11:50:38< Sapient> time for the boost side-quest 20100710 11:50:51< timotei> :-) 20100710 11:51:37< Sapient> later 20100710 11:51:39-!- Sapient [~chatzilla@wesnoth/developer/sapient] has quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.17/2009122204]] 20100710 11:55:21-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ERROR 404] 20100710 11:58:15-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Quit: Konversation terminated!] 20100710 11:58:32-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 12:02:25-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100710 12:02:28-!- loonybot [~loonybot@ppp79-139-137-245.pppoe.spdop.ru] has joined #wesnoth-dev 20100710 12:02:28-!- loonybot [~loonybot@ppp79-139-137-245.pppoe.spdop.ru] has quit [Changing host] 20100710 12:02:28-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100710 12:03:30-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100710 12:08:02< boucman> eleazar: around ? 20100710 12:15:59-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Quit: Konversation terminated!] 20100710 12:16:13-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 12:16:31-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100710 12:27:32-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20100710 12:32:24-!- Crab_1 [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20100710 13:04:57-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has joined #wesnoth-dev 20100710 13:07:01-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100710 13:08:17-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 13:10:20-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Remote host closed the connection] 20100710 13:10:39-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 13:14:37-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Client Quit] 20100710 13:16:35-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 13:16:38-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Client Quit] 20100710 13:21:27< timotei> why doesn't wesnoth output stdout/stderr to console when runned in windows, but creates that stpid stderr.txt and stdout.txt ? 20100710 13:21:35-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 13:21:41-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Client Quit] 20100710 13:22:36< timotei> in linux it works awesome 20100710 13:24:38-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 13:24:45-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Remote host closed the connection] 20100710 13:28:01-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 13:38:28< loonycyborg> timotei: Because of SDL. 20100710 13:38:40< timotei> hmm 20100710 13:38:46< timotei> oh 20100710 13:39:17< loonycyborg> Probably there are ways of changing that but I don't know what they are.. 20100710 13:39:30< loonycyborg> If all else fails you can hack SDL :P 20100710 13:40:12< timotei> great! 20100710 13:40:35< timotei> well, it doesn't make sens if only me has that feature/hack 20100710 13:45:01-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100710 13:55:04< shadowmaster> I'm going to be afk all the day. 20100710 13:55:08< shadowmaster> bye. 20100710 13:55:12-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20100710 13:55:40< elias> AI0867: thanks, fixing it 20100710 14:20:35-!- Bocom [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has joined #wesnoth-dev 20100710 14:22:29-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20100710 14:24:42-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100710 14:38:47-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100710 15:15:17-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has quit [Read error: Connection reset by peer] 20100710 15:15:18-!- DesertPanther_ [~Khalid@41.235.5.159] has joined #wesnoth-dev 20100710 15:17:33-!- DesertPanther__ [~Khalid@41.235.5.159] has joined #wesnoth-dev 20100710 15:19:08-!- Appleman1234 [~Appleman1@CPE-60-226-178-176.qld.bigpond.net.au] has quit [Ping timeout: 265 seconds] 20100710 15:21:29-!- DesertPanther_ [~Khalid@41.235.5.159] has quit [Ping timeout: 258 seconds] 20100710 15:24:24< CIA-87> timotei * r44084 /trunk/utils/java/eclipse_plugin/ (13 files in 7 dirs): eclipse plugin: better way of running wmlscope, so the user can get some feedback 20100710 15:40:52-!- Sapient [~chatzilla@wesnoth/developer/sapient] has joined #wesnoth-dev 20100710 15:41:44< Sapient> timotei: you asked if there were any other wml tools used by campaign authors 20100710 15:41:59< timotei> Sapient: umm, yeah 20100710 15:42:21< Sapient> sometimes wmliterator.py is used to check for balanced quotes and generally valid syntax 20100710 15:42:51< Sapient> although you might consider it redundant with wmllint 20100710 15:43:02< Sapient> but more lightweight 20100710 15:43:36< Sapient> I just thought I would mention it for completeness sake 20100710 15:44:30< timotei> hmm ok, I'll check it 20100710 15:44:53< Sapient> although occaisionally people who aren't aware of this usage tend to break it 20100710 15:45:33< timotei> in what sense to "break" it? 20100710 15:46:24-!- eleazar_ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 15:46:24-!- eleazar [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 15:46:25-!- eleazar_ is now known as eleazar 20100710 15:46:59< Sapient> in the sense of changing the output to something less reasonable, or making it impossible to run in standalone mode 20100710 15:47:46< Sapient> anyway, if you need to change the output for eclipse to understand, that should be fine 20100710 15:47:54< timotei> ok 20100710 15:48:18< Sapient> I thought it might be useful in a situation where running a full pass with wmllint wasn't desired 20100710 15:48:21< Unnheulu> Eww, eclipse :/ 20100710 15:48:47< Unnheulu> Runs soooo slow 20100710 15:48:49-!- eleazar [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 15:49:04-!- eleazar [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 15:49:23< Sapient> Unnheulu: well, I never tried it. But who knows maybe they'll speed it up someday ;) 20100710 15:49:30< Unnheulu> Sapient, I hope so :) 20100710 15:50:05-!- eleazar_ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 15:50:05-!- eleazar [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20100710 15:50:06-!- eleazar_ is now known as eleazar 20100710 15:50:48< eleazar> boucman: i'm here now 20100710 15:51:06< Unnheulu> 2 and a half hours later :D 20100710 15:51:07< boucman> eleazar: I have trouble dealing with lurker... 20100710 15:51:07< timotei> Unnheulu: it doesn't run *so* slow. it depends on what you load inside it, and what PC spec you have 20100710 15:51:33< Unnheulu> timotei, on my netbook (that may be the reason :P), it takes several whole minutes to load :D 20100710 15:52:00< Unnheulu> boucman, I didn't realise you even had a working macro :P 20100710 15:52:11< Unnheulu> From what I can see it shows loadsa letters :D 20100710 15:52:15< timotei> Unnheulu: eeepc? 20100710 15:52:21< Unnheulu> timotei, hp mini 20100710 15:52:40< boucman> Unnheulu: I don't understand.. 20100710 15:52:51< Unnheulu> boucman, he can get pictures of the bridges with your macro 20100710 15:53:04< boucman> I still don't understand 20100710 15:53:15< Unnheulu> Svn has the letters sw ne and stuff 20100710 15:53:30< Unnheulu> (Bah, don't worry, its definetly deliberate) 20100710 15:53:40 * boucman is totally confused 20100710 15:53:44< timotei> Unnheulu: well... 20100710 15:53:46< Unnheulu> boucman, ignore me :D 20100710 15:53:51< boucman> ok :) 20100710 15:54:09< Unnheulu> timotei, I haven't tried it that much on my computer, but its still slightly sluggish here, but hey 20100710 15:54:18< Unnheulu> Who cares? :P 20100710 15:54:40< timotei> :) 20100710 15:55:46< eleazar> boucman: just on the forums, or are there PMs too? 20100710 15:56:42< boucman> forum, I feel his patience is running thin, but he don't seem to work to fit into the model 20100710 15:57:14< boucman> he cut the bridges the way he wanted, and I don't understand why he can't make it work within the macros... 20100710 15:58:33< boucman> it's not an attitude problem so to speak, it's just that I can't manage to make it work... 20100710 15:58:50< Unnheulu> But he can? 20100710 15:59:01< boucman> Unnheulu: no he can't 20100710 15:59:14< eleazar> i'm not sure he can comprehend how to do it another way 20100710 15:59:26< boucman> his macros work, but they are a big pile of kludge over kludge for all the specific problems 20100710 15:59:27< Unnheulu> He image seems to suggest he's managed to make his macro work 20100710 15:59:30< Unnheulu> Ah 20100710 15:59:40< boucman> we can't have it into mainline, it would drive us insane once we add more terrains 20100710 16:00:05< boucman> that's my feeling too, but I don't have the knowhow to recut the bridges properly... 20100710 16:01:30< eleazar> i guess i should take a look at it 20100710 16:01:45< boucman> please... 20100710 16:02:11< Unnheulu> Surely the top just needs to be above the terrains above, and the bottom below the terrains below it? 20100710 16:02:13< boucman> the current bridge macros have namings accoring to the names of the "bridge entering" side... 20100710 16:02:21< Unnheulu> And it should be above the terrains on the sides 20100710 16:02:52< boucman> i.e bridge-n is drawn on a bridge hex that is only connected on the north side... 20100710 16:03:16< eleazar> connected to land on north? 20100710 16:03:35< boucman> but it's compatible with the old way (i.e if no bridge-n is found it will use bridge-n-s, and assume some transitions will do the ending) 20100710 16:03:51< boucman> no, connected to other bridges, that way you can do switches too :) 20100710 16:04:00< boucman> (though in this case we won't use that) 20100710 16:04:14< Unnheulu> Why not have two macros? 20100710 16:04:23< Unnheulu> One for bridges with offshoots, and one for bridges without 20100710 16:04:50< boucman> the problem is not with the offshoots... it can work with or without offshoots 20100710 16:04:57< boucman> the problem is that there is no problem... 20100710 16:05:02< Unnheulu> Uh? 20100710 16:05:07< Unnheulu> How do you figure that 20100710 16:05:08< eleazar> Unnheulu: not trying to be rude, but your going to need to study this out quite a bit more before you can be helpful here 20100710 16:05:14< boucman> it's just a question of cutting according to the guidelines 20100710 16:05:19< Unnheulu> eleazar, sure :) 20100710 16:05:25< Unnheulu> I'll just head back to coding xmoto 20100710 16:05:32< eleazar> it's complicated 20100710 16:05:47-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100710 16:06:28< eleazar> boucman: i'm really only half-way awake right now 20100710 16:07:14< elias> AI0867: do you have an example where get_all returns a wrong result? 20100710 16:07:14< boucman> eleazar: sorry, I have no idea what TZ you are in... want to discuss this later ? 20100710 16:07:35< eleazar> well, it's fine as far as we've gone 20100710 16:08:03-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 16:08:06< eleazar> i'm just not currently able to do something about the bridges 20100710 16:08:47-!- eleazar [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has quit [Disconnected by services] 20100710 16:09:17-!- eleazar_ [~eleazar@ppp-70-226-197-86.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100710 16:09:22< eleazar_> I also have a do here's that wants to go outside and is being incredible annoying 20100710 16:09:37< boucman> dog ? 20100710 16:09:51< eleazar_> heh, yeah, "dog" 20100710 16:10:05< boucman> hehe 20100710 16:10:35< eleazar_> i'll try to look at these later today. I think i had my brain wrapped around it previously 20100710 16:10:43-!- Sapient [~chatzilla@wesnoth/developer/sapient] has quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.17/2009122204]] 20100710 16:15:50-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100710 16:33:31< CIA-87> elias * r44085 /trunk/data/tools/wesnoth/wmlparser2.py: [python] Made tag.get_text_val(X) return the value of the last attribute X if the tag has multiple attributes with the same name. Also updated documentation and unit tests accordingly. 20100710 16:34:41< elias> AI0867: i fixed it in get_text_val, get_all could also be modified but given the name "get_all" it probably makes sense to return them all there 20100710 16:35:02< elias> AI0867: but i still wonder if it should even be valid WML if it has the same attribute multiple times 20100710 16:35:37< elias> if wesnoth --parser would already refuse it, no need to care for it in the python parser :) 20100710 16:37:14< zookeeper> hmm...actually i think there might be some cases of having the same key in the same tag multiple times: like a macro call followed by a [+tag] which "overwrites" some key that the tag in the macro already provided. 20100710 16:37:37< zookeeper> rare, but i think i've done that sometime intentionally, since it seemed to work right 20100710 16:37:56< elias> i see 20100710 16:38:21< elias> [+tag] isn't automatically merged by the python parser anyway though 20100710 16:38:29< elias> but would make sense if it did :) 20100710 16:40:16< timotei> hehe, first part of wesnoth's grammar is in place \:D/ 20100710 16:40:51-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100710 16:41:46< elias> what does the eclipse plugin do? 20100710 16:42:07< timotei> hi elias 20100710 16:42:10< timotei> elias: http://wiki.wesnoth.org/SoC_Ideas_Eclipse_Plugin 20100710 16:42:42< elias> oh, nice 20100710 16:43:20< timotei> yeah:D 20100710 16:46:10< elias> will it syntax highlight embedded lua code as lua? 20100710 16:46:24< zookeeper> elias, but i think the [+tag] case isn't really a case of having "the same key multiple times", since i think the preprocessor just overwrites the previous one 20100710 16:46:32< zookeeper> but i thought i'd mention it anyway 20100710 16:47:40< timotei> elias: hmm, Don't really know 20100710 16:47:49< timotei> wml primarly 20100710 16:49:17< elias> guess if scripts are long enough to require syntax coloring it's better to keep them in separate files anyway 20100710 16:49:23< elias> what happens with macros? 20100710 16:49:47< timotei> with macros in which way? 20100710 16:50:14< elias> i assume in eclipse, i get a WML tree to the left, with all tags/attributes 20100710 16:50:27< elias> so was just wondering how macros will fit into that 20100710 16:51:33< timotei> well, I think they'll be in the outline too 20100710 16:51:37< timotei> maybe even a "macro" view ;) 20100710 16:52:18< elias> i see 20100710 16:52:46< elias> i think once you're done i may get back to working on my ancient campaign... if i'll have any free time :) 20100710 16:53:27< timotei> :D 20100710 16:54:53< elias> zookeeper: just checked wmlunits, i seem to be ignoring any [+tags] except for [+units] there... guess it's something i'll fix when Soliton switches to the wmlunits with the new parser 20100710 17:36:11-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100710 17:52:02-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100710 17:55:15-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 240 seconds] 20100710 18:02:14-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 18:03:04-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Read error: Connection reset by peer] 20100710 18:03:05-!- elvish_sovereign [~elvish_so@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 18:10:01< CIA-87> eleazar * r44086 /trunk/data/core/images/terrain/bridge/ (6 files): Some stone bridge files cut differently for testing. 20100710 18:10:26< eleazar_> boucman: i uploaded some bridge images recut the way i *think* they are supposed to go 20100710 18:10:40< eleazar_> but apparently i don't get the naming convention 20100710 18:10:48< eleazar_> they don't actually work in-game 20100710 18:11:23< eleazar_> take a look and see if i correctly understand what you are trying to do 20100710 18:11:37< eleazar_> note all of these are mulit-hex sized tiles 20100710 18:15:11< boucman> eleazar_: ok, looking... 20100710 18:15:47-!- stikonas [~and@ctv-79-132-162-160.vinita.lt] has joined #wesnoth-dev 20100710 18:15:47-!- stikonas [~and@ctv-79-132-162-160.vinita.lt] has quit [Changing host] 20100710 18:15:47-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100710 18:19:04< boucman> eleazar_: ok, I see... 20100710 18:19:46< boucman> i'll explain how lurker wanted it to work, and then we'll see if we do it his way or the way we did it for previous bridges (multi-hex shouldn't be an issue here... 20100710 18:20:25< boucman> basically, lurker wanted a special tile (not transition, lurker didn't work with transtition) on the last hex of the bridge (i.e still defined as bridge in the editor 20100710 18:20:41< timotei> shikadibot: log 44086 20100710 18:20:42< shikadibot> Revision 44086 (eleazar, 2010-07-10 16:09:46 +0000 (Sat, 10 Jul 2010)): 20100710 18:20:45< shikadibot> Some stone bridge files cut differently for testing. 20100710 18:20:48< shikadibot> Web interface URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=44086 20100710 18:21:04< eleazar_> we have 2 bots?? 20100710 18:21:19< timotei> eleazar_: I like more shikadibot 20100710 18:21:24< timotei> eleazar_: it gives the url 20100710 18:21:24< timotei> :P 20100710 18:21:54-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Read error: Connection reset by peer] 20100710 18:22:32< eleazar_> boucman: yeah, i did that too-- if i understand what you mean 20100710 18:23:23< boucman> well, I changed the macros so it's possible to do it that way... and also possible to do it the old way (with transitions) 20100710 18:23:45< eleazar_> aren't the end pieces transitions? 20100710 18:23:58< eleazar_> you mean besides those 20100710 18:24:42< boucman> well, that's the new thing... we used to have one n-s tile, which we would complement with a transition if the bridge ended 20100710 18:25:00< boucman> now we can have a special tile that is only used on bridge tiles that are an ending... 20100710 18:25:29< eleazar_> boucman: yeah-- i used that 20100710 18:25:52< boucman> oh ? where ? 20100710 18:25:57< eleazar_> it may not be obvious out of context 20100710 18:26:31< eleazar_> "stone-test-se" is a piece that supposed to be used next to the shore 20100710 18:26:49< eleazar_> "stone-test-se-nw" has bridge on both sides of it 20100710 18:26:57-!- timotei [~Timotei@wesnoth/developer/timotei] has quit [Quit: reboot] 20100710 18:27:20< eleazar_> "stone-test.png" has shore on both sides 20100710 18:27:38< boucman> it is indeed hard to see :P 20100710 18:28:18< eleazar_> "stone-test-nw" also goes next to the shore on one end 20100710 18:28:20< boucman> ok, in that case, this is almost what I want... except that you could merge then -end variant with the ending variants 20100710 18:28:57< eleazar_> i was thinking leaving them separate would make a better merge with castles 20100710 18:29:13< eleazar_> the "end" pieces would then be ommitted 20100710 18:29:44< boucman> good point, i'll work with that, then... 20100710 18:32:08-!- timotei [~Timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100710 18:32:40< boucman> eleazar_: you've got the naming backward... stone-bridge-nw is connected to the bridge on the nw side... don't fix it i'll do it 20100710 18:33:16< eleazar_> hmm i've done that before 20100710 18:33:49< eleazar_> away for a while 20100710 18:40:59-!- ts1_osx [~ts1_osx@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 18:42:03< CIA-87> boucman * r44087 /trunk/data/core/ (4 files in 3 dirs): make stone-bridge work, there is still only the nw/se variant, and single hex bridges are still broken. will fix this later 20100710 18:42:09< boucman> eleazar_: ok, done... i'll fix the missing bits of macros now 20100710 18:43:26-!- Johannes13__ [~Johannes@pD9500933.dip0.t-ipconnect.de] has joined #wesnoth-dev 20100710 18:46:57-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 245 seconds] 20100710 18:50:22-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100710 18:52:24< CIA-87> boucman * r44088 /trunk/data/core/terrain-graphics/ (internal-complex-tracks.cfg tracks.cfg): allow random tiles in bridges at a few place where they wern't allowed yet 20100710 18:57:07-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100710 18:59:45< CIA-87> boucman * r44089 /trunk/data/core/ (5 files in 2 dirs): make single tile bridgs work, namining convention is base-ns.png base-nesw.png and base-senw.png depending on the underlying terrain type 20100710 19:10:55-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Ping timeout: 276 seconds] 20100710 19:15:36< AI0867> elias: is there a reason why only tags have a dictionary for speedy lookup, and attributes don't? 20100710 19:15:56< elias> AI0867: no 20100710 19:16:05< AI0867> elif isinstance(node, AttributeNode): 20100710 19:16:05< AI0867> self.speedy_atts[node.name] = node 20100710 19:16:21< elias> heh 20100710 19:16:24< AI0867> adding this to append() makes for lookup that's faster than O(n) 20100710 19:16:55< elias> in wmlunits, there was no benefit since the n is always very small 20100710 19:17:27< AI0867> the number of attributes doesn't get very big, true... 20100710 19:17:32< elias> but to be honest, even for tags the speedup is very minor in wmlunits :) 20100710 19:17:39< AI0867> but the number of tags can get huge in some cases 20100710 19:17:45< AI0867> which are also in self.data 20100710 19:17:59< elias> yeah, it helped a lot in the old parser 20100710 19:18:03< AI0867> I guess I should test before I optimize =P 20100710 19:18:34< elias> what are you using the parser for? 20100710 19:19:12< AI0867> I'm porting wmlvalidator 20100710 19:19:28< elias> i see 20100710 19:19:29< AI0867> it also needs a lot of "get me all the tags" and "get me all the attributes" 20100710 19:19:54< AI0867> so I'm adding the get_all_tags() and get_all_text() that the old wmlparser has 20100710 19:20:05< elias> makes sense 20100710 19:20:16< elias> i only added what i needed to port wmlunits over to the new parser 20100710 19:24:30< billynux> people: Is there a special login procedure to the add-ons server? (i.e. different from a MP login) <- loonycyborg 20100710 19:25:12< billynux> I send the following (compressed) WML: [request_campaign_list] [/request_campaign_list] ... and never receive a response from the server 20100710 19:25:49< loonycyborg> Addon server doesn't require autentification. In fact it'll probably be very different than mp server. 20100710 19:25:50< billynux> (this is after the initial successful handshake of sending 0x00 0x00 0x00 0x00 and receiving my id 20100710 19:26:26< billynux> loonycyborg, yes, but from the network implementation's perspective it shouldn't 20100710 19:26:50< billynux> all I care about is sending and receiving compressed WML 20100710 19:28:42< loonycyborg> Maybe ask elias. He worked on wesnoth_addon_manager, a python script to work with addon server :P 20100710 19:28:51-!- ts1_osx [~ts1_osx@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Quit: ts1_osx] 20100710 19:29:00< billynux> elias, ^ 20100710 19:30:09< billynux> elias, loonycyborg : where is this python script? 20100710 19:30:25< loonycyborg> In data/tools 20100710 19:30:44< CIA-87> zookeeper * r44090 /trunk/data/campaigns/Eastern_Invasion/scenarios/06.Two_Paths.cfg: Upped the turn limit from 18/16/14 to 18/17/16. 20100710 19:30:59< billynux> thanks 20100710 19:31:55-!- Bocom_ [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has joined #wesnoth-dev 20100710 19:32:17-!- Bocom [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has quit [Read error: No route to host] 20100710 19:37:01< elias> billynux: yes, data/tools/wesnoth/campaignserver_client.py 20100710 19:37:13< elias> the C++ code of course also has code for it 20100710 19:38:26-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100710 19:38:27< billynux> elias, you are referring to code in network.cpp? 20100710 19:39:15-!- Shakey [HydraIRC@c-71-201-89-187.hsd1.il.comcast.net] has joined #wesnoth-dev 20100710 19:40:05< elias> billynux: no idea. when i originally made that python script i used a network proxy monitor and reverse engineered it 20100710 19:40:58< billynux> elias, :) ok. I was just wondering why it doesn't seem to behave the same way as an MP login: http://wiki.wesnoth.org/MultiplayerServerWML#The_login_procedure 20100710 19:41:23< billynux> and my guess is that it should 20100710 19:41:37< elias> my guess as well 20100710 19:42:10< elias> hm 20100710 19:42:12< elias> self.sock.connect(addr[4]) self.sock.send(struct.pack("!l", 0)) 20100710 19:42:29< elias> so it seems to send a 32-bit 0 as very first thing to log in 20100710 19:42:51< billynux> yes... I go as far as the handshake: -> 0, <- id 20100710 19:43:00< CIA-87> boucman * r44091 /trunk/data/core/ (4 files in 2 dirs): final cleanups to bridge macros 20100710 19:43:13< billynux> but after that, I keep getting calls to receive data on the connection 20100710 19:43:17< billynux> but no data comes 20100710 19:44:24< elias> zpacket = struct.pack("!i", len(zdata)) + zdata self.sock.sendall(zpacket) 20100710 19:45:00< elias> so it takes [request_campaign_list], gzip compresses it, then send the length + the buffer 20100710 19:45:17< billynux> exactly what I do too :) 20100710 19:46:40< elias> the length is 32-bit, big-endian 20100710 19:47:50< billynux> yes, I always use network byte order 20100710 19:49:30< billynux> elias, and I expect you also wait for these types of packages 20100710 19:49:52< billynux> 32 bit size in net. byte ord + compressed WML of said size 20100710 19:50:09< elias> yeah 20100710 19:50:36< billynux> and yet, for some reason, I never receive such a package :( 20100710 19:52:44-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 19:53:57< elias> that's a hexdump of the bytes it sends: http://paste.debian.net/80168/ 20100710 19:54:20< elias> (2nd package is just concatenated to the 4 initial 0 bytes) 20100710 19:54:48< billynux> thanks elias 20100710 19:55:48< elias> http://paste.debian.net/80169/ 20100710 19:55:53< elias> hm, less weird hexdump format 20100710 19:56:28< billynux> wireshark outputs in C-array format, which is nice 20100710 19:56:47< billynux> but these look good 20100710 19:57:18< elias> oh, wireshark looks nice 20100710 19:58:15-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Quit: Konversation terminated!] 20100710 19:58:31-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 19:58:42< billynux> very much so... the Follow TCP stream is great! highlights send messages in blue and received in red, etc... 20100710 20:00:38< timotei> wireshark doesn't work with my wireless device:-< 20100710 20:00:43-!- stikonas [~and@ctv-79-132-162-160.vinita.lt] has joined #wesnoth-dev 20100710 20:00:43-!- stikonas [~and@ctv-79-132-162-160.vinita.lt] has quit [Changing host] 20100710 20:00:43-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100710 20:00:47< timotei> even on linux 20100710 20:02:04< elias> it captured a lot of things here, wonder if i find the campaign request :P 20100710 20:02:14< elias> i had to run it as root for it to do anything though 20100710 20:04:07< billynux> timotei, it works fine with mine, did you choose the interface right? (its eth1 for me) 20100710 20:04:31< timotei> billynux: I remember I tried one whole day on windows/linux and didn't get it working:-?? 20100710 20:04:38< timotei> maybe my notebook was too new:D 20100710 20:05:02< billynux> I doubt it has anything to do with it, it should talk to the OS 20100710 20:07:31< elias> http://paste.debian.net/80171/ 20100710 20:07:43< elias> the next time i reverse engineer a network protocol, i know what I'll be using :) 20100710 20:08:09< elias> the 3rd string should be the campaign list request again 20100710 20:08:29< billynux> :) 20100710 20:09:16< billynux> yes, for some reason, in my capture it sent this request before receiving the id (you 2nd string) 20100710 20:09:26< billynux> I mean in the current SDLnet implementation 20100710 20:09:36< elias> ah, might have to set it to blocking 20100710 20:09:48< elias> hm 20100710 20:10:56< billynux> and... for some reason, in my boost::asio implementation I appear to send things the right way, but never get the reply from the server 20100710 20:12:29< billynux> hm, looks like I'm not sending the request right 20100710 20:13:19< elias> it's scary how many services i have running on the network 20100710 20:13:32< elias> why do i have an SMB server :P 20100710 20:14:20< billynux> elias, the other day I saw a process churning up my CPU... pstree showed it came from ssh 20100710 20:14:40< billynux> O_O ... and users said my friend mario was logged on 20100710 20:14:46< elias> well, i use a ssh connection to connect to freenode 20100710 20:14:49< elias> heh 20100710 20:14:57< billynux> I created an account for him to scp some files under mario:mario 20100710 20:15:11< billynux> and I always keep my ssh open 20100710 20:15:24< billynux> turns out a bot connected and logged on 20100710 20:15:36< billynux> and was using me as my... b14tch 20100710 20:15:36< elias> uh oh 20100710 20:16:06< billynux> nasty little bugger, it immediately sent all the information it could rummage about my system to some obscure IRC out there 20100710 20:16:08< elias> yeah, mario:mario isn't quite secure enough to leave on an open port :P 20100710 20:16:31< elias> i put my ssh on 2222 and only allow to connect as user elias 20100710 20:16:34< billynux> true true... a lesson... I learned the hard way 20100710 20:17:13< elias> but moving it away from 22 means i don't even get attempts any longer :/ 20100710 20:18:34< billynux> elias, yes... I'll do that too, it's a good idea 20100710 20:19:19< billynux> I think some virus/malware programmer actually solved the P=NP problem, but didn't even know 20100710 20:19:34< elias> heh 20100710 20:22:30-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100710 20:24:17< elias> i wonder why wireshark colors some lines red-on-black 20100710 20:26:42< billynux> no idea 20100710 20:27:36< timotei> great... now I'm getting "java heap space errors" 20100710 20:27:36< timotei> :-< 20100710 20:39:17< eleazar_> boucman: the way i chopped things up makes more sense to me-- but did that solve any of the problems? 20100710 20:40:08-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Read error: Connection reset by peer] 20100710 20:40:23-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 20:42:18< boucman> eleazar_: all of them as far as I can tell... 20100710 20:42:38< boucman> can you chop/rename everything else in the same way plz ? :) 20100710 20:42:38< eleazar_> oh, good 20100710 20:42:55< eleazar_> there's still those minor layering issues 20100710 20:45:32< eleazar_> i think lurker could do it 20100710 20:45:39< eleazar_> if he saw the working example 20100710 20:46:04< boucman> indeed, but that can be solved after... right now bridges are on layer -80 while castle base is at -1 and castle walls at 0 20100710 20:46:16< boucman> i'm not sure how we want the bridges relative to that 20100710 20:46:34< eleazar_> i'm a little confused about layering 20100710 20:46:40< eleazar_> in some other things i'm working on 20100710 20:46:53-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Read error: Operation timed out] 20100710 20:46:54< eleazar_> OK 20100710 20:46:56< boucman> eleazar_: I can understand that, it's tricky 20100710 20:47:10< boucman> do you want a quick course on layering ? 20100710 20:47:41< eleazar_> if two hexes on on the same layer, the southernmost one will overlap, yes? 20100710 20:47:44< eleazar_> if it's tall 20100710 20:49:42< boucman> if two hexes are on the same layer and no offset is specified (more on that later, basically it's only for units) they are drawn top->down, left->right, and (in case they are in the same hex) order of declaration in the cfg 20100710 20:51:18< eleazar_> hmm 20100710 20:51:30< boucman> (IIUC) 20100710 20:52:46< eleazar_> but if something is on a higher layer, it will under every circumstance overlap something on a lower layer? 20100710 20:52:57< boucman> yes 20100710 20:53:30< boucman> eleazar_: as a rule of thumb, avoid having things on the same layer if possible... which means everything that isn't vertical. 20100710 20:54:01< eleazar_> yeah, its the vertical stuff that's giving me problems 20100710 20:54:17< boucman> ok, what are you trying to do . 20100710 20:55:24-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100710 20:55:26< eleazar_> first of all i'm having trouble finding out what layer things are on 20100710 20:56:29< boucman> it's documented at http://wiki.wesnoth.org/TerrainMacrosWML 20100710 20:56:38< boucman> (or, to be more precise, I document as I find out 20100710 20:56:44< eleazar_> heh 20100710 20:56:49< boucman> wesnoth.org is down for me btw 20100710 20:56:53< eleazar_> sorry internet is really slow ATM 20100710 20:57:04< boucman> basically, base terrains are at -1000 20100710 20:57:10< boucman> units are at 0 20100710 20:57:16< boucman> castle base : -1 20100710 20:57:30< boucman> castle walls/vertical stuff 0 20100710 20:57:38< boucman> other overlays : i don't remember 20100710 20:57:46< boucman> tracks/bridges -80 20100710 20:57:55< eleazar_> mountains are 2 20100710 20:58:00< eleazar_> at least sometimes 20100710 20:58:03< boucman> ???* 20100710 20:58:11< boucman> that would draw them in front of units... 20100710 20:58:24< eleazar_> [image] 20100710 20:58:25< eleazar_> name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} ()} 20100710 20:58:25< eleazar_> layer=2 20100710 20:58:25< eleazar_> [/image] 20100710 20:58:34< boucman> hmm 20100710 20:58:36< boucman> indeed 20100710 20:58:40< boucman> taht is suprising 20100710 20:59:02< eleazar_> parts of the mountain macro are layer=1 20100710 21:00:24< eleazar_> http://www.wesnoth.org/forum/viewtopic.php?p=440858#p440858 20100710 21:00:35< eleazar_> here's one problem 20100710 21:01:08< eleazar_> apparently caused by mountains being on a higher layer than their surroundings 20100710 21:01:22< boucman> eleazar_: wesnoth.org is slow as hell right now :( 20100710 21:01:32< eleazar_> yeah it is here too 20100710 21:02:09< boucman> eleazar_: I'll probably change the mountain layers eventually, something like -200, we'll have to pack the transitions a bit more, but we should be fine 20100710 21:03:01< eleazar_> i would have thought putting all the vertical things on the same layer would produce the best resutls 20100710 21:03:42< boucman> yes, that's the only way to do it, actually, what vertical thing isn't on layer 0 ? 20100710 21:04:10< eleazar_> mountians, and bridges 20100710 21:04:25< eleazar_> bridges didnt' use to be vertical 20100710 21:05:13-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100710 21:05:14< eleazar_> the brick wall-- i think 20100710 21:06:26< boucman> hmm 20100710 21:07:13< boucman> are bridge and mountains vertical ? 20100710 21:08:17< eleazar_> both of them stick up and cover part of the hex to the north 20100710 21:08:28< eleazar_> at least sometimes 20100710 21:08:30< boucman> hmm 20100710 21:09:02< boucman> the question is to they act like walls (partially covering units) 20100710 21:09:34< boucman> and the answer is probably yes, but I havn't looked deeply at mountains yet 20100710 21:10:31-!- stikonas [~and@ctv-79-132-162-160.vinita.lt] has joined #wesnoth-dev 20100710 21:10:31-!- stikonas [~and@ctv-79-132-162-160.vinita.lt] has quit [Changing host] 20100710 21:10:31-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100710 21:10:55< eleazar_> i suppose for bridges it depends on how they are made 20100710 21:11:17< boucman> yes, so far we hadn't had any out of hex bridges, so we don't know how they act.. 20100710 21:11:31< boucman> i'll have a look at mountains quickly to see if I understand what's going on 20100710 21:12:10< eleazar_> swamp grass is layer=0? 20100710 21:12:58< boucman> eleazar_: where did you read that ? 20100710 21:13:11< eleazar_> about swamp? 20100710 21:13:51< boucman> yes... 20100710 21:14:04< eleazar_> it uses "overlay_complete 20100710 21:14:12< eleazar_> which seems to be set to layer 0 20100710 21:14:18< eleazar_> if i'm reading it right 20100710 21:15:05< eleazar_> which explains the weird overlap i'm getting with swamp and stone bridge 20100710 21:15:18-!- alink [~alink@wesnoth/developer/alink] has quit [Remote host closed the connection] 20100710 21:16:39< boucman> hmm 20100710 21:17:17< boucman> overlays are on layer 0 because it makes sense for most of them, but embelishments should probably be moved to another layer... 20100710 21:17:30< boucman> since they are flat on the terrain... 20100710 21:18:05< boucman> more generally, we need to define what is embelishment (flat, basically part of the terrain) and what is overlay (an object on the terrain) 20100710 21:18:29< eleazar_> overlay flat, and 20100710 21:18:34< eleazar_> overlay vertical? 20100710 21:20:12< eleazar_> or another parameter 20100710 21:20:59< boucman> eleazar_: i like overlay vs embelishments... 20100710 21:21:34< eleazar_> i don't think every flat overlay would be an embellishement 20100710 21:21:38-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100710 21:21:42< boucman> I can add an embelishment macro similar to the overlay macros except for the default layer used... (it's a 5' job) then we can review what becomes what 20100710 21:21:49< boucman> ok, another name, then... 20100710 21:24:33< eleazar_> i'm not sure what difference it will make 20100710 21:25:04< eleazar_> actually that would cause a minor problem 20100710 21:25:14< boucman> not much, you can use OVERLAY_COMPLETE_L to specify a layer if the default one is not the one you want 20100710 21:25:21< boucman> it's just eaier to read terrain-graphics 20100710 21:25:46< eleazar_> i've been putting rock embellishments in castles 20100710 21:26:00< boucman> hmm 20100710 21:26:29< eleazar_> not every vertical terrain is an overlay 20100710 21:26:31< boucman> eleazar_: I am starting to believe we need to rething the whole way we layer (not the layering system, the convention about what is layered where... 20100710 21:26:42< boucman> eleazar_: example ? 20100710 21:26:59< eleazar_> mountains, castles 20100710 21:27:07< boucman> true 20100710 21:27:38< eleazar_> to put embellishments on those hexes they will have to be layer 1 or so 20100710 21:28:47< boucman> yes, the mistake here is that the base for castle is at layer -1, it would be better to put it at -50 or something like that 20100710 21:29:16< boucman> basically we should "compress" all flat "normal" terrains on layers -1000..-500 and rething all the special terrains 20100710 21:29:37< eleazar_> i've been seeing chasm transitions overlap the castle base 20100710 21:30:06< boucman> chasm transitions are on what layer ? 20100710 21:30:34< eleazar_> -90 20100710 21:31:31< boucman> and they are drawn over the castle base @-1 ?? 20100710 21:31:36< boucman> that is weird 20100710 21:33:17< eleazar_> only --oddly enough-- when the base is the same as a normal terrain 20100710 21:33:39< eleazar_> i.e. the dirt in an encampment is the same image as regular dirt 20100710 21:34:15< eleazar_> but it has the same castle/keep base WML as any other castle 20100710 21:34:59< eleazar_> unless i'm totally confused 20100710 21:35:03< boucman> let me fire trunk and tell me how to reproduce... 20100710 21:35:29< eleazar_> surround an emcampment hex on all sides with chasm 20100710 21:35:49< eleazar_> lava chasm is more obvious 20100710 21:36:19< boucman> hmm, ok i see it 20100710 21:36:24< boucman> looking at the wml now... 20100710 21:36:54< boucman> ok, I see what's wrong... 20100710 21:37:26< boucman> if you go line 281, you define using TERRAIN_BASE which puts it at layer -1000 20100710 21:37:29-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100710 21:37:58< boucman> then, on line 373 you use KEEP_BASE to add the base tile on layer -1 20100710 21:38:02< eleazar_> okk 20100710 21:38:09< eleazar_> :P 20100710 21:38:27< boucman> however, the first call sets a flag "there is already a base terrain here" so the second one will never match... 20100710 21:38:34< eleazar_> yeah 20100710 21:38:52< eleazar_> i think i made that change soon after i started doing this again 20100710 21:39:05< eleazar_> i would know better now 20100710 21:39:34< boucman> :) 20100710 21:40:30< eleazar_> since you are in there, do you know what line 515 is for? 20100710 21:42:02< eleazar_> i think it's left over from another era 20100710 21:42:20< boucman> 515 is empty here, is it the grass/green line ? 20100710 21:42:29< eleazar_> yes 20100710 21:44:01< boucman> apparently it adds some grass transition in ruined castle to make it look as if there were some grass at the feet of the walls 20100710 21:44:36< boucman> i'm not sure if/how it works since -150 is below -1, but my guess that was the intent 20100710 21:45:05< eleazar_> i've never seen it 20100710 21:45:12< eleazar_> anyway 20100710 21:45:22< eleazar_> about layering 20100710 21:45:40< boucman> eleazar_: castle was an area that had lots of rewrites, so it's very possible that there is some cruft here and there... 20100710 21:45:42< boucman> yes ? 20100710 21:45:50< eleazar_> i'd like to try bridges and mountains on layer 0 like everything else and see if anything breaks 20100710 21:46:24-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has joined #wesnoth-dev 20100710 21:47:02< boucman> well, try it locally, and see if anything breaks :P 20100710 21:47:24< eleazar_> yeah, i think i know how to do that 20100710 21:50:42< boucman> eleazar_: at some point, could I ask you to have a look at the WhiteBoard work from a UI perspective ? I need to know how much we can make it more readable with better arrows and stuff like that, or if we will need to do some tweaking on the code side... 20100710 21:51:17< eleazar_> yeah, i meant to ask you yesterday what you wanted me to look at 20100710 21:51:45< boucman> the arrows :P 20100710 21:52:06< eleazar_> loading up a game... 20100710 21:52:24< boucman> right now, I find the whole thing not very "readable" i.e it gets quickly confusing when there are a lot of arrows, but I'm quite sure it can be vastly improved with better art. 20100710 21:52:29< boucman> the question is "how much" 20100710 21:53:07-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20100710 21:53:38< eleazar_> is the red just red or Team color red? 20100710 21:54:19< billynux> loonycyborg, this next commit fixes a few things 20100710 21:54:20< CIA-87> billynux * r44092 /trunk/src/ (3 files): Fixed a sending bug that enables to connect to the add-on server and cleaned up the read_from mthod in ana. 20100710 21:54:20< [Relic]> Hello :) 20100710 21:56:23< boucman> eleazar_: not sure, I think it's team color, this will be usefull when we will be able to see allie's planned actions 20100710 21:56:32-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100710 21:56:49< eleazar_> i think i crashed it 20100710 21:56:53< boucman> :) 20100710 21:57:38< Unnheulu> Heh 20100710 21:57:42< eleazar_> OK, thanks for the talk about layers 20100710 21:57:58< eleazar_> i'll think about WB more later 20100710 21:58:04< boucman> yes, thx 20100710 21:58:13< boucman> afk now 20100710 22:08:35-!- DesertPanther__ [~Khalid@41.235.5.159] has quit [Ping timeout: 258 seconds] 20100710 22:10:08-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100710 22:21:18-!- e_s-iOS [~esios@pool-74-109-67-183.phlapa.east.verizon.net] has joined #wesnoth-dev 20100710 22:22:14-!- e_s-iOS [~esios@pool-74-109-67-183.phlapa.east.verizon.net] has quit [Client Quit] 20100710 22:23:46< loonycyborg> billynux: Great! I confirm that addon dialog works now. 20100710 22:24:16-!- wesbot changed the topic of #wesnoth-dev to: 147 bugs, 282 feature requests, 15 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100710 22:24:20< billynux> loonycyborg, great! I'm working on the server ATM 20100710 22:24:30-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has joined #wesnoth-dev 20100710 22:29:24-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100710 22:40:52-!- ancestral [~ancestral@12.145.225.25] has joined #wesnoth-dev 20100710 22:41:38-!- timotei21 [~Timotei@193.34.191.4] has joined #wesnoth-dev 20100710 22:43:58-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.5-2.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100710 22:45:52-!- timotei [~Timotei@wesnoth/developer/timotei] has quit [Ping timeout: 276 seconds] 20100710 22:48:26-!- dtiger [~dtiger@dynamic-vpdn-93-125-12-61.telecom.by] has quit [Remote host closed the connection] 20100710 22:51:03-!- Blueblaze [~Blueblaze@adsl-76-202-17-109.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100710 22:51:47< timotei21> billynux: congrats! :D 20100710 22:52:07< billynux> hi timotei21, thanks, I'm not out of the woods just yet though :) 20100710 22:52:29< billynux> how are you doing? fixed the java memory thingy? 20100710 22:52:31< timotei21> billynux: I'm so happy, 2 consecutive I've gained "little" success 20100710 22:52:43< timotei21> well, no. but got syntax highlighting on wml tags 20100710 22:52:46< timotei21> \:D/ 20100710 22:52:54< timotei21> I'm going to cry 20100710 22:52:58< billynux> didn't understand that first phrase 20100710 22:53:17< billynux> don't... it wouldn't be fun if nothing went wrong 20100710 22:53:18< timotei21> well, yesterday or 2 days ago, managed to get that schema-based wizard 20100710 22:53:34< timotei21> going to cry of happiness :P 20100710 22:54:12< billynux> ahh, understood, congrats then! 20100710 22:54:32< timotei21> ty 20100710 22:54:38-!- ancestral [~ancestral@12.145.225.25] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 20100710 22:55:21< billynux> when I first managed to log on to the official server... that was a happy moment for me 20100710 22:55:54< timotei21> I don't think just happy. but very happy 20100710 22:56:32< billynux> :) 20100710 22:57:33-!- ancestral_ [~ancestral@12.145.225.25] has joined #wesnoth-dev 20100710 22:58:09< timotei21> billynux: btw, is this your last year in gsoc? 20100710 22:58:19< timotei21> I know gabba's 20100710 22:58:53< billynux> timotei21, yes, I'm guessing it should be 20100710 22:59:09< timotei21> it *should*? what do you mean by this? 20100710 22:59:37< timotei21> won't you fully take the oportunity to get again in gsoc? (of course, if you can) 20100710 22:59:47< billynux> timotei21, most likely I'm not going to pursue further studies in academia 20100710 22:59:57< timotei21> oh 20100710 23:00:17< timotei21> you're in research now? or how's called that after-bachelor degree? 20100710 23:00:21< billynux> I'm 26, I've considered an academic career, but I incline more to the industry side 20100710 23:00:23< timotei21> masteR? 20100710 23:00:46< billynux> I am in research yes, but not a masters degree 20100710 23:00:57< billynux> I'm taking a post graduate course on category theory 20100710 23:01:10< timotei21> isn't research cool? I mean I told myself I should try it 20100710 23:01:15< billynux> which apparently was enough to qualify for GSoC 20100710 23:01:20< timotei21> :D 20100710 23:01:38< Aethaeryn> billynux: did you just finish something? 20100710 23:02:09< billynux> Aethaeryn, study-wise? yes, I had my second university degree in Computer Science in december 2009 20100710 23:02:27< Aethaeryn> is that the congrats? 20100710 23:02:41< boucman> alink: around ? 20100710 23:02:56< alink> boucman: yes but not for long 20100710 23:03:02< billynux> Aethaeryn, no, timotei21 was congratin' me on a recent development in my project 20100710 23:03:11< Aethaeryn> GSOC? 20100710 23:03:23< boucman> could you tell me where is the line you diagnosed in the preproc that is responsible for the loading time 20100710 23:04:05< Aethaeryn> billynux: ah, I see 20100710 23:04:09< billynux> Aethaeryn, Google Summer of Code 20100710 23:04:18< Aethaeryn> http://wiki.wesnoth.org/SummerOfCodeProposal_Billynux 20100710 23:04:54< alink> boucman: mmh it depends, one line add (debug) info, another parse it. And my last fix made this info lighter 20100710 23:05:06< alink> but I search 20100710 23:05:12< boucman> thx 20100710 23:05:33< billynux> Aethaeryn, yep 20100710 23:05:56< timotei21> hehe, zookeeper, I have a good news 20100710 23:05:58< Aethaeryn> okay, now the convo makes sense. 20100710 23:06:07< Aethaeryn> billynux: sorry, I was just very lost reading the convo and trying to make sense of it. 20100710 23:06:09< timotei21> zookeeper: it looks like xtext will support WML code templates :D 20100710 23:06:19< timotei21> zookeeper: which you can define by yourself too;) 20100710 23:06:54< billynux> np 20100710 23:08:06-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20100710 23:08:31-!- ancestral_ [~ancestral@12.145.225.25] has quit [Quit: i go sleeps kthxbai] 20100710 23:09:10< alink> preprocessor.cpp:909, it's where we replace macro and it insert #line which is quite heavy. remove that helped a lot 20100710 23:09:22< alink> boucman: ^ 20100710 23:10:35< boucman> thx, looking... 20100710 23:11:07< alink> boucman: r43987 made #line lighter 20100710 23:12:01< alink> boucman: and skip_comment() is where we parse #line 20100710 23:14:59-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ...] 20100710 23:16:17< timotei21> ok guys, I'm out 20100710 23:16:19< CIA-87> billynux * r44093 /trunk/src/ (3 files): Started to work on the server side of ana, implemented accept_connection. 20100710 23:16:26< timotei21> good night billynux 20100710 23:16:34-!- timotei21 [~Timotei@193.34.191.4] has quit [Quit: Leaving] 20100710 23:30:00-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20100710 23:38:17-!- DesertPanther [~Khalid@unaffiliated/desertpanther] has quit [Quit: Leaving] 20100710 23:42:05-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100710 23:48:06-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100710 23:49:21-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20100710 23:49:26-!- stikonas_ [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100710 23:55:55-!- stikonas__ [~and@ctv-79-132-162-160.vinita.lt] has joined #wesnoth-dev 20100710 23:56:57-!- stikonas_ [~and@wesnoth/translator/stikonas] has quit [Ping timeout: 240 seconds] 20100710 23:58:01-!- stikonas__ is now known as stikonas --- Log closed Sun Jul 11 00:00:31 2010