--- Log opened Sat Oct 13 00:00:37 2018 20181013 00:30:02-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20181013 06:03:11-!- celticminstrel is now known as celmin|sleep 20181013 07:35:35-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20181013 07:56:28< buhman> https://ptpb.pw/iUcW.webm anybody want to roll some dice? :) 20181013 08:29:38-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth 20181013 08:42:39-!- Tobbi [~Tobbi@supertux/tobbi] has joined #wesnoth 20181013 11:52:34-!- Tobbi [~Tobbi@supertux/tobbi] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20181013 12:25:47-!- Tobbi [~Tobbi@supertux/tobbi] has joined #wesnoth 20181013 14:34:27-!- celmin|sleep is now known as celticminstrel 20181013 15:26:46-!- Tobbi [~Tobbi@supertux/tobbi] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20181013 15:51:36-!- Tobbi [~Tobbi@supertux/tobbi] has joined #wesnoth 20181013 16:05:16-!- claymore [~claymore@unaffiliated/claymore] has joined #wesnoth 20181013 17:13:42-!- kitsunenokenja [~kitsunech@68.91.220.96] has joined #wesnoth 20181013 17:38:17-!- Tobbi [~Tobbi@supertux/tobbi] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20181013 18:58:11-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 20181013 19:00:15-!- No0n3Left [~No0n3Left@ip70-191-168-52.pn.at.cox.net] has joined #wesnoth 20181013 20:10:50-!- kitsunenokenja [~kitsunech@68.91.220.96] has quit [Ping timeout: 244 seconds] 20181013 21:08:19-!- claymore [~claymore@unaffiliated/claymore] has quit [Quit: Leaving] 20181013 21:52:07-!- No0n3Left [~No0n3Left@ip70-191-168-52.pn.at.cox.net] has quit [Ping timeout: 250 seconds] 20181013 22:02:26-!- No0n3Left [~No0n3Left@ip70-191-168-52.pn.at.cox.net] has joined #wesnoth 20181013 23:06:42-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 252 seconds] 20181013 23:16:51-!- Tobbi [~Tobbi@supertux/tobbi] has joined #wesnoth 20181013 23:17:09< buhman> I've been working on a MP campaign, but my current workflow seems more awkward than it should be. I know about `wesnoth --campaign` which was super useful, but I also want to test stuff like synchronize_choice. Is there a faster way to get two clients connected and assigned sides on a campaign, for iterative testing? 20181013 23:23:11< celticminstrel> It's definitely possible in the UI (starting two instances, using the "host match" option on one and connecting to localhost on the other) but I have a feeling there aren't command-line options for it... if there are you'd have to at least manually start the server, I presume. 20181013 23:23:26< celticminstrel> There might also be a possibility of writing a Lua script that does what you want. 20181013 23:24:11< celticminstrel> I'm not sure if that can join an MP campaign, but... you could take a look at the example scripts and see if maybe they can be tweaked to your needs. 20181013 23:24:21< celticminstrel> https://github.com/wesnoth/wesnoth/blob/master/join.lua https://github.com/wesnoth/wesnoth/blob/master/host.lua 20181013 23:24:32< celticminstrel> Those are run with the --plugin command-line argument IIRC. 20181013 23:27:04< buhman> oh that looks cool 20181013 23:29:01< buhman> do you know what that api is called? 20181013 23:29:07< celticminstrel> That API is not documented AFAIK, so I think those scripts are the only way you can learn about it (apart from directly perusing the source code). 20181013 23:29:16< celticminstrel> I guess it would be called the "plugins API"? 20181013 23:29:49< celticminstrel> (The API is spread out through several places in the source code, but if you searched for "plugin" you'd probably be able to find all instances of it.) --- Log closed Sun Oct 14 00:00:38 2018