--- Log opened Tue Aug 18 00:00:00 2009 20090818 00:01:34-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"] 20090818 00:05:05-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20090818 00:05:38-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090818 00:09:15-!- wesbot changed the topic of #wesnoth-dev to: released 1.7.3, announcing "soon" | 77 bugs, 240 feature requests, 10 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090818 00:09:47< Crab_> Ivanovic: topic is a bit out-of-date :) 20090818 00:10:51-!- Soliton changed the topic of #wesnoth-dev to: 77 bugs, 240 feature requests, 10 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090818 00:13:59< CIA-62> soliton * r37924 /trunk/src/unit.cpp: simplified unit::type() 20090818 00:14:06-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090818 00:14:08< CIA-62> soliton * r37925 /trunk/src/ (8 files in 4 dirs): got rid of the dummy_unit and simplified code along the way 20090818 00:14:27< Sapient> \o/ 20090818 00:15:10< Soliton> i've tested several things and it doesn't seem to break anything but fix a couple of issues. 20090818 00:16:14< CIA-62> ivanovic * r37926 /trunk/RELEASE_NOTES: clean up release notes now that 1.7.3 is announced 20090818 00:16:33< Sapient> thanks, Soliton. That was a bad hack and I'm glad to see it gone 20090818 00:17:51< Soliton> :-) 20090818 00:26:31< YogiHH> ilor: still building? 20090818 00:27:42< Sapient> wesbot: log r37924 20090818 00:27:46< wesbot> soliton * r37924 : simplified unit::type() 20090818 00:27:46< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=37924 20090818 00:30:04< Sapient> Soliton: so it is intentional that unit::type() can return NULL without logging any warnings now? 20090818 00:30:24-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090818 00:31:26< Soliton> Sapient: it didn't log any warnings when the type id was empty before either. 20090818 00:32:09< Sapient> ah, good point 20090818 00:32:18< Soliton> basically i just removed the unit_type_exists() call since that is almost never needed. (but still a couple of times in the code.) 20090818 00:33:15-!- noy [n=Noy@wesnoth/developer/noy] has quit [Connection timed out] 20090818 00:43:38< ilor> YogiHH: sorry, was 'brb'; build done and I have main menu working editor working and pretty much going to sleep now ;) 20090818 00:44:16< YogiHH> ilor: alright, i will follow you right away. Just don't forget to check in if needed :) 20090818 00:50:32-!- Chusslove [n=Chusslov@adsl-ppp-3251.yubc.net] has quit [Remote closed the connection] 20090818 00:58:03-!- Sapient [n=patrickp@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090818 00:58:12< Soliton> ilor: btw, i agree that those list opening/closing triangles should be infront not behind the list header. 20090818 00:58:26< Soliton> that's how it is everywhere else, i think. 20090818 01:06:00-!- YogiHH [n=chatzill@c146189.adsl.hansenet.de] has left #wesnoth-dev [] 20090818 01:15:39< ilor> Soliton: aw damn I forgot about tha 20090818 01:18:12< CIA-62> ilor * r37927 /trunk/data/gui/default/window/lobby_main.cfg: put the disclosure triangle in front of the group name in newlobby 20090818 01:18:23< ilor> Soliton: ^ ;) 20090818 01:18:57< Soliton> \o/ 20090818 01:19:17< ilor> gui2 wins when it comes to changes like this 20090818 01:19:51< Soliton> yes, that's very nice. 20090818 01:29:30-!- wesbot [n=wesbot@asteria.debian.or.at] has quit [Remote closed the connection] 20090818 01:33:37< ilor> night 20090818 01:33:42-!- ilor [n=user@wesnoth/developer/ilor] has quit [] 20090818 01:42:13< corn> loonycybord (not here now): building isn't important, I can just copy over the binary 20090818 01:45:16-!- BenUrban [n=benurban@c-68-50-54-86.hsd1.md.comcast.net] has joined #wesnoth-dev 20090818 01:57:33< Ivanovic> corn: loonycyborg is called loonycyborg, not loonycybord 20090818 01:57:34< Ivanovic> ;) 20090818 01:57:47< Ivanovic> corn: though how to start a prog if the libs that it is liked to are not available? 20090818 01:58:01< Ivanovic> or will running with the --screenshot param work without X11 and the likes installed? 20090818 01:58:18< Ivanovic> (since sdl relies on x11 and ...) 20090818 01:58:23< Ivanovic> okay, off to bed now, n8 20090818 01:58:27-!- melinath [n=melinath@pool-72-72-200-231.altnpa.east.verizon.net] has joined #wesnoth-dev 20090818 02:03:32-!- Rhonda [n=rhonda@anguilla.debian.or.at] has quit [Remote closed the connection] 20090818 02:12:02-!- PK5 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"] 20090818 02:19:35-!- Bob_The_Mighty [n=chatzill@cpc3-brig15-0-0-cust460.3-3.cable.virginmedia.com] has joined #wesnoth-dev 20090818 02:20:57< Bob_The_Mighty> can someone remind me of the difference between ~ and @ when specifying file paths in wesnoth? 20090818 02:21:22< Soliton> yes, don't use @. 20090818 02:21:47< Soliton> but that's not about file paths in general but WML include paths. 20090818 02:22:17< Bob_The_Mighty> @ seems to work inside the #ifdef MULTIPLAYER 20090818 02:23:04< Soliton> sure. not that the two have much to do with each other. :-) 20090818 02:24:20< Bob_The_Mighty> Well, I'm trying to do two things without luck 20090818 02:24:44< Bob_The_Mighty> 1. link from a scenario file to a bunch of units outside of the currently used era 20090818 02:24:58-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090818 02:25:01< Bob_The_Mighty> 2. link from the scenario file to a stash of macros in another add-on 20090818 02:25:12< Soliton> link? 20090818 02:25:34< Bob_The_Mighty> I put this in the scenario .cfg: {~campaigns/RPG_Creation_Kit/macros/macro_hub.cfg} 20090818 02:25:38< Soliton> you can just use macros from other addons. 20090818 02:26:14< Bob_The_Mighty> that doesn't seem to work for me, it needs to be linked to the file 20090818 02:26:47< Bob_The_Mighty> in macro_hub.cfg i have a list of file includes - pointing to all the macro files, and unit files 20090818 02:28:15< Soliton> well, what error do you get? 20090818 02:31:35< Bob_The_Mighty> well, the unit is not recognised 20090818 02:32:10< Soliton> that means nothing to me. 20090818 02:33:44< Bob_The_Mighty> i am trying to place a custom unit from my pack, on a map. when i load it, it says: 'unknown unit' 20090818 02:35:49< Bob_The_Mighty> do you understand? 20090818 02:36:53< Soliton> the point is post the WML or i can't possibly help you. 20090818 02:37:38< Bob_The_Mighty> ok 20090818 02:38:09< Bob_The_Mighty> here's my scenario file: http://wesnoth.pastebin.com/d110fc0ed 20090818 02:39:18< Bob_The_Mighty> here's the content of macro_hub.cfg : http://wesnoth.pastebin.com/d52a36e50 20090818 02:40:06< Soliton> units go inside [units]. 20090818 02:40:51< Bob_The_Mighty> ah, ok 20090818 02:41:50< Soliton> (so you can't put such an include inside [multiplayer].) 20090818 02:43:05< Soliton> and you really just need that include if the RPG_Ceation_Kit does not do so already. 20090818 02:43:30< Soliton> which does not sound like a good idea. 20090818 02:44:30< Soliton> if every addon that uses that kit needs to include those macros you'll have multiple definitions as soon as you have two of them installed. 20090818 02:44:44-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20090818 02:44:58< Bob_The_Mighty> i just tested it with the [+unit] inside the scenario cfg and it works 20090818 02:45:18< Soliton> you mean inside [multiplayer]? 20090818 02:45:20< Bob_The_Mighty> oh, i see your point 20090818 02:45:26< Bob_The_Mighty> yes, inside multiplayer 20090818 02:46:12< Soliton> we're not talking about #ifdef MULTIPLAYER, right? 20090818 02:46:56< Soliton> i can't really see how that should work. 20090818 02:47:07< Bob_The_Mighty> i put [+units]{~campaigns/RPG_Creation_Kit/units/trolls}[/units] inside the macro_hub file 20090818 02:47:20< Soliton> i'd guess you're already including it somewhere else at the right place. 20090818 02:48:12< Soliton> is the macro hub file already included in the kit's main file or so? 20090818 02:49:45< Bob_The_Mighty> i have #ifdef MULTIPLAYER {@campaigns/RPG_Creation_Kit/} that's all (the macro hub file is in a sufolder within) 20090818 02:51:12< Soliton> well, remove that include from your scenario file and see if it still works. 20090818 02:52:52< Soliton> and tell me why people constantly re-upload broken addons. 20090818 02:54:34< Bob_The_Mighty> when you said "the kit's main file" i thought you meant this: http://wesnoth.pastebin.com/d4b89058e 20090818 02:54:58< Bob_The_Mighty> i quoted line 5 and 6 20090818 02:55:23< Soliton> well, then it's all already included. 20090818 02:56:16< Soliton> do you need the binary path outside the ifdef, btw? 20090818 02:58:13< Bob_The_Mighty> That is always how I have done it, I don't understand this side of thing much at all 20090818 02:58:56< Soliton> yeah, i figured. :-> 20090818 03:00:04< Soliton> somewhat bad since that way people pollute everyone's wesnoth even if they're not in mp mode. 20090818 03:00:54< Bob_The_Mighty> well, maybe this stuff will be used in sp mode too 20090818 03:01:10< Bob_The_Mighty> but for most add-ons, i see your point 20090818 03:01:15< Soliton> "this stuff" is only the binary path. 20090818 03:01:23< Soliton> everything else is in the ifdef. 20090818 03:01:43< Bob_The_Mighty> i meant the contents of my kit, might also get used in a sp campaign or something 20090818 03:01:45< Soliton> which pretty much means it can't be necessary outside. 20090818 03:02:01< Soliton> well, currently it can't. :-) 20090818 03:03:02< Bob_The_Mighty> Okay, so I should remove the if def? By the way, I am learning from this teasing :) 20090818 03:04:05< Soliton> you could do that if you want those units and whatever else is in the addon to be included in wesnoth all the time instead of just in mp mode. 20090818 03:04:41< Soliton> unless some campaign is really going to use it that is useless though. 20090818 03:05:19< Soliton> but given the idea of the addon it probably makes sense. 20090818 03:05:59< corn> Ivanovic: the libs will be necessary to run, X11 itself isn't necessary 20090818 03:06:00< Soliton> it should have some unique naming scheme on all the content to avoid breaking other addons though. 20090818 03:06:42< Bob_The_Mighty> my macros are all prefixed with rpg_ 20090818 03:06:56< Soliton> ok, that's good. 20090818 03:07:07< Soliton> unit type ids as well? 20090818 03:07:26< Bob_The_Mighty> um, no, but most are unique as far as i know 20090818 03:07:42< Soliton> though really the units should be in a different addon maybe? 20090818 03:07:49< Bob_The_Mighty> why? 20090818 03:08:21< Soliton> well, do you necessarily need them in an rpg? are they needed for the provided macros? 20090818 03:08:57< Bob_The_Mighty> i have collected together units suitable for dotting around an rpg 20090818 03:18:01< Bob_The_Mighty> anyway, since custom units are not recognised by the game unless specifically included in the era, won't a conflict of unit id's only occur if a scenario deliberately includes mutliple eras? 20090818 03:19:05< Soliton> units are recognised by the game once they're WML is included. that's independent of the era you use. 20090818 03:19:12< Soliton> their* 20090818 03:19:45< Soliton> eras define factions which define leaders and what they can recruit. 20090818 03:20:37< Soliton> a scenario doesn't include eras at all. the player decides what era is used. 20090818 03:20:51< Bob_The_Mighty> you mean the wml is included by pointing to the unit file? 20090818 03:21:05< Soliton> yes. 20090818 03:21:44< Bob_The_Mighty> okay, so the custom units that my scenario points to, might conflict with another era if that era is used 20090818 03:21:48< Soliton> {file} is an include. it literally inserts everything in the file at the place that include statement is. 20090818 03:22:15< Soliton> i don't really know what you mean with "points to". 20090818 03:22:32< Bob_The_Mighty> read 'inserts' 20090818 03:22:45< Soliton> you do not insert units in a scenario. 20090818 03:23:22< Soliton> you can use them there though by referencing their id in some tag or whatever. 20090818 03:24:08< Soliton> what inserts the units is the rpg kit addon. 20090818 03:24:35< Soliton> and yes if another addon inserts units with the same id then things may break. 20090818 03:24:52< Soliton> well, will break in case the stats are different. 20090818 03:25:23< Bob_The_Mighty> okay, i get it now 20090818 03:26:43< Bob_The_Mighty> thanks for explaining 20090818 03:27:12< Soliton> regarding putting the units somewhere else. it might be more generally useful to have an addon with all kinds of monsters independent of the rpg kit. 20090818 03:27:47< Soliton> but maybe that's too much seperation for now and just confuses people.. 20090818 03:41:56< Valkier> I say we just make the next WoW and get it over with. 20090818 03:45:41-!- Bob_The_Mighty [n=chatzill@cpc3-brig15-0-0-cust460.3-3.cable.virginmedia.com] has quit ["ChatZilla 0.9.85 [Firefox 3.0.13/2009073022]"] 20090818 04:19:20-!- Ivanovic_ [n=ivanovic@dtmd-4db2b0f4.pool.einsundeins.de] has joined #wesnoth-dev 20090818 04:35:56-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090818 04:36:47-!- Ivanovic_ is now known as Ivanovic 20090818 06:00:57-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090818 06:16:39-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [] 20090818 06:23:02-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has joined #wesnoth-dev 20090818 06:40:01-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has quit [] 20090818 06:51:04-!- silene [n=plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20090818 06:53:08-!- melinath [n=melinath@pool-72-72-200-231.altnpa.east.verizon.net] has quit [Read error: 60 (Operation timed out)] 20090818 06:58:26-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["'night"] 20090818 07:05:29-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has joined #wesnoth-dev 20090818 07:18:25-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090818 07:18:49-!- melinath [n=melinath@pool-72-72-200-231.altnpa.east.verizon.net] has joined #wesnoth-dev 20090818 07:23:38-!- Blueblaze [n=Blueblaz@66-192-13-8.vtc.net] has joined #wesnoth-dev 20090818 07:30:23-!- Blueblaze [n=Blueblaz@66-192-13-8.vtc.net] has quit [] 20090818 07:36:03-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090818 07:40:55< CIA-62> silene * r37928 /trunk/src/scripting/lua.cpp: Added a Lua function for evaluating WML conditionals. 20090818 07:41:01< CIA-62> silene * r37929 /trunk/src/scripting/lua.cpp: Ensured stack truncation before converting to config objects. 20090818 07:41:09< CIA-62> silene * r37930 /trunk/data/lua/wml-tags.lua: Simplified code by using wesnoth.eval_conditional. 20090818 08:07:26< corn> silene: I am looking at the packages installed on wesnoth.org and it looks like most if not all of the required packages to get wesnoth to run are already installed 20090818 08:08:18< corn> silene: pango, cairo, sdl 20090818 08:08:46< corn> actually... let me double check that 20090818 08:10:49< corn> yep 20090818 08:14:25< corn> it still is probably better to install on a seperate system though 20090818 08:16:24-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090818 08:22:15-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has quit [Read error: 110 (Connection timed out)] 20090818 08:22:39-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090818 08:23:31< Crab_> hi 20090818 08:24:02-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has quit [] 20090818 08:25:09< Crab_> bug: http://irclogs.wesnoth.org is not logging anything since 01:19 20090818 08:27:35< corn> hi Crab_ 20090818 08:30:03< corn> there need to be changes to how upload_logs are stored and passed around in the code because right now accessing a log from src/ai/testing.cpp would be very inconvenient 20090818 08:33:23< Crab_> corn: well, IMO, the cleanest solution is to push arbitrary data from src/ai/testing.cpp to replay 20090818 08:34:21< Crab_> corn: and then add another foreach to upload_log::read_replay() 20090818 08:34:53< corn> I agree. in general I want to move from scraping data in different places in upload_log.cpp to just reading a replay and then eventually just sending the replay to the upload log server 20090818 08:39:05< Crab_> yes, that's a good idea. 20090818 08:39:24< corn> anyway, here is a diff of the code to enable --label: http://pastebin.com/m65422226 20090818 08:39:36< corn> I wasn't sure where the best place for storing the label was 20090818 08:39:57< Valkier> Uh oh. Forum crashed. 20090818 08:40:06< corn> the [ai_log] child will contain all the information that you want to be uploaded 20090818 08:40:12< Crab_> ok 20090818 08:40:39-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090818 08:41:19< corn> Valkier: did you get a mysql error about exceeding a connections limit? 20090818 08:41:39< corn> just give it a few seconds and it should clear up 20090818 08:43:04< corn> Crab_: ok, I will compile with my patch and if it works ok I will commit 20090818 08:43:11< Crab_> ok 20090818 08:43:22< corn> Crab_: will you be adding things to [ai_log] today? 20090818 08:43:43< Crab_> corn: yes, but I don't know 'at which moment of day' 20090818 08:43:48< corn> ok 20090818 08:44:31< ilor> hm, wesnoth wiki seems down 20090818 08:45:03< ilor> mordante: makes my final upsate of the goal a bit difficult ;) I'll try again in a few hrs 20090818 08:45:18< corn> ilor: wesnoth mysql is overloaded 20090818 08:45:29< corn> it is related to valkier's problem above 20090818 08:45:35< corn> just wait a few seconds or a minute and it will clear up 20090818 08:45:54< corn> either there is a lot of concurrent activity or something is coded poorly and forgets to close mysql connections 20090818 08:47:12< ilor> corn: problem is I need go afk now ;) 20090818 08:47:28< corn> ah 20090818 08:54:44-!- ilor [n=user@wesnoth/developer/ilor] has quit [] 20090818 08:55:43-!- euschn [n=chatzill@wesnoth/developer/euschn] has joined #wesnoth-dev 20090818 09:02:02-!- EdB [n=edb@79.88.117.206] has joined #wesnoth-dev 20090818 09:06:20-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has joined #wesnoth-dev 20090818 09:10:18< CIA-62> cornmander * r37931 /trunk/src/ (game.cpp upload_log.cpp): 20090818 09:10:18< CIA-62> Added new --label parameter to allow grouping ai statistics by label. Reenabled 20090818 09:10:18< CIA-62> log deletion after upload. 20090818 09:10:30-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has joined #wesnoth-dev 20090818 09:10:35< YogiHH> hello 20090818 09:10:49< euschn> hi YogiHH 20090818 09:11:02< corn> hi 20090818 09:20:06-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090818 09:26:59-!- Rhonda [n=rhonda@anguilla.debian.or.at] has joined #wesnoth-dev 20090818 09:27:10-!- stikonas [n=and@ctv-213-164-123-205.vinita.lt] has joined #wesnoth-dev 20090818 09:33:10-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has joined #wesnoth-dev 20090818 09:34:25-!- ancestral [n=ancestra@97-116-126-165.mpls.qwest.net] has quit [Client Quit] 20090818 09:40:26-!- Valkier [n=karasawa@c-71-225-240-156.hsd1.pa.comcast.net] has quit [] 20090818 09:43:59-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090818 09:46:12-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090818 09:47:13< corn> afk now 20090818 09:59:15-!- Ivanovic_ [n=ivanovic@dtmd-4db2b0f4.pool.einsundeins.de] has joined #wesnoth-dev 20090818 10:01:19-!- Netsplit clarke.freenode.net <-> irc.freenode.net quits: ettin, Ivanovic 20090818 10:02:41-!- Netsplit over, joins: ettin 20090818 10:03:14-!- Ivanovic_ is now known as Ivanovic 20090818 10:03:29-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20090818 10:03:51-!- stikonas [n=and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090818 10:10:45-!- Chusslove [n=Chusslov@adsl-ppp-3251.yubc.net] has joined #wesnoth-dev 20090818 10:12:14-!- Netsplit clarke.freenode.net <-> irc.freenode.net quits: Smar, noy, rtfb, dfranke 20090818 10:12:14-!- Smar [i=smar@smar.fi] has joined #wesnoth-dev 20090818 10:12:18-!- Netsplit over, joins: noy 20090818 10:12:33-!- Netsplit over, joins: rtfb 20090818 10:12:54-!- Netsplit over, joins: dfranke 20090818 10:13:22< Ivanovic> moin 20090818 10:27:32< Crab_> hi, Ivanovic. Whom to bug about missing wesbot (so, missing channel logging since 1:19) ? 20090818 10:27:51< Ivanovic> Crab_: that is Rhonda 20090818 10:28:33< Ivanovic> but Rhonda is at work right now and said yesterday that there is basically no "outside access" at his new job 20090818 10:28:42< Crab_> yes, I remember that... 20090818 10:28:57< Ivanovic> so it might take till in the evening to get wesbot back 20090818 10:29:05< Ivanovic> that is: IIRC Soliton does some logging, too 20090818 10:30:39< deekay> Crab_: Thanks for the data 20090818 10:30:51< deekay> Crab_: It'll definiately be useful 20090818 10:31:20< deekay> Crab_: I couldn't answer immidiately y'day, there was really intense battle going on on the server :) 20090818 10:32:13-!- loonybot [n=loonybot@79.139.138.234] has joined #wesnoth-dev 20090818 10:33:02-!- loonycyborg [n=sergey@79.139.138.234] has joined #wesnoth-dev 20090818 10:33:06< Crab_> deekay:np :) So, that's 'reference data' for r37748. As soon as you tell me to switch to new release, I'll do so. 20090818 10:33:25< deekay> Crab_: Great thanks :) 20090818 10:33:35< deekay> Crab_: I'll try to do some changes this week 20090818 10:34:10< deekay> Crab_: Regarding fai debugger, what I noticed is that you serialize map data type to string in a wierd way 20090818 10:34:49< deekay> Out of [ 'a' -> 1 ] you create something like {map expression[ ['a'] -> [1] ] } 20090818 10:35:19< Crab_> deekay: ok, I'll fix this now 20090818 10:35:50< deekay> Other than that it looks really nice, if I think about anything else, I'll tell you :) 20090818 10:36:15< Crab_> deekay: ok, note that I'll change the way to run the debugger, soon (already in my local commits). 20090818 10:36:24< Crab_> deekay: it'll be debug(...) formula function 20090818 10:36:41< deekay> That's nice :) 20090818 10:36:44< Crab_> deekay: so, you'll be able to debug only a subset of a big expression 20090818 10:37:04< loonycyborg> It looks like wesnoth.debian.net had stopped logging for some reason :/ 20090818 10:37:33< Crab_> loonycyborg: wesbot has gone fishing :) 20090818 10:37:55< deekay> Crab_: I'm thinkign about unification of the unit and unit_type callables formula interface, this will break compatibility but should result in more-general formula functions 20090818 10:38:43< Crab_> deekay: isn't it better to just generalize your adaptor ? 20090818 10:39:08< Crab_> deekay: note that sometimes, unit is interchangeable with map location, as well 20090818 10:39:16< deekay> Crab_: But I'm taling about *formula interface* 20090818 10:39:38< Crab_> deekay: explain more 20090818 10:39:48< deekay> Crab_: So unit.max_movement vs unit_type.movement for example 20090818 10:40:11< deekay> Both do the same, so why different name? 20090818 10:40:32< Crab_> deekay: ah, that part.. yes, it should be without duplication.. 20090818 10:40:53< stikonas> Ivanovic: shouldn't there be "Apply Filter" in src/multiplayer_lobby.cpp:734 instead of "Apply Filer"? 20090818 10:41:03< deekay> Crab_: Duplication? Now I think I don't follow. :) 20090818 10:41:12< Ivanovic> stikonas: yeah, sounds like a typo to me 20090818 10:41:26< Ivanovic> stikonas: ping ilor about it, he is working on the lobby 20090818 10:41:37< stikonas> ilor: can you fix this typo? 20090818 10:42:04< Crab_> deekay: you want to just rename the attributes ? 20090818 10:42:12< deekay> Crab_: Yes 20090818 10:42:33< Crab_> deekay: ok, then you're welcome to do so :) I was thinking about another thing ) 20090818 10:42:40< deekay> Crab_: ok. :) 20090818 10:55:35< Rhonda> Ivanovic: "her new job", damnit :) 20090818 10:56:07< Ivanovic> pah, we need a real "gender neutreal language"... 20090818 10:56:09< Ivanovic> ;) 20090818 10:56:24-!- wesbot [n=wesbot@wesnoth/bot/wesbot] has joined #wesnoth-dev 20090818 10:56:29< Crab_> hello, wesbot 20090818 10:56:37 * Ivanovic hugs wesbot 20090818 10:57:35-!- Rh0nda [n=rhonda@anguilla.debian.or.at] has joined #wesnoth-dev 20090818 10:57:35-!- Rh0nda [n=rhonda@anguilla.debian.or.at] has quit [Client Quit] 20090818 11:21:34-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20090818 11:21:56-!- stikonas [n=and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090818 11:27:34-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has quit [Ping timeout: 180 seconds] 20090818 11:35:55-!- euschn [n=chatzill@wesnoth/developer/euschn] has quit [Remote closed the connection] 20090818 11:37:13-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has joined #wesnoth-dev 20090818 11:47:25-!- Kenpachi [n=chatzill@CPE-58-169-219-15.sa.bigpond.net.au] has joined #wesnoth-dev 20090818 11:51:02< CIA-62> crab * r37932 /trunk/ (6 files in 4 dirs): new 'debug()' formula function 20090818 11:54:15-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit [Remote closed the connection] 20090818 11:59:55-!- melinath [n=melinath@pool-72-72-200-231.altnpa.east.verizon.net] has quit ["Verlassend"] 20090818 12:00:24-!- Kenpachi_ [n=chatzill@CPE-58-169-219-15.sa.bigpond.net.au] has joined #wesnoth-dev 20090818 12:08:55-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090818 12:15:43< Crab_> deekay: around ? 20090818 12:16:51< Crab_> deekay: note http://wesnoth.pastebin.com/m61e7f9d6 - WTF is going on there ? 20090818 12:19:13-!- Kenpachi [n=chatzill@CPE-58-169-219-15.sa.bigpond.net.au] has quit [Read error: 110 (Connection timed out)] 20090818 12:23:08< Crab_> deekay: note: "calculate_map_ownership" is not documented in the wiki 20090818 12:24:34< Crab_> deekay: note: "locations_in_radius" is not documented in the wiki 20090818 12:33:06< Crab_> deekay: note: "find_shroud" is not correctly documented in the wiki (according to source, it can take an argument, according to wiki - no) 20090818 12:37:27< Crab_> deekay: note: "close_enemies" is not correctly implemented (it gets the lists of closest non-own units, thus can return allied units, as well) 20090818 12:53:16< Crab_> deekay: note: "safe_call" is not documented in the wiki 20090818 12:53:50-!- daxion_ [n=jochen@dslb-088-069-160-193.pools.arcor-ip.net] has joined #wesnoth-dev 20090818 12:53:55< Crab_> deekay: note: "debug_label" is not documented in the wiki 20090818 13:07:06-!- Kenpachi_ is now known as Kenpachi 20090818 13:07:11-!- Kenpachi [n=chatzill@CPE-58-169-219-15.sa.bigpond.net.au] has quit ["ChatZilla 0.9.85 [Firefox 3.5.2/20090729225027]"] 20090818 13:07:29-!- Kenpachi [n=chatzill@CPE-58-169-219-15.sa.bigpond.net.au] has joined #wesnoth-dev 20090818 13:16:54< CIA-62> crab * r37933 /trunk/src/ai/formula/function_table.cpp: added debug information to (documented) functions in AI-specific function table 20090818 13:19:58-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090818 13:20:36-!- EdB [n=edb@79.88.117.206] has quit [Remote closed the connection] 20090818 13:49:06 * Soliton notes that alternate logging is on: http://wesnoth.org/irclogs 20090818 13:50:06-!- fabi [n=fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20090818 13:52:01< Rhonda> alternate_ 20090818 13:52:05< Rhonda> _? 20090818 13:52:17< Rhonda> bleah - where is mz kezboard lazout gone again!!! 20090818 13:54:45< loonycyborg> Soliton: Nice. I thought it wasn't available anymore. 20090818 13:57:01< CIA-62> soliton * r37934 /trunk/src/multiplayer_wait.cpp: code simplification 20090818 13:57:09< CIA-62> soliton * r37935 /trunk/src/ (5 files): simplified gender unit type handling 20090818 13:57:10< CIA-62> soliton * r37936 /trunk/ (src/multiplayer_lobby.cpp utils/pofix.py): typo fix 20090818 13:57:37< Soliton> stikonas, ilor: fixed that typo. 20090818 13:58:16< Soliton> Ivanovic: ^ typo fix but i didn't run pofix. 20090818 14:01:04< Rhonda> Soliton: I can merge the few hours from this morning, if that's what you mean ... 20090818 14:02:18-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20090818 14:06:16-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 110 (Connection timed out)] 20090818 14:15:00-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090818 14:35:45< deekay> Crab_: I know about lack of documentation 20090818 14:36:15< Crab_> deekay: ok. and what about the pastebin link ? 20090818 14:37:05< Crab_> deekay: I was adding debug information to those functions, and I skipped those without documentation 20090818 14:39:27< deekay> Crab_: What's wrong with pastebin? 20090818 14:39:54< Crab_> http://wesnoth.pastebin.com/m61e7f9d6 - what is the purpose of selected lines ? 20090818 14:39:55< deekay> Crab_: These 3 lines are equivalent to variant my_variant = args()[0]->evaluate(variables,fdb); 20090818 14:40:25< Crab_> why args()[0]->evaluate(variables,fdb); is called two times ? 20090818 14:41:11< deekay> Crab_: Hm. Now I see WTF 20090818 14:41:27< deekay> Crab_: Sorry, I was driving just moment ago and it's damn hot here 20090818 14:41:35< deekay> So my thinking lags a bit ^^; 20090818 14:41:37< Crab_> deekay: np 20090818 14:41:48< deekay> Crab_: I'd get rid of these lines 20090818 14:41:53< Crab_> ok 20090818 14:43:30< Crab_> deekay: I'll do it 20090818 14:44:00< deekay> Crab_: These lines were added by sapient in r24319 (05.03.2008) 20090818 14:44:03< deekay> No clue why 20090818 14:44:12< Crab_> deekay: bad merge ? 20090818 14:44:44< deekay> Crab_: find shroud are leftover after barbarianhero.. (last year SoC participant) well.. I don't have to add more I think :s 20090818 14:44:49< deekay> Crab_: Possible 20090818 14:45:13< Crab_> deekay: is it really needed to pass gamemap& to any formula functions ? 20090818 14:45:59< deekay> Crab_: Where? 20090818 14:46:32< Crab_> deekay: find_shroud, is_village, is_unowned_village 20090818 14:47:20< deekay> Crab_: find_shroud - it is optional I see 20090818 14:47:28< Crab_> deekay: undocumented optional :) 20090818 14:47:31< deekay> Crab_: Generally there should be no need to 20090818 14:47:41< deekay> Yes.... :s 20090818 14:47:54< deekay> Crab_: Good findings 20090818 14:48:19< Crab_> deekay: and what about "close_enemies" - should I fix it to return only enemy units ? 20090818 14:48:26< deekay> Yes 20090818 14:48:53< Crab_> deekay: also, what do you think about adding certain automatic type conversions to formula ai ? i.e., if a function expects a unit type, and is passed a location, allow it to autoconvert location->unit->unit type 20090818 14:49:37< Crab_> deekay: right now, this is done 'by hand' in some functions 20090818 14:49:45< Crab_> deekay: and is not done in others 20090818 14:49:49< deekay> Crab_: I was tihnking about it, but I think it may be cause of errors 20090818 14:50:08< deekay> When conversion will occur when we wouldn't expect it 20090818 14:50:18< deekay> In case of some error when writing formulas 20090818 14:50:53< Crab_> deekay: well, with debugger present, it would be easier to see/log those autoconversions 20090818 14:51:08< deekay> Crab_: Yes, that's what I just was about to write 20090818 14:51:10< Crab_> e.g., I can write 'autoconverted BAR to FOO" 20090818 14:51:15< Crab_> somewhere in the UI 20090818 14:51:23< deekay> Now my concerns have less value since we have debugger 20090818 14:51:29< Crab_> ok, so, what do you think ? should I go for it ? 20090818 14:51:33< deekay> Yes 20090818 14:51:35< Crab_> ok 20090818 14:51:42< Crab_> ok, afk now 20090818 14:51:46< deekay> ok:) 20090818 14:51:54-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090818 14:52:37-!- Kenpachi [n=chatzill@CPE-58-169-219-15.sa.bigpond.net.au] has quit ["ChatZilla 0.9.85 [Firefox 3.5.2/20090729225027]"] 20090818 14:53:02< CIA-62> crab * r37937 /trunk/src/ai/formula/function_table.cpp: removed unnecessary code 20090818 14:56:48< daxion_> does anybody know if Saurian also evolved on that drake island? 20090818 14:57:05< zookeeper> they didn't 20090818 14:57:31< daxion_> do even exist on that island group? 20090818 15:03:28< daxion_> and now a really stupid question: which library would be usefull if I want to do some graphical output in c++? I don't really want to go the way of implementing it in python 20090818 15:10:10-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090818 15:12:05-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090818 15:13:13< loonycyborg> daxion_: SDL 20090818 15:13:26< loonycyborg> It also has python bindings. 20090818 15:13:31-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090818 15:14:27< loonycyborg> Though it depends on what kind of graphics you want. 20090818 15:15:37< daxion_> actually I want to have simple window, with overlaying pictures. Nothing special 20090818 15:17:14-!- ABCD [n=ABCD@gentoo/contributor/abcd] has quit [Read error: 113 (No route to host)] 20090818 15:17:37< loonycyborg> Probably Qt will be enough for that.. 20090818 15:22:42< daxion_> thank you 20090818 15:23:06-!- xchat_sux [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090818 15:32:06-!- daxion_ [n=jochen@dslb-088-069-160-193.pools.arcor-ip.net] has quit ["Ex-Chat"] 20090818 15:37:26-!- xchat_sux is now known as Elvish_Pillager 20090818 15:39:34-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has joined #wesnoth-dev 20090818 15:39:36-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090818 15:42:56-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 104 (Connection reset by peer)] 20090818 15:42:57-!- krzysz00 [n=user@pool-71-252-228-249.dllstx.fios.verizon.net] has joined #wesnoth-dev 20090818 15:47:14-!- stikonas [n=and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090818 15:58:28-!- Sirp [n=user@wesnoth/developer/dave] has joined #wesnoth-dev 20090818 15:59:08< Elvish_Pillager> I can have WML create a string, e.g. to display in a message. Can I make it output that string in a way that I can copy into e.g. a text file? 20090818 15:59:41< Elvish_Pillager> (a way for WML to get variables printed to stdout would be sufficient) 20090818 16:10:36-!- krzysz00 [n=user@pool-71-252-228-249.dllstx.fios.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 20090818 16:19:41< Elvish_Pillager> Well, I found a horrible hack way to do it :) 20090818 16:19:54< Elvish_Pillager> I'm printing the variable to name= in a [music] tag >:D 20090818 16:21:02< zookeeper> how about [wml_message]? 20090818 16:21:41< Elvish_Pillager> I tried that, it didn't seem to output anything. Do I need to put something specific for the logger key? 20090818 16:22:01< zookeeper> i guess 20090818 16:22:29< Elvish_Pillager> the wiki didn't make it clear what, if anything, would send output to the command line 20090818 16:25:35-!- krzysz00 [n=user@pool-71-252-228-249.dllstx.fios.verizon.net] has joined #wesnoth-dev 20090818 16:28:15< krzysz00> i'm going to try porting wesnoth to the nokia n800. However, i'll need to convert all th sound files from ogg to something else. What file format should i use for the new sound? 20090818 16:28:55< krzysz00> never mind 20090818 16:29:28-!- krzysz00 [n=user@pool-71-252-228-249.dllstx.fios.verizon.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 20090818 16:32:17-!- crimson_p [n=irchon@64.201.60.211] has joined #wesnoth-dev 20090818 16:34:47 * Soliton blinks 20090818 16:35:52< crimson_p> I can't use /me on here :( 20090818 16:36:33< crimson_p> I also can't have my full nick for some reason 20090818 16:37:42< crimson_p> maybe I should just wait till I'm on my computer to use irc 20090818 16:37:50-!- crimson_p [n=irchon@64.201.60.211] has quit [Remote closed the connection] 20090818 16:41:00-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090818 16:43:13-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090818 16:46:08-!- loonybot [n=loonybot@79.139.138.234] has joined #wesnoth-dev 20090818 16:46:58-!- krzysz00 [n=user@pool-71-252-228-249.dllstx.fios.verizon.net] has joined #wesnoth-dev 20090818 16:47:03-!- loonycyborg [n=sergey@79.139.138.234] has joined #wesnoth-dev 20090818 16:47:33< krzysz00> is there a configure option (or something like) that to disable sound 20090818 16:47:36-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20090818 16:48:28< Soliton> no, but there is a runtime option. 20090818 16:50:32< krzysz00> i know about the runtime option, but what i'd like to do is simply have a sound-less build due to disk/memory/technical concerns on the platform i'm trying to port to 20090818 16:52:22-!- krzysz00 [n=user@pool-71-252-228-249.dllstx.fios.verizon.net] has quit [Remote closed the connection] 20090818 16:52:23< Soliton> well, look how the runtime option works and make it permanent. 20090818 17:06:17< Elvish_Pillager> Hmm. If a unit has two non-cumulative +25% leadership bonuses and a single -25% 'leadership' 'bonus', then does it do +25% or +0% damage? 20090818 17:07:04 * loonycyborg bets on +0% 20090818 17:07:27-!- crimson_penguin [n=ben@64.201.60.211] has joined #wesnoth-dev 20090818 17:07:28< Elvish_Pillager> it either adds them up and caps them 20090818 17:07:34< Elvish_Pillager> or it takes the best positive one and the best negative one 20090818 17:14:35 * loonycyborg thinks that the most sense would be if you add up bonuses(taking stacking rules in account) and then add up maluses and then apply them 20090818 17:15:50< loonycyborg> Otherwise order in which bonuses/maluses are applied may affect the end result. That would be confusing. 20090818 17:42:10-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has quit ["Page closed"] 20090818 17:42:44< Soliton> is anyone very attached to :q for :quit as opposed to :q!? 20090818 17:43:11-!- elias [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090818 17:43:14< Soliton> i'd like to change :q to be an alias of :query. 20090818 17:48:24-!- Tigge_ [n=tigge@bacchus.olf.sgsnet.se] has joined #wesnoth-dev 20090818 17:49:58-!- ABCD [n=ABCD@gentoo/contributor/abcd] has joined #wesnoth-dev 20090818 18:04:33-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has quit [Read error: 110 (Connection timed out)] 20090818 18:14:51-!- ABCD_ [n=ABCD@gentoo/contributor/abcd] has joined #wesnoth-dev 20090818 18:14:58-!- ABCD [n=ABCD@gentoo/contributor/abcd] has quit [Read error: 54 (Connection reset by peer)] 20090818 18:19:36-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090818 18:19:40-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090818 18:25:37-!- Chusslove [n=Chusslov@adsl-ppp-3251.yubc.net] has quit [Read error: 60 (Operation timed out)] 20090818 18:28:12-!- daxion_ [n=jochen@dslb-094-219-112-105.pools.arcor-ip.net] has joined #wesnoth-dev 20090818 18:37:36< ilor> mordante: wiki page updated 20090818 18:42:23-!- Chusslove [n=Chusslov@212.124.173.8] has joined #wesnoth-dev 20090818 18:42:30-!- daxion_ [n=jochen@dslb-094-219-112-105.pools.arcor-ip.net] has quit ["Ex-Chat"] 20090818 18:45:36-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20090818 18:46:47-!- ABCD_ is now known as ABCD 20090818 19:17:25-!- stikonas_ [n=and@ctv-213-164-123-205.vinita.lt] has joined #wesnoth-dev 20090818 19:17:47-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090818 19:17:50-!- Noyga [n=lame-z@wesnoth/developer/noyga] has left #wesnoth-dev ["Quitte"] 20090818 19:18:02< boucman> hey all 20090818 19:18:07 * boucman is back in france 20090818 19:19:10< Ivanovic> welcome back to europe, boucman 20090818 19:19:41< boucman> hehe 20090818 19:19:52< boucman> the return flight was... long to say the least 20090818 19:26:38-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090818 19:31:11-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090818 19:37:48-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20090818 19:40:25-!- stikonas_ is now known as stikonas 20090818 19:41:24< Rhonda> Hmm, where is silence ... 20090818 19:41:34< Rhonda> silene even --- Log closed Wed Aug 19 00:00:50 2009