--- Log opened Wed Nov 14 00:00:35 2012 20121114 00:48:05-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: bye] 20121114 00:48:31-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-umc-dev 20121114 00:54:16-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-umc-dev 20121114 01:37:13-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20121114 01:49:00-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20121114 02:00:09-!- irker259 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20121114 02:12:04-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: bye] 20121114 02:50:07-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121114 03:16:02-!- irker426 [~irker@ai0867.net] has joined #wesnoth-umc-dev 20121114 03:16:02< irker426> AI-Demos: Alarantalara master * r156d4a7 / lua/generic-recruit_engine.lua : Remove now excess call to find_best_recruit_hex - http://git.io/DdM3nA 20121114 03:30:53-!- csarmi [csarmi@94-21-133-116.pool.digikabel.hu] has quit [] 20121114 03:35:04-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has joined #wesnoth-umc-dev 20121114 03:35:29-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Changing host] 20121114 03:35:29-!- esr [~chatzilla@wesnoth/developer/esr] has joined #wesnoth-umc-dev 20121114 03:39:22-!- BTree [~boakes@moose.CS.McGill.CA] has quit [Read error: Connection reset by peer] 20121114 03:56:17-!- BTree [~boakes@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 04:32:43-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20121114 05:05:16-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20121114 05:05:50-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-umc-dev 20121114 05:29:46-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20121114 05:29:47-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20121114 05:51:16-!- BTree [~boakes@moose.CS.McGill.CA] has left #wesnoth-umc-dev [] 20121114 06:08:44-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 06:16:00-!- irker426 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20121114 06:23:32-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Quit: Ex-Chat] 20121114 06:27:34-!- ancestral [~ancestral@65-128-234-158.mpls.qwest.net] has joined #wesnoth-umc-dev 20121114 06:43:50-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121114 06:50:46-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 06:56:12-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121114 07:05:45-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20121114 07:36:03-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20121114 08:13:28-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Ping timeout: 245 seconds] 20121114 08:31:55-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20121114 08:45:06-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Ping timeout: 240 seconds] 20121114 08:47:59-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20121114 09:11:11-!- ancestral [~ancestral@65-128-234-158.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20121114 09:12:45-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Ping timeout: 265 seconds] 20121114 09:16:38-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [] 20121114 09:24:39-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 09:35:35-!- faabumc [~vcr@wesnoth/developer/faabumc] has joined #wesnoth-umc-dev 20121114 10:24:17-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20121114 11:17:03-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20121114 11:17:39-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-umc-dev 20121114 11:18:59-!- faabumc [~vcr@wesnoth/developer/faabumc] has quit [Quit: Ex-Chat] 20121114 11:52:09-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20121114 11:52:09-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20121114 12:48:28-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 245 seconds] 20121114 12:50:02-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-umc-dev 20121114 12:50:56-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20121114 12:50:56-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20121114 13:46:33-!- loonybot [~loonybot@46.138.80.216] has joined #wesnoth-umc-dev 20121114 13:46:33-!- loonybot [~loonybot@46.138.80.216] has quit [Changing host] 20121114 13:46:33-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-umc-dev 20121114 13:46:34-!- mode/#wesnoth-umc-dev [+v loonybot] by ChanServ 20121114 13:51:26-!- mnewton1 [~mnewton1@c-76-99-170-226.hsd1.de.comcast.net] has quit [Quit: Rice and Corn] 20121114 13:51:39-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-umc-dev 20121114 14:05:35-!- mattsc [~mattsc@d154-20-32-241.bchsia.telus.net] has joined #wesnoth-umc-dev 20121114 14:29:34-!- mnewton1 [~mnewton1@c-76-99-170-226.hsd1.de.comcast.net] has joined #wesnoth-umc-dev 20121114 14:38:33-!- irker322 [~irker@ai0867.net] has joined #wesnoth-umc-dev 20121114 14:38:33< irker322> AI-Demos: Alarantalara master * ra06ebb2 / lua/generic-recruit_engine.lua : Setting max_cost can now return very high values. Make sure that shortest distance works with those too (+15 more commits...) - http://git.io/rOs_4w 20121114 14:52:39-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121114 14:57:20-!- mattsc [~mattsc@d154-20-32-241.bchsia.telus.net] has quit [Quit: I'm asleep] 20121114 14:59:21-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 15:06:24-!- mattsc [~mattsc@207.230.251.234] has joined #wesnoth-umc-dev 20121114 15:08:38-!- mnewton1 [~mnewton1@c-76-99-170-226.hsd1.de.comcast.net] has quit [Quit: Rice and Corn] 20121114 15:31:59-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20121114 15:39:53-!- Crendgrim [~crend@port-92-204-12-127.dynamic.qsc.de] has joined #wesnoth-umc-dev 20121114 16:29:28-!- mattsc [~mattsc@207.230.251.234] has quit [Quit: I'm asleep] 20121114 16:49:53-!- mattsc [~mattsc@fw.hia.nrc.ca] has joined #wesnoth-umc-dev 20121114 17:12:56-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 245 seconds] 20121114 17:14:29-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20121114 17:38:35-!- irker322 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20121114 18:52:56-!- BTree [~boakes@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 19:12:53-!- BTree [~boakes@moose.CS.McGill.CA] has quit [Read error: Connection reset by peer] 20121114 19:15:47-!- noy_ [~Noy@wesnoth/developer/noy] has quit [Quit: noy_] 20121114 19:43:10-!- BTree [~boakes@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 19:50:35-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20121114 19:50:44-!- vultraz_ [~chatzilla@124.109.10.167] has joined #wesnoth-umc-dev 20121114 19:50:52-!- vultraz_ is now known as vultraz 20121114 19:53:28-!- vultraz [~chatzilla@124.109.10.167] has quit [Read error: Connection reset by peer] 20121114 19:53:31-!- vultraz_ [~chatzilla@124.109.10.167] has joined #wesnoth-umc-dev 20121114 19:53:49-!- vultraz_ is now known as vultraz 20121114 19:54:44-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 19:56:37-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20121114 19:56:37-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20121114 20:41:52-!- BTree [~boakes@moose.CS.McGill.CA] has quit [Quit: Leaving.] 20121114 20:58:27-!- BTreeGA1 [~boakes@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 20:58:54-!- BTreeGA1 [~boakes@moose.CS.McGill.CA] has left #wesnoth-umc-dev [] 20121114 21:01:57-!- BTreeGA1 [~boakes@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 21:02:02-!- BTreeGA1 [~boakes@moose.CS.McGill.CA] has quit [Client Quit] 20121114 21:02:15-!- BTreeGA [~boakes@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 21:29:20-!- BTreeGA [~boakes@moose.CS.McGill.CA] has left #wesnoth-umc-dev [] 20121114 21:37:33-!- BTreeGA [~BTreeGA@moose.CS.McGill.CA] has joined #wesnoth-umc-dev 20121114 21:45:04< BTreeGA> HI. Is there a way of loading AI configuration data from a file in Lua? 20121114 22:00:31-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-umc-dev 20121114 22:00:57< Alarantalara> BTreeGA: Sort of. You can load Lua files with wesnoth.require 20121114 22:01:56< Alarantalara> Lua tables are similar to JSON in terms of what you can express with them, so you may find that sufficient in that you can use it as a data language 20121114 22:02:40< Alarantalara> If you prefer JSON, SeattleDad's patch includes facilities for reading JSON files 20121114 22:03:02< Alarantalara> though I don't know how general that is 20121114 22:04:11< BTreeGA> His code looks to read in the files and send them directly to the Waffles component 20121114 22:04:45< mattsc> Alarantalara: you beat me to it. Just got back and was going to reply... 20121114 22:05:20< mattsc> Alarantalara: you don't happen to know how to access the data variable when using Nephro's new external CA mechanism, do you? 20121114 22:05:26< mattsc> http://wiki.wesnoth.org/Luaai_new_syntax 20121114 22:05:40< Alarantalara> You can also modify the game to restore Lua's ability to read/write arbitrary files, but that will never be part of the official distribution for security purposes 20121114 22:06:56< Alarantalara> mattsc: I do not, since I haven't looked at that before. 20121114 22:07:08< mattsc> I'd like to convert the existing Micro AIs to use that before GCI starts, but I need to be able to access the data variable for that. 20121114 22:08:00< Alarantalara> If it's possible, it would have to be through the ai variable 20121114 22:08:00< mattsc> Ok, I'll see if I can get a hold of Nephro somehow then. 20121114 22:08:10< Alarantalara> given that documentation 20121114 22:08:39< mattsc> Right, I was going to check that ... 20121114 22:08:50< mattsc> Thanks for the reminder ... 20121114 22:14:48< BTreeGA> Alright thanks. I was hoping to define my behaviour trees in XML, then get the Lua code to read them. I suppose now I'll have to use Python to directly write the Lua code... 20121114 22:15:37< Alarantalara> point = { x = 5, y = 6} — the syntax isn't that bad 20121114 22:20:58< mattsc> Alarantalara: I tried everything I can think of. As far as I know, the data variable isn't there. 20121114 22:21:21< mattsc> It probably was just forgotten, since we didn't need it for the tests we did back then. 20121114 22:21:49< Alarantalara> possibly, I'll check tomorrow, since I have to leave in 4 minutes 20121114 22:22:07< mattsc> Thanks. I'll also drop Nephro a message. 20121114 22:22:47< Alarantalara> I just realized you can convert JSON to Lua with text substitution 20121114 22:23:16< Alarantalara> : -> =, [ -> {, and } -> ] 20121114 22:23:33< Alarantalara> Drop all comments and prepend a "var =" and you're done 20121114 22:24:08-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20121114 22:45:36-!- irker365 [~irker@ai0867.net] has joined #wesnoth-umc-dev 20121114 22:45:36< irker365> AI-Demos: mattsc master * r06e26e7 / micro_ais/ais/mai_healer_support_engine.lua : Healer support: fix indenting - http://git.io/fjLyCg 20121114 23:05:08-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 260 seconds] 20121114 23:22:40-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121114 23:31:27-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 23:32:32-!- noy_ [~Noy@d50-98-14-63.bchsia.telus.net] has joined #wesnoth-umc-dev 20121114 23:32:32-!- noy_ [~Noy@d50-98-14-63.bchsia.telus.net] has quit [Changing host] 20121114 23:32:32-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20121114 23:35:47-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 252 seconds] 20121114 23:35:47-!- noy_ is now known as noy 20121114 23:58:07-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] --- Log closed Thu Nov 15 00:00:33 2012