--- Log opened Thu Apr 23 00:00:07 2009 20090423 00:00:20< fendrin> Sapient: I believe you are refering to the work that was done by silene in wml-tags.lua? 20090423 00:02:14< Sapient> right 20090423 00:03:07< fendrin> I don't have anything usefull right now. Still in planing phase. 20090423 00:04:43< Sapient> hmm... now that I consider it, there is another advantage 20090423 00:05:13< Sapient> you may find more people who are willing to contribute patches that extend the core WML language and improve it 20090423 00:05:50< fendrin> Sapient: a cool [foreach] tag is on my todo list. 20090423 00:06:00< Sapient> this in turn, could eventually lead to the argument that all the action code should be in the same place 20090423 00:06:13< Sapient> i.e. in the lua bin 20090423 00:06:33< Sapient> so I guess there is a valid reason afterall (more contributers) 20090423 00:07:30-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 00:07:48< fendrin> Sapient: Well, I fear my proposal is more radical than what you have seen now. I want to store the wml tags in wml itself. You can get an idea of my plans by reading data/scenario-lua.cfg 20090423 00:12:37-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090423 00:13:39< Sapient> you "want to store the wml tags in wml itself" ??? 20090423 00:13:45< Sapient> what is that supposed to mean 20090423 00:15:03-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090423 00:15:23< Sapient> [attribute] name=typ 20090423 00:15:32< Sapient> this is weird looking indeed 20090423 00:15:43< fendrin> :-) 20090423 00:16:03< fendrin> The target is the if tag. 20090423 00:16:28< fendrin> The example wml code will define a if tag. 20090423 00:16:53< Sapient> you mean like a DTD ? 20090423 00:16:56< fendrin> That should behave just like the if we already have. 20090423 00:17:06< Sapient> what's this line? 20090423 00:17:07< Sapient> lua_function= << return function(cfg) return end >> 20090423 00:17:22< fendrin> it's a placeholder. 20090423 00:17:46< fendrin> I must implement every one of this attributes to make the whole thing working. 20090423 00:18:52< Sapient> is C++ really that hard or are you just that bored? 20090423 00:19:30< Sapient> you could write [foreach] very easily without using lua, you know 20090423 00:21:20-!- noy [n=noy@wesnoth/developer/noy] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 20090423 00:23:06< Sapient> [foreach] variable,member=stored_unit,u [do] [message] message="Hi, I'm $u.name; pleased to meet 'ya" 20090423 00:23:36< Sapient> it's a much better alternative to the current control structure, I agree 20090423 00:25:08< fendrin> I want to implement some code validation as well 20090423 00:26:03< fendrin> idealy it would be only turned on if wesnoth starts with --debug to avoid a performance loss. 20090423 00:26:30< Sapient> I can see now that if anyone's going to maintain working non-lua version of Wesnoth, it's probably going to be me and my lonesome 20090423 00:26:59< Sapient> considering the amount of time I got to do that, it ain't oo likely though 20090423 00:27:27< Sapient> so you guys have fun with that... 20090423 00:27:59< Sapient> maybe I'll start working on a campaign and submitting bug reports to you 20090423 00:28:04 * Sapient grins 20090423 00:28:33< Sapient> I do have a few ideas floating around 20090423 00:28:54< fendrin> What kind of ideas do you have in mind? 20090423 00:29:58< Sapient> it's basically a talke of HttT from a dark/neutral side 20090423 00:30:12< Sapient> a bounty hunters tale 20090423 00:30:51< Sapient> the scenarios would involve very little recruiting of units 20090423 00:31:24< Sapient> more like weapon management, ally management, and story choices 20090423 00:32:41< fendrin> And what new wml features are you needing? 20090423 00:33:06< Sapient> I think the existing ones should be mostly sufficient 20090423 00:33:39< Sapient> the main problem was I would like to give the option of attacking anyone even allies, if the player so chooses 20090423 00:33:40-!- stikonas [n=quassel@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090423 00:33:55< Sapient> so that's the only thing not supported by the game engine at this point 20090423 00:35:14< Sapient> I'll probably use a hidden side, and a right click menu item to mark someone as a target for that situation 20090423 00:36:06< fendrin> What is the hidden side for? 20090423 00:36:21< Sapient> honestly I never played most of the campaigns so I'm not sure how many of my ideas may have already been done before 20090423 00:36:57< fendrin> Have you ever designed much in wml? 20090423 00:36:59< Sapient> the hidden side would be for switching from e.g. blue(ally) to blue(enemy) 20090423 00:37:05< Ivanovic> off to bed, n8 20090423 00:37:37< Sapient> fendrin: yeah, I had a pretty popular mappack and I've contributed to a lot of other people's WML 20090423 00:38:22< Sapient> probably one of the most complex things I wrote in WML was the (rewrite of)_lava expansion code for HttT 20090423 00:41:54< Sapient> but usually I am helping someone else with their WML; haven't published too much of my own 20090423 00:43:57< CIA-30> crab * r35128 /trunk/src/ai/ (ai_actions.cpp ai_actions.hpp): AI Refactoring: some more comments of ai_action_result interface 20090423 00:44:20< Sapient> cya later, have fun. 20090423 00:44:20-!- Sapient [n=sapien-x@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090423 00:44:41-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090423 00:46:06-!- Andrai [n=Andrai@150.165.63.86] has joined #wesnoth-dev 20090423 00:50:58-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090423 00:59:52-!- [Relic] [n=[Relic]@76.229.202.137] has joined #wesnoth-dev 20090423 01:00:53< [Relic]> Hello :) 20090423 01:09:56-!- Polarina [n=polarina@wesnoth/translator/Polarina] has quit ["Leaving."] 20090423 01:17:47-!- Alesis-Novik [n=alesis@78.60.188.59] has quit ["back in the morning"] 20090423 01:21:37-!- alink [n=alink@wesnoth/developer/alink] has joined #wesnoth-dev 20090423 01:36:54-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090423 01:42:38-!- ikarius [n=ross@smtp.gridironsystems.com] has quit [] 20090423 01:47:49-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit ["On the road again"] 20090423 02:10:13-!- Dragonking [n=dk@wesnoth/developer/dragonking] has quit [] 20090423 02:16:30-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20090423 02:18:15-!- Elvish_Pillager [n=eli@68-116-167-181.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090423 02:43:24-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20090423 02:43:58-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090423 02:46:06-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090423 02:46:24-!- Chusslove [n=caslav@brsg-d9beeee3.pool.mediaWays.net] has quit [Read error: 110 (Connection timed out)] 20090423 04:17:12-!- ancestral [n=ancestra@97-116-120-23.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090423 04:17:44-!- Ivanovic_ [n=ivanovic@dtmd-4db2a3be.pool.einsundeins.de] has joined #wesnoth-dev 20090423 04:26:59< CIA-30> esr * r35129 /trunk/data/ (10 files in 7 dirs): Deprecate two redundant macros, and change mainline to use the simpler ones. 20090423 04:33:08-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 113 (No route to host)] 20090423 04:33:42-!- Ivanovic_ is now known as Ivanovic 20090423 04:34:54-!- AndreLuiz [n=deko__@unaffiliated/andreluiz] has joined #wesnoth-dev 20090423 04:36:00-!- joshux [n=joshux@114-45-172-203.dynamic.hinet.net] has joined #wesnoth-dev 20090423 04:44:57-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090423 04:52:14< CIA-30> alink * r35130 /trunk/src/pathfind.cpp: 20090423 04:52:14< CIA-30> Fix a slightly overestimated cost for moving trough ZoC with A* pathfinding. 20090423 04:52:14< CIA-30> Probably no impact (traversing ZoC is rarely the shortest path and checking 20090423 04:52:14< CIA-30> multi-turn move trough ZoC is useless) 20090423 05:24:21-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit ["Leaving"] 20090423 06:11:40-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090423 06:12:15-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 90 seconds."] 20090423 06:12:59-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090423 06:23:03-!- Andrai [n=Andrai@150.165.63.86] has quit [Read error: 110 (Connection timed out)] 20090423 06:36:30-!- alink [n=alink@wesnoth/developer/alink] has quit [Remote closed the connection] 20090423 07:11:21-!- Sirp [n=me@wesnoth/developer/dave] has quit ["leaving"] 20090423 07:12:02-!- ancestral [n=ancestra@97-116-120-23.mpls.qwest.net] has joined #wesnoth-dev 20090423 07:24:02-!- ilor_ [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090423 07:25:48-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 60 (Operation timed out)] 20090423 07:34:20-!- silene [n=plouf@ASte-Genev-Bois-152-1-21-67.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090423 07:48:00-!- [Relic] [n=[Relic]@76.229.202.137] has quit ["Leaving"] 20090423 08:17:39< CIA-30> cornmander * r35131 /website/stats.wesnoth.org/ (57 files in 11 dirs): initial commit. code is more or less GSoC prototype. 20090423 08:17:53-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection] 20090423 08:18:47< corn> hm, I need to follow the convention of the $id tag and I need to add GPL headers to everything 20090423 08:19:36-!- Appleman1234 [n=Appleman@131.181.47.14] has joined #wesnoth-dev 20090423 08:28:07-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 08:35:44-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090423 08:40:59-!- DDR [n=chatzill@66.183.125.196] has quit [Read error: 60 (Operation timed out)] 20090423 08:43:01< CIA-30> cornmander * r35132 /website/stats.wesnoth.org/wesstats/ (10 files in 2 dirs): Added GPL headers and id tag. 20090423 08:45:34-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090423 08:59:16-!- turin [n=turin@168.215.249.223] has quit [Read error: 110 (Connection timed out)] 20090423 09:01:19-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has joined #wesnoth-dev 20090423 09:01:50< YogiHH> corn: still there? 20090423 09:03:08< corn> YogiHH: yeah 20090423 09:06:59< YogiHH> corn: i had a look at your patch, but i am not sure if i understood it right. You seem to have introduced a new button called "button-endturn"? 20090423 09:09:08< corn> no 20090423 09:09:23< corn> button-endturn is the existing button for the "End Turn" in the lower right of the screen 20090423 09:09:32< corn> it gets changed in linger mode to "End Scenario" 20090423 09:09:48< corn> I took that same idea and made it say "Observing" if you are in observer mode, or "Paused" if you are in observer mode and paused 20090423 09:10:07< corn> I also had to make changes so that it is not disabled during observer mode 20090423 09:12:21-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090423 09:15:50< YogiHH> corn: what about the button "endturn" then (i don't have the code in front of me, so i can't look at it right now)? 20090423 09:16:20< joshux> so is there a precise time when Jaunty is out? 20090423 09:16:44< YogiHH> joshux: Jaunty? 20090423 09:17:01< silene> joshux: it is out; you just have to wait for it to propagate 20090423 09:17:02< joshux> YogiHH, ya 20090423 09:17:13< joshux> really?! 20090423 09:17:32< joshux> what do you mean it to propagate? 20090423 09:18:16< joshux> uh, sorry wrong channel... 20090423 09:19:27-!- joshux [n=joshux@114-45-172-203.dynamic.hinet.net] has quit [Read error: 54 (Connection reset by peer)] 20090423 09:19:33-!- Badger [i=badger@tremulous/player/badger] has joined #wesnoth-dev 20090423 09:24:51-!- stikonas [n=quassel@ctv-213-164-120-170.vinita.lt] has joined #wesnoth-dev 20090423 09:34:36-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090423 09:35:30-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 90 seconds."] 20090423 09:40:12-!- joshux [n=joshux@114-42-97-17.dynamic.hinet.net] has joined #wesnoth-dev 20090423 09:42:45-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 09:42:58-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090423 09:45:55-!- euschn [n=chatzill@goedel.logic.tuwien.ac.at] has joined #wesnoth-dev 20090423 09:46:03< euschn> hi 20090423 09:46:53-!- ikarius [n=ross@216.27.182.3] has joined #wesnoth-dev 20090423 09:47:57-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 90 seconds."] 20090423 09:48:42-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090423 09:49:00< YogiHH> hi euschn 20090423 09:50:07-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090423 09:52:45< noy> anybody here speak dutch? 20090423 09:53:57-!- Chusslove [n=caslav@brsg-d9bef850.pool.mediaWays.net] has joined #wesnoth-dev 20090423 10:03:10-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 90 seconds."] 20090423 10:03:42-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090423 10:04:57-!- Netsplit niven.freenode.net <-> irc.freenode.net quits: CIA-30 20090423 10:05:00-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090423 10:05:05-!- Netsplit over, joins: CIA-30 20090423 10:05:05< corn> YogiHH: yes, there is a seperate thing called "endturn." I think it's the menu in which the button is placed. In some places, the code disables the menu, and in some places, the code disables the button 20090423 10:15:42< YogiHH> corn: ah, i see 20090423 10:16:43< YogiHH> corn: generally, i don't like the idea of providing a single gui element with different functionalities that are more or less independent of each other. However, this has been done before and you simply extended what is already there. 20090423 10:19:25< YogiHH> corn: i'd prefer to have two separate buttons, one for observers and one for players, so we don't get things mixed up too much. Do you think you can do that (it will involve adding another button to the theme)? 20090423 10:19:52< YogiHH> noy: i don't speak it, but it is very similar do german. Why do you ask? 20090423 10:20:00< noy> np, we figured it out 20090423 10:20:05< YogiHH> s/do/to 20090423 10:20:46< Rhonda> noy: mordante does. And Germans usually understand it. 20090423 10:30:27< corn> YogiHH: where would this button be placed? 20090423 10:31:54< corn> the issue is that observers use the same theme as regular MP players, and there is no way to completely remove a button afaik in the current gui code 20090423 10:32:03< corn> mordante said that you could do it in the new code but I haven't tried it yet 20090423 10:32:40< YogiHH> corn: mmm, there is nothing like visible=false? 20090423 10:32:48-!- noy [n=Noy@wesnoth/developer/noy] has quit ["GO, GET TO THE CHOPPAH!!!"] 20090423 10:32:51< corn> no, don't think so 20090423 10:33:03< corn> not for buttons 20090423 10:33:33< YogiHH> ok, then i will have to rethink this :-) . I'll take another look and see if there is a more elegant solution to this. 20090423 10:33:42< corn> I could be wrong though 20090423 10:33:51< corn> button is a subclass of widget that has a hidden() accessor function 20090423 10:34:09< corn> and hide() 20090423 10:34:12< corn> I'll check it out 20090423 10:34:59< corn> ah, I think there is 20090423 10:35:32< corn> ok. I'll add a new button to the theme and make it hide if !is_observer() 20090423 10:35:41< corn> hopefully there won't be any problems with relative positioning or things like that 20090423 10:35:52-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 90 seconds."] 20090423 10:36:12-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090423 10:36:28< YogiHH> corn: yes, in theory you should be able to use the same positions for both buttons, as long as there is only one of them visible. 20090423 10:36:34-!- ancestral [n=ancestra@97-116-120-23.mpls.qwest.net] has quit ["And that’s the end of THAT chapter."] 20090423 10:37:52< corn> if it works out it, I'll change the End Turn -> End Scenario change to use the same thing 20090423 10:38:32< YogiHH> ok 20090423 10:40:23-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20090423 10:42:04< Ivanovic> moin 20090423 10:44:05-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090423 10:53:19-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090423 11:18:19-!- loonybot [n=loonybot@79.139.246.210] has joined #wesnoth-dev 20090423 11:18:44-!- loonycyborg [n=sergey@79.139.246.210] has joined #wesnoth-dev 20090423 11:45:46-!- stikonas [n=quassel@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20090423 11:49:56< CIA-30> ivanovic * r35133 /trunk/data/core/about.cfg: updated Noys about entry upon his request 20090423 11:50:00< CIA-30> ivanovic * r35134 /branches/1.6/data/core/about.cfg: updated Noys about entry upon his request 20090423 12:17:17-!- Appleman1234 [n=Appleman@131.181.47.14] has quit [Read error: 110 (Connection timed out)] 20090423 12:28:42-!- ilor_ [n=user@wesnoth/developer/ilor] has quit [] 20090423 12:40:08-!- mordante [n=mordante@87.215.201.26] has joined #wesnoth-dev 20090423 12:40:12< mordante> hi 20090423 12:40:23< mordante> YogiHH, around? 20090423 12:43:45-!- Andrai [n=Andrai@150.165.63.86] has joined #wesnoth-dev 20090423 12:47:39-!- Elvish_Pillager [n=eli@66-189-12-34.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090423 12:52:01< mordante> YogiHH, the new widget windows have no title so you'll need to add a label for the title 20090423 12:53:07< mordante> YogiHH, in order to add a new window add it to this list http://www.wesnoth.org/devdocs/gui_2widgets_2settings_8hpp-source.html#l00038 20090423 12:53:31< YogiHH> mordante: hi, just got back from diner 20090423 12:53:45< YogiHH> err, lunch :-) 20090423 12:53:49< mordante> I'm having my lunch break 20090423 12:54:26< YogiHH> mordante: ok, can we meet at, say, 14:30 UTC? 20090423 12:55:27< mordante> YogiHH, not but I'll leave more info here and you can also try to ask baufo or ilor, they both added new windows 20090423 12:56:05< mordante> after adding it you need to add the window id here http://www.wesnoth.org/devdocs/gui_2widgets_2settings_8cpp-source.html#l00074 20090423 12:56:16< YogiHH> mordante: just for your info, i added a new window, it shows ok and has a title label 20090423 12:56:29< mordante> ah ok 20090423 12:56:36< mordante> what's the problem? 20090423 12:56:40< YogiHH> mordante: but i get an exception if i try to make the title a member of the window class, giving it an id 20090423 12:57:29< YogiHH> mordante: find_widget seems to find something but it doesn't pass validation 20090423 12:57:53< mordante> did you request the proper widget type? 20090423 12:58:29< YogiHH> mordante: it's a label, and i tried to register it as field with register_text, which is probably not suitable 20090423 12:58:44< mordante> no that's not right 20090423 12:59:16< YogiHH> so how am i supposed to get a reference to that label inside of the window class? 20090423 13:00:08< mordante> looking for an example ;-) 20090423 13:01:24< mordante> http://www.wesnoth.org/devdocs/message_8cpp-source.html#l00026 in the title I know the widget is a tlabel and use that 20090423 13:02:18< mordante> for label it can be a tlabel or tscroll_label so I just look for a control which also has the set_label function 20090423 13:02:59< YogiHH> ah, i see, it casts to a tcontrol* pointer, that should work with every control, then 20090423 13:03:36< YogiHH> mordante: thanks, that should get me going :-) 20090423 13:03:39< mordante> yes but of course not all controls have all functions 20090423 13:04:08< YogiHH> ok 20090423 13:04:11< mordante> with the register_text field you need a text field and can also handle automatic loading and saving the variable, but that hasn't been used much (yet) 20090423 13:04:18< mordante> you're welcome 20090423 13:05:29< YogiHH> mordante: oh, about the callback functions: if they are not global functions (for example when they are getters/setters of a class instance) i will have to pass the relevant object to the constructor, right? 20090423 13:07:14< mordante> at the moment the callbacks are simple functions but I want to make it more generic functors or signals 20090423 13:07:26< mordante> however ilor already wrote something, let me have a look 20090423 13:08:53< YogiHH> mordante: i think it would be good to provide a value directly instead of a callback function for the third constructor parameter (that sets the initial widget value). 20090423 13:09:58< mordante> agreed but that interface hasn't been used much yet, but can surely use improvement 20090423 13:10:20< YogiHH> mordante: ok, i need to go on here, thanks a bunch so far 20090423 13:10:30< mordante> you're welcome 20090423 13:10:55< mordante> (can't find the wrapper ilor wrote and I also need to go on again) 20090423 13:24:03-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20090423 13:31:19-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090423 13:48:16-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection reset by peer] 20090423 13:48:31-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 14:04:26< Shadow_Master> good murnig 20090423 14:07:30< Shadow_Master> nice. A (human-assisted?) spambot. 20090423 14:08:17< Shadow_Master> and other. and other. gee, the adminstrative logs get interesting after two days of ignoring them 20090423 14:09:43< loonycyborg> Human-assisted spambot is a spamcyborg :P 20090423 14:15:00< Shadow_Master> the whois of the originating IP (220.248.226.70) basically seems to say that IANA is the ISP. impossible? 20090423 14:15:12< Shadow_Master> does this mean that it doesn't belong to any known ISP? 20090423 14:15:42< allefant> inetnum: 220.248.224.0 - 220.248.255.255 20090423 14:15:42< allefant> netname: CNC-Anhui-provincial-network 20090423 14:15:42< allefant> country: CN 20090423 14:15:50< allefant> some Chinese ISP 20090423 14:16:21< Shadow_Master> uh? 20090423 14:16:30< Shadow_Master> that's not what the forum software said :-| 20090423 14:16:41< allefant> i just typed "whois 220.248.226.70" into the command line 20090423 14:17:39< Shadow_Master> http://www.wesnoth.org/forum/mcp.php?i=main&mode=post_details&action=whois&p=353619&ip=220.248.226.70 20090423 14:18:00< loonycyborg> I'm getting "Anhui provincial branch of China Netcom" too with jwhois. 20090423 14:18:22< Shadow_Master> me too 20090423 14:18:33< Shadow_Master> even at wesnoth.org. weird 20090423 14:19:40< loonycyborg> Shadow_Master: It appears that only admins can see your link. 20090423 14:19:54< Shadow_Master> loonycyborg: ahhh, yeah :p 20090423 14:20:11< Shadow_Master> loonycyborg: try again now 20090423 14:20:36-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20090423 14:22:18-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090423 14:22:22< Crab_> hi 20090423 14:22:54< Shadow_Master> hi Crab_ 20090423 14:23:50< loonycyborg> "inetnum: 0.0.0.0 - 255.255.255.255" <- is that the original query? :P 20090423 14:25:07< Shadow_Master> no 20090423 14:25:30< loonycyborg> % Information related to '0.0.0.0 - 255.255.255.255' 20090423 14:26:05< loonycyborg> It looks like forum software decided to query entire address space instead :P 20090423 14:26:06< Shadow_Master> it chokes on that post only 20090423 14:26:48< Shadow_Master> http://www.phpbb.com/bugs/phpbb3/40085 20090423 14:27:46< Shadow_Master> four months since submission, still unassigned and unresolved. 20090423 14:29:31< loonycyborg> Shadow_Master: Send a complaint to bitbucket@ripe.net :P 20090423 14:31:26< Shadow_Master> is that like sending it to /dev/null ? 20090423 14:32:51< Shadow_Master> http://www.wesnoth.org/forum/viewtopic.php?f=4&t=25177 <- this seems to be a very common complaint nowadays btw. I haven't updated my git-svn trees or played wesnoth since two weeks, so no idea if my add-on is affected too 20090423 14:33:35< Shadow_Master> it sounds like 1.6.1 is worse than 1.6a, if those are correct 20090423 14:35:14< YogiHH> Shadow_Master: I strongly suppose it is due to the binary_path problem i already fixed for trunk. No idea, though where it got introduced. 20090423 14:36:03< Shadow_Master> makes me want to git svn rebase 20090423 14:36:23 * Shadow_Master renames ~/src to ~/.src 20090423 14:42:42-!- foobat [i=c13cde02@gateway/web/ajax/mibbit.com/x-1cfa19220af3da46] has joined #wesnoth-dev 20090423 14:54:26-!- fendrin [n=fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20090423 15:20:09-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090423 15:20:37-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090423 15:21:52-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [Read error: 148 (No route to host)] 20090423 15:26:14-!- foobat [i=c13cde02@gateway/web/ajax/mibbit.com/x-1cfa19220af3da46] has quit ["http://www.mibbit.com ajax IRC Client"] 20090423 15:35:37-!- stikonas [n=quassel@ctv-213-164-120-170.vinita.lt] has joined #wesnoth-dev 20090423 15:38:59-!- ettin_ [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090423 15:40:24-!- crimson_penguin [n=ben@64.201.60.216] has joined #wesnoth-dev 20090423 15:52:00-!- ettin [n=jorda@wesnoth/developer/ettin] has quit [Read error: 110 (Connection timed out)] 20090423 16:12:22-!- happygrue [n=quassel@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090423 16:18:02-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090423 16:18:18-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 16:21:16-!- mordante [n=mordante@87.215.201.26] has quit ["Leaving"] 20090423 16:22:45-!- euschn [n=chatzill@goedel.logic.tuwien.ac.at] has quit ["ChatZilla 0.9.84 [Iceweasel 3.0.6/2009032803]"] 20090423 16:32:43-!- Reisiger [n=Reisiger@adsl-84-227-136-145.adslplus.ch] has joined #wesnoth-dev 20090423 16:49:12< Reisiger> Q: Anyone else having issues compiling ai_actions.(h|c)pp ? 20090423 16:55:18< fendrin> Reisiger: It compiles fine for me. 20090423 16:55:32< Crab_> Reisiger: what kind of issues ? and what compiler ? 20090423 16:55:50< Reisiger> MSVC r35134 20090423 16:56:02< Reisiger> Error 4 error C2974: 'std::vector' : invalid template argument for '_Ty', type expected e:\projects_ext\wesnoth\trunk\src\ai\ai_actions.hpp 152 20090423 16:56:30< Reisiger> Sounds like MSVC feels 'special' again :-( 20090423 16:57:06< Reisiger> total of 10 errors with the same/similar message 20090423 16:57:22< Crab_> Reisiger: I'll try to make a fix in a few min. I guess I know where it can choke.... 20090423 16:58:00< Reisiger> ok, want me to paste-bin the list of errors (and thus the lines they happen)? 20090423 16:58:11< Crab_> Reisiger: gcc compiles it fine, though. and MSVC doesn't like "const team& team, const std::vector& teams", I guess 20090423 16:58:16< Crab_> Reisiger: yes, do this 20090423 16:58:46-!- Elvish_Pillage2 [n=eli@24-183-183-109.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090423 16:58:54< Reisiger> Crab_: http://wesnoth.pastebin.com/d43138bb8 20090423 16:59:08-!- YogiHH [i=d4ca9d15@wesnoth/developer/yogihh] has left #wesnoth-dev [] 20090423 17:00:24-!- Elvish_Pillager [n=eli@66-189-12-34.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090423 17:06:31-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090423 17:06:36< CIA-30> crab * r35135 /trunk/src/ai/ (ai_actions.cpp ai_actions.hpp): Fix MSVC-specific compilation problems (MSVC feels 'special' again) 20090423 17:06:38< Crab_> Reisiger: try this ^^^. 20090423 17:06:52< Reisiger> Ok. :) 20090423 17:09:30< Reisiger> Looks good so far. 20090423 17:09:50< Crab_> Reisiger: good ) 20090423 17:10:41< Crab_> the fix was to change the problematic lines to "const team& my_team, const std::vector& teams" 20090423 17:12:20< Reisiger> Successfull build :) 20090423 17:12:42< Crab_> MSVC makes your life more interesting :)) 20090423 17:12:52< Reisiger> Something along that line o_O 20090423 17:19:27-!- ettin_ [n=jorda@wesnoth/developer/ettin] has quit [Read error: 110 (Connection timed out)] 20090423 17:45:42-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090423 17:46:39< esr> fendrin: ping? 20090423 17:57:12< fendrin> esr: pong 20090423 17:57:18-!- ikarius [n=ross@216.27.182.3] has quit [] 20090423 17:57:59< esr> fendrin: You had a patch from santi to up-gun Terror at the Fort of Parthyn. Have you merged it? 20090423 17:58:20< fendrin> no 20090423 17:58:47< esr> Do you intend tto? Or do you want top pass it to me for review? 20090423 17:59:20-!- Elvish_Pillager [n=eli@24-183-183-109.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090423 18:00:28-!- stikonas [n=quassel@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20090423 18:01:04< fendrin> That patch made things harder by mangling with the gold and adding a second wave of enemies. 20090423 18:07:28< fendrin> esr: forwarded as a forum pm. 20090423 18:07:30< esr> fendrin: Yes, I think that's probably a good idea. Will you give me a copy so I can experiment with it? 20090423 18:07:38< esr> Oh, OK. 20090423 18:11:03-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has quit [Read error: 110 (Connection timed out)] 20090423 18:14:18-!- joshux [n=joshux@114-42-97-17.dynamic.hinet.net] has quit ["Leaving"] 20090423 18:15:34-!- Elvish_Pillage2 [n=eli@24-183-183-109.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090423 18:16:47-!- turin [n=turin@168.215.249.223] has joined #wesnoth-dev 20090423 18:16:58< CIA-30> esr * r35136 /trunk/data/campaigns/Delfadors_Memoirs/TODO: Some TODo entries have been done. 20090423 18:32:54-!- ikarius [n=ross@smtp.gridironsystems.com] has joined #wesnoth-dev 20090423 18:46:38-!- busfahrer is now known as buzZzZzfahrer 20090423 18:48:42-!- Alesis-Novik [n=alesis@78.60.188.59] has joined #wesnoth-dev 20090423 18:57:46-!- YogiHH [n=chatzill@c225036.adsl.hansenet.de] has joined #wesnoth-dev 20090423 19:04:41-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has quit [Remote closed the connection] 20090423 19:06:40< Shadow_Master> Turuk: another spambot? :( 20090423 19:07:11< Turuk> yeah, a smarter one, responded to feedback with a somewhat random but noobish reply but hid the link in his sig 20090423 19:07:19< Crab_> got a bug in LoW.2: dwarves just sit and do nothing ( a troll whelp stepped on 'dwarven' territory, Olurf said "Those stinking trolls ha' stepped on OUR land! Attack!", then Olurf recruited a full keep and sits around, doing nothing ) 20090423 19:07:27< Shadow_Master> Turuk: those are called Spam Humans(tm) 20090423 19:07:45< Turuk> human or bot, they're all mindless things 20090423 19:08:06< Shadow_Master> yeah, the difference is that no matter what we do, we can't defeat human spam sources 20090423 19:08:24< Turuk> Sigh, I know 20090423 19:08:33< Shadow_Master> unless, perhaps I activate the DNS blackhole list again once I figure out how to disable it on posting/editing 20090423 19:08:42< Shadow_Master> or we start sending complaints ot ehir ISPs 20090423 19:09:44< Shadow_Master> Turuk: why are you banning duplicated IPs btw? 20090423 19:09:55< Turuk> huh? 20090423 19:10:02< Shadow_Master> "Banned IP for reason... >> 120.28.67.75, 120.28.67.75" 20090423 19:10:16< Turuk> I don't know what it did that 20090423 19:10:21< Turuk> I hit ban IP and that was what happened 20090423 19:10:25< Turuk> I don't actively select the IP 20090423 19:11:01< Shadow_Master> Turuk: uh, are you using the MCP for that? 20090423 19:11:39< Turuk> Uh, no 20090423 19:12:15< Shadow_Master> I select the IP manually and paste it onto the ACP 20090423 19:12:51< Turuk> Oook 20090423 19:13:06< Turuk> well clicking Ban by IP does the same thing.... 20090423 19:13:40< Shadow_Master> Turuk: where? 20090423 19:13:58< Turuk> Administrate user 20090423 19:14:06< Turuk> Ban by username, Ban by email, Ban by IP 20090423 19:14:11< Turuk> at the bottom 20090423 19:14:24< Shadow_Master> ahh. may be buggy 20090423 19:14:46< Turuk> .....oook? 20090423 19:14:48< Turuk> but it works 20090423 19:15:02< Shadow_Master> yes, I was talking about the duplicated banning :) 20090423 19:15:04< Turuk> and while it may show the IP twice, it's not as if banning the same IP twice is unbanning it 20090423 19:15:13< Turuk> Yes, I know what you are talking about 20090423 19:15:54< Shadow_Master> yes, I know it doesn't have any effect besides looking funny 20090423 19:16:00< Shadow_Master> * additional effects 20090423 19:16:11< Shadow_Master> :) 20090423 19:16:16< Turuk> If you knew that then why this: Shadow_Master: Turuk: why are you banning duplicated IPs btw? 20090423 19:16:20< Turuk> ;) 20090423 19:16:44< Shadow_Master> because it looks funny and I wondered whether you were deliberately being funny or not 20090423 19:17:07< Turuk> Nope, it shows up when others do it as well 20090423 19:17:09< Shadow_Master> also wondered that you may have been trying to ban a second IP and copy-pasted the wrong one 20090423 19:17:19< Turuk> Nope 20090423 19:22:07-!- buzZzZzfahrer is now known as busfahrer 20090423 19:32:35-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090423 19:37:21-!- maxy [n=maxy@80-219-0-199.dclient.hispeed.ch] has joined #wesnoth-dev 20090423 19:49:15-!- Shadow_Master is now known as evilShikadiLord 20090423 19:50:08-!- evilShikadiLord is now known as Shadow_Master 20090423 19:54:56< Reisiger> Q: In HttT the scenario Plunging into the Darkness... how's the victory condition triggered? 20090423 19:56:33< Soliton> by sighting the dwarves. 20090423 19:57:10< Reisiger> Hm... there's no fog of war... so I see them from the beginning :-( 20090423 19:58:04< Shadow_Master> r/qeuryf (mdh 20090423 19:58:13< Reisiger> I'm loading the starting savegame. 20090423 19:59:14< Reisiger> No joy... trying the last turn of the previous game 20090423 19:59:53< Soliton> there should be shroud. 20090423 20:01:24< Reisiger> I know... 20090423 20:02:33-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20090423 20:02:50< Soliton> oh sorry, i looked at the wrong version. 20090423 20:03:20< Soliton> looks like it was broken on purpose to show a bug. 20090423 20:03:40< Soliton> you need to set shroud=yes for side 1. 20090423 20:04:29< Reisiger> How/where? I haven't looked at the files for scenarios at all. 20090423 20:05:28< Soliton> data/campaigns/Heir_To_The_Throne/scenarios/14_Plunging_Into_the_Darkness.cfg 20090423 20:08:16< Reisiger> k done. 20090423 20:08:55-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 20:10:26< Reisiger> Hm... not working... does map data get saved in the cache? 20090423 20:12:05< Soliton> you have to load from a start-of-scenario save. 20090423 20:13:48< Reisiger> Loading the last turn of the previous game should do the same, shouldn't it? 20090423 20:14:06< Soliton> yes. 20090423 20:14:07< Reisiger> Finally, had to restart the client ontop of that 20090423 20:14:52-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090423 20:15:46-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090423 20:26:31< YogiHH> Soliton: Any idea what's the check box "Ignore All" for in the save game dialog? 20090423 20:27:18< Soliton> YogiHH: in the savegame dialog when there are OOS errors? 20090423 20:27:30< YogiHH> Soliton: i think so, yes 20090423 20:27:51< Soliton> you'll not be prompted again for OOS errors then. 20090423 20:29:18-!- fabi [n=fabi@e179094100.adsl.alicedsl.de] has joined #wesnoth-dev 20090423 20:37:40< CIA-30> fendrin * r35137 /trunk/data/scenario-lua.cfg: More framework for wml meta tags. 20090423 20:39:39< Soliton> fabi: any reason to leave httt 14 broken without a warning to the player? 20090423 20:39:46-!- Dragonking [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20090423 20:40:34-!- Shadow_Master is now known as Spam_Fighter 20090423 20:42:40-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 110 (Connection timed out)] 20090423 20:47:13-!- Spam_Fighter is now known as Shiadow_Master 20090423 20:47:18-!- Shiadow_Master is now known as Shadow_Master 20090423 20:50:21-!- allefant [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090423 20:55:30< fabi> Soliton: is it broken? I read over the code and thought that no event would depend on the shroud being on. 20090423 20:56:54-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090423 20:58:01< boucman> hey all 20090423 20:58:06< Crab_> hi boucman 20090423 20:58:10< cjhopman> hey boucman 20090423 21:06:12< fabi> Soliton: I got it , the sighted event. I will repair it right now. 20090423 21:08:49< CIA-30> fendrin * r35138 /trunk/data/campaigns/Heir_To_The_Throne/scenarios/14_Plunging_Into_the_Darkness.cfg: Restored the shroud=on again. The missing shroud made the scenario impossible to win. 20090423 21:16:52-!- EdB [n=edb@81.101.196-77.rev.gaoland.net] has joined #wesnoth-dev 20090423 21:17:05-!- fabi [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection] 20090423 21:19:30< boucman> so, what's up ? 20090423 21:23:39-!- maxy [n=maxy@80-219-0-199.dclient.hispeed.ch] has quit [] 20090423 21:27:57< Crab_> boucman: I'm coding ai_attack_result now (will commit tomorrow). While looking at attack code, I've noticed that the current ai advances units "at random". I'm thinking about changing this behavior to allow the AI to decide "how to advance", by running some piece-of-code-supplied-by-ai-developer (c++ code or fai formula) 20090423 21:29:15< boucman> Crab_: this soulds like a good idea, but please do that once we have a good testing framework... 20090423 21:29:51< boucman> we have very bad memories of ideas that seems good in the AI but actually turned bad, and the testing framework is the only way out of that sort of problems 20090423 21:30:22< Crab_> boucman: this will not affect "current" code, this is basically an "optional" parameter which will not be used by current code 20090423 21:30:39< boucman> ok, your call, 20090423 21:30:59< boucman> but please focus on one thing at a time, it's really important for us not to get tangled in too many changes 20090423 21:30:59< Crab_> boucman: and I intend to do "fork ai code - test if all ok - include my ai_*_result's - test again" sequence 20090423 21:31:16< boucman> of course :) 20090423 21:31:44< Crab_> boucman: I'll leave it as '@todo 1.7' for now. I just noted it when I was analyzing current attack code. 20090423 21:32:02< boucman> ok, sounds good 20090423 21:32:19< Crab_> boucman: and I've tried to compile trunk on freebsd, no luck so far ( http://wesnoth.pastebin.com/m285e927a , same error in scons). I guess that I'll just install debian gnu/linux there to avoid spending much time on it. 20090423 21:32:59< boucman> Crab_: do you have this sendfile.h somewhere else ("find /include | grep sendfile.h) 20090423 21:33:10< boucman> if not, did google provide any clue on who should provide it ? 20090423 21:33:24-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090423 21:34:08-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20090423 21:36:37< Crab_> boucman: no, no sendfile.h around (BSD has 'sendfile' function in /usr/include/sys/socket.h ) 20090423 21:37:09< Crab_> ( wesnoth 1.6 (from freebsd ports) built ok there ) 20090423 21:37:44< boucman> the porter might have applied a patch, not sure about how it works 20090423 21:37:52< boucman> Ivanovic could tell you who the packager is 20090423 21:38:26-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090423 21:38:41-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 21:44:33< loonycyborg> Crab_: Then fix the include accordingly :) 20090423 21:45:13< loonycyborg> sendfile.h -> socket.h 20090423 21:47:48< Crab_> loonycyborg: imo, that's not the right solution :) that 'sendfile' part is optional, and in freebsd port, the mainainer has disabled it at all. 20090423 21:47:53< Crab_> s/mainainer/maintainer 20090423 21:47:54< loonycyborg> Or comment that check altogether if freebsd is totally different thing under bsd. 20090423 21:48:07< loonycyborg> *sendfile 20090423 21:48:43-!- fendrin [n=fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20090423 21:48:52< loonycyborg> I vaguely remember that it may have different semantics on different unices. 20090423 21:49:19< loonycyborg> silene: So adding that check to buildsystems was a bad idea after all. 20090423 21:51:08< Crab_> loonycyborg, ok, '#undef HAVE_SENDFILE' dealt with that part.... compiling further.. 20090423 21:53:04< Crab_> note that it had found the freebsd sendfile, but that sendfile has different signature, so it's not usable 'in the same way' as gnu/linux sendfile. 20090423 22:01:34< Ivanovic> boucman: no idea who packages for bsd 20090423 22:01:44< Ivanovic> at least i think the packager is not on my list 20090423 22:02:46-!- Reisiger [n=Reisiger@adsl-84-227-136-145.adslplus.ch] has quit ["Verlassend"] 20090423 22:03:18-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 22:06:59< CIA-30> cjhopman * r35139 /trunk/src/astarnode.hpp: -remove sqrt() from a* search heuristic, now uses just the squared value as it is significantly faster 20090423 22:10:48-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Success] 20090423 22:10:56< CIA-30> cjhopman * r35140 /trunk/src/ (6 files): 20090423 22:10:56< CIA-30> -rewrite a* search, removing the pooled a_star_nodes and making a few optimizations 20090423 22:10:56< CIA-30> -runs in as little as 40% of the time of the old implementation 20090423 22:10:56< CIA-30> -remove astarnode.hpp and astarnode.cpp 20090423 22:12:08< cjhopman> ^ I don't think that I broke any of the build systems... 20090423 22:12:14< cjhopman> scons works 20090423 22:12:32< Crab_> cjhopman: MSVC9 :) ? 20090423 22:13:01< cjhopman> oh yeah, definitely broken 20090423 22:13:34< Crab_> cjhopman: don't worry, the people who use MSVC9 are used to it being broken :) 20090423 22:14:12< Crab_> it's in projectfiles/VC9/ 20090423 22:16:34< YogiHH> Crab: :-P 20090423 22:16:40< cjhopman> can I just remove the file entries from the project file? 20090423 22:17:28< YogiHH> cjhopman: yes, that is enough 20090423 22:17:55-!- ilor_ [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090423 22:18:47 * YogiHH starts to understand why nobody ported the saving a game dialog to gui2 yet :/ 20090423 22:19:24< loonycyborg> src/astarsearch.cpp:160: warning: converting to 'int' from 'double' 20090423 22:19:44< YogiHH> night everyone 20090423 22:19:53< loonycyborg> ceil() or floor()? :P 20090423 22:20:06< Crab_> loonycyborg: is it (int)calc->getNoPathValue(); ? 20090423 22:20:11-!- YogiHH [n=chatzill@c225036.adsl.hansenet.de] has left #wesnoth-dev [] 20090423 22:20:36< Crab_> if it is, then it doesn't matter 20090423 22:20:36< cjhopman> just (int) 20090423 22:20:42< cjhopman> i'll fix it in a second 20090423 22:21:32-!- silene [n=plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20090423 22:21:41< silene> hi 20090423 22:21:47< Crab_> hi silene 20090423 22:22:43< CIA-30> cjhopman * r35141 /trunk/projectfiles/ (3 files in 3 dirs): -update VC9 and CodeBlocks project files for rev #35140 20090423 22:23:45< CIA-30> loonycyborg * r35142 /trunk/src/astarsearch.cpp: Fixed compile warning. 20090423 22:24:34< cjhopman> I might have broke those project files... i would be surprised if i did though 20090423 22:31:07-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has quit [Remote closed the connection] 20090423 22:34:35< ilor_> Ivanovic: are there plans for 1.6.2 already? I'm about to backport some string-bearing features to 1.6's editor 20090423 22:35:11-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 110 (Connection timed out)] 20090423 22:37:41-!- cjhopman [n=cjhopman@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20090423 22:43:54-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 22:44:37< silene> cjhopman: you can do much better than clear+resize if you want to improve the performance of the pathfinder; just store a timestamp in the nodes (a simple counter); that way you will never have to erase all the nodes and hence trashing the whole data cache of the processor 20090423 22:46:43< cjhopman> the clear + resize is more than fast enough though 20090423 22:47:55< cjhopman> in fact, i could just go through all the nodes resetting just node::t 20090423 22:49:00< silene> cjhopman: you don't get it; you don't have to do anything; you don't have to poison hundreds of KB of memory; you can just do nothing 20090423 22:50:40< cjhopman> ah, that's true 20090423 22:51:38-!- elias [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090423 22:51:58< Crab_> boucman, loonycyborg: ok, compiled it successfully using autotools (autogen.sh, then gmake) (had to do only a small hack to make it find lua5.1) 20090423 22:52:05-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090423 22:52:18-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090423 22:53:10< silene> Crab_: which kind of hack? 20090423 22:53:24< cjhopman> silene: I have more to do there anyway.. I will try out some other ways of setting it up like you suggest 20090423 22:54:16-!- EdB [n=edb@81.101.196-77.rev.gaoland.net] has quit [Remote closed the connection] 20090423 22:55:22< Crab_> on freebsd7, pkg-config ( invoked as part of autogen.sh ) searched for lua, but freebsd lua port installed /usr/local/libdata/pkgconfig/lua-5.1.pc, not lua.pc, so pkg-config was unable to find installed lua. So, I symlinked lua-5.1.pc to lua.pc 20090423 22:55:56< silene> cjhopman: i haven't taken an in-depth look, but it shouldn't be too compliquated, just replace node::in_list from by an integer, and it should do the trick 20090423 22:57:31< silene> Crab_: if you get the chance, could you get a look at configure.ac:843? the code already checks for lua and lua5.1, you could try adding another test for lua-5.1 (can't they get their naming right...) 20090423 22:57:35-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20090423 22:58:05< Crab_> silene: ok, i'll do that 20090423 22:59:43-!- AndreLuiz [n=deko__@unaffiliated/andreluiz] has quit [Remote closed the connection] 20090423 22:59:58-!- ancestral [n=ancestra@97-116-120-23.mpls.qwest.net] has joined #wesnoth-dev 20090423 23:02:40-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit [Read error: 110 (Connection timed out)] 20090423 23:03:18-!- AndreLuiz [n=deko__@unaffiliated/andreluiz] has joined #wesnoth-dev 20090423 23:06:38< Crab_> silene: ok, modified it and it works ok with my symlink deleted. http://wesnoth.pastebin.com/m48f53ea9 20090423 23:06:48-!- esr [n=chatzill@static-71-162-243-5.phlapa.fios.verizon.net] has quit ["ChatZilla 0.9.84 [Firefox 3.0.7/2009030423]"] 20090423 23:06:53< Crab_> silene: should I commit it ? 20090423 23:16:05-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection] 20090423 23:16:57-!- busfahrer` [n=busfahre@ulmg-5f70cf66.pool.einsundeins.de] has joined #wesnoth-dev 20090423 23:17:49-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090423 23:18:28-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090423 23:19:54< silene> Crab_: please do so 20090423 23:20:03< Crab_> ok 20090423 23:21:29< Crab_> (another thing I needed to change to compile trunk on freebsd7, is to #undef HAVE_SENDFILE at start of src/network_worker.cpp ). 20090423 23:21:59< Crab_> since although freebsd *has* sendfile, it differs from sendfile on linux. 20090423 23:25:53< silene> how does it differ? did you get a compile error or something? 20090423 23:26:14< Crab_> http://wesnoth.pastebin.com/m285e927a 20090423 23:28:33< loonycyborg> silene: IMO we should revert to old method of checking for sendfile, i.e. #ifdef __LINUX__ :) 20090423 23:29:14< silene> Crab_: okay, compilation choking on sys/sendfile.h should be good enough for a configure check; i will do it tomorrow 20090423 23:31:18-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090423 23:32:21< CIA-30> crab * r35143 /trunk/configure.ac: Fixed issue with autogen.sh not finding lua-5.1 on FreeBSD 20090423 23:32:27< Sapient> yo cjhopman 20090423 23:32:43< Crab_> silene: thanks 20090423 23:32:52< Sapient> cjhopman: there? 20090423 23:33:16< loonycyborg> silene: What exactly are you planning to do about that check? 20090423 23:33:25-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090423 23:33:40-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090423 23:35:20-!- ilor_ [n=user@wesnoth/developer/ilor] has quit [Read error: 113 (No route to host)] 20090423 23:36:54< silene> loonycyborg: conditionalize the check for sendfile on the presence of sys/sendfile.h, so something like AC_CHECK_HEADER([sys/sendfile.h], [AC_CHECK_FUNCS([sendfile])], []) 20090423 23:43:45< CIA-30> silene * r35144 /trunk/configure.ac: Conditionalized sendfile support on the presence of sys/sendfile.h, since FreeBSD version is slightly different. 20090423 23:43:47< silene> since i wrote it on irc, i may as well commit it 20090423 23:46:08 * Crab_ tries to compile with r35144 ... 20090423 23:46:33< CIA-30> silene * r35145 /branches/1.6/configure.ac: 20090423 23:46:33< CIA-30> Backport of revision 35144. 20090423 23:46:33< CIA-30> Conditionalized sendfile support on the presence of sys/sendfile.h, since FreeBSD version is slightly different. 20090423 23:46:43-!- Polarina [n=polarina@wesnoth/translator/Polarina] has joined #wesnoth-dev 20090423 23:49:04< CIA-30> ilor * r35146 /branches/1.6/ (10 files in 4 dirs): backport r34883, r34898 and r34919 from trunk (editor --load DIR and embedded/referenced maps handling) 20090423 23:49:32< Polarina> Long time, no see. :) 20090423 23:51:19< silene> ilor: is that really a bugfix? 20090423 23:52:08< ilor> silene: not a bugfix, but a small feature that was missing (it was in 1.4's editor) 20090423 23:52:27< ilor> well at least part of it was 20090423 23:54:45-!- Polarina [n=polarina@wesnoth/translator/Polarina] has quit ["Leaving."] 20090423 23:56:06< CIA-30> ilor * r35147 /branches/1.6/ (6 files in 4 dirs): backport r34900, r34918 from trunk (added terrain sampler and move clipboard ops to RMB context menu) 20090423 23:56:35< ilor> silene: same deal with this one, sampling was in 1.4 but missing so far; and theother change is cosmetic and reduces ui clutter 20090423 23:57:26-!- cjhopman [n=cjhopman@wesnoth/developer/cjhopman] has quit [Read error: 110 (Connection timed out)] 20090423 23:57:35< Sapient> cya later, have fun. 20090423 23:57:35-!- Sapient [n=sapien-x@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090423 23:57:37-!- Polarina [n=polarina@wesnoth/translator/Polarina] has joined #wesnoth-dev 20090423 23:59:17-!- Gnutoo [n=gnutoo@host183-83-dynamic.51-79-r.retail.telecomitalia.it] has quit [Read error: 60 (Operation timed out)] --- Log closed Fri Apr 24 00:00:14 2009