--- Log opened Sun Jul 26 00:00:23 2009 --- Day changed Sun Jul 26 2009 20090726 00:00:23< Crab_> and, after each move/recruit/attack, there's an event raised in src/ai/manager.cpp 20090726 00:01:09< Crab_> so, it's pretty easy to 'check condition & throw end turn exception' from here 20090726 00:02:03< Crab_> then, it can be catched in manager::play_turn 20090726 00:02:14-!- ^Noyga^ [n=lame-z@AVelizy-151-1-37-66.w82-120.abo.wanadoo.fr] has left #wesnoth-dev ["Quitte"] 20090726 00:02:34< zookeeper> AI0867, well, ideally i think it'd work for AI sides too 20090726 00:03:15< zookeeper> hard to say how important or useful it'd be 20090726 00:03:45< AI0867> zookeeper: what Crab_ says could make it work for AI sides too 20090726 00:04:44-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit [Read error: 110 (Connection timed out)] 20090726 00:05:10-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 00:05:20< Crab_> it might leave the ai in inconsistent state, but, it will be made consistent again at start of next turn of this ai. 20090726 00:05:29< zookeeper> yeah that'd be nice 20090726 00:07:00< Crab_> AI0867: but note that there's 3 distinct cases: 'human, ai, ai_playing_on_human_turn' 20090726 00:07:24< Crab_> ai can play on human turn if human uses a console formula_ai to do some moves 20090726 00:08:57< Crab_> AI0867: so, you'll have to modify 'try { } catch (...) {} 'block in menu_handler::do_ai_formula, too 20090726 00:09:14-!- wesbot changed the topic of #wesnoth-dev to: 66 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 20090726 00:14:49-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090726 00:15:55-!- ancestral [n=ancestra@ip-216-36-87-178.chi.megapath.net] has quit [Read error: 60 (Operation timed out)] 20090726 00:18:01-!- umcstat [n=umcstat@190.22.107.157] has joined #wesnoth-dev 20090726 00:18:48-!- umcstat [n=umcstat@190.22.107.157] has quit [Client Quit] 20090726 00:19:16-!- umcstat [n=umcstat@190.22.107.157] has joined #wesnoth-dev 20090726 00:19:53-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has joined #wesnoth-dev 20090726 00:20:16-!- BenUrban [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20090726 00:24:13-!- Crab_ [i=crab@wesnoth/developer/crab] has quit ["Leaving."] 20090726 00:28:40-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090726 00:30:13-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Client Quit] 20090726 00:30:46-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090726 00:32:06< Aethaeryn> Whatever happened to the faction icons? 20090726 00:32:11< Aethaeryn> I think someone was making different crowns. 20090726 00:33:24< shadowmaster> that'd be synerr 20090726 00:35:38-!- ABCD_ [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090726 00:35:59< CIA-62> shadowmaster * r37229 /trunk/data/campaigns/Delfadors_Memoirs/scenarios/13_the_return_of_trouble.cfg: 20090726 00:35:59< CIA-62> Delfador's Memoirs scenario 13: a spurious WML variable expansion caused 20090726 00:35:59< CIA-62> the code that selects Kalenz's first line during the victory event to 20090726 00:35:59< CIA-62> always fall back into the Chantal-is-Druid case. This commit fixes that. 20090726 00:36:17< CIA-62> shadowmaster * r37230 /trunk/data/core/about.cfg: 20090726 00:36:17< CIA-62> Whoever moved thespaceinvader to first-tier Art Contributors forgot to 20090726 00:36:17< CIA-62> keep this alien thing called "alphabetical order". 20090726 00:36:23< shadowmaster> esr: r37229 20090726 00:36:40< CIA-62> shadowmaster * r37231 /trunk/data/core/about.cfg: 20090726 00:36:40< CIA-62> Update Jetr[ey]l's username - the wiki username shouldn't have changed 20090726 00:36:40< CIA-62> unless he registered a separate account or someone slaughtered 20090726 00:36:40< CIA-62> MediaWiki... 20090726 00:36:58< CIA-62> shadowmaster * r37232 /trunk/data/core/about.cfg: 20090726 00:36:58< CIA-62> Restored alphabetical order on the credit entries for Wayfarer, Jason 20090726 00:36:58< CIA-62> Lutes and Neoskel. 20090726 00:37:07-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Read error: 104 (Connection reset by peer)] 20090726 00:38:35< ancestral> Aethaeryn: Like a coat of arms? 20090726 00:42:01< Aethaeryn> shadowmaster: Thought it was synerr... Wasn't sure. 20090726 00:42:19< Aethaeryn> ancestral: no, different shaped crowns for each faction, as a logo instead of a unit 20090726 00:42:47< ancestral> Ah okay. Because it would be spiffy if we had a coat of arms for each faction :D 20090726 00:44:41< melinath> would be even more interesting to have coats of arms in the world 20090726 00:44:53< melinath> i.e. for each noble house etc. 20090726 00:45:44-!- crimson_p [n=irchon@64.201.60.211] has joined #wesnoth-dev 20090726 00:46:04< ancestral> Or a crest 20090726 00:46:12< ancestral> Kinda like: http://www.wowwiki.com/Crests 20090726 00:46:12-!- ilor [n=user@wesnoth/developer/ilor] has quit [Connection timed out] 20090726 00:47:07< Aethaeryn> melinath: I'm actually putting together noble houses... 20090726 00:47:24< Aethaeryn> Of course, it's for the post-post-apocalyptic Thunderstone... so... Doesn't really apply to Wesnoth 20090726 00:47:34< Aethaeryn> I could take my family-tree-making skills to late-age Wesnoth though 20090726 00:48:09-!- umcstat_ [n=umcstat@wesnoth/umc-dev/bot/umcstat] has joined #wesnoth-dev 20090726 00:48:17< melinath> late-age=UtBS? 20090726 00:48:26-!- crimson_p [n=irchon@64.201.60.211] has quit [Remote closed the connection] 20090726 00:48:31< melinath> or HttT? 20090726 00:49:49< shadowmaster> Aethaeryn: late-age = Second Empire of Wesnoth? 20090726 00:52:47-!- Sirp [n=user@wesnoth/developer/dave] has quit [Read error: 113 (No route to host)] 20090726 00:54:08-!- umcstat_ [n=umcstat@wesnoth/umc-dev/bot/umcstat] has quit ["leaving"] 20090726 00:59:37-!- umcstat [n=umcstat@wesnoth/umc-dev/bot/umcstat] has quit [Read error: 110 (Connection timed out)] 20090726 01:05:53-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090726 01:06:16-!- BenUrban_ [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20090726 01:08:53-!- Sirp [n=user@wesnoth/developer/dave] has joined #wesnoth-dev 20090726 01:10:10-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Read error: 104 (Connection reset by peer)] 20090726 01:10:27-!- BenUrban_ is now known as BenUrban 20090726 01:11:40-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090726 01:16:05-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090726 01:16:41-!- ABCD_ [n=ABCD@wikipedia/ABCD] has quit [Read error: 104 (Connection reset by peer)] 20090726 01:20:47-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20090726 01:30:11-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Read error: 104 (Connection reset by peer)] 20090726 01:30:27-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090726 01:35:48< Aethaeryn> shadowmaster: perhaps. 20090726 01:35:54< Aethaeryn> melinath: HttT is not late. 20090726 01:36:00< Aethaeryn> Middle if anything. 20090726 01:47:27-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090726 01:51:38-!- Chusslove [n=Chusslov@brsg-d9bef25a.pool.mediaWays.net] has quit [Read error: 110 (Connection timed out)] 20090726 01:59:28-!- Chusslove [n=Chusslov@brsg-d9befabf.pool.mediaWays.net] has joined #wesnoth-dev 20090726 02:00:24-!- elias [n=allefant@allegro/developer/allefant] has quit [Connection timed out] 20090726 02:11:40-!- cib0 [n=cib@p5DD34369.dip.t-dialin.net] has quit [Remote closed the connection] 20090726 02:12:17-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["quit"] 20090726 02:12:17< melinath> aethaeryn: true. My spontaneous knowledge of anything past ~10YW is a bit hazy still... 20090726 02:20:06-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20090726 02:26:33-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090726 02:27:36-!- loonybot [n=loonybot@79.139.136.93] has joined #wesnoth-dev 20090726 02:28:22-!- loonycyborg [n=sergey@79.139.136.93] has joined #wesnoth-dev 20090726 02:30:55-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit [Client Quit] 20090726 02:31:34-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090726 02:35:47-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 02:37:03-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090726 02:44:00-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090726 02:53:51-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090726 02:55:31-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090726 02:59:57-!- CIA-62 [n=CIA@208.69.182.149] has quit [Client Quit] 20090726 03:07:09-!- melinath [n=melinath@stud243189.studentenheim.uni-tuebingen.de] has quit [Read error: 60 (Operation timed out)] 20090726 03:14:37-!- CIA-62 [n=CIA@208.69.182.149] has joined #wesnoth-dev 20090726 03:16:42-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Remote closed the connection] 20090726 03:27:29-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20090726 03:27:39-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090726 03:28:10< Sirp> hi noy 20090726 03:28:18< noy> hey 20090726 03:49:04-!- BenUrban [n=benurban@c-68-50-54-86.hsd1.md.comcast.net] has joined #wesnoth-dev 20090726 04:06:07< shadowmaster> Sirp: do you have some time right now for a C++ (STL) question? 20090726 04:06:38< Sirp> shadowmaster: sure. 20090726 04:07:51< shadowmaster> is there any hidden advantage, if I have a std::vector foo that may or may not have elements already, to saying foo = std::vector(); instead of foo.clear(); ? 20090726 04:08:22-!- Ivanovic_ [n=ivanovic@dtmd-4db2df1e.pool.einsundeins.de] has joined #wesnoth-dev 20090726 04:08:38< Sirp> shadowmaster: no; they will do the same thing. 20090726 04:08:50< Sirp> shadowmaster: however, if you want the vector to release its buffer, you should do this: 20090726 04:09:03< Sirp> std::vector().swap(foo); 20090726 04:09:29< Sirp> going clear() will clear all elements but it'll retain the memory it has allocated 20090726 04:09:37< Sirp> while using that swap statement will clear it out and release all memory 20090726 04:10:39< shadowmaster> if I don't do that when is the used memory freed then? 20090726 04:11:53< Sirp> shadowmaster: only when the vector is destroyed 20090726 04:14:07< Sirp> shadowmaster: a vector always has exactly one buffer. The size of the buffer will only go up, never down, and it'll be released when the vector is destroyed. Calling swap on a vector is the only way to reduce the size of its buffer. 20090726 04:16:00< shadowmaster> so, if I continuously add elements to a vector, clear it and add more elements again, it starts to become a memory sink? 20090726 04:17:19< shadowmaster> or is that only if I add more lements than it had before each time? 20090726 04:19:56< CIA-62> shadowmaster * r37233 /trunk/src/ (sound.cpp sound_music_track.cpp sound_music_track.hpp): 20090726 04:19:57< CIA-62> Moved some WML evaluation code from a method in sound.cpp to the 20090726 04:19:57< CIA-62> music_track class constructor. 20090726 04:22:21< Sirp> shadowmaster: only if you add more elements than it has before. 20090726 04:22:30< Sirp> shadowmaster: the entire idea of it keeping the buffer is so it can re-use it. 20090726 04:22:49< Sirp> shadowmaster: so a vector basically consumes as much memory as its "high water mark" of usage 20090726 04:23:28< Sirp> (or up to 2x that, on most implementations) 20090726 04:24:49-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090726 04:26:20-!- Ivanovic_ is now known as Ivanovic 20090726 04:28:26< shadowmaster> well, for the particular context (keeping a list of music track names that is usually below 5 elements) that isn't a problem. 20090726 04:28:37-!- noy [n=Noy@wesnoth/developer/noy] has quit [Connection timed out] 20090726 04:28:44< shadowmaster> however, if I wanted to trade speed for memory usage, what container would I use? 20090726 04:29:53< shadowmaster> for example, if I had some sort of queue with bigger elements? (long strings?) 20090726 04:30:45< Sirp> shadowmaster: well, the big thing about vector is that it overallocates its buffer, normally by up to 2x. 20090726 04:31:21< Sirp> shadowmaster: if you have a container that is going to be 'large' a deque is a pretty good idea -- a deque is implemented as a series of buffers, every buffer being the same size (1024 elements is a typical size for a buffer) 20090726 04:31:41< Sirp> however a deque is only a good idea if you're going to have a pretty large number of elements (thousands or millions), and is terrible for lots of small containers. 20090726 04:32:08< Sirp> shadowmaster: if you want to shrink a vector's buffer you always can, just use the swap idiom. 20090726 04:43:45< Sirp> shadowmaster: also it's instructional to understand the lazy virtual memory mapping that most modern OSes use. 20090726 04:48:27-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090726 04:48:44-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090726 04:49:10-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 04:50:24-!- noy [n=Noy@wesnoth/developer/noy] has quit [Client Quit] 20090726 04:52:47-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090726 04:52:54< shadowmaster> Sirp: where can I learn all of this stuff ? :P 20090726 04:53:49< Sirp> shadowmaster: http://www.gotw.ca/gotw has all the stuff we have discussed, I believe. 20090726 05:00:02-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090726 05:10:35< shadowmaster> conor: the error on the pastebin's line 54 is from your addon? 20090726 05:10:43< shadowmaster> argh, wrong channel. 20090726 05:17:39-!- shadowmaster_ [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090726 05:20:41-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Success] 20090726 05:20:56-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 05:24:29-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090726 05:32:40-!- shadowmaster_ [n=ignacio@wesnoth/developer/shadowmaster] has quit ["Lost terminal"] 20090726 05:37:10-!- ShikadiLord [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090726 05:37:19-!- shadowmaster_ [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090726 05:37:31-!- umcstat [n=umcstat@wesnoth/umc-dev/bot/umcstat] has joined #wesnoth-dev 20090726 05:37:32-!- umcreg [n=umcreg@190.22.97.167] has joined #wesnoth-dev 20090726 05:37:42-!- shikadibot_ [n=shikadi@190.22.97.167] has joined #wesnoth-dev 20090726 05:38:07-!- shikadibot_ is now known as Guest28492 20090726 05:39:53< shadowmaster> argh, I restarted my laptop. didn't help 20090726 05:41:23< shadowmaster> except by killing my local ircd. 20090726 05:41:54-!- umcreg [n=umcreg@190.22.97.167] has quit [Client Quit] 20090726 05:42:02-!- umcstat [n=umcstat@wesnoth/umc-dev/bot/umcstat] has quit [Client Quit] 20090726 05:42:07-!- Guest28492 [n=shikadi@190.22.97.167] has quit [Client Quit] 20090726 05:42:25-!- shadowmaster_ [n=ignacio@wesnoth/developer/shadowmaster] has quit [] 20090726 05:42:36-!- ShikadiLord [n=ignacio@wesnoth/developer/shadowmaster] has quit [Client Quit] 20090726 05:46:38-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090726 05:59:20-!- ShikadiLord [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090726 06:13:10-!- ShikadiLord [n=ignacio@wesnoth/developer/shadowmaster] has quit [Client Quit] 20090726 06:40:10-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090726 06:47:56-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["quit"] 20090726 06:48:10-!- noy [n=Noy@wesnoth/developer/noy] has quit [Read error: 60 (Operation timed out)] 20090726 07:01:20-!- silene [n=plouf@ASte-Genev-Bois-152-1-18-28.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090726 07:01:54-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [Read error: 110 (Connection timed out)] 20090726 07:03:40-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090726 07:15:59-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has joined #wesnoth-dev 20090726 07:26:54-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20090726 07:43:16-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090726 07:50:43-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 08:06:51-!- Netsplit farmer.freenode.net <-> irc.freenode.net quits: Mellar_, corn, Turuk, AI0867 20090726 08:07:10-!- Sirp [n=user@wesnoth/developer/dave] has quit ["leaving"] 20090726 08:26:03-!- AFKMJ [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090726 08:26:33-!- MJ999 [n=msflower@80.154.28.81] has quit [Read error: 104 (Connection reset by peer)] 20090726 08:32:22-!- Netsplit over, joins: Mellar_, Turuk, corn, AI0867 20090726 08:35:23-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090726 08:35:56-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090726 08:55:46-!- silene1 [n=plouf@ASte-Genev-Bois-152-1-31-71.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090726 08:55:47-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)] 20090726 08:58:41-!- iBlueblaz [n=irchon@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090726 09:02:23-!- MJ999 [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090726 09:02:32-!- AFKMJ [n=msflower@80.154.28.81] has quit [Read error: 104 (Connection reset by peer)] 20090726 09:05:13-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090726 09:05:58-!- iBlueblaz [n=irchon@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090726 09:15:21-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090726 09:21:06-!- MJ999 [n=msflower@80.154.28.81] has quit [Read error: 110 (Connection timed out)] 20090726 09:23:17-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090726 09:30:02< boucman> morning all 20090726 09:32:12< ancestral> ☺☀ to you too 20090726 09:35:38-!- silene1 is now known as silene 20090726 09:48:13-!- melinath [n=melinath@vpn1167.extern.uni-tuebingen.de] has joined #wesnoth-dev 20090726 09:54:38-!- loonybot [n=loonybot@79.139.136.93] has joined #wesnoth-dev 20090726 09:54:48-!- EdB [n=edb@79.88.117.146] has joined #wesnoth-dev 20090726 09:55:28-!- allefant_ [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090726 09:55:30-!- loonycyborg [n=sergey@79.139.136.93] has joined #wesnoth-dev 20090726 09:56:25-!- allefant [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090726 10:12:16-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090726 10:13:28-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090726 10:14:20-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090726 10:19:15-!- Crab_ [i=crab@wesnoth/developer/crab] has joined #wesnoth-dev 20090726 10:19:20< Crab_> hi 20090726 10:21:20-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 10:21:55< boucman> Crab_ : configuration.hpp line 156 why not use the typedef above ? 20090726 10:21:56< boucman> shouldn't most of the upgrade functions be private instead of public ? 20090726 10:21:56< boucman> what's the point of get_side_config_from_file ? dynamic reloading of AI configs ? 20090726 10:21:56< boucman> that function doesn't seem AI specific, shouldn't it moved to a more generic place (config.?pp for example) 20090726 10:21:56< boucman> the check_version function seems weird, it doesn't "check" (return a bool) and does seem to do something too specific to deserve a function by itself 20090726 10:21:58< boucman> why cut parse_side_config_in two ? 20090726 10:22:00< boucman> morning Crab_ :) 20090726 10:22:08< boucman> just dumping my observations so far 20090726 10:22:39< Crab_> boucman: morning. and have you looked up at my yesterday's message about [modify_ai] ? 20090726 10:22:52-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090726 10:23:12< Crab_> ( boucman: as you've seen, I haven't implemented [modify_ai] yet (it will be done later, after the commit). here's what I think about[modify_ai] wml tag : http://pastebin.mozilla.org/664468 ) 20090726 10:24:36< boucman> quickly... 20090726 10:25:46< boucman> my only remark is that instead of "add=aspect['aggression'].facet" 20090726 10:26:06< boucman> you could do 20090726 10:26:06< boucman> type="add" 20090726 10:26:06< boucman> target="aspect['aggression'].facet" 20090726 10:26:16< boucman> that closer to the usual WML syntax 20090726 10:26:25< Crab_> yes, originally I've written 'action=add path=aspect['aggression'].facet' 20090726 10:26:47< Crab_> but then I thought : why ? isn't it better to keep it shorter and more readable ? 20090726 10:31:01< CIA-62> thespaceinvader * r37234 /trunk/ (6 files in 5 dirs): Add and wire new Human Fencer portrait, update changelogs, portrait credits. 20090726 10:32:43-!- melinath [n=melinath@vpn1167.extern.uni-tuebingen.de] has quit [Read error: 60 (Operation timed out)] 20090726 10:33:13< boucman> Crab_: that's not a black and white situation, 20090726 10:33:20< boucman> both syntax are ok 20090726 10:38:29-!- EdB [n=edb@79.88.117.146] has quit [Remote closed the connection] 20090726 10:40:23< Crab_> 'configuration.hpp line 156 why not use the typedef above ?' - agreed 20090726 10:40:24< Crab_> 'shouldn't most of the upgrade functions be private instead of public ?' - agreed 20090726 10:40:24< Crab_> ' what's the point of get_side_config_from_file ?' - yes, dynamic reloading of AI configs. 20090726 10:40:24< Crab_> ' that function doesn't seem AI specific, shouldn't it moved to a more generic place (config.?pp for example)' - yes, it can be moved (with additional const std::string& parameter to pass 'what to log' information 20090726 10:40:24< Crab_> 'check_version' - yes, it's better to rename it. it does a specific thing: set a version [in][out] parameter to the value of version attribute of the cfg [in] parameter, if version attribute in the config is higher than current value of version parameter. 20090726 10:40:27< Crab_> 'why cut parse_side_config_in two' - yes, it can be merged with parse_side_config_final 20090726 10:46:58< boucman> Crab_: about check_version, you use it at only one place and most likely won't use it anywhere else, it's very short and has a weird functionallity (helper to find the min of all versions) 20090726 10:47:12< boucman> I think you should merge it in the caller instead of doing a specific function 20090726 10:47:23< Crab_> 'helper to find a max of all versions' :) 20090726 10:47:32< boucman> yeah, max :) 20090726 10:48:21< Crab_> ok, I'll merge it with the caller. 20090726 10:49:41-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090726 10:50:03-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090726 10:51:07< Ivanovic> moin 20090726 10:53:06-!- giusef [n=giusef@unaffiliated/giusef] has joined #wesnoth-dev 20090726 10:55:58-!- Dragonking [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20090726 10:56:07< boucman> afk, see you all later 20090726 10:56:56-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090726 11:05:03-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090726 11:08:15-!- MJ999 [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090726 11:12:09-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20090726 11:18:31-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090726 11:26:34-!- Crab_ [i=crab@wesnoth/developer/crab] has quit ["Leaving."] 20090726 11:28:28-!- Zarel [i=Zarel@warzone2100/developer/Zarel] has quit [Read error: 110 (Connection timed out)] 20090726 11:29:44-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090726 11:48:31-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090726 11:50:03-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20090726 12:01:09-!- ettin_ [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090726 12:09:14-!- wesbot changed the topic of #wesnoth-dev to: 67 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 20090726 12:14:29-!- ettin [n=jorda@wesnoth/developer/ettin] has quit [Read error: 110 (Connection timed out)] 20090726 12:21:10-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090726 12:27:30< Ivanovic> grzywacz: http://www.wesnoth.org/forum/viewtopic.php?f=4&t=23098&start=0&st=0&sk=t&sd=a 20090726 12:27:38< Ivanovic> maybe you want to reply in there? 20090726 12:31:02< grzywacz> Ivanovic, yeah... maybe :S 20090726 12:33:34< Ivanovic> :) 20090726 12:46:05< Ivanovic> wow, got a lovely crash after ending the first scenario of two brothers: 20090726 12:46:06< Ivanovic> wesnoth-svn: /src/wesnoth/src/playcampaign.cpp:574: LEVEL_RESULT play_game(display&, game_state&, const config&, upload_log&, io_type_t, bool): Zusicherung >>!gamestate.snapshot.empty()<< nicht erf?llt. 20090726 12:46:27< Ivanovic> is this one euschns work or was it silene? 20090726 12:46:52< silene> euschn 20090726 12:46:56< Ivanovic> it happened when clicking on "end scenario" so that the 2nd one should show the story screen right then 20090726 12:47:53< silene> Ivanovic: that's not the first time: https://gna.org/bugs/index.php?14010 20090726 12:49:57-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090726 12:50:06-!- stikonas [n=and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090726 12:50:57< grzywacz> Ivanovic, interesting news in that thread. 20090726 12:52:13< Ivanovic> hmm, lovely 20090726 12:52:32< Ivanovic> that is: here the problem seems to be completely gone, could not reproduce it in the last days 20090726 12:54:15< grzywacz> Ivanovic, any recent updates to your system? 20090726 12:54:39< grzywacz> Ivanovic, if yes, can you take a look at the emerge.log and determine what's changed? 20090726 12:55:03< Ivanovic> heh, i update my system daily (running gentoo unstable) and i don't know exactly when it changed 20090726 12:55:13< Ivanovic> but i think it was *not* due to using kernel 2.6.30 20090726 12:55:32< grzywacz> Ivanovic, well, if you could find any audio-related upgrades from the last 2-3 weeks it might help. :) 20090726 12:55:38< Ivanovic> basically there was nothing where i would say "yeah, clearly this package is related and changed everything" 20090726 13:00:01< Ivanovic> grzywacz: if you want to i can mail you those lovely 2177 lines of log that cover my portage activity since july, 1st 20090726 13:01:29< Ivanovic> but there is nothing directly sdl/alsa/sound/audio related in there 20090726 13:01:36< Ivanovic> at least nothing that could have an impact 20090726 13:02:37< grzywacz> Ivanovic, sure, go ahead 20090726 13:02:40< CIA-62> ilor * r37235 /branches/1.6/src/game.cpp: make F5 in title screen flush image cache in addition to reloading config 20090726 13:05:15-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit [Read error: 104 (Connection reset by peer)] 20090726 13:05:50< CIA-62> ilor * r37236 /trunk/src/game.cpp: make F5 in title screen flush image cache in addition to reloading config 20090726 13:06:46-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090726 13:09:24< Ivanovic> grzywacz: i am adding some more system info, so that you really got all the stuff together 20090726 13:09:48< grzywacz> Ivanovic, thanks 20090726 13:11:22< Ivanovic> added enough info so that you should even be able to restore most of my system (beside the packages i only got in my local overlay, those you would have problems with ;) ) 20090726 13:11:24-!- Elvenisko [n=JA@ig511.imafex.sk] has joined #wesnoth-dev 20090726 13:13:33< grzywacz> Ivanovic, did you attach a copy of your /home as well? ;-) 20090726 13:13:48< Ivanovic> no 20090726 13:14:13< Ivanovic> and i explicitly omitted /etc/make.conf as well as /etc/portage/* 20090726 13:14:28< Ivanovic> i wanted to make it at least a little bit challenging for you 20090726 13:14:30< Ivanovic> ;) 20090726 13:14:43< Elvenisko> someone here likes gentoo? :) 20090726 13:15:41< grzywacz> not really, I'd rather use Debian, but it didn't work last time I tried ;-p 20090726 13:16:20< Elvenisko> i am using Greenie, but now i am on Win... i am becoming depressed :( 20090726 13:16:24 * Ivanovic uses gentoo because it "just works" 20090726 13:16:40 * Elvenisko thinks, that ivanovic is a wise man. 20090726 13:21:04-!- giusef [n=giusef@unaffiliated/giusef] has quit ["exit (-1);"] 20090726 13:35:54-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090726 13:38:57-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit [Client Quit] 20090726 13:55:54-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090726 13:56:18-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090726 13:58:48-!- ettin_ is now known as ettin 20090726 14:46:02-!- Sirp [n=user@wesnoth/developer/dave] has joined #wesnoth-dev 20090726 14:53:38-!- melinath [n=melinath@vpn1167.extern.uni-tuebingen.de] has joined #wesnoth-dev 20090726 14:56:55< Elvenisko> hello. problem here 20090726 14:57:22< Elvenisko> opponent in my campaign uses orcish assassins too much. how can i reduce it? 20090726 14:57:37< Elvenisko> to build more grunts for example? 20090726 15:02:08< grzywacz> Ivanovic, did you send it to me? 20090726 15:13:44< melinath> elvenisko: http://www.wesnoth.org/wiki/Aiwml 20090726 15:13:49< melinath> recruiting pattern 20090726 15:13:54< silene> Elvenisko: you can change the recruitment pattern to increase the number of fighters 20090726 15:14:08< melinath> *recruitment_pattern 20090726 15:19:59< Elvenisko> thanks :) 20090726 15:22:56< Ivanovic> grzywacz: yes 20090726 15:23:20< Ivanovic> grzywacz: i sent it to the NICKNAME@sul.uni.lodz.pl address 20090726 15:23:30< Ivanovic> or is this one not valid anymore? 20090726 15:27:40-!- loonybot [n=loonybot@79.139.136.93] has joined #wesnoth-dev 20090726 15:28:25-!- loonycyborg [n=sergey@79.139.136.93] has joined #wesnoth-dev 20090726 15:29:52-!- Sirp [n=user@wesnoth/developer/dave] has quit [Read error: 113 (No route to host)] 20090726 15:37:21< grzywacz> Ivanovic, not valid :) 20090726 15:37:34< Ivanovic> okay, which one shall i use? 20090726 15:37:41< Ivanovic> NICKNAME@gmail.com? 20090726 15:37:54< grzywacz> yes, but without the first z 20090726 15:38:04< grzywacz> :D 20090726 15:39:39< Ivanovic> resent it 20090726 15:39:42< Ivanovic> i hope you got it now 20090726 15:40:10< Ivanovic> and i won't ask why you make our lives this complicated with your nickname... 20090726 15:40:12< Ivanovic> ;) 20090726 15:43:40< Elvenisko> invalid position for leader 4... how? i changed the position with player 3, and still the same problem. why? :( 20090726 15:43:57< Elvenisko> cfg filelooks ok, map too 20090726 15:44:52< Dragonking> Do you have for sure defined starting positions (not keeps - starting positions ) in the map file? 20090726 15:44:53< Elvenisko> not fine, i forget to change link to a map :D 20090726 15:45:19< Elvenisko> scenario 2 was linked to map 1, what is smaller :) 20090726 15:48:20< CIA-62> mcshark * r37237 /trunk/src/lobby_data.cpp: Fix compiler warning about "no newline at end of file" 20090726 15:56:12-!- crimson_p [n=irchon@64.201.60.211] has joined #wesnoth-dev 20090726 15:58:51-!- crimson_p [n=irchon@64.201.60.211] has quit [Client Quit] 20090726 15:59:12-!- crimson_p [n=irchon@64.201.60.211] has joined #wesnoth-dev 20090726 16:00:18< silene> zookeeper: revision 37061 completely broke Dark Forecast; although it wasn't obvious to us, it appears that the code was doing much more than just changing the side of the units 20090726 16:03:14-!- Kenpachi [n=chatzill@CPE-60-231-222-206.sa.bigpond.net.au] has joined #wesnoth-dev 20090726 16:03:17< silene> as the comment says, the code was there to "remove all objects" from the units 20090726 16:05:08-!- ^Noyga^ [n=lame-z@AVelizy-151-1-22-66.w82-124.abo.wanadoo.fr] has joined #wesnoth-dev 20090726 16:06:09-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 16:07:58< CIA-62> ai0867 * r37238 /trunk/ (8 files in 2 dirs): Rewrite [end_turn] to end the turn after the event has finished. 20090726 16:11:55-!- Elvenisko [n=JA@ig511.imafex.sk] has left #wesnoth-dev [] 20090726 16:14:21-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090726 16:14:31< CIA-62> ai0867 * r37239 /trunk/src/menu_events.cpp: Turn forgotten catch-by-value into catch-by-reference. 20090726 16:19:24< zookeeper> silene, humm, let me take a look.. 20090726 16:20:23-!- Noyga [n=lame-z@wesnoth/developer/noyga] has quit [Read error: 110 (Connection timed out)] 20090726 16:22:28< zookeeper> silene, true enough, i'll cook up some kind of a fix for that 20090726 16:24:03-!- crimson_penguin [n=ben@64.201.60.211] has joined #wesnoth-dev 20090726 16:26:28< zookeeper> silene, i think the objects that need to be removed can only be the ones affecting the unit's movement costs. do you happen to know otherwise? 20090726 16:27:21-!- crimson_p [n=irchon@64.201.60.211] has quit [] 20090726 16:27:56< silene> zookeeper: i don't understand your question; the effect to remove is the one that divides the max movement by 3 20090726 16:28:50< silene> (i mean, both effects should be removed, but the fact that enemy units can't is the most problematic one) 20090726 16:28:55< silene> +move 20090726 16:29:42< zookeeper> ah, ok 20090726 16:31:08-!- ^Noyga^ is now known as Noyga 20090726 16:32:42-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20090726 16:33:07< Kenpachi> I'm running Ubuntu 9.04. I want to be able to use the latest stable release without manually uninstalling the old version, then downloading and installing the new one. Can I even do this? 20090726 16:34:16-!- Sirp [n=user@wesnoth/developer/dave] has joined #wesnoth-dev 20090726 16:48:37< melinath> kenpachi: yes. 20090726 16:48:50< melinath> kenpachi: probably. 20090726 16:49:05< melinath> kenpachi: how did you install it in the first place? Are you using repos? 20090726 16:50:29< Kenpachi> I used the default Ubuntu install, and the default repos 20090726 16:53:09< Kenpachi> that version is 1.6a-3 20090726 16:53:57< CIA-62> zookeeper * r37240 /trunk/data/multiplayer/scenarios/2p_Dark_Forecast.cfg: Probably fixes a bug with the spawns not getting their normal movement back. 20090726 16:55:42< zookeeper> silene, a full rewrite for that scenario is really welcome. 20090726 16:56:11< silene> zookeeper: i already have half of it, and that's how i discovered this issue ;-) 20090726 16:56:13< zookeeper> even rewriting it in WML only could probably reduce its size by...uh, two thirds or something. 20090726 16:57:07< melinath> kenpachi: just a sec 20090726 16:58:22< melinath> kenpachi: use these repos 20090726 16:58:27< melinath> deb http://download.tuxfamily.org/itwesnoth/debian/ binary/ #wesnoth binary stable/unstable 20090726 16:58:27< melinath> deb-src http://download.tuxfamily.org/itwesnoth/debian/ sources/ #wesnoth sources stable/unstable 20090726 16:58:45< Kenpachi> thanks 20090726 16:59:13< melinath> Ubuntu will see the new versions as an upgrade 20090726 17:00:27< zookeeper> silene, btw i didn't really test whether my fix works beyond it not causing any parsing errors.. 20090726 17:01:27-!- allefant_ is now known as elias 20090726 17:06:05-!- AFKMJ [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090726 17:07:49-!- MJ999 [n=msflower@80.154.28.81] has quit [Read error: 104 (Connection reset by peer)] 20090726 17:11:31< Dragonking> silene: I noticed problem: wesnoth: src/replay.cpp:169: void replay::add_unit_checksum(const map_location&, config*): Assertion `u.valid()' failed. 20090726 17:12:13< Dragonking> silene: Looks that it is present in 36977, 36976 is ok 20090726 17:12:49< Dragonking> silene: Way to reproduce: ./wesnoth -t poison -d then end turn and wait for AI to recruit 20090726 17:13:20< Dragonking> Seems that problem exist when formula AI fallbacks to default AI 20090726 17:15:10-!- cib0 [n=cib@p5DC43950.dip.t-dialin.net] has joined #wesnoth-dev 20090726 17:24:46< Kenpachi> melinath: I found the deb repo lists on the wiki. They are not listed under Jaunty, hence me missing them till now. 20090726 17:27:39< Aethaeryn> Ugh, splitting up Wesnoth. One of the reasons I dislike Ubuntu... 20090726 17:30:23< Aethaeryn> For a "newbie-friendly" distro, that sure comes up as a question/problem a lot. 20090726 17:34:10-!- Zarel [i=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20090726 17:35:58< melinath> copied the it-wesnoth links from intrepid section to jaunty section 20090726 17:36:29-!- AFKMJ [n=msflower@80.154.28.81] has quit [Read error: 110 (Connection timed out)] 20090726 17:36:36< Aethaeryn> Can we use shift in the editor to make villages function like mushroom groves? 20090726 17:37:01< melinath> Is there any particular reason that the wiki doesn't just give the lines to put in sources.list? 20090726 17:37:08< Aethaeryn> i.e. be able to place a village on any terrain with shift, and thus you only need to keep the snow-covered and non-snow variations. 20090726 17:37:48< zookeeper> Aethaeryn, no 20090726 17:37:57< Aethaeryn> Would make it more flexible, and tidy up the editor. 20090726 17:38:03< Aethaeryn> zookeeper: Is there a problem? 20090726 17:38:14< Aethaeryn> A really obvious problem that I didn't see? 20090726 17:41:47-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090726 17:42:21< zookeeper> Aethaeryn, not sure, maybe not 20090726 17:43:13< zookeeper> not sure which question you asked though. 20090726 17:46:37< Aethaeryn> zookeeper: Basically, to be able to place villages with shift, so that only one variation is needed. You then place it over whichever terrain you want the village to sit. 20090726 17:47:04< Aethaeryn> Similar to the way mushroom grove works in 1.7.2 20090726 17:47:35< zookeeper> no, obviously you can't. 20090726 17:47:53< Aethaeryn> Obviously not currently. 20090726 17:47:53-!- AFKMJ [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090726 17:48:03< melinath> I think the question is not whether it's now possible but whether it could be... 20090726 17:48:13< Aethaeryn> Yes. 20090726 17:48:26< Aethaeryn> I already tested if it's possible or not, and got hills instead of the village placed :P 20090726 17:48:44< zookeeper> well that's a different question then. yes, maybe we could. 20090726 17:49:55< zookeeper> try it. change string=Gg^Vo to string=^Vo (and maybe add default_base=Gg) 20090726 17:49:57< zookeeper> etc 20090726 17:51:03< zookeeper> then figure out how it should work exactly in terms of movement and defense 20090726 17:51:26-!- elias [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090726 17:51:36< Aethaeryn> Hmm, I guess that's the problem... Some villages behave differently in this sense, I think. 20090726 17:51:43< zookeeper> indeed 20090726 17:51:49< Aethaeryn> For instance, human horse units can take mountain villages although they cannot go on mountains. 20090726 17:51:55< Aethaeryn> Yet, water villages do hinder your movement. 20090726 17:52:14< Aethaeryn> One solution would be to leave water villages out of the overlay solution and simply disallow placing these water units on land. 20090726 17:52:27< Aethaeryn> Thus allowing the other villages to function identically. 20090726 18:10:26-!- melinath [n=melinath@vpn1167.extern.uni-tuebingen.de] has quit [Read error: 60 (Operation timed out)] 20090726 18:20:51-!- melinath [n=melinath@vpn1167.extern.uni-tuebingen.de] has joined #wesnoth-dev 20090726 18:23:28< melinath> incidentally, I've added a section on exactly how to add the repositories to the wiki. 20090726 18:23:32-!- melinath [n=melinath@vpn1167.extern.uni-tuebingen.de] has quit [Client Quit] 20090726 18:24:39-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has joined #wesnoth-dev 20090726 18:26:07-!- Kenpachi [n=chatzill@CPE-60-231-222-206.sa.bigpond.net.au] has quit [Read error: 110 (Connection timed out)] 20090726 18:33:35< silene> Dragonking: that's really strange, i will take a look 20090726 18:41:07< Dragonking> silene: Great, thanks 20090726 18:45:59< silene> Dragonking: there may be a bug elsewhere: the assertion is actually caused by the ai recruiting on an invalid hex; by reverting part of my patch, i avoid the assertion failure, but i'm only hiding the real bug, not fixing it 20090726 18:46:55< Dragonking> silene: Interesting, but I wonder how is that happening, since we can see animation of new unit appearing on a right hex 20090726 18:47:33< silene> Dragonking: because the recruitment function locally fixes the location, but the replay contains the invalid 20090726 18:47:59< Dragonking> oh 20090726 18:48:43< Dragonking> It is weird since it is default AI that does the recruting... and outside of that 'fallback' case it seems to work 20090726 18:53:47 * Dragonking disappears for now 20090726 18:56:55< CIA-62> silene * r37241 /trunk/src/ (actions.cpp actions.hpp): Worked around an assertion failure when Formula AI recruits by overwriting the invalid recruit location. 20090726 18:57:02< silene> Dragonking: ^ 20090726 18:59:45-!- ABCD_ [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090726 19:00:23< silene> zookeeper: "dark forecasts" seems fixed, thanks 20090726 19:01:05-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Connection reset by peer] 20090726 19:02:37-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090726 19:03:28-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090726 19:13:41< corn> Ivanovic: thanks for sending out the email 20090726 19:14:43-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has left #wesnoth-dev [] 20090726 19:16:03-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090726 19:26:42< zookeeper> silene, great 20090726 19:37:22-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has joined #wesnoth-dev 20090726 19:38:50-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090726 19:39:36-!- ABCD_ [n=ABCD@wikipedia/ABCD] has quit [Read error: 104 (Connection reset by peer)] 20090726 19:41:26-!- Zarel [i=Zarel@warzone2100/developer/Zarel] has quit [Read error: 110 (Connection timed out)] 20090726 19:48:43-!- ardesh [n=ardesh@port-92-206-45-45.dynamic.qsc.de] has joined #wesnoth-dev 20090726 19:52:34-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has quit [] 20090726 19:57:15-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090726 20:11:40-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090726 20:11:55-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 20:20:32-!- stikonas [n=and@ctv-79-132-177-212.vinita.lt] has joined #wesnoth-dev 20090726 20:23:50-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090726 20:24:16-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090726 20:29:25-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20090726 20:32:22< Dragonking> silene: Thanks :) 20090726 20:45:59< ilor> is there a "read config from a file which might be gzipped" function somewhere? 20090726 20:48:44-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090726 20:50:25-!- Zarel [i=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20090726 20:54:16-!- Crab_ [i=crab@wesnoth/developer/crab] has joined #wesnoth-dev 20090726 20:54:36< Crab_> ilor: see savegame_manager::read_save_file 20090726 20:55:36< ilor> Crab_: nope :) it uses is_gzip_file() which only checks the filename extension 20090726 20:56:37< Crab_> ilor: then try to read it as if it were gzipped, and catch errors/exceptions :) 20090726 20:56:39< shadowmaster> did anyone notice that I broke the WML behind INTRO_AND_SCENARIO_MUSIC somehow? :P 20090726 20:57:07< ilor> Crab_: yeah, I just hoped it was already there :P 20090726 20:57:10-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has joined #wesnoth-dev 20090726 20:57:17< shadowmaster> the "INTRO" music track keeps being played even after the scenario prestart event fires 20090726 20:57:27< ilor> Crab_: it's not as ig of a deal for me to actyally go and *write* it :P 20090726 20:58:53-!- Noyga [n=lame-z@wesnoth/developer/noyga] has quit [Read error: 60 (Operation timed out)] 20090726 20:59:12< Crab_> ilor: there's also some code in network_worker.cpp +/read_gz 20090726 21:01:47< Crab_> ilor: basically, something like scoped_istream binary_stream = istream_file(filename); if (binary_stream->peek() == 31) { //gzipped } else {//not gzipped} 20090726 21:02:29< ilor> Crab_: thanks ;) 20090726 21:09:47-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20090726 21:11:48-!- allefant is now known as elias 20090726 21:13:47-!- ardesh [n=ardesh@port-92-206-45-45.dynamic.qsc.de] has quit [Read error: 113 (No route to host)] 20090726 21:15:32-!- ardesh [n=ardesh@port-92-206-40-230.dynamic.qsc.de] has joined #wesnoth-dev 20090726 21:19:32-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090726 21:21:13-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20090726 21:26:32-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090726 21:48:42-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has quit [] 20090726 21:52:26-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has joined #wesnoth-dev 20090726 21:52:55< Zarel> For anyone who's interested: Ubuntu gaming meeting in #ubuntu-meeting going on right now: http://blog.thesilentnumber.me/2009/06/first-ubuntu-gaming-team-meeting.html 20090726 21:53:15< Zarel> (It's a marketing/PR meeting, not a developer meeting, btw) 20090726 22:11:32-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has quit [] 20090726 22:16:05-!- noy_ [n=Noy@d75-157-29-32.bchsia.telus.net] has joined #wesnoth-dev 20090726 22:16:48-!- noy [n=Noy@wesnoth/developer/noy] has quit [Read error: 104 (Connection reset by peer)] 20090726 22:19:50-!- noy_ [n=Noy@d75-157-29-32.bchsia.telus.net] has quit [Client Quit] 20090726 22:26:54-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)] 20090726 22:36:35-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090726 22:39:23-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090726 22:40:26< CIA-62> ilor * r37242 /trunk/src/server/ (server.cpp server.hpp): Allow the server to be optionally shut down via a /query shut_down [now] by an admin if allow_remote_shutdown is set in the server configuration file. Deafult behavior is left unchanged. 20090726 22:40:44< CIA-62> ilor * r37243 /trunk/src/server/ (5 files): Add server room storing and implement room create policy to allow e.g. only admin-created rooms. All rooms are stored for now. 20090726 22:41:06< CIA-62> ilor * r37244 /trunk/src/menu_events.cpp: fix a warning 20090726 22:41:23< CIA-62> ilor * r37245 /trunk/src/menu_events.cpp: allow sending generic room queries through the /command interface 20090726 22:41:44< CIA-62> ilor * r37246 /trunk/src/gui/dialogs/lobby_main.cpp: properly process room query responses in new lobby 20090726 22:42:04< CIA-62> ilor * r37247 /trunk/src/server/ (room.cpp room_manager.cpp): room persistance protocol adjustments, made rooms not persist by default 20090726 22:42:58< AI0867> Crab_: I've implemented your idea, but when [end_turn] interrupts a human player's formulas, ai::action_result still complains that the return value was not checked 20090726 22:43:51< Crab_> AI0867: yes, it wasn't checked by the calling code, of course :) because there's no reason to check it - turn ends :) 20090726 22:43:54< AI0867> to test this, start the test scenario and evaluate move(loc(8,4),loc(7,3)) 20090726 22:44:37< AI0867> true, but I'm not familiar with the insides of any of the AIs 20090726 22:45:46< AI0867> and error messages shouldn't appear for no reason, so any ideas on supressing it? 20090726 22:46:04< Crab_> AI0867: so, that's ok. that complain means that the ai code which called an action has not checked the return value of that action (which is true, but irrelevant because there's no reason to do this check in the case that the turn is ended immediately. 20090726 22:46:14< Crab_> AI0867: can you show me your patch ? 20090726 22:47:11< AI0867> r37238 20090726 22:48:43-!- cib0 [n=cib@p5DC43950.dip.t-dialin.net] has quit [Remote closed the connection] 20090726 22:50:42< Crab_> AI0867: ok, so the stack trace at the moment that the exception is thrown, may look like this : a) we're not inside action, so nothing to worry about (that's when we're called from ai_user_interact event) b) we're inside ai::action_result. 20090726 22:51:08< Crab_> More specifically: ai::action result calls something like 'manager::raise_unit_moved', which raises an event that is to be observed, and which is observed in playsingle_controller, where you throw end_turn_exception(); 20090726 22:52:59< AI0867> yes 20090726 22:53:07< Crab_> so, to silence the warnings, this exception must be caught and rethrown after silencing the warning, in those places in src/ai/actions.cpp, where manager::raise_XXX is called. 20090726 22:53:40< Crab_> for example, see move_result::do_execute in src/ai/actions.cpp 20090726 22:53:48< Crab_> it has manager::raise_unit_moved at the end 20090726 22:54:43< Crab_> it should be something like : try { manager::raise_unit_moved } catch (end_turn_exception &e) { is_ok();//this silences the warning; throw end_turn_exception() } 20090726 22:57:38< AI0867> attack_result, move_result, recruit_result and stopunit_result 20090726 22:57:58< Crab_> AI0867: yes --- Log opened Sun Jul 26 23:18:33 2009 20090726 23:18:42-!- lobby [n=wesnoth@wesnoth/bot/lobby] has joined #wesnoth-dev 20090726 23:18:42-!- Topic for #wesnoth-dev: 67 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 20090726 23:18:42-!- Topic set by wesbot [] [Sun Jul 26 12:09:14 2009] 20090726 23:18:42[Users #wesnoth-dev] 20090726 23:18:42[ ABCD ] [ Crab_ ] [ isaac ] [ Sirp ] 20090726 23:18:42[ Aethaeryn] [ crimson_penguin] [ Ivanovic ] [ Smar ] 20090726 23:18:42[ AFKMJ ] [ dfranke ] [ kimrhh ] [ Soliton ] 20090726 23:18:42[ AI0867 ] [ Doppp ] [ lobby ] [ thespaceinvader] 20090726 23:18:42[ Amu ] [ Dragonking ] [ loonybot ] [ Tigge ] 20090726 23:18:42[ ancestral] [ elias ] [ loonycyborg ] [ Turuk ] 20090726 23:18:42[ AnMaster ] [ Elvish_Pillage2] [ Mellar_ ] [ wesbot ] 20090726 23:18:42[ ardesh ] [ erl ] [ mjs-de ] [ yann ] 20090726 23:18:42[ BenUrban ] [ Espreon ] [ Noyga ] [ Zarel ] 20090726 23:18:42[ boucman ] [ esr ] [ Polarina ] [ zookeeper ] 20090726 23:18:42[ Chusslove] [ ettin ] [ Rhonda ] 20090726 23:18:42[ CIA-62 ] [ grzywacz ] [ shadowmaster] 20090726 23:18:42[ corn ] [ ilor ] [ shikadibot ] 20090726 23:18:42-!- Irssi: #wesnoth-dev: Total of 49 nicks [0 ops, 0 halfops, 0 voices, 49 normal] 20090726 23:18:53-!- Channel #wesnoth-dev created Tue Jan 27 06:28:41 2009 20090726 23:18:53-!- Soliton [n=Soliton@wesnoth/developer/soliton] has quit [Nick collision from services.] 20090726 23:19:01-!- Soliton [n=Soliton@wesnoth/developer/soliton] has joined #wesnoth-dev 20090726 23:19:31-!- Soliton_ [n=Soliton@wesnoth/developer/soliton] has joined #wesnoth-dev 20090726 23:19:34-!- Soliton_ [n=Soliton@wesnoth/developer/soliton] has quit [Client Quit] 20090726 23:19:57< ilor> forums lagging for anyone else? 20090726 23:20:07 * Turuk raises hand 20090726 23:20:16< Soliton> wesnoth.org rebooted. 20090726 23:21:18-!- Irssi: Join to #wesnoth-dev was synced in 163 secs 20090726 23:32:38-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090726 23:34:23-!- ancestral [n=ancestra@97-116-106-168.mpls.qwest.net] has quit [] 20090726 23:36:10-!- Polarina [n=polarina@wesnoth/translator/Polarina] has left #wesnoth-dev [] 20090726 23:36:37-!- mjs-de [n=mjs-de@vpw.wh.Uni-Dortmund.DE] has quit ["On the road again"] 20090726 23:37:15-!- Polarina [n=polarina@wesnoth/translator/Polarina] has joined #wesnoth-dev 20090726 23:42:19-!- Crab_ [i=crab@wesnoth/developer/crab] has quit ["Leaving."] 20090726 23:53:53-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"] 20090726 23:55:32-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["bbl"] 20090726 23:59:30-!- Appleman1234 [n=Appleman@131.181.102.53] has joined #wesnoth-dev --- Log closed Mon Jul 27 00:00:24 2009