--- Log opened Sun Aug 09 00:00:07 2009 20090809 00:00:15< mordante> I'm off night 20090809 00:00:40< corn> night 20090809 00:00:52-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090809 00:00:59< Crab_> corn: also note that time-of-day is location-specific 20090809 00:01:19< corn> location specific? 20090809 00:01:30< Crab_> It's always night in the underworld... 20090809 00:01:42< corn> oh 20090809 00:01:45< corn> scenario specific 20090809 00:01:48< corn> that is ok 20090809 00:02:08< Crab_> tod_manager has "time_of_day get_time_of_day(int illuminated, const map_location& loc) const; " 20090809 00:02:21< corn> oh 20090809 00:02:27< corn> <- stupid 20090809 00:02:39< Crab_> note the 'illuminated' parameter, as well ... 20090809 00:03:50< corn> so keeping track of tod may not be useful? 20090809 00:04:24< Crab_> corn: well, it is useful, if you want to know if certain unit has fallen under the light of day, or in darkness... 20090809 00:05:38-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090809 00:06:02< corn> ok. I will revise the call to use the location-specific tod 20090809 00:06:13< Crab_> corn: but you can always mark it with a @todo and deal with most important things first 20090809 00:06:50< corn> ok 20090809 00:08:13-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20090809 00:09:13< corn> is it commit ready? 20090809 00:09:14-!- wesbot changed the topic of #wesnoth-dev to: 70 bugs, 239 feature requests, 15 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090809 00:09:17-!- allefant [n=allefant@allegro/developer/allefant] has quit [Read error: 60 (Operation timed out)] 20090809 00:10:07< Crab_> corn: question: why !game_config::debug in "if(enabled_ && !config_.empty() && !game_config::debug) {" ? 20090809 00:12:13< Crab_> corn: also note that in "const std::string& attacker_type", you actually put ".type_id", so, it's better to use "const std::string& attacker_type_id" 20090809 00:14:43-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090809 00:16:39< corn> Crab_: wrt !game_config::debug, I copied same if conditions as from ~upload_log() 20090809 00:17:08< Crab_> ok 20090809 00:17:21< corn> I will take it out on monday and test if things break 20090809 00:18:27< Crab_> corn: well, in debug mode, unit can appear out of nowhere and (potentially) break the replay (at least so is said in the docs). so let it remain :) 20090809 00:19:05< corn> ok 20090809 00:19:56< corn> I remember we discussed adding a new variable to the upload logs to indicate if the game is in debug mode or if the scenario is in beta/testing 20090809 00:20:30< corn> I still need to figure out a way to prune out things that don't make sense (ex. huge amount of gold) 20090809 00:21:04-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090809 00:21:29< Crab_> corn: yes, but this was a slightly different thing. we wanted to allow UMC creators to set a flag, such as 'this map is (not) ready for uploads' 20090809 00:21:49-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090809 00:21:51< corn> ok 20090809 00:22:29-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 00:22:30< corn> commiting my work so far, I will add code in read_replay() that will add this stuff to upload logs later tonight 20090809 00:23:13< Crab_> corn: ok. ping me when it (--new-uploads plus page to see the results) will be ready for testing 20090809 00:23:20< corn> yep 20090809 00:23:40< corn> isn't it 1:23 am in ukraine right now ;) ? 20090809 00:23:45< Crab_> yes, it is 20090809 00:23:52< corn> ok 20090809 00:24:13< corn> it should be ready tomorrow, I will ping you 20090809 00:24:17< Crab_> ok 20090809 00:26:42< CIA-62> cornmander * r37560 /trunk/src/ (8 files in 2 dirs): 20090809 00:26:42< CIA-62> Added detailed kill-event logging to replays. initial work on parsing those 20090809 00:26:42< CIA-62> events from replays into upload_logs. added hook read_replay() to read replays 20090809 00:26:42< CIA-62> after scenario end but before the upload_log deconstructor is called. 20090809 00:27:01< CIA-62> crab * r37561 /trunk/data/scenario-formula.cfg: fixed stage names in ai config in formula test scenario 20090809 00:28:03< CIA-62> crab * r37562 /trunk/ (8 files in 4 dirs): new source file for formula debugger 20090809 00:28:17-!- Doppp [n=Doppp@unaffiliated/doppp] has quit [Read error: 104 (Connection reset by peer)] 20090809 00:35:52-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090809 00:45:12-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090809 00:48:22-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has joined #wesnoth-dev 20090809 01:05:14-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090809 01:07:28-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090809 01:09:57-!- Sapient [n=patrickp@wesnoth/developer/sapient] has joined #wesnoth-dev 20090809 01:10:05< Sapient> yo Crab_ 20090809 01:10:10< Crab_> hello 20090809 01:10:47< Sapient> wesbot: log 37551 20090809 01:10:51< wesbot> crab * r37551 : fixed a segfault, and added code to allow getting 'variant' from aspects, to be used by formula_ai 20090809 01:10:53< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=37551 20090809 01:11:14< Sapient> I think there is a constructor for config that takes a tagname 20090809 01:11:19-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 104 (Connection reset by peer)] 20090809 01:12:31< Crab_> Sapient: about what specific part of r37551 you are talking ? 20090809 01:12:57< Sapient> you could use explicit config(const std::string &child); 20090809 01:13:32< Sapient> instead of if (!c.child("not")) c.add_child("not"); 20090809 01:14:32-!- fendrin [n=fabi@g228002099.adsl.alicedsl.de] has joined #wesnoth-dev 20090809 01:14:45< Crab_> Sapient: ok, thanks. that piece of code is a hack anyway (till I find the time to add a static const 'match nothing' terrain_filter ) 20090809 01:15:47< Sapient> I preferred your first idea of defining such an instance in terrain_filter.hpp 20090809 01:16:06< Sapient> that way it would be easy to introduce an efficient check for that instance 20090809 01:16:28< Sapient> and return false straightaway (if desired) 20090809 01:16:45< Crab_> Sapient: yes, I'm going to do that. I've just used a bit 'faster to code' solution for the moment. 20090809 01:17:35< Sapient> no harm in that. just thought you might like to know about that convenience constructor 20090809 01:17:47< Crab_> Sapient: yes, thanks for that. 20090809 01:17:48< Sapient> less lines of code and faster than branching there 20090809 01:23:34-!- PK7 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090809 01:24:29-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20090809 01:29:02< Ivanovic> wesbot: seen cjhopman 20090809 01:29:02< wesbot> Ivanovic: The person with the nick cjhopman last spoke 25d 23h ago. 16d 22h ago was here and on the channel #wesnoth with the message: Read error: 110 (Connection timed out) 20090809 01:31:44< Sirp> corn: sorry....had to leave before....that sounds really cool. Is your code to statistically sample the database to allow efficient access working well? 20090809 01:32:58-!- Doppp [n=Doppp@c-67-171-96-240.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090809 01:40:07< loonycyborg> corn: It looks like your last commit has broken trunk. 20090809 01:44:50< shadowmaster> loonycyborg: compile error? 20090809 01:45:48< loonycyborg> replay::add_attack takes attacker_type_id while the function later references attacker_type which is not in scope.. 20090809 01:46:57< loonycyborg> I wonder whether corn wanted to rename *_type_id to *_type or the other way around :P 20090809 01:47:14< Crab_> *_type => *_type_id 20090809 01:49:21< shadowmaster> there are also some printf usage-related warnings. 20090809 01:49:37< shadowmaster> well, one. Plus two unused-paramater warnings. 20090809 01:49:53< CIA-62> loonycyborg * r37563 /trunk/SConstruct: 20090809 01:49:53< CIA-62> Check for fribidi, X11, etc only if checks for client dependencies succeed. 20090809 01:49:53< CIA-62> Check for poll, select and round before all other checks. 20090809 01:49:57< CIA-62> loonycyborg * r37564 /trunk/SConstruct: Prevent building of translations if 'wesnoth' target is requested but its dependencies aren't found. 20090809 01:50:02< CIA-62> loonycyborg * r37565 /trunk/src/replay.cpp: Fixed compiler error introduced by r37560 20090809 01:54:27< loonycyborg> corn: ^ 20090809 01:57:01-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090809 02:07:33-!- ilor [n=user@wesnoth/developer/ilor] has quit [] 20090809 02:10:23-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090809 02:16:16-!- Sapient1 [n=patrickp@249.sub-70-214-134.myvzw.com] has joined #wesnoth-dev 20090809 02:19:09-!- Sapient [n=patrickp@wesnoth/developer/sapient] has quit [Read error: 110 (Connection timed out)] 20090809 02:19:45< corn> Sirp: yes, but making new graphs is dependent on coding good evaluator functions to see if there are enough results from the smaller table 20090809 02:20:14< corn> shadowmaster: can you tell me the line numbers? 20090809 02:20:21< corn> loonycyborg: will check commit log now 20090809 02:21:20< corn> ah, sorry about that compiler error, I forgot to change those references when I changed the function prototype 20090809 02:21:27< shadowmaster> loony's Sconstruct commit is making everything recompile again. 20090809 02:21:44< shadowmaster> I'll give you the messages prior to r37565 20090809 02:22:00< shadowmaster> http://wesnoth.pastebin.com/d561b9e81 20090809 02:22:11< loonycyborg> Yes. That's because config.h changed.. 20090809 02:22:29 * loonycyborg forgot that he had pending git commits.. 20090809 02:22:57< shadowmaster> corn: sorry, http://wesnoth.pastebin.com/d74490a4e . The earlier one had whitespace artifacts after resizing my terminal 20090809 02:23:33< loonycyborg> shadowmaster: Do you have a 64bit OS? 20090809 02:25:00< shadowmaster> yes 20090809 02:25:09< loonycyborg> That would explain why I'm not getting the prinf warnings.. 20090809 02:25:11< shadowmaster> Debian lenny, amd64, using kernel 2.6.28.8. 20090809 02:25:21< corn> yeah, I also didn't get those 20090809 02:25:25< loonycyborg> *printf 20090809 02:27:03< corn> I wonder if changing to l instead of d will fix it 20090809 02:27:37< corn> can you change %d to %l or %lu on your end? 20090809 02:28:00< corn> s/%lu/%ll/ 20090809 02:28:00< shadowmaster> vim src/replay.cpp 20090809 02:28:04< shadowmaster> duh. 20090809 02:28:17< shadowmaster> sorry, wrong terminal :) 20090809 02:28:21-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has quit [] 20090809 02:32:09< CIA-62> shadowmaster * r37566 /trunk/src/replay.cpp: 20090809 02:32:09< CIA-62> Fix a 64-bit specific gcc/glibc warning concerning usage of printf (%d 20090809 02:32:09< CIA-62> being used for a size_t variable instead of %lu). 20090809 02:32:24< shadowmaster> corn: ^ r37566 20090809 02:33:57-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090809 02:34:40< loonycyborg> Now I'm getting format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int' :P 20090809 02:35:52< shadowmaster> huuuuh. 20090809 02:36:07< loonycyborg> That's because turn var is size_t 20090809 02:36:11< shadowmaster> alright, why are we using printf and its cousins there anyway? 20090809 02:36:19< shadowmaster> loonycyborg: size_t is a long unsigned int here 20090809 02:37:20< loonycyborg> Which apparently has different sizes on different arches.. 20090809 02:37:39< loonycyborg> That's why printf is evil :P 20090809 02:39:20< corn> http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=00080055abe021100055abe02110275d6e10RCRD 20090809 02:39:26< corn> Values of type size_t should use the Z size modifier, like so: 20090809 02:39:26< corn> printf ("size_t value = %Zu\n", size); 20090809 02:39:27< corn> Note that Z is a modifier, not a format. Thus, it can also be used to print signed size_t values, like so: 20090809 02:40:35< shadowmaster> my glibc documentation suggest not to use %Z 20090809 02:40:44< corn> except that the actual printf manpage specifies that the 'z' specifier is the one you want 20090809 02:40:55< shadowmaster> yeah. 20090809 02:41:12< corn> can both of you try recompiling with '%zd'? recompilation is a 15-30 minute affair for me 20090809 02:42:05-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090809 02:42:19< loonycyborg> %zd works fine for me. 20090809 02:42:46< shadowmaster> same. 20090809 02:42:54< corn> ok 20090809 02:43:59< CIA-62> shadowmaster * r37567 /trunk/src/replay.cpp: 20090809 02:43:59< CIA-62> Use %zd instead of %lu, the latter caused warnings on 32-bit 20090809 02:43:59< CIA-62> platforms... %zd should work for any definition of size_t. 20090809 02:48:01-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection reset by peer] 20090809 02:48:16-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 03:00:15-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20090809 03:00:51-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090809 03:05:46-!- Sapient1 [n=patrickp@249.sub-70-214-134.myvzw.com] has left #wesnoth-dev [] 20090809 03:09:12-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has quit [Read error: 113 (No route to host)] 20090809 03:18:01-!- Derekkk [n=chatzill@host86-176-106-39.range86-176.btcentralplus.com] has joined #wesnoth-dev 20090809 03:20:35-!- ancestral [n=ancestra@166.205.4.153] has joined #wesnoth-dev 20090809 03:32:11-!- shadowmaster_ [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090809 03:33:20-!- shadowmaster_ [n=ignacio@wesnoth/developer/shadowmaster] has quit [Client Quit] 20090809 03:43:00-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has joined #wesnoth-dev 20090809 03:45:56-!- ancestral [n=ancestra@166.205.4.153] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 20090809 03:47:31-!- ancestral [n=ancestra@166.205.4.153] has joined #wesnoth-dev 20090809 03:49:24-!- ancestral [n=ancestra@166.205.4.153] has quit [Client Quit] 20090809 03:50:13-!- ancestral [n=ancestra@166.205.4.153] has joined #wesnoth-dev 20090809 03:55:09< Derekkk> I hope there are some formula-ai experts around... My code fails on the 4th line where north_dest should get assigned, but although the variable is created, it never seems to receive any value other than null. http://wesnoth.pastebin.com/d75826b0 20090809 03:55:42< Derekkk> it would be brilliant if someone could take a quick look? 20090809 04:15:57-!- ancestral [n=ancestra@166.205.4.153] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 20090809 04:25:21-!- Derekkk [n=chatzill@host86-176-106-39.range86-176.btcentralplus.com] has quit ["I'm not here right now."] 20090809 04:37:14-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090809 04:40:29-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090809 04:50:53-!- Ivanovic_ [n=ivanovic@dtmd-4db2aa02.pool.einsundeins.de] has joined #wesnoth-dev 20090809 04:52:28-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has joined #wesnoth-dev 20090809 05:07:33-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 113 (No route to host)] 20090809 05:08:51-!- Ivanovic_ is now known as Ivanovic 20090809 05:10:54-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090809 05:11:44-!- Kenpachi [n=chatzill@CPE-121-220-133-156.sa.bigpond.net.au] has joined #wesnoth-dev 20090809 05:11:59-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090809 05:16:47-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090809 05:18:03-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 05:20:23-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has joined #wesnoth-dev 20090809 06:09:14-!- wesbot changed the topic of #wesnoth-dev to: 70 bugs, 239 feature requests, 12 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090809 07:11:20-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [] 20090809 07:30:03< CIA-62> cornmander * r37568 /trunk/src/upload_log.cpp: Added kill event data from replays into upload logs. 20090809 07:36:15-!- PK8 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090809 07:38:56-!- silene [n=plouf@AMarseille-251-1-58-99.w83-197.abo.wanadoo.fr] has joined #wesnoth-dev 20090809 07:40:59-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090809 07:44:12-!- Sirp [n=user@pool-71-164-166-178.dllstx.fios.verizon.net] has quit ["leaving"] 20090809 07:44:43< corn> AI0867: around? 20090809 07:45:42< corn> AI0867: I want to use wmlparser in my server-side upload log parser and I need some info on how/if I should use it 20090809 07:47:50-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 08:08:28-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 08:15:59-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090809 08:17:43-!- allefant [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090809 08:18:24-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090809 08:26:49-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20090809 08:27:02< mordante> servus 20090809 08:27:46-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090809 08:30:15< mordante> silene, regarding the notifications, you were looking to use dbus directly, is that feasible or will you keep using the two libraries? 20090809 08:31:04< silene> mordante: i will keep using two libraries, since kde doesn't react to freedesktop notifications 20090809 08:31:46< mordante> ok, then I'll have look at cmake to also allow these features 20090809 08:33:03-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 08:39:54-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit [Remote closed the connection] 20090809 08:40:27-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090809 08:45:36< mordante> corn, shadowmaster said a few days ago the AI0867 is on vacation, so don't expect a fast reply 20090809 09:01:50< corn> mordante: ok 20090809 09:02:14< corn> off to bed now, be back in 8 hours or so 20090809 09:02:50< mordante> night corn 20090809 09:08:31-!- Kenpachi_ [n=chatzill@CPE-58-170-102-2.sa.bigpond.net.au] has joined #wesnoth-dev 20090809 09:24:19-!- stikonas [n=and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090809 09:25:10-!- Kenpachi [n=chatzill@CPE-121-220-133-156.sa.bigpond.net.au] has quit [Read error: 110 (Connection timed out)] 20090809 09:26:20-!- freim [n=hogne@feathers.os-tr.net] has joined #wesnoth-dev 20090809 09:52:36-!- PK8 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090809 09:59:39-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["quit"] 20090809 10:00:36-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090809 10:23:53-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has quit [Read error: 113 (No route to host)] 20090809 10:36:52< CIA-62> mordante * r37569 /trunk/src/replay.cpp: snprintf -> str_cast. 20090809 10:36:57< CIA-62> mordante * r37570 /trunk/ (2 files in 2 dirs): Rename the label field to message. 20090809 10:37:02< CIA-62> mordante * r37571 /trunk/data/gui/default/window/wml_message.cfg: Convert listbox to new linked widget style. 20090809 10:37:05< CIA-62> mordante * r37572 /trunk/data/gui/default/window/campaign_dialog.cfg: Convert listbox to new linked widget style. 20090809 10:37:09< CIA-62> mordante * r37573 /trunk/data/gui/default/window/game_load.cfg: Convert listbox to new linked widget style. 20090809 10:37:14< CIA-62> mordante * r37574 /trunk/data/gui/default/window/addon_list.cfg: Convert listbox to new linked widget style. 20090809 10:37:18< CIA-62> mordante * r37575 /trunk/data/gui/default/window/ (3 files): Convert listbox to new linked widget style. 20090809 10:37:23< CIA-62> mordante * r37576 /trunk/src/gui/auxiliary/ (3 files in 2 dirs): Add more info about the linked group feature. 20090809 10:49:14< Ivanovic> moin 20090809 10:57:16-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090809 10:58:20-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090809 11:00:04-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090809 11:08:56-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has quit [] 20090809 11:10:27-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090809 11:20:38-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090809 11:21:00-!- EdB [n=edb@150.101.196-77.rev.gaoland.net] has joined #wesnoth-dev 20090809 11:22:00-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090809 11:26:55-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20090809 11:26:56-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090809 11:28:50-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 11:33:08-!- giusef [n=giusef@unaffiliated/giusef] has joined #wesnoth-dev 20090809 11:33:28-!- ettin [n=jorda@wesnoth/developer/ettin] has quit [Read error: 60 (Operation timed out)] 20090809 11:35:22-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090809 11:38:59-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090809 11:39:07-!- loonybot [n=loonybot@79.139.138.234] has joined #wesnoth-dev 20090809 11:40:25-!- loonycyborg [n=sergey@79.139.138.234] has joined #wesnoth-dev 20090809 11:46:33-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090809 11:57:55< Ivanovic> silene: what is the status of the notification changes? 20090809 11:58:07< Ivanovic> that is i know that you tried to switch over to generic dbus messages 20090809 11:58:11< Ivanovic> has it worked out? 20090809 11:58:38< mordante> Ivanovic, mordante: i will keep using two libraries, since kde doesn't react to freedesktop notifications 20090809 11:58:41< Ivanovic> (mordante wanted to wait with adding it to the cmake recipe till it is sure if the libnotify dependency can be dropped= 20090809 11:58:47< Ivanovic> ah, okay 20090809 11:59:17< mordante> I'll work on it next week 20090809 11:59:56< Ivanovic> okay 20090809 12:00:17< Ivanovic> since there is still at least one blocker in the tracker i won't release 1.7.3 today 20090809 12:00:23< Ivanovic> so it will likely be next week 20090809 12:00:40< mordante> I know I've two blockers on my name ;-) 20090809 12:02:12< silene> Ivanovic: unfortunately, it doesn't work; and since it seems the freedesktop daemon reacts even on kde (and i suppose the converse is true too, a gnome user with kde installed would get the kde notifications), i can't even detect on the fly which notification system to use 20090809 12:05:28-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20090809 12:07:13< silene> so, unless someone has a good way to detect which desktop environment is running, it's not possible to merge the two systems 20090809 12:11:35< silene> though, let me try something; it seems the kde desktop environment always define the KDE_FULL_SESSION, and i have a hard time believing a gnome or xfce session would have it, so it may be possible; i will commit something this afternoon 20090809 12:15:59-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090809 12:23:13-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090809 12:32:29-!- Noyga [n=lame-z@wesnoth/developer/noyga] has quit [Remote closed the connection] 20090809 12:57:42-!- giusef [n=giusef@unaffiliated/giusef] has quit ["exit (-1);"] 20090809 13:00:12-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090809 13:10:47-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090809 13:28:11-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection] 20090809 13:45:54-!- EdB [n=edb@150.101.196-77.rev.gaoland.net] has quit [Remote closed the connection] 20090809 14:21:14-!- Kenpachi [n=chatzill@CPE-58-170-102-2.sa.bigpond.net.au] has joined #wesnoth-dev 20090809 14:37:15-!- Kenpachi_ [n=chatzill@CPE-58-170-102-2.sa.bigpond.net.au] has quit [Read error: 110 (Connection timed out)] 20090809 14:39:07-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20090809 15:20:33< silene> the dbus code is driving me crazy... how could someone design a library that complicated to use? 20090809 15:21:20-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090809 15:24:34< loonycyborg> Yes. I wanted to make a unified kde/freedesktop notification support too but I didn't get masochistic enough to fiddle with DBus C api yet :P 20090809 15:34:20-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090809 15:37:45-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090809 15:50:40< silene> i'm now able to display notifications; now to get them to update existing ones... 20090809 16:02:57 * deekay summons Crab 20090809 16:03:24-!- allefant_ [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090809 16:04:57-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20090809 16:09:47-!- crimson_p [n=irchon@64.201.60.211] has joined #wesnoth-dev 20090809 16:11:09-!- crimson_p [n=irchon@64.201.60.211] has quit [Remote closed the connection] 20090809 16:12:45-!- allefant [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090809 16:15:49-!- crimson_penguin [n=ben@64.201.60.211] has joined #wesnoth-dev 20090809 16:17:57< mordante> ilor, I've some changes for the lobby, but the lobby seems very slow 20090809 16:18:20< mordante> guess I'll need to do some profiling later to see what eats the CPU time 20090809 16:18:29< ilor> mordante: perhaps due to reflowing the layout every second 20090809 16:18:52< mordante> was my first guess as well, but I just disabled that ;-) 20090809 16:19:02< ilor> and yeah this might as well end up being a true gui2 performance test bench 20090809 16:19:33< ilor> also we don't have minimap caching there atm which migh account for some lag when there are many games open 20090809 16:19:55< mordante> That was my second guess 20090809 16:22:19-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has joined #wesnoth-dev 20090809 16:22:50< ilor> mordante: is there slowness with little/no games? 20090809 16:22:59< mordante> not really 20090809 16:25:58-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20090809 16:31:07< mordante> ilor, how can I make new rooms on a local server? 20090809 16:31:28< ilor> mordante: by default a /join foo should do 20090809 16:31:46< mordante> and it's allowed by default? 20090809 16:32:02< ilor> yes, there's a setting to change it 20090809 16:37:06< mordante> works now, guess I used an old server before :-/ 20090809 16:44:36< mordante> Soliton, can you test whether the dynamic_cast issue in the lobby has been resolved? 20090809 16:47:25< Soliton> tweaking wesnothd a bit atm but after that, yes. 20090809 16:48:38< mordante> ok thanks 20090809 17:04:02-!- Kenpachi_ [n=chatzill@58.167.196.175] has joined #wesnoth-dev 20090809 17:15:14< CIA-62> mordante * r37577 /trunk/data/gui/default/window/lobby_main.cfg: Convert listbox to new linked widget style. 20090809 17:15:19< CIA-62> mordante * r37578 /trunk/src/gui/ (auxiliary/window_builder/listbox.cpp widgets/listbox.cpp): 20090809 17:15:19< CIA-62> Disable old linked widgets method in the listbox. 20090809 17:15:19< CIA-62> At the moment the listbox will trigger an assertion failure, when 20090809 17:15:19< CIA-62> there's still some code which depends on the old way. The code will soon 20090809 17:15:21< CIA-62> entirely be removed. 20090809 17:15:25< CIA-62> mordante * r37579 /trunk/ (5 files in 2 dirs): 20090809 17:15:25< CIA-62> Added experimental listbox grow support. 20090809 17:15:27< CIA-62> This allows a listbox to grow, but keep the unused area blank instead of 20090809 17:15:29< CIA-62> trying to allocate it for it's content. The feature had minimal testing, 20090809 17:15:31< CIA-62> but ran into a problem that the stacked widget doesn't let the room 20090809 17:15:35< CIA-62> grow. This needs to be fixed before testing further. 20090809 17:16:06< ilor> mordante: what _is_ this linked widget business? 20090809 17:16:31< mordante> ilor, ^ this works nicely when you disable when you remove the stacked widget macro from the game list 20090809 17:16:59< mordante> ilor, that you can now select which listbox columns (and other widgets) need to have the same width 20090809 17:17:22< mordante> instead of explicitly set for all fields and thus requiring all the empty headers 20090809 17:17:32< ilor> not sure I follow 20090809 17:17:56< mordante> before you had to set an empty header field for every body field of a listbox 20090809 17:18:18< mordante> this due to the fact that the engine forced them to be the same width 20090809 17:18:32< mordante> now the engine no longer does that, and you've to do it manually 20090809 17:22:48-!- Kenpachi [n=chatzill@CPE-58-170-102-2.sa.bigpond.net.au] has quit [Read error: 110 (Connection timed out)] 20090809 17:27:34-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20090809 17:30:06< Soliton> ilor: any idea whether trailing whitespace is ever important in a :command? if not (as i suspect) it'd be great to automatically trim those. 20090809 17:31:44-!- Sirp [n=user@wesnoth/developer/dave] has joined #wesnoth-dev 20090809 17:33:10< ilor> Soliton: iirc trailing space will only be passed to commands that take a "data()" (i.e. take some args and then request everything following the Nth argument) 20090809 17:33:45< Soliton> ok, so just have to strip the string that get_data() returns? 20090809 17:35:05< ilor> Soliton: yes a right trim there should be enough (left trim is already there) 20090809 17:35:14< Soliton> get_arg() just looks for one space though so if there are several the returned string can still contain it? 20090809 17:35:33< Soliton> well, i'll just use utils::strip(). 20090809 17:37:22< ilor> Soliton: advance_to_arg moves to the first nonspace char after the first space char 20090809 17:37:38< Soliton> ah, ok. 20090809 17:43:34-!- EdB [n=edb@150.101.196-77.rev.gaoland.net] has joined #wesnoth-dev 20090809 17:44:32-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has joined #wesnoth-dev 20090809 17:49:42-!- allefant_ is now known as elias 20090809 17:55:47< shadowmaster> wesbot: seen Turuk 20090809 17:55:48< wesbot> shadowmaster: Queried user last spoke 2d 11h ago. Turuk is currently here and on the channels #wesnoth and #wesnoth-umc-dev. 20090809 18:05:55< shadowmaster> I suppose nobody came up with a better antispambot measure for the forums (with existing _code_) during this time? 20090809 18:19:14< crimson_penguin> shadowmaster: I'm finally working on the TC thing a bit 20090809 18:19:45-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20090809 18:26:06-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090809 18:26:45-!- giusef [n=giusef@host69-251-dynamic.52-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20090809 18:33:04< shadowmaster> oh gods. 20090809 18:33:21< crimson_penguin> haha 20090809 18:33:22< Valkier> ? 20090809 18:33:29< crimson_penguin> shadowmaster: had you given up on me yet? :) 20090809 18:33:58< crimson_penguin> shadowmaster: it actually vaguely works already 20090809 18:34:09< shadowmaster> crimson_penguin: no, I was looking at a phpBB mod's installation instructions. 20090809 18:34:42< shadowmaster> I found an ambiguous instruction - find this code, etc. etc., the code is repeated many times on the same file for completely different purposes. 20090809 18:34:53< shadowmaster> I see why cycholka didn't even apply it. 20090809 18:35:10< crimson_penguin> ah 20090809 18:35:17< crimson_penguin> phpBB is AWEFUL 20090809 18:35:23< shadowmaster> *aw 20090809 18:37:08< shadowmaster> yeah, so far I have found nobody who will say it is awesome or good (except, perhaps, standard forumers) 20090809 18:40:31 * shadowmaster also happens to find a XHTML bug while applying the same mod. 20090809 18:45:19< shadowmaster> wesbot: seen cib 20090809 18:45:20< wesbot> shadowmaster: Sorry, I don't know of cib. 20090809 18:45:21< shadowmaster> wesbot: seen cib0 20090809 18:45:22< wesbot> shadowmaster: The person with the nick cib0 3d 14h ago was here and on the channel #wesnoth with the message: Remote closed the connection 20090809 18:46:01< crimson_penguin> shadowmaster: I bet the software I'm managing for the local food co-op here is even worse though :( 20090809 18:47:06< crimson_penguin> shadowmaster: lots of code duplication, random acronyms, bugs, bad organization... 20090809 18:47:30< crimson_penguin> in this one place, instead of just opening a file for writing, they first unlinked the file, then opened it in append mode! 20090809 18:50:56-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has quit [Read error: 113 (No route to host)] 20090809 19:03:16 * shadowmaster notices that cycholka missed other parts of that mod (why the hell am I bothering about applying the syndication mod if it isn't even properly applied in the current forum?!) 20090809 19:18:52< shadowmaster> okay, I have finished the worst part of this work... 20090809 19:19:34< shadowmaster> now I just need to apply the view-or-mark-unreads mod and I can copy my files to wesnoth.org 20090809 19:22:48-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has joined #wesnoth-dev 20090809 19:23:58-!- busfahrer` [n=busfahre@ulmg-5f70e123.pool.einsundeins.de] has joined #wesnoth-dev 20090809 19:24:46-!- busfahrer` is now known as busfahrer 20090809 19:44:34< Ivanovic> shadowmaster: great! 20090809 19:52:04-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20090809 19:52:10-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090809 19:52:35< Aethaeryn> http://www.wesnoth.org/forum/viewtopic.php?p=375234#p375234 20090809 19:52:53< Aethaeryn> I'm just curious as to an official view of that dragon... as people are saying it's not going to be mainline, only its animations are. 20090809 19:53:11< Aethaeryn> Personally, I think options are good when it comes to mainline-quality monster sprites. 20090809 20:00:01< Valkier> I officially view it as a shame if they don't use it for mainline. Good work there. 20090809 20:01:57-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has quit [Read error: 113 (No route to host)] 20090809 20:07:04-!- Kenpachi_ is now known as Kenpachi 20090809 20:09:05< shadowmaster> Aethaeryn: maybe PM Jetrel. 20090809 20:09:32< Soliton> where does it say it won't be going into mainline? 20090809 20:09:32< shadowmaster> you probably won't get an appropriate response here; we are not the art devs 20090809 20:10:08< shadowmaster> okay forget it, you alreay replied. 20090809 20:11:07< loonycyborg> Jetrel visits this channel occasionally. You can expect appropriate response when he's online :P 20090809 20:11:13< Valkier> Yeah. I think the closest you got in here is me, and all I do is draw pretty pictures. 20090809 20:11:37< Valkier> Not even very well :-P 20090809 20:12:46-!- melinath [n=melinath@pool-72-72-193-179.altnpa.east.verizon.net] has joined #wesnoth-dev 20090809 20:12:51< shadowmaster> s/devs/directors/ , since TSI idles in here regularly and kitty also visits from time to time. 20090809 20:13:00-!- giusef [n=giusef@unaffiliated/giusef] has quit ["exit (-1);"] 20090809 20:13:17-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090809 20:26:32< Aethaeryn> shadowmaster: tsi is gone for the weekend; I recall reading that. 20090809 20:26:48< shadowmaster> thanks for the info, although I didn't need it 20090809 20:27:05< shadowmaster> now if you could tell me where Turuk is, I'd be greatly thankful. 20090809 20:28:01< Aethaeryn> He probably said something in #Wesnoth-mp sometime when I wasn't online ;) 20090809 20:34:53-!- kitty__ [n=kitty@e180196005.adsl.alicedsl.de] has joined #wesnoth-dev 20090809 20:37:04< mordante> hi kitty__ 20090809 20:37:41< kitty__> hi! 20090809 20:37:49< Aethaeryn> We were just talking about you, kitty... 20090809 20:38:06< kitty__> what? 20090809 20:38:07< mordante> kitty__, feel free to ignore me, I just had a look at this portrait today http://www.wesnoth.org/forum/viewtopic.php?p=371659#p371659 and have the feeling his hand isn't entirely aligned with the spearshaft 20090809 20:38:33< Aethaeryn> kitty__: check the irclogs. 20090809 20:39:02< shadowmaster> kitty__: we weren't talking anything important, never mind. 20090809 20:39:06< Aethaeryn> It was the conversation just before you entered. I could technically paste/summarize it in 4 lines, but the topic says "Don't paste on IRC!" 20090809 20:39:07< kitty__> mordante: hmm, that feels old by now. the rear knuckles could be a bit higher, but it doesn't really bother me... 20090809 20:39:16 * shadowmaster slaps Aethaeryn 20090809 20:39:35< Aethaeryn> kitty__: basically I linked to http://www.wesnoth.org/forum/viewtopic.php?p=375234#p375234 and asked for advice and the devs said I should rather talk to an art person. 20090809 20:39:41< kitty__> Aethaeryn: I'm not the person to ask anything about pixelart anyways,, 20090809 20:39:47< Aethaeryn> And shadowmaster brought up your name and tsi's name :P 20090809 20:39:51< Aethaeryn> So /me blames shadowmaster 20090809 20:40:07< kitty__> but Jeterel has a post at the bottom of page 9, where he explains his opinion 20090809 20:41:00< mordante> kitty__, also doesn't bother me, I just noticed it (finally found time to try to catch up with the forum) 20090809 20:41:38< mordante> but takes a lot of time to catch up with all this beautiful art :-) 20090809 20:41:57-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20090809 20:42:02-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090809 20:42:05< kitty__> :) (also ckeck valkier'S and lordbob's threads!) 20090809 20:42:48< mordante> I did ;-) 20090809 20:43:08-!- Kenpachi [n=chatzill@58.167.196.175] has quit ["ChatZilla 0.9.85 [Firefox 3.0.13/2009073022]"] 20090809 20:43:19< kitty__> And tsi's, too? 20090809 20:43:22< mordante> really nice to see many portrait artists being around now :-) 20090809 20:43:33< mordante> yup tsi's also 20090809 20:43:54-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090809 20:44:10< kitty__> yep, we seem to get them completed this year 20090809 20:44:29< mordante> I like to look at all at the "Art Contributions" posts, but most of the time I've not much to add, so just lurk there 20090809 20:45:02< mordante> any plans what you want to work on after they're finished? 20090809 20:45:10< kitty__> we see the view counts, at least ;) 20090809 20:45:34< kitty__> oh, the meinline campaigns, probably a short one. Two brothers or the like 20090809 20:46:37< mordante> cool :-) 20090809 20:48:37-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 20:48:39< Soliton> http://nopaste.com/p/aD9cOgllpb what is the compiler trying to tell me? 20090809 20:49:48< Soliton> the line in question is: wesnothd::player_map::const_iterator pl = std::find_if(players_.begin(), players_.end(), boost::bind(&::match_user_name, _2, username)); 20090809 20:50:15< Soliton> and match_user_name looks like: bool match_user_name(std::pair pl, const std::string& username) 20090809 20:51:38 * mordante loves template errors :-/ 20090809 20:53:38< Aethaeryn> shadowmaster: So the wiki is getting updated too? Or is the wiki just going down... 20090809 20:54:38< shadowmaster> Aethaeryn: just going down. 20090809 20:54:41< ilor> Soliton: the compile error about an array having negative size is a poor man's static assert used by boost most likely 20090809 20:54:52< shadowmaster> Aethaeryn: we didn't get a proper MediaWiki admin yet. 20090809 20:55:19< Soliton> ilor: i figured but that does not help me find out what is actually wrong. :-/ 20090809 20:55:26< mordante> I also expected that... only wonder why they didn't use their own static assert 20090809 20:55:42< ilor> mordante: keep in mind we don't use latest boost 20090809 20:56:02< ilor> Soliton: my bet is on a messed up boost::bind call 20090809 20:56:08< mordante> IIRC static assert is alrady pretty old 20090809 20:56:28< mordante> is the amperstand before the function required? 20090809 20:56:40< ilor> required for member functions iirc 20090809 20:56:43< mordante> and what's _2 mapped to 20090809 20:56:55< Soliton> ilor: well, of course. but what is wrong with it? 20090809 20:57:07< ilor> Soliton: canyou post the offending line? 20090809 20:57:13< shadowmaster> huh, for the first time I realize that Firefox has a ALT- binding for switching tabs. 20090809 20:57:15< Soliton> i did. 20090809 20:57:33< ilor> oh. *hides* 20090809 20:57:42< Soliton> mordante: _2 should be the username argument, no? 20090809 20:57:55< Soliton> from match_user_name 20090809 20:58:36< ilor> Soliton shouldn't that be _1? 20090809 20:58:55< Soliton> _1 is the player pair. 20090809 20:58:59< mordante> that's what I also kind of expected 20090809 20:59:18< ilor> doesn't find_if expect a single-arg function? 20090809 20:59:28< mordante> _1 forwards the first parameter send to find_if 20090809 20:59:39< Soliton> ah, ok. 20090809 20:59:46< ilor> and by using _2 you indicate the predicate takes two args which makes find_if vomit 20090809 20:59:58-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090809 21:00:18< Soliton> guess i should have what _2 really means. :-P 20090809 21:00:26< Soliton> +looked up 20090809 21:00:32< mordante> with the _x syntax you can reorder the original parameters by number to the function you bind 20090809 21:00:51< ilor> _1 _2 etc are arguments of the function object you're creating 20090809 21:01:00< Soliton> i thought it would say which argument i'm supplying in the bind call. 20090809 21:01:20< Soliton> great compiled now. 20090809 21:03:07< ilor> boost::bind goes from "unreadable compile error" to "builds and works perfectly" in under 4 seconds 20090809 21:03:26 * Soliton looks at the error again to try to understand it. 20090809 21:05:17 * Soliton is happy it works. 20090809 21:05:17-!- fendrin [n=fabi@g228002099.adsl.alicedsl.de] has joined #wesnoth-dev 20090809 21:09:53< CIA-62> soliton * r37580 /branches/1.6/src/server/server.cpp: don't add already existing entries to the ip_log_ 20090809 21:09:57< CIA-62> soliton * r37581 /branches/1.6/src/server/ (metrics.cpp metrics.hpp server.cpp): split a requests command from the metrics 20090809 21:10:04< CIA-62> soliton * r37582 /branches/1.6/src/menu_events.cpp: strip whitespace so tabcompleted nicks don't mess up commands 20090809 21:10:05< CIA-62> soliton * r37583 /branches/1.6/src/server/server.cpp: 20090809 21:10:05< CIA-62> mark online players in the searchlog result 20090809 21:10:05< CIA-62> call searchlog if status found no match 20090809 21:11:48< CIA-62> soliton * r37584 /trunk/src/server/server.cpp: don't add already existing entries to the ip_log_ 20090809 21:11:58< CIA-62> soliton * r37585 /trunk/src/server/ (metrics.cpp metrics.hpp server.cpp): split a requests command from the metrics 20090809 21:12:02< CIA-62> soliton * r37586 /trunk/src/menu_events.cpp: strip whitespace so tabcompleted nicks don't mess up commands 20090809 21:12:06< CIA-62> soliton * r37587 /trunk/src/server/server.cpp: 20090809 21:12:06< CIA-62> mark online players in the searchlog result 20090809 21:12:06< CIA-62> call searchlog if status found no match 20090809 21:12:18< mordante> ilor, the debug colouring is really interesting, can make an educated guess what my stacked widget problem is :-) 20090809 21:12:36< fendrin> hello 20090809 21:12:39< mordante> guess I should have thought of it before 20090809 21:12:42< mordante> servus fendrin 20090809 21:13:32< ilor> mordante: how do I enable this? 20090809 21:14:08-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection reset by peer] 20090809 21:14:23-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 21:14:26< mordante> ilor, haven't committed to code yet, at the moment it wants the colour as integral value instead of a rgba string 20090809 21:15:54< ilor> mordante I suspeced that but wanted to rule out the possiblity that I missed the commit :) 20090809 21:16:01< mordante> :-) 20090809 21:18:24-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20090809 21:24:18-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090809 21:28:50-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090809 21:29:15< Crab_> deekay: you wanted something from me ? 20090809 21:29:22< deekay> Crab_: Yup 20090809 21:29:28< deekay> Crab_: 2 things 20090809 21:29:39< deekay> Crab_: 1) fai commandline does not work properly ;p 20090809 21:30:07< deekay> Crab_: it seems that once it is invoked, it only is "attached" to the one side 20090809 21:31:17< Crab_> deekay: how-to-reproduce ? 20090809 21:31:30< deekay> Crab_: Run any local 1v1 game 20090809 21:31:37< deekay> f - my_leader 20090809 21:31:38< deekay> end turn 20090809 21:31:42< deekay> f - my_leader 20090809 21:31:51< Crab_> human-vs-human game ? 20090809 21:31:54< deekay> yes 20090809 21:33:14< Crab_> ok 20090809 21:33:18< Crab_> and the second thing ? 20090809 21:33:29< deekay> Actually 2 more, but questions 20090809 21:33:52< Crab_> I'll fix (1) soon 20090809 21:34:12< deekay> I saw you removed recruitment= from AI paramters, and defaul AI does not longer check for possibility of formulaAI doing recruitment 20090809 21:34:20< fendrin> current svn isn't compiling for me. The server fails to build. 20090809 21:34:28< deekay> How can I reproduce this old behaviour now? 20090809 21:34:43< mordante> fendrin, what error message do you get> 20090809 21:34:45< mordante> ?* 20090809 21:35:01< fendrin> src/server/server.cpp:1606: instantiated from here 20090809 21:35:02< fendrin> /usr/include/boost/bind.hpp:282: error: cannot convert ‘std::pair’ to ‘int’ in argument passing 20090809 21:35:46< mordante> Soliton loves those errors ;-) 20090809 21:35:49 * mordante hides 20090809 21:36:25< fendrin> what can I tell scons to skip building the server? 20090809 21:36:29< CIA-62> soliton * r37588 /branches/1.6/src/server/server.cpp: added the pm command to the help message 20090809 21:36:33< CIA-62> soliton * r37589 /branches/1.6/src/server/game.cpp: 20090809 21:36:33< CIA-62> disabled adding the era id to the OOS reason 20090809 21:36:33< CIA-62> it just creates a huge list over time and we'll never know what caused the OOS anyway 20090809 21:36:45< Crab_> fendrin: 'scons wesnoth' ? 20090809 21:37:06< Crab_> deekay: atm 'old' behavior is inaccessible, fixing it is close to top of my todo list. 20090809 21:37:28< deekay> Crab_: ok... so last issue :) 20090809 21:37:50< CIA-62> soliton * r37590 /trunk/src/server/server.cpp: added the pm command to the help message 20090809 21:37:54< CIA-62> soliton * r37591 /trunk/src/server/game.cpp: 20090809 21:37:54< CIA-62> disabled adding the era id to the OOS reason 20090809 21:37:54< CIA-62> it just creates a huge list over time and we'll never know what caused the OOS anyway 20090809 21:38:44< deekay> Crab_: Does defining AI cfg work? I would like define Formula AI that has 2 stages, one simple move= where I'll put my recruiting stuff, then fallback 20090809 21:38:51< Crab_> deekay: the reason why I'm breaking those all small things that I was asked to 'commit' in small things, not in 'big commits', so I have to temporary disable some features while I'm working on them 20090809 21:38:51< deekay> As a workaround for now 20090809 21:38:59< fendrin> Crab_: yes, that did it, thanks. 20090809 21:39:02< deekay> Crab_: No worries, I understand :) 20090809 21:39:26< deekay> Crab_: It's just now I'm working on old revision to test osme things :) 20090809 21:39:39< deekay> Crab_: I wanted to play dev game today, but I couldn't make it to work 20090809 21:40:09< Soliton> fendrin: post the first error not the last. 20090809 21:40:22< Crab_> deekay: yes, you can do it via 'two-stage' approach. first stage will recruit if leader is on keep, second stage will fall back to formula ai. 20090809 21:40:33< Crab_> (first stage can use a formula for recruitment) 20090809 21:40:55< deekay> Crab_: Are you sure it works with AI being selected from config? 20090809 21:41:07< deekay> Crab_: Did you test it in MP game? 20090809 21:41:11-!- kitty__ [n=kitty@e180196005.adsl.alicedsl.de] has quit ["bye"] 20090809 21:42:08< deekay> Crab_: I tried to define fai stage with defined move= but it was not invoked.. or I messed something 20090809 21:42:09< deekay> :) 20090809 21:42:28< Crab_> deekay: it worked when I've tested it, but that was some time ago. Please order those issues by priority, and I'll quickly check/fix them. 20090809 21:43:01< deekay> Crab_: Gimme 10 min ok? 20090809 21:43:09< Crab_> deekay: ok 20090809 21:43:50-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has quit [] 20090809 21:44:07< fendrin> Soliton: http://wesnoth.pastebin.com/d12bc000d 20090809 21:47:45< Soliton> fendrin: fixed. 20090809 21:47:54< CIA-62> soliton * r37592 /trunk/src/server/server.cpp: forgot an adjustment when porting to trunk 20090809 21:51:04< Soliton> mordante: immediate crash when joining the lobby. :-> 20090809 21:51:18< Soliton> wesnoth: src/gui/widgets/scrollbar.cpp:231: void gui2::tscrollbar_::recalculate(): Assertion `visible_items_' failed. 20090809 21:51:50< mordante> Soliton, ah great, haven't been able to reproduce it, but ilor ran into it before as well 20090809 21:52:15< Soliton> anything you'd like to know? 20090809 21:52:21< CIA-62> mordante * r37593 /trunk/ (6 files in 3 dirs): 20090809 21:52:21< CIA-62> Add a debug background colour feature for widgets. 20090809 21:52:21< CIA-62> This feature allows a widget's background area to be coloured so it's 20090809 21:52:21< CIA-62> directly visible which area a widget occupies. This feature is meant for 20090809 21:52:21< CIA-62> debugging only and not available for LOW_MEM builds. 20090809 21:52:36< ilor> mordante: this seems to be the one I got while cnagning servers 20090809 21:52:39< mordante> Soliton, yes your screen resolution 20090809 21:52:41< CIA-62> mordante * r37594 /trunk/ (changelog data/gui/default/widget/stacked_widget_default.cfg): The widget in a stacked widget now grows properly. 20090809 21:53:26< Soliton> mordante: 1280x800 20090809 21:54:07< Soliton> wesnoth is windowed but fullscreen. 20090809 21:54:12< fendrin> Soliton: great :-) 20090809 21:54:38-!- EdB [n=edb@150.101.196-77.rev.gaoland.net] has quit [Remote closed the connection] 20090809 21:55:34< mordante> ilor, r37593 adds the debug borders 20090809 21:55:37< deekay> Crab_: Does that look ok http://wesnoth.pastebin.com/d701d1761 ? 20090809 21:57:11< mordante> ilor, Soliton I think I know what the problem is, the player list gets longer as being able to display 20090809 21:57:23< shadowmaster> Ivanovic: when was the next release going to be btw? 20090809 21:57:26< mordante> but I need more testing 20090809 21:57:40< ilor> mordante: well the player list gets a scrollbar, at least it did a bunch of times for mr 20090809 21:57:54< ilor> mordante: I mean it's all in a scrollbar panel 20090809 21:58:00< Crab_> deekay: yes, looks ok 20090809 21:58:08< deekay> Crab_: It does not work :) 20090809 21:58:27< deekay> Crab_: recruting is not made, just normal default AI turn 20090809 21:58:46< Crab_> deekay: then I'll check it out and fix. 20090809 21:58:53< deekay> Crab_: So I'd say this AI cfg issue > recruitment thinge > formula commandline 20090809 21:59:01< Crab_> ok 20090809 21:59:04< mordante> ilor, I agree it should, but that listbox is near the bottom at 1280x850 20090809 21:59:06< deekay> Crab_: Thanks :) 20090809 21:59:45< Crab_> (I'll try to fix this issues right now) 20090809 22:00:12< deekay> Crab_: No hurry, it can wait for tomorrow :) 20090809 22:00:33< CIA-62> shadowmaster * r37595 /trunk/ (changelog players_changelog): 20090809 22:00:33< CIA-62> Mention fix of bug #14039 in changelogs (music playlists not working, 20090809 22:00:33< CIA-62> yadda yadda yadda...) 20090809 22:00:34< Crab_> deekay: I have some time atm, before I go to sleep 20090809 22:00:42< deekay> Crab_: ok then :) 20090809 22:02:42< mordante> shadowmaster, there are some blockers in the lobby code and we like to have that part stable so people can start to test it 20090809 22:03:48< shadowmaster> mordante: okay, great. 20090809 22:03:56< mordante> why? 20090809 22:04:11< shadowmaster> good question :/ 20090809 22:04:34< shadowmaster> because it means more people will be able to test it? 20090809 22:04:58< Soliton> mordante: this time it worked and the player list has a scrollbar. 20090809 22:05:22< Soliton> 3 nicks off screen. 20090809 22:05:24< corn> I should probably update the changelogs to reflect the new stuff with --screenshot and --new-uploader 20090809 22:05:52< Soliton> are thos mentioned in --help and the man page? 20090809 22:05:58< mordante> Soliton, ok, guess it's either a random problem or needs specific conditions to trigger them 20090809 22:06:02< corn> only in --help for now 20090809 22:06:06< corn> I didn't update the manpage yet 20090809 22:06:21< Soliton> mordante: maybe there was a nick to *wide* for the list. 20090809 22:06:27< fendrin> Are there any water ambient sounds anywhere? 20090809 22:07:02< mordante> I doubt it, I could reproduce it at 1280x800 but it worked on 1280x900 and 1280x850 20090809 22:07:13< shadowmaster> fendrin: data/core/sounds/ambient/ship.ogg 20090809 22:07:15< shadowmaster> that's the only one 20090809 22:07:27< Soliton> mordante: going on as MMMMMMMMMMMMMMM produces the assert. 20090809 22:07:32-!- PK5 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090809 22:07:37< Soliton> mordante: when i was all alone it worked though. 20090809 22:07:53< Soliton> mordante: so i guess scrollbar and very long nick. 20090809 22:08:11< shadowmaster> zookeeper: who is supposed to keep http://www.wesnoth.org/wiki/TerrainCodesWML up to date? 20090809 22:09:46< mordante> ilor, do you want to discuss things before you go on vacation? 20090809 22:09:59< mordante> Soliton, ok, will test further with more debug code 20090809 22:09:59< ilor> mordante sure I've got a moment now 20090809 22:10:26< CIA-62> crab * r37596 /trunk/src/ai/manager.cpp: fixed issue with having only one formula_ai per 'all human players in case of local game' - now there is one formula_ai per side 20090809 22:10:29< ilor> mordante: generally I expect there to be a bunch of bugs/FRs when I get back so I can get busy ;) 20090809 22:11:14< Crab_> deekay: ^ ' it seems that once it is invoked, it only is "attached" to the one side' - fixed, now there's one command-line formula_ai per each side. now going for that 'this AI cfg issue' 20090809 22:11:29< deekay> Crab_:cool :) 20090809 22:11:37< mordante> I _hope_ I can fix the most grave bugs next week 20090809 22:12:03< ilor> yeah it'd be great to have new lobby in a releasable state by sunday 20090809 22:12:25< mordante> I hope so too 20090809 22:13:01< mordante> need to have a good idea for the resize scrollbars, I've some ideas but the code got too ugly, so back to the drawing board 20090809 22:14:25< CIA-62> shadowmaster * r37597 /trunk/ (4 files in 2 dirs): Allow using sound= in [story] [part] nodes. 20090809 22:14:46< Crab_> deekay: basically, "each AI is a composite AI, and each AI contains both cpp and fai engines (initialized on-demand) . thus, each AI has one formula_ai instance associated with it" 20090809 22:15:08< shadowmaster> "sound= in [story] [part]"? what a silly idea. 20090809 22:15:19< deekay> Crab_: ok 20090809 22:17:04< CIA-62> cornmander * r37598 /website/stats.wesnoth.org/helperlib.py: Added support for multiple wml child nodes of the same name to the simple parser. 20090809 22:18:16< mordante> ilor, I found something interesting in the debug code, the listbox first has 0 items and gets 0 visible items, then it gets more items but the visible count remains 0 20090809 22:18:56< mordante> so need to find a good solution for that, maybe set a minimum size for the listboxes 20090809 22:19:23< shadowmaster> kkless ~/src/wesnoth/changelog 20090809 22:19:29< mordante> the other solution is the layout invalidate call, but I'd rather avoid that 20090809 22:20:06< mordante> but at least I now think I know how to reproduce it, having a lot of players joined and reducing the height 20090809 22:23:12< Ivanovic> shadowmaster: i hope "soon" 20090809 22:23:27< Ivanovic> i wanted to get it out today, but some stuff was still blocking it 20090809 22:23:42< shadowmaster> ah, okay, we are back to the usual plan 20090809 22:23:44< Ivanovic> will have a look at it over the week, maybe next sunday it will be ready 20090809 22:28:09< fendrin> anyone an idea why [variable] name=time_of_day.id [not] equals=first_watch [or] equals=second_watch is always true? 20090809 22:29:47< shadowmaster> fendrin: exact code, please? 20090809 22:31:51< fendrin> shadowmaster: http://wesnoth.pastebin.com/d7511f562 20090809 22:32:29-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090809 22:32:31< shadowmaster> fendrin: logical comparisons are done at [if] level 20090809 22:33:39-!- ^Noyga^ [n=lame-z@AVelizy-151-1-63-54.w82-124.abo.wanadoo.fr] has joined #wesnoth-dev 20090809 22:33:43< fendrin> shadowmaster: I don't understand. 20090809 22:33:54< shadowmaster> http://wesnoth.pastebin.com/d3e3f8546 20090809 22:34:32-!- ^Noyga^ [n=lame-z@AVelizy-151-1-63-54.w82-124.abo.wanadoo.fr] has left #wesnoth-dev ["Quitte"] 20090809 22:34:36< fendrin> shadowmaster: I see. Thank you very much. 20090809 22:35:05< mordante> ilor, nice vacation 20090809 22:35:29< ilor> mordante: yeah, but I might be aroud for a sec tomorrow morning ;P 20090809 22:36:21< mordante> I won't ;-) 20090809 22:36:39< ilor> see you around Thursday then ;) 20090809 22:37:08< mordante> yeah 20090809 22:37:19-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Remote closed the connection] 20090809 22:38:58< corn> Crab_: ok, I have finished all the code on the backend to parse the new stuff in upload logs, we can begin generating logs now 20090809 22:38:58-!- YogiHH [n=chatzill@d040140.adsl.hansenet.de] has joined #wesnoth-dev 20090809 22:39:06< YogiHH> hello 20090809 22:39:13< ilor> hi YogiHH 20090809 22:39:14< mordante> hi YogiHH 20090809 22:39:17< corn> hi 20090809 22:39:32< Crab_> corn: ok. is all the needed code committed to trunk ? 20090809 22:39:36< YogiHH> did i miss anything important during the last week? 20090809 22:40:00< corn> Crab_: I need to look into what needs to be done to enable logging for MP games 20090809 22:40:02< CIA-62> cornmander * r37599 /website/stats.wesnoth.org/wesstats/controllers/root.py: Added kill_event parsing to the upload_log server. kill_events are added to the KILLMAP table. 20090809 22:40:58< Crab_> just enable it for 'all sides are ai' games having --new-uploads set 20090809 22:41:36< corn> how do I check the first part? 20090809 22:42:54< mordante> night 20090809 22:43:02< corn> Crab_: 'all sides are ai' 20090809 22:43:37-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090809 22:44:02< Crab_> for each team, look at its controller 20090809 22:44:42< Crab_> if cfg["controller"] == "ai" , then it's ai 20090809 22:46:52< Crab_> deekay: ok, found out the causes of that config problem. 1) the name of the stage is 'side_formulas', not 'move_formulas'. both source and wiki contain correct name, but my example in scenario-formula.cfg has incorrect name 2) there's a small fix that needs to be applied to the fai_engine to call on_create after creating the stages. I'm testing that fix atm. 20090809 22:47:27< YogiHH> Soliton: Within mp lobby, what does it mean if names are displayed bold? 20090809 22:47:37< deekay> Crab_: ah ok, in fact I did copy example 20090809 22:47:38-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090809 22:47:39< ilor> YogiHH: registered users 20090809 22:47:51< YogiHH> ah, thanks 20090809 22:47:54< crimson_penguin> shadowmaster: "By default, the team-colourizer will use the default" :P 20090809 22:48:18< corn> Crab_: ok, will change now 20090809 22:48:18-!- Noyga [n=lame-z@wesnoth/developer/noyga] has quit [Read error: 113 (No route to host)] 20090809 22:48:41< Crab_> deekay: no :) you'll fix 1 but you'll get hit by a SIGABRT 20090809 22:48:49< Crab_> deekay: I'll commit a patch to fix (2) as soon as I verify it 20090809 22:48:51< deekay> hehe 20090809 22:48:53< deekay> ok 20090809 22:49:09< crimson_penguin> btw, is TC used for anything other than... units? 20090809 22:49:28-!- silene1 [n=plouf@AMarseille-251-1-11-108.w83-113.abo.wanadoo.fr] has joined #wesnoth-dev 20090809 22:49:28< crimson_penguin> more specifically, anything bigger than units? 20090809 22:49:41< PK5> village control 20090809 22:49:48< shadowmaster> crimson_penguin: it's also used for flags. 20090809 22:49:57< crimson_penguin> those are probably smaller though 20090809 22:50:25< shadowmaster> yeah, of course. 20090809 22:50:34< shadowmaster> did you find a bug? 20090809 22:50:36-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 60 (Operation timed out)] 20090809 22:50:59< crimson_penguin> nope, I'm just wondering, because I think it'd be good to be able to display them in the program, but to do that I'd have to know a max size for them 20090809 22:51:08< shadowmaster> the biggest picture I have used with it is the magenta TC palette watch 20090809 22:51:39< shadowmaster> the max size is probably the biggest size allowed by libpng, or the size_t type, whichever is the smallest 20090809 22:51:51< shadowmaster> in bytes, not pixels. 20090809 22:51:55< crimson_penguin> right, but I mean the biggest size artists will actually use 20090809 22:52:05< corn> Crab_: is the multiplayer ai testing done only within play_multiplayer_mode? 20090809 22:52:12< crimson_penguin> it's not gonna crash if you use bigger, it just won't look as good 20090809 22:52:18< Crab_> corn: yes 20090809 22:52:21< shadowmaster> crimson_penguin: maybe 4*72 20090809 22:52:35< corn> ok, becaue I was changing launch_game() 20090809 22:52:43< shadowmaster> I know there's at least one person (doofus-01) abusing the lack of the ancient 72x72 sprite limit 20090809 22:52:46< crimson_penguin> really? 288? that's pretty big 20090809 22:53:45< crimson_penguin> shadowmaster: the thing is I wanna show all 9 of them, and the original, at once 20090809 22:54:31< shadowmaster> 3*72 then 20090809 22:54:56< shadowmaster> that should cover units taking more than one hex. 20090809 23:00:34< crimson_penguin> that's still kinda too big 20090809 23:00:52< crimson_penguin> because I have to 4x that for either the width or the height 20090809 23:01:07< crimson_penguin> because you've got your 3x3 grid of 9, but then also the original 20090809 23:02:18-!- Aethaeryn [n=Michael@69.251.9.23] has joined #Wesnoth-dev 20090809 23:02:30< crimson_penguin> shadowmaster: 72*2 would work :) 20090809 23:04:53< CIA-62> crab * r37600 /trunk/ (data/scenario-formula.cfg src/ai/composite/engine_fai.cpp): fixed initialization and naming of side_formulas formula_ai stage, added error reporting of incorrect fai stage names 20090809 23:05:00< CIA-62> crab * r37601 /trunk/data/ai/dev/formula_ai.cfg: added example usage of side_formulas stage to 'Formula AI' multiplayer AI 20090809 23:05:12< Crab_> deekay: ^ problems with 'side_formulas' stage fixed. modify ai/dev/formula_ai.cfg to your tastes. 20090809 23:05:33< deekay> Crab_: Thanks :) 20090809 23:06:04< corn> Crab_: sorry, compiling is taking a while... 20090809 23:06:31< Crab_> now going for 'formula-ai recruitment inside default ai' 20090809 23:07:06< zookeeper> shadowmaster, no idea. 20090809 23:07:21< Crab_> corn: np. it will take even more time for my P4 (albeit with 2GB memory) which will be used to run tests 20090809 23:07:35< shadowmaster> zookeeper: that's pretty bad. 20090809 23:07:47< shadowmaster> it's horribly outdated. 20090809 23:09:28< zookeeper> shadowmaster, i guess mordante brought it up to date originally during the terrain code change, but no idea if he intended to maintain it too, probably not 20090809 23:09:51< shadowmaster> Aethaeryn: there you have an oportunity to prove your worth as wiki "admin" 20090809 23:14:03< Crab_> deekay: what part of 'recruitment-inside-default-ai' do you want to hijack ? is http://wesnoth.pastebin.com/m6fc51ebf acceptable ? 20090809 23:16:02-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20090809 23:18:03< deekay> Crab_: Seems so. I just want it to use recruitment formula like it did instead of defaul AI recruting anything. 20090809 23:18:53< Crab_> this formula can recruit several units ? 20090809 23:19:06< deekay> Yes 20090809 23:19:54< Crab_> deekay: ok. you may have noticed that I'm abusing template specialization to allow ai::aspect's to hold various non-trivial data structures, such as std::vector or terrain_filter. So, I intend to add a special aspect named, for example "recruiter" which will hold a object which will have a purpose of 'recruit some units' 20090809 23:20:22< deekay> ok.. 20090809 23:21:14< Crab_> deekay: I'll provide two implementations - one will be 'engine cpp' default_ai recruitment, and another will be an 'engine fai' recruitment (copied from old formula_ai code) 20090809 23:22:06< Crab_> this will allow to easily provide both 1) use formula recruitment from within ai_default 2) use default_ai recruitment from within formula_ai cases 20090809 23:22:35< deekay> Sounds nice. :) 20090809 23:22:44< Crab_> or various stuff such as 'on turns 1,5,6, use formula_ai for recruitment, else use default_ai recruitment' 20090809 23:24:28< Crab_> (I expect that I'll commit that one around tuesday) 20090809 23:25:15< deekay> ok :) 20090809 23:26:10-!- Doppp [n=Doppp@unaffiliated/doppp] has quit [Read error: 104 (Connection reset by peer)] 20090809 23:26:10< Crab_> deekay: also note that I've started work on fai debugger, I'll show a first 'working' version of it in few days. 20090809 23:26:39< deekay> Crab_: Cool :) 20090809 23:28:18< crimson_penguin> shadowmaster: what do you think would be more useful, 2 72*3 (or even *4) boxes, one for the original, one for colored, where you can select which color it is, or, 10 72*2 boxes? 20090809 23:29:04< shadowmaster> the first. 20090809 23:29:10< crimson_penguin> aw 20090809 23:29:14< crimson_penguin> but I already made the second :( 20090809 23:29:46< shadowmaster> um, IMO if you can watch the picture change TC on the same area, you can appreciate better the shading changes caused by the color range function 20090809 23:30:02< shadowmaster> at least, that's what I emulate in Konqueror with the Gwenview plugin 20090809 23:30:25< shadowmaster> (wesnoth-tc picture.png, go to konqueror, preview in gwenview,select next/previous picture, etc.) 20090809 23:30:40< crimson_penguin> http://www.happyspork.com/pics/10_view.png 20090809 23:31:11< shadowmaster> well, I guess that should work too. 20090809 23:31:40< shadowmaster> add more space between the Original image box and the palette label+combobox 20090809 23:31:47< crimson_penguin> I'm not sure which would be easier to implement though, since I'm not sure how to do 10 efficiently 20090809 23:32:17< crimson_penguin> k 20090809 23:32:22 * crimson_penguin was just following the guides 20090809 23:32:36 * shadowmaster is off for "lunch" at 5:32 PM 20090809 23:32:46< crimson_penguin> how often do you think people want to actually save the files? 20090809 23:32:55< crimson_penguin> it should be an option, right? 20090809 23:33:23< shadowmaster> yeah, probably not very often. 20090809 23:33:39< crimson_penguin> hmm 20090809 23:33:51< shadowmaster> e.g. yes, it should be an available option 20090809 23:34:57< crimson_penguin> well if you think the first one would be more useful... I think I'll do it 20090809 23:35:16< crimson_penguin> probably easier to implement, and it'd make a nicer design too probably 20090809 23:35:18-!- Appleman1234 [n=Appleman@131.181.102.243] has joined #wesnoth-dev 20090809 23:39:22-!- Doppp [n=Doppp@c-67-171-96-240.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090809 23:39:40< Crab_> corn: ok, please leave a message in the irc log or commit log, when it will be 'ok' to update and start test server. I'll return in ~9h. 20090809 23:39:49< corn> ok 20090809 23:43:55-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090809 23:44:08-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090809 23:44:10-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090809 23:46:09-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has quit [Remote closed the connection] 20090809 23:51:33-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has joined #wesnoth-dev 20090809 23:51:57-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090809 23:56:29-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090809 23:57:10-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] --- Log closed Mon Aug 10 00:00:16 2009