--- Log opened Fri Jun 29 00:00:06 2012 20120629 00:01:03< Sapient> specifically the single location match function 20120629 00:02:00< Sapient> rather than getting all the locations in the radius around us and checking if one of them has the right x,y 20120629 00:02:16< Sapient> testing each one of those locations is O(n^2) 20120629 00:02:31< Sapient> but this could be reduced to O(1) 20120629 00:03:18< Sapient> it's a special case code only, but common enough and beneficial enough to justify inclusion 20120629 00:03:42< jamit> "common enough" was going to be my next question. ;) 20120629 00:04:34< Sapient> yes it's very common to have a simple x,y,radius in the [and] subfilter, then these hexes are eliminated by other criteria in a [not] filter 20120629 00:06:06< Sapient> The third improvement idea would be be another special case code 20120629 00:06:40< Sapient> 3. the terrain_filter cache in between unit filter checks when doing store_unit IF AND ONLY IF the location filter has no unit or side specific criteria 20120629 00:07:05< Sapient> that one would be a bit hackish though 20120629 00:07:21< Sapient> so I would not make it a priority compared to the other two 20120629 00:12:01< jamit> Is there a reason for get_tiles_in_radius() not checking for the tiles being on the map? That's almost the function for the first idea. 20120629 00:18:02< jamit> Or for the second idea. I guess the first one needs to handle a set of locations as input. 20120629 00:20:04-!- noy [~Noy@S010600236999f399.vw.shawcable.net] has joined #wesnoth-dev 20120629 00:20:04-!- noy [~Noy@S010600236999f399.vw.shawcable.net] has quit [Changing host] 20120629 00:20:04-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 00:20:08-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Ping timeout: 240 seconds] 20120629 00:21:05-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20120629 00:21:15-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20120629 00:21:35-!- fendrin [~fabi@88-134-60-117-dynip.superkabel.de] has joined #wesnoth-dev 20120629 00:21:35-!- fendrin [~fabi@88-134-60-117-dynip.superkabel.de] has quit [Changing host] 20120629 00:21:35-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20120629 00:23:38-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 00:26:18-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: bye] 20120629 00:44:19-!- Appleman1234 [~Appleman1@st0801.nas931.n-yokohama.nttpc.ne.jp] has quit [Ping timeout: 252 seconds] 20120629 00:45:44< Sapient> jamit: dunno... that's a different function from get_tiles_radius 20120629 00:46:46< Sapient> if you aren't interested in coding either of those, I would like to add it to the not-so-easy coding tasks page 20120629 00:46:54< Sapient> gtg, cya later 20120629 00:47:03-!- Sapient [~sapient@wesnoth/developer/sapient] has quit [Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.17/2009122204]] 20120629 00:51:23< jamit> sapient: I was looking at the tools already available. I could take a swing at it. 20120629 00:56:54-!- mjs-de [~mjs-de@d119238.adsl.hansenet.de] has quit [Remote host closed the connection] 20120629 01:18:34< CIA-87> alarantalara * r54486 /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Across_the_Harsh_Sands.cfg: remove useless variable clear, make initial shroud clear a bit prettier, simplify an ifdef 20120629 01:21:03-!- neXyon [~neXyon@85-127-226-248.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20120629 01:40:35-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120629 01:42:02-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20120629 01:49:51-!- wesbot changed the topic of #wesnoth-dev to: 178 bugs, 338 feature requests, 16 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120629 02:02:05-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 02:06:25-!- neXyon [~neXyon@85-127-226-248.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20120629 02:14:43-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20120629 02:17:49-!- Upthorn [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 20120629 02:20:19-!- anakayub [~anakayub@210.195.254.55] has quit [Quit: anakayub] 20120629 02:22:54-!- Upth [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has joined #wesnoth-dev 20120629 02:22:54-!- Upth is now known as Upthorn 20120629 03:01:16-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120629 03:09:35-!- esr [~chatzilla@wesnoth/developer/esr] has quit [Ping timeout: 246 seconds] 20120629 03:14:07-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120629 03:15:57-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20120629 03:19:42-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 03:22:48-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120629 03:27:32-!- un214 [~un214@108.221.231.209] has joined #wesnoth-dev 20120629 03:34:30-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120629 03:45:17-!- apoi_ [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20120629 03:45:43-!- janebot [grickit@unaffiliated/gambit/bot/gambot] has quit [Ping timeout: 264 seconds] 20120629 03:45:50-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 264 seconds] 20120629 03:45:54-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Ping timeout: 264 seconds] 20120629 03:46:32-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20120629 03:58:20-!- un214 [~un214@108.221.231.209] has quit [Remote host closed the connection] 20120629 04:13:57-!- janebot [grickit@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20120629 04:30:53-!- Ivanovic_ [~ivanovic@dtmd-4d0bff9d.pool.mediaWays.net] has joined #wesnoth-dev 20120629 04:33:54-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 245 seconds] 20120629 04:34:45-!- Ivanovic_ is now known as Ivanovic 20120629 04:42:32-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 04:47:03-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 05:05:07-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120629 05:05:39-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20120629 05:06:17-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 05:17:19-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120629 05:32:07-!- artisticdude_iOS [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has joined #wesnoth-dev 20120629 05:32:10-!- artisticdude_iOS [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has left #wesnoth-dev [] 20120629 05:45:08-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 240 seconds] 20120629 05:53:40< CIA-87> jamit * r54487 /trunk/src/ (6 files in 2 dirs): 20120629 05:53:40< CIA-87> Reworking how moves are recorded for replays. 20120629 05:53:40< CIA-87> This should make replays able to handle exit_hex events in all cases and 20120629 05:53:40< CIA-87> should be a real fix for bug #19856. 20120629 06:23:41< CIA-87> jamit * r54488 /trunk/src/replay.cpp: If a move is supposed to be unrecorded, it should be unrecorded, even if empty. 20120629 06:28:27< CIA-87> jamit * r54489 /trunk/src/replay.cpp: Adjusting blank lines so a comment is connected to what it documents. (very minor change) 20120629 07:18:15< CIA-87> jamit * r54490 /trunk/src/ (play_controller.cpp playsingle_controller.cpp): 20120629 07:18:15< CIA-87> Move end-of-turn refogging to be after side_X_turn_Y_end events. 20120629 07:18:15< CIA-87> This also happens to fix replays not refogging at the end of a side's turn. 20120629 07:20:03-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 07:24:20-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has quit [Quit: oldtopman has left the house] 20120629 07:31:11-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120629 07:32:02-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20120629 07:45:27-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has joined #wesnoth-dev 20120629 07:49:07-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has joined #wesnoth-dev 20120629 07:49:51-!- wesbot changed the topic of #wesnoth-dev to: 177 bugs, 338 feature requests, 16 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120629 07:55:13-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20120629 08:21:57-!- Ivanovic [~ivanovic@dtmd-4d0bff9d.pool.mediaWays.net] has quit [Changing host] 20120629 08:21:57-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120629 08:23:10-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120629 08:47:46-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has quit [Remote host closed the connection] 20120629 09:18:40-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120629 09:19:03-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Disconnected by services] 20120629 09:19:04-!- Ivanovic_ is now known as Ivanovic 20120629 09:19:16< Ivanovic> moin 20120629 09:22:37-!- the_new_lipk [~lipka_bol@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120629 09:24:35-!- the_new_lipk [~lipka_bol@host-91-147-212-174.biatv.hu] has left #wesnoth-dev [] 20120629 09:26:15-!- the_new_lipk [~lipka_bol@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120629 09:26:38-!- the_new_lipk [~lipka_bol@host-91-147-212-174.biatv.hu] has left #wesnoth-dev [] 20120629 09:28:32-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120629 09:31:17-!- stikonas [~gentoo@ctv-213-164-96-153.vinita.lt] has joined #wesnoth-dev 20120629 09:31:17-!- stikonas [~gentoo@ctv-213-164-96-153.vinita.lt] has quit [Changing host] 20120629 09:31:17-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120629 09:34:18< vultraz> Ivanovic: sorry I couldn't get back to you earlier re my question the other day, if I could get commit access to help maintain the XCode proj 20120629 09:37:16-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120629 09:38:47< Ivanovic> vultraz: that was no problem at all since my bouncer failed in the middle of wednesday and with this i basically lost my ability to join irc (since i also use the system which i use as bouncer as ssh tunnel to have all ports accessible) 20120629 09:40:31< zookeeper> jamit, err, has sapient talked to you about the border hexes issue yet? 20120629 09:48:53-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: 'd bye] 20120629 09:53:00< Ivanovic> vultraz: how are those files currently handled? 20120629 09:53:09< Ivanovic> vultraz: not at all or are you sending in updates every now and then? 20120629 09:53:26< Ivanovic> that is: something is used by the mac packager, too 20120629 09:53:48< Ivanovic> have you talked to him what he is using and requires so that things can be kept in sync there, too? 20120629 09:54:39< vultraz> the XCode proj file? basically, if I have an update, I make a patch, pastebin it, and ping someone here to commit it. 20120629 09:54:55< vultraz> alarantalara just commits updates on his own 20120629 09:56:28< Ivanovic> since you have done so already very often: okay, but please keep your changes to this area (for the moment) 20120629 09:57:06< Ivanovic> that is: if you want to have other things changed, please talk to the "correct" people for this area and after the first one or two changes which were fine by them you have the "real full" access 20120629 09:57:11< Ivanovic> does this sound fine for you? 20120629 10:01:51< vultraz> so, just work on the XCode proj, and talk to the correct people if I want to do other stuff? 20120629 10:04:48< Ivanovic> jepp 20120629 10:04:50-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120629 10:05:04< Ivanovic> until you have done so for about 2 (non trival ;) ) things, then you got the rest, too 20120629 10:05:27< Ivanovic> or have you already done so for the other stuff and not received the dev status though you should have long earned it? 20120629 10:06:33< vultraz> nah, just been dealing with the XCode stuff 20120629 10:10:34-!- neXyon [~neXyon@85-127-226-248.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20120629 10:11:12-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 10:13:19-!- anakayub [~anakayub@116.197.3.134] has joined #wesnoth-dev 20120629 10:13:22-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20120629 10:16:02-!- Ivanovic_ [~ivanovic@dtmd-4db26f11.pool.mediaWays.net] has joined #wesnoth-dev 20120629 10:16:02-!- Ivanovic_ [~ivanovic@dtmd-4db26f11.pool.mediaWays.net] has quit [Changing host] 20120629 10:16:02-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120629 10:17:36-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Disconnected by services] 20120629 10:17:41-!- Ivanovic_ is now known as Ivanovic 20120629 10:29:52-!- boucman_mobile [~boucman@wesnoth/developer/boucman] has joined #wesnoth-dev 20120629 10:30:00< vultraz> Ivanovic: so, what happens now 20120629 10:30:13< Ivanovic> you apply for group membership at gna and i accept it 20120629 10:31:21-!- anakayub [~anakayub@116.197.3.134] has quit [Ping timeout: 252 seconds] 20120629 10:33:16-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [K-Lined] 20120629 10:35:10< vultraz> Ivanovic: done 20120629 10:36:06< Ivanovic> vultraz: added you in 20120629 10:36:43-!- Ayne [~Ayne@cpc2-sgyl34-2-0-cust493.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20120629 10:38:59< vultraz> Ivanovic: :D thanks 20120629 10:39:38< shadowm> Congratulations, vultraz! You are now a Forum Regular! 20120629 10:43:26-!- negusnyul [~negusnyul@91EC4540.dsl.pool.telekom.hu] has joined #wesnoth-dev 20120629 11:06:02-!- anakayub [~anakayub@58.26.214.130] has joined #wesnoth-dev 20120629 11:18:29-!- anakayub [~anakayub@58.26.214.130] has quit [Ping timeout: 245 seconds] 20120629 11:19:58-!- ToBeFree [~tobefree@unaffiliated/tobefree] has joined #wesnoth-dev 20120629 11:20:23-!- mjs-de [~mjs-de@g224191015.adsl.alicedsl.de] has joined #wesnoth-dev 20120629 11:23:24-!- MeccaGod [majs@host189-199.bornet.net] has joined #wesnoth-dev 20120629 11:28:21-!- anakayub [~anakayub@58.26.214.130] has joined #wesnoth-dev 20120629 11:29:08-!- negusnyul [~negusnyul@91EC4540.dsl.pool.telekom.hu] has quit [Quit: Konversation terminated!] 20120629 11:34:29-!- anakayub [~anakayub@58.26.214.130] has quit [Quit: anakayub] 20120629 11:41:16-!- anakayub [~anakayub@116.197.3.134] has joined #wesnoth-dev 20120629 11:46:24-!- Upthorn [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 20120629 11:47:35-!- Upth [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has joined #wesnoth-dev 20120629 11:47:35-!- Upth is now known as Upthorn 20120629 11:50:15-!- Upth [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has joined #wesnoth-dev 20120629 11:53:34-!- Upthorn [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has quit [Ping timeout: 246 seconds] 20120629 11:56:30-!- loonybot [~loonybot@46.138.65.100] has joined #wesnoth-dev 20120629 11:56:30-!- loonybot [~loonybot@46.138.65.100] has quit [Changing host] 20120629 11:56:30-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20120629 12:12:23-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has quit [Ping timeout: 250 seconds] 20120629 12:14:24-!- fendrin [~fabi@wesnoth/developer/fendrin] has quit [Quit: Konversation terminated!] 20120629 12:39:07-!- horon [~horon@nttkyo331099.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20120629 12:51:38-!- apoi_ [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Ping timeout: 240 seconds] 20120629 13:00:35-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20120629 13:07:47-!- Ayne [~Ayne@cpc2-sgyl34-2-0-cust493.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20120629 13:08:29-!- boucman_mobile [~boucman@wesnoth/developer/boucman] has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )] 20120629 13:16:56-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: leaving] 20120629 13:22:07-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20120629 13:40:33< Rhonda> http://www.reddit.com/r/games - wesnoth on place 17 20120629 13:41:44< Rhonda> Hmm, wait, the 17 was the number I was told, but I see it even on place 9 20120629 13:43:54-!- negusnyul_ [~negusnyul@91EC4540.dsl.pool.telekom.hu] has joined #wesnoth-dev 20120629 13:50:16< AI0867> #7 now 20120629 14:06:01< zookeeper> i haven't quite grasped what reddit is about or what people use it for 20120629 14:07:42-!- negusnyul_ [~negusnyul@91EC4540.dsl.pool.telekom.hu] has quit [Quit: Konversation terminated!] 20120629 14:08:33< zookeeper> googling helped, i guess i get it now 20120629 14:09:44< CIA-87> alarantalara * r54491 /trunk/ (3 files in 2 dirs): 20120629 14:09:44< CIA-87> Esnure player always has positive gold from chest at end of cave in Out of the Frying Pan 20120629 14:09:44< CIA-87> since this rewards players who recruit heavily at the start of the scenario, the maximum gold awarded is reduced 20120629 14:09:44< CIA-87> Award algorithm is the same as at scenario end, except that at least 50 gold will be given to players who really kept a lot of gold. 20120629 14:12:24-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20120629 14:29:58-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Remote host closed the connection] 20120629 14:32:00< Rhonda> zookeeper: You got it? Can you explain it to me? :) 20120629 14:34:24-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20120629 14:51:06-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 15:01:35-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120629 15:55:40-!- mattsc [~mattsc@216.123.55.165] has joined #wesnoth-dev 20120629 16:05:15-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 16:32:28-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20120629 16:33:38-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has joined #wesnoth-dev 20120629 17:01:34< mattsc> Hello All. Whom do I talk to about issues with command-line options? 20120629 17:02:40< mattsc> For example, when wesnoth is started into MP mode with any options, the replay game at the end of the game crashed Wesnoth to Desktop. 20120629 17:03:24-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120629 17:03:41< mattsc> Sorry, I mean: the replay save that is produced at the end crashes Wesnoth when it is loaded afterward. 20120629 17:05:12-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has joined #wesnoth-dev 20120629 17:05:58-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has left #wesnoth-dev [] 20120629 17:06:28-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has joined #wesnoth-dev 20120629 17:06:36-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120629 17:07:08-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has left #wesnoth-dev [] 20120629 17:09:53< the_new_lipk> jamit has been fiddling with the replays lately. 20120629 17:09:56-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has joined #wesnoth-dev 20120629 17:10:09-!- artisticdude [~artisticd@vsat-148-64-186-230.c005.g4.mrt.starband.net] has left #wesnoth-dev [] 20120629 17:10:14< the_new_lipk> mattsc: ^ 20120629 17:14:47< boucman> wesbot: seen mordante 20120629 17:14:47< wesbot> boucman: The person with the nick mordante last spoke 2d 20h ago. 2d 20h ago was here and on the channel #wesnoth-de with the message: Quit: Leaving 20120629 17:14:55< boucman> bloodycoin_m: around ? 20120629 17:17:08< bloodycoin_m> boucman: hai 20120629 17:17:29< boucman> how is it going ? 20120629 17:18:09-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20120629 17:18:36< bloodycoin_m> bit slow, because I had to spend while three days in university this week and I have exams on 2nd and 4th of july... >.< 20120629 17:18:41< anonymissimus> mattsc: hi, you were asking for a way to compare units or equality, right ? 20120629 17:18:47< anonymissimus> f* 20120629 17:18:58< boucman> mkay 20120629 17:19:03< bloodycoin_m> but after that university is totaly finished, so I can work for wesnoth full-time 20120629 17:19:11< boucman> cool 20120629 17:19:21< boucman> I will also have much more free time starting mid july 20120629 17:19:36< anonymissimus> I think it should be possible to just do unit1 == unit2 for lua proxy units after I add this feature 20120629 17:19:45< bloodycoin_m> currently writing movement functions I did in lua, in wesnoth 20120629 17:20:09< boucman> ok, great 20120629 17:20:36< bloodycoin_m> a bit hardcoded with some constants, but for now to have something more.. 20120629 17:21:19< mattsc> the_new_lipk: thanks. I'm currently compiling and will report back if this still happens with the latest trunk. 20120629 17:22:11-!- MeccaGod [majs@host189-199.bornet.net] has quit [Ping timeout: 250 seconds] 20120629 17:22:42< mattsc> anonymissimus: yes, I did. What's the recommended way (since the id should not, but can be ambiguous) 20120629 17:22:54< anonymissimus> there is no way atm 20120629 17:23:22< anonymissimus> I would do .__cfg.underlying_id and call that only once if possible 20120629 17:23:54< mattsc> anonymissimus: yeah, that's what I thought. I guess coordinates would also work for units on the map. thanks 20120629 17:24:08< anonymissimus> how does the engine compare objects of the unit calls for equality ? should I do that by underlying id or by the pointer ? 20120629 17:24:13-!- MeccaGod [majs@host189-199.bornet.net] has joined #wesnoth-dev 20120629 17:27:53< anonymissimus> mattsc: yes, coordinates work for on-map units as there can be only one unit per coordinate 20120629 17:28:02-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: 'd bye] 20120629 17:28:05< anonymissimus> coordinate pair 20120629 17:28:49< mattsc> anonymissimus: yes. And I don't know what the engine does/should do. 20120629 17:29:01< mattsc> Sorry, I have to go. Will be back in an hour or so. 20120629 17:30:22-!- mattsc [~mattsc@216.123.55.165] has quit [Quit: bye] 20120629 17:31:29< jamit> zookeeper: No, I have not heard anything new about border hexes 20120629 17:38:37< anonymissimus> whoever this is for: I've just seen that in my preferences I have the setting for "show unit idle animations" two times 20120629 17:39:08< anonymissimus> the tooltip says it's the standing animations for one of them 20120629 17:44:01< anonymissimus> hm its only in the german translation 20120629 17:46:20-!- Ayne [~Ayne@cpc2-sgyl34-2-0-cust493.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20120629 18:00:31-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 18:05:23-!- horon [~horon@nttkyo331099.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20120629 18:06:11-!- ancestral [~ancestral@75-168-39-185.mpls.qwest.net] has joined #wesnoth-dev 20120629 18:27:52< CIA-87> jamit * r54492 /trunk/src/replay.cpp: 20120629 18:27:52< CIA-87> Some tidying up: 20120629 18:27:52< CIA-87> Make replays' new map coordinates 1-based (like other coordinates in WML). 20120629 18:27:52< CIA-87> Also, remove a superfluous variable. 20120629 18:40:54< zookeeper> jamit, okay... 20120629 18:49:24-!- MeccaGod [majs@host189-199.bornet.net] has quit [] 20120629 18:53:47-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20120629 18:58:26-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has joined #wesnoth-dev 20120629 18:59:50-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20120629 19:03:32-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-dev 20120629 19:03:51-!- douglasjam [~douglasja@189-83-3-152.user.veloxzone.com.br] has joined #wesnoth-dev 20120629 19:05:43-!- douglasjam [~douglasja@189-83-3-152.user.veloxzone.com.br] has quit [Client Quit] 20120629 19:09:01< mattsc> anonymissimus: in both FAI and LAI, whenever a function does something with a unit, you usually either pass it the unit proxy table or the coordinates of the unit (some functions want one or the other, some functions can handle either) 20120629 19:09:02-!- anakayub [~anakayub@116.197.3.134] has quit [Read error: Connection reset by peer] 20120629 19:09:22< mattsc> but I don't know what the C++ code does with that internally. 20120629 19:09:56< mattsc> jamit: did you see my question concerning replays? 20120629 19:11:22< jamit> Your crash? 20120629 19:12:56< mattsc> yes. 20120629 19:13:46< mattsc> Here's the error message I get: 20120629 19:13:50< mattsc> Assertion failed: (teamindex < teams_->size()), function set_team, file /home/misc/Wesnoth/trunk/projectfiles/Xcode/../../src/../src/game_display.cpp, line 1116. 20120629 19:13:50< mattsc> Abort trap 20120629 19:14:26< mattsc> It only happens with a MP game launched from command-line, not if I start it from the menu 20120629 19:15:27< anonymissimus> mattsc: just to make sure; you are asking whether units are identical, not whether they are semantically equal ? 20120629 19:15:30< jamit> In 1.10 or trunk? 20120629 19:15:46< jamit> Oh, there's trunk in the path. Probably trunk. 20120629 19:16:02< anonymissimus> for instance, if you use [unit]type=Troll 2 times then they are semantically equal but not identical 20120629 19:16:02< mattsc> jamit: 20120629 19:16:23< mattsc> jamit: I just recompiled trunk and loaded the game saved with 1.10.3 - that gave me that error message 20120629 19:16:42-!- anakayub [~anakayub@116.197.3.134] has joined #wesnoth-dev 20120629 19:16:46< mattsc> at the moment I am creating a replay save in trunk. Give me a minute and I'll tell you what happens. 20120629 19:16:49-!- anakayub [~anakayub@116.197.3.134] has quit [Read error: Connection reset by peer] 20120629 19:17:04< mattsc> (and loading the same game in 1.10.3 also gives that same error) 20120629 19:17:12< anonymissimus> since the == operator usually means semantically equal when implemented for objects, not identical which is what I did 20120629 19:17:36< jamit> I was asking so I could look at the source code. ;) I see the line with the failed assertion now. 20120629 19:17:48< anonymissimus> but I could just as well make underlying_id available for proxy units so you have to write a bit more 20120629 19:19:38< mattsc> jamit: so, yes, creating and loading the game in trunk causes the same error. 20120629 19:20:01< mattsc> My guess is that something does not get set correctly for the side when the game is launched from command-line 20120629 19:20:52< jamit> Do you know how to get a backtrace? 20120629 19:21:17< jamit> It might help to know what is calling set_team(). 20120629 19:21:22< mattsc> anonymissimus: As an example, I want to test whether a unit that I find on a given hex is the unit I am, say, supposed to protect, or a different unit on my side. 20120629 19:22:14< mattsc> jamit: no, I don't sorry. Is it easy enough for you to tell me? Or do you want me to send you the savegame? 20120629 19:23:29< mattsc> anonymissimus: Or, another typical example: find all the hexes that a unit can reach, but exclude those occupied by allied units (which are included in wesnoth.find_reach). However, include the hex the unit itself is on. 20120629 19:24:06< mattsc> So, checking for coordinate pairs or under_lying ID would work. Checking for id does not, if there are units with the same id. 20120629 19:24:55< mattsc> So, if underlying_id could be available for proxy units, that would probably be the easiest. But checking for both coordinates is only slightly more work. 20120629 19:27:17< jamit> mattsc: Well, one probably quick check before sending the save. Turn on engine logging (I think the parameter is --log-info engine). I wonder if the crash would then be right after "done initializing display..." is output. 20120629 19:28:30< mattsc> No, after 'done initializing managers' 20120629 19:28:56< mattsc> http://pastebin.com/hTaU2Cha 20120629 19:29:13< Ivanovic> noy, boucman: i see no reason to have the talk about the cover disc in some private chan 20120629 19:29:38< boucman> Ivanovic: good point 20120629 19:29:43< Ivanovic> AI0867: no idea why you received this mail, in the past it was often me receiving mails about "can we publish this" 20120629 19:30:25< Ivanovic> and my common reply was always a clear "of course you can, though make sure to use the latest version which is A.B.C and please make sure to at least include a link to our website, if you managed to include the sources it would even be better" 20120629 19:30:26< noy> I tend to post in that channel the most and it was an innocuous question. 20120629 19:31:23< Ivanovic> AI0867: but i got an idea why you received this mail: in the credits your mailing address is the first one working 20120629 19:31:29< Ivanovic> that is: daves addy is broken 20120629 19:32:04< Ivanovic> no idea how many requests for magazines Dave received and never replied to because he did not use the address anymore 20120629 19:34:11< CIA-87> anonymissimus * r54493 /trunk/data/lua/wml-tags.lua: 20120629 19:34:11< CIA-87> remove apparently unneeded and inefficient calls to [redraw] in [(un)petrify] 20120629 19:34:11< CIA-87> see also http://forums.wesnoth.org/viewtopic.php?p=531983#p531983 and following 20120629 19:34:30< CIA-87> anonymissimus * r54494 /trunk/src/scripting/lua.cpp: 20120629 19:34:30< CIA-87> add operator== implementation for lua proxy units 20120629 19:34:30< CIA-87> Checks whether on-map, recall, and private ones are identical 20120629 19:34:30< CIA-87> Based on that units always have an underlying_id and that it's unique. 20120629 19:34:37< CIA-87> anonymissimus * r54495 /trunk/changelog: changelog update 20120629 19:38:41< jamit> mattsc: I guess send me the save? My first guess didn't work out. 20120629 19:39:14< mattsc> anonymissimus: cool, thanks! I'll have a lot of changes to make once 1.11 comes out! 20120629 19:40:42< noy> AI0867: for future reference they should probably be sent to me to process 20120629 19:41:18< jamit> Is synchronize_choice a Lua command? 20120629 19:43:15< mattsc> jamit: replay sent to you 20120629 19:43:48< mattsc> yes, synchronize_choice is a lua command (Wesnoth lua, not core lua) 20120629 19:44:07< trademark_> hello 20120629 19:44:07< jamit> What does it do / how would one use it? 20120629 19:45:04< mattsc> jamit: it somehow syncs things so that something that would cause an oos error does not. 20120629 19:45:21< mattsc> But I have no idea how, you'll have to ask anonymissimus or somebody else 20120629 19:46:41< mattsc> jamit: just for reference, I got the crash also when I did not use any Lua AI at all in the game 20120629 19:47:32< jamit> Oh, the Lua question was related to something else. Bug #19795 (also from you). 20120629 19:49:21< jamit> I see why bug 19795 occurs. synchronize_choice happens to be something that might be impacted by any change for that. 20120629 19:50:16< mattsc> jamit: ah, ok. For the replay crash: testing it without custom AI was the first thing I did, because I thought that my code was crashing the replay. 20120629 19:50:50< mattsc> But I can replay games just fine if I start them from the menu, and the crash when started from the command-line. This applies to both default and custom AIs. 20120629 19:54:38-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120629 19:58:48< anonymissimus> zookeeper: I hope those new battle markers etc don't require redoing the coordinates and such ? 20120629 20:02:43< anonymissimus> Ayne: seems the recall list goes missing when loading old savegames 20120629 20:03:09< anonymissimus> my leader is reset tp the default one and units that should be recallable aren't 20120629 20:04:27< anonymissimus> well, we could say let's screw savegame compatibility, we don't need that (it's be bad for me since I need to replay my campaign then...saves I use are still from 1.9.10 or so) 20120629 20:06:27< zookeeper> anonymissimus, they're centered (like the old ones were), so no, they shouldn't require any changes 20120629 20:10:26< Ayne> anonymissimus: Does the campaign you're loading save the scenario ID into replay_start? I've noticed that if it's a start of scenario save and the id there is empty in the save it doesn't assign it to side_cfg in game.. Why it used to work and doesn't know I'm not sure since as far as I can see I didn't mess with that :S 20120629 20:11:32< Ayne> A quick and dirty fix for you if you want to play your campaign would be to add the id manually, then it should work, but I'd like to keep savegame compatibility in the long run and figure out what the problem is.. 20120629 20:13:24-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20120629 20:13:39< mordante> servus 20120629 20:13:55< anonymissimus> Ayne: "Does the campaign you're loading save the scenario ID into replay_start?" no idea; an addon never has any influence on how the engine saves saves 20120629 20:14:48< the_new_lipk> hi mordante 20120629 20:15:06< anonymissimus> Ayne: start-of-svenario saves are however much more important that any other saves since they don't save the scenario wml 20120629 20:15:12< mordante> hi the_new_lipk 20120629 20:15:39< mordante> anonymissimus, Ayne breaking savegames completely is really a bad idea, makes a lot of bug reports useless 20120629 20:15:45< anonymissimus> so if a campaign author moves from one BfW version to another he will take such a save, so I wouldn't mind breaking compatibility for turn saves 20120629 20:15:53< mordante> anonymissimus, Ayne and that should be discussed on the dev-ml 20120629 20:16:01< mordante> (still catching up with the logs) 20120629 20:16:02< anonymissimus> mordante: yeah, good aspect 20120629 20:17:10< mordante> boucman, you were looking for me? 20120629 20:17:22-!- fendrin [~fabi@88-134-63-177-dynip.superkabel.de] has joined #wesnoth-dev 20120629 20:17:22-!- fendrin [~fabi@88-134-63-177-dynip.superkabel.de] has quit [Changing host] 20120629 20:17:22-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20120629 20:17:43< anonymissimus> and in bug reports we generally also want turn saves to be compatible 20120629 20:18:29< anonymissimus> although even in those reports, the start-of-scenario saves are mostly more important, for bug reports that can need wml changes 20120629 20:19:09< Ayne> I didn't break them on purpose, it seems to be a difference between singleplayer and multiplayer campaigns though. But I will look into it and try to fix it asap. Sorry about that 20120629 20:23:44< anonymissimus> nobody breaks anything on purpose :) 20120629 20:24:26< CIA-87> mordante * r54496 /trunk/src/whiteboard/manager.cpp: 20120629 20:24:26< CIA-87> Fix a gcc warning. 20120629 20:24:26< CIA-87> GCC thinks the variable might be used uninitialised. 20120629 20:31:54< Ayne> true. What I meant was I didn't mean to break compatibility, that's very much not on my agenda ;) I'll have to test with singleplayer more in the future, I didn't realize how different sp and mp are in the saves. 20120629 20:42:53-!- YogiHH [~YogiHH@d028040.adsl.hansenet.de] has joined #wesnoth-dev 20120629 20:42:53-!- YogiHH [~YogiHH@d028040.adsl.hansenet.de] has quit [Changing host] 20120629 20:42:53-!- YogiHH [~YogiHH@wesnoth/developer/yogihh] has joined #wesnoth-dev 20120629 20:43:00< YogiHH> hi everyone 20120629 20:43:25< the_new_lipk> hi YogiHH 20120629 20:46:38< anonymissimus> that's something that should also be unified since long :( 20120629 21:03:24-!- lansiir [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20120629 21:05:04< mordante> I'm off bye 20120629 21:05:11-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20120629 21:07:17-!- lansiir [~oldtopman@unaffiliated/oldtopman] has quit [Client Quit] 20120629 21:24:54< jamit> mattsc: That replay is rather devoid of data. It lacks terrain and side information, so the assertion failure is basically saying "What? There is no side 1." I think the problem originates from when you started the game initially. 20120629 21:25:46< jamit> Is the replay from 1.10 about the same size? If so, it probably has the same problem. File a bug report? 20120629 21:26:40< jamit> Also: were you able to reload the 1.10 replay in 1.10? I got the equivalent assertion failure when I tried loading the 1.11 replay under 1.10. 20120629 21:26:54-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120629 21:31:43-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Client Quit] 20120629 21:31:51-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120629 21:32:07-!- Gallaecio [~quassel@84.120.114.134.dyn.user.ono.com] has quit [Remote host closed the connection] 20120629 21:34:31-!- Elvish_Hunter [2565da46@gateway/web/freenode/ip.37.101.218.70] has joined #wesnoth-dev 20120629 21:35:03< Elvish_Hunter> Hi all 20120629 21:35:56< the_new_lipk> hi Elvish_Hunter 20120629 21:40:00< mattsc> jamit: Thanks for looking into this. I got the same behavior whether I did this in 1.10 or 1.11. 20120629 21:40:15< mattsc> Works when started from the menu in-game, doesn't work when started from the command line. 20120629 21:40:19< CIA-87> jamit * r54497 /trunk/ (changelog src/replay.cpp): 20120629 21:40:19< CIA-87> Ensure a non-empty side is selected in mp_sync::get_user_choice(). 20120629 21:40:19< CIA-87> Fixes bug #19795. 20120629 21:40:29< mattsc> I'll file a bug report. 20120629 21:40:54< mattsc> jamit: oh, just seeing your commit... Is this about this problem or something else? 20120629 21:41:12< CIA-87> jamit * r54498 /branches/1.10/ (changelog src/replay.cpp): 20120629 21:41:12< CIA-87> Ensure a non-empty side is selected in mp_sync::get_user_choice(). 20120629 21:41:12< CIA-87> Fixes bug #19795. 20120629 21:41:57< jamit> The commit is for your problem with [message][option] in a start event with side 1 controller=null 20120629 21:42:05-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120629 21:43:33< mattsc> jamit: oh, right, there's the bug number. Duh! 20120629 21:44:04< mattsc> I'll test a couple more things tonight and then I'll file yet another bug report... 20120629 21:45:33< jamit> Every time I think I'll get the bug count down, someone comes up with a new bug.... :) 20120629 21:47:00< Elvish_Hunter> Eh, that's the hard life of the developer... :-P 20120629 21:53:36< anonymissimus> eh, another one who cares about the bug count :) 20120629 21:54:42< YogiHH> lua is a little stony at the start for a c# programmer, but it's pretty cool for WML, once you get the hang of it :) 20120629 21:54:56< anonymissimus> well, but the ratio of reported bugs vs bug that exist is better than in wesnoth history 20120629 21:59:39< jamit> Well, I care about the bug count at the moment because I decided that I was going to take a swing at fixing some. Once I go back to other coding, I won't care so much. 20120629 22:00:45< jamit> I think there were 177 bugs when I started... 20120629 22:04:03< anonymissimus> there were ~157 bugs when 1.10 came out 20120629 22:04:10-!- YogiHH [~YogiHH@wesnoth/developer/yogihh] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901]] 20120629 22:04:24< anonymissimus> and there were only ~50 when 1.8 came out 20120629 22:05:25< anonymissimus> however, in late summer 2011, the bug count reached its highest value of about 230 so far 20120629 22:05:49< anonymissimus> are there some long-time graphs anywhere ? :P 20120629 22:08:38< jamit> Graphs are fun. :) 20120629 22:09:06-!- the_new_lipk [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: 'd bye] 20120629 22:10:58-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120629 22:30:46-!- Shakey [HydraIRC@c-24-14-169-218.hsd1.il.comcast.net] has joined #wesnoth-dev 20120629 22:39:44-!- trademark_ [~trademark@mon69-1-82-67-23-185.fbx.proxad.net] has quit [Ping timeout: 245 seconds] 20120629 22:46:33-!- Elvish_Hunter [2565da46@gateway/web/freenode/ip.37.101.218.70] has quit [Quit: Ciao!] 20120629 22:56:44-!- neXyon [~neXyon@85-127-226-248.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20120629 23:02:24-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 11.0/20120312181643]] 20120629 23:11:10-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20120629 23:17:38< mattsc> Another quick question (this is not a bug, although it might turn into a feature request ;) ). Is it possible to access the game statistics from in game, either in WML or Lua? 20120629 23:19:05< zookeeper> sapient, AFAIK [store_locations] stores border hexes, and jamit told me that [filter_adjacent] excludes them (even if SLF in general doesn't). that's pretty problematic when you want to for instance place units on a random stored location or something, so i think we need an extra SLF key to specify whether to include the border or not. 20120629 23:29:14-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20120629 23:36:41-!- lansiir [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20120629 23:42:42-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 255 seconds] --- Log closed Sat Jun 30 00:00:07 2012