--- Log opened Mon Jan 12 00:00:34 2015 20150112 00:04:52-!- zookeeper [zookeeper@wesnoth/developer/zookeeper] has quit [Ping timeout: 240 seconds] 20150112 00:07:52-!- Ard0nik [~user@adsl-75-28-100-223.dsl.irvnca.sbcglobal.net] has joined #wesnoth 20150112 00:11:14-!- Ardonik [~user@adsl-75-28-101-71.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 244 seconds] 20150112 00:13:52-!- jemadux [~jemadux@unaffiliated/jemadux] has joined #wesnoth 20150112 00:33:39-!- Ard0nik [~user@adsl-75-28-100-223.dsl.irvnca.sbcglobal.net] has quit [Read error: Connection reset by peer] 20150112 00:34:15-!- Ardonik [~user@adsl-75-28-98-131.dsl.irvnca.sbcglobal.net] has joined #wesnoth 20150112 00:53:30-!- Appleman1234 [~Appleman1@s77.BMT-e1.vectant.ne.jp] has joined #wesnoth 20150112 00:54:41< celticminstrel> gavenkoa: I'm pretty sure there's a wiki page for your needs. Give me a minute, maybe I can find it. 20150112 00:56:29< gavenkoa> I look to wiki, all pages refered by http://wiki.wesnoth.org/WesnothTranslations 20150112 00:56:57< gavenkoa> there are no useful info for campain developer... 20150112 00:58:07< gavenkoa> I check out UMC and upstream sources and look for Makefiles and SConscript for example 20150112 00:59:43< gavenkoa> Now I end with: 1) xgettext --language=Lua -o message.pot *.cfg 20150112 00:59:52< celticminstrel> Ah, I think this is it. http://wiki.wesnoth.org/WesCamp 20150112 01:00:07< gavenkoa> 2) msgmerge --update ru.po message.pot 20150112 01:00:29< gavenkoa> 3) for f in ...; do msgfmt -v --check --statistics -o ...; done 20150112 01:01:27< gavenkoa> Not seen that page... 20150112 01:01:33< celticminstrel> Hm, maybe that's not the page I was thinking of... 20150112 01:01:33< shadowm> You should use utils/wmlxgettext. 20150112 01:02:09< celticminstrel> Apparently he doesn't have it. 20150112 01:02:10< shadowm> And submitting your add-on to wescamp is indeed the best way, assuming people are still running that project. 20150112 01:03:28< shadowm> https://raw.githubusercontent.com/wesnoth/wesnoth/master/utils/wmlxgettext 20150112 01:03:44 * celticminstrel really dislikes gettext. 20150112 01:03:48< shadowm> That's utils/wmlxgettext. 20150112 01:04:19< shadowm> As for how to run it, you'll generally want an invocation like: 20150112 01:05:15< shadowm> find \( -name '*.cfg' -o -name '*.lua' \) -type f -print | xargs wmlxgettext --directory=path/to/your/add-on/dir/here --domain wesnoth-Your_Addon_Dirname_Here > wesnoth-Your_Addon_Dirname_Here.pot 20150112 01:05:59< gavenkoa> yes, I see that Perl script in checkouted sources. Debian wesnoth-1.12-tools package instead ship with Python version, which is not useful... 20150112 01:06:26< shadowm> "-print0 | xargs -0", even, although if your add-on has WML files with whitespace in their names you'd be unable to upload to the add-ons server anyway. 20150112 01:07:14< shadowm> And your textdomain must be wesnoth-Your_Addon_Dirname_Here for Wescamp, not wesnoth-INITIALISMHERE, which is what a lot of people copying off mainline tend to do. 20150112 01:07:34< gavenkoa> What I do wrong - don't update my PATH... Instead experiment with xgettext. Seems that "xgettext --language=Lua" do job well. 20150112 01:08:53< shadowm> Well, you are on your own there. We use wmlxgettext for mainline and Wescamp and we can't recommend or support anything else even if it works by sheer coincidence. 20150112 01:11:07< gavenkoa> I fill bug for Debian wesnoth-1.12-tools package to include utils/wmlxgettext instead of data/tools/wmlxgettext 20150112 01:11:44< celticminstrel> The whitespace restriction seems silly. 20150112 01:12:30< celticminstrel> Also, if I recall correctly, it doesn't complain about the filenames until after you've uploaded it. 20150112 01:13:28< celticminstrel> If you must have such a restriction, it'd be better to check before uploading and then put up a warning listing the problem files and giving you a choice to either omit those files or cancel the upload. 20150112 01:14:37< shadowm> Yes. 20150112 01:19:42-!- gavenkoa [~gavenkoa@46.211.79.104] has left #wesnoth ["ERC Version 5.3 (IRC client for Emacs)"] 20150112 01:25:17-!- Ard0nik [~user@adsl-75-28-98-234.dsl.irvnca.sbcglobal.net] has joined #wesnoth 20150112 01:28:44-!- Ardonik [~user@adsl-75-28-98-131.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 244 seconds] 20150112 01:44:07-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has joined #wesnoth 20150112 01:48:34-!- Ardonik [~user@adsl-75-28-100-77.dsl.irvnca.sbcglobal.net] has joined #wesnoth 20150112 01:51:39-!- Ard0nik [~user@adsl-75-28-98-234.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 20150112 02:34:02-!- Samual [diotecktec@xonotic/core-team/Samual] has quit [Ping timeout: 244 seconds] 20150112 02:35:47-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150112 02:36:17-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has joined #wesnoth 20150112 02:43:14-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Ping timeout: 265 seconds] 20150112 02:43:39-!- fabi [~quassel@p20030051AA150E210860A9B20D86719C.dip0.t-ipconnect.de] has joined #wesnoth 20150112 02:43:39-!- fabi [~quassel@p20030051AA150E210860A9B20D86719C.dip0.t-ipconnect.de] has quit [Changing host] 20150112 02:43:39-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth 20150112 02:45:25-!- SpoOkyMagician [~chatzilla@cpe-74-132-242-221.swo.res.rr.com] has quit [Quit: ill continue to work on this offline. thanks for the help though SM Devs] 20150112 02:49:00< Molt> can somone help me - I am working on my first map 20150112 02:49:47< Molt> i designed and saved my map, and am starting to definte all my parameters in a scenario file (.cfg). I'm just havint trouble loading it up to test 20150112 02:53:45< ancestral> Sure 20150112 02:53:56< ancestral> Molt: Can you open it in the map editor in the game? 20150112 02:54:21< ancestral> Or, are you making a full-fledged scenario? 20150112 02:55:10< Molt> thanks for the help ancestral 20150112 02:55:19< Molt> so, I can open the map in the editor 20150112 02:55:26< ancestral> Okay 20150112 02:55:37< Molt> and yes, I am working to make a scenario for a multiplay survival map 20150112 02:57:05-!- Samual [diotecktec@xonotic/core-team/Samual] has joined #wesnoth 20150112 03:00:18< Molt> hello? 20150112 03:00:26< ancestral> Wel 20150112 03:01:55< ancestral> Molt: Well, the best advice I can say is to download another add-on and look it over 20150112 03:02:55< ancestral> That, and check the wiki if you like (http://wiki.wesnoth.org/BuildingScenarios) 20150112 03:03:28< ancestral> But yeah, there’s nothing wrong with just finding another multiplayer survival map, and replacing the words and files with yours 20150112 03:14:05< Molt> ... yeah, I've been studying the wiki and reverse engineering other survivals. 20150112 03:15:04< Molt> when I put my map and scenario files in the addons folder where the wiki tells me and then I try to create a game in wesnoth (so I can load the map and test it) wesnoth crashes 20150112 03:16:04< Molt> sorry, in the wesnoth editor folder 20150112 03:17:43< ancestral> Hmm 20150112 03:17:47< ancestral> So to be clear 20150112 03:17:59< ancestral> The editor is only going to view the map 20150112 03:18:14< ancestral> Molt: Where do you have your add-on stored? 20150112 03:20:03< Molt> ok, so my wesnoth 1.12.0 installation puts the userdata in my documents. I put the scenario in C:\Users\MY-USER-NAME\Documents\My Games\Wesnoth1.12\editor\scenarios 20150112 03:20:23< Molt> i pur my map in C:\Users\MY-USER-NAME\Documents\My Games\Wesnoth1.12\editor\maps 20150112 03:21:11< Molt> 6th line in my scenario file: map_data="{~editor/maps/Surviving_Greed.map}" 20150112 03:21:16-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth 20150112 03:21:45< Molt> quick side question. comments in the cfg file are denoted by a '#' right? 20150112 03:23:13< ancestral> Yes 20150112 03:23:36< Molt> okay. 20150112 03:24:20< Molt> man. making a map/scenario is really convoluted. and there isn't much help out there 20150112 03:24:59-!- ArneBab_ [~quassel@55d41964.access.ecotel.net] has joined #wesnoth 20150112 03:25:01-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 264 seconds] 20150112 03:25:16-!- Ivanovic_ is now known as Ivanovic 20150112 03:25:33< ancestral> Molt: One sec 20150112 03:25:40< Molt> sure thing 20150112 03:26:13< ancestral> Okay, so in your Wesnoth1.12 folder 20150112 03:26:24< ancestral> You should have data/add-ons/ 20150112 03:26:36< ancestral> Put your add-on in there 20150112 03:26:41< ancestral> So for example 20150112 03:27:05< ancestral> C:\Users\MY-USER-NAME\Documents\My Games\Wesnoth1.12\data\add-ons\MyAddOn\ 20150112 03:27:33< ancestral> In there, you should have a _main.cfg 20150112 03:27:39< ancestral> Then, you might have a folder for maps 20150112 03:27:45< ancestral> (you don’t have to, but you can) 20150112 03:27:46-!- ArneBab [~quassel@55d4506b.access.ecotel.net] has quit [Ping timeout: 244 seconds] 20150112 03:28:14< ancestral> Molt: Anyway, add-ons are loaded from here 20150112 03:30:36< Molt> okay, so I put my map and cfg file in C:\Users\My-USER-Name\Documents\My Games\Wesnoth1.12\addons\Surviving_Greed 20150112 03:30:59< Molt> then I changed my 6th line in the cfg file to: #map_data="{~add-ons/Surviving_Greed/Surviving_Greed.map}" 20150112 03:31:35< Molt> when I create a game under multiplayer in wesnoth the game doesn't crash anymore, but the map isn't in the list... 20150112 03:31:36< Molt> :( 20150112 03:31:46< ancestral> One se 20150112 03:32:06< ancestral> Molt: Are you creating a multiplayer game or a campaign? 20150112 03:33:09< Molt> multiplayer 20150112 03:33:23< ancestral> Okay 20150112 03:33:33< ancestral> So in your _main.cfg you should have something like 20150112 03:33:44< ancestral> #ifdef MULTIPLAYER 20150112 03:33:53< ancestral> [binary_path] 20150112 03:34:08< ancestral> path=data/add-ons/Surviving_Greed/ 20150112 03:34:13< ancestral> [/binary_path] 20150112 03:34:27< ancestral> (There’s more than one way to do this stuff, but this should work) 20150112 03:35:11< Molt> oh wait... i think i know what I did 20150112 03:35:13< Molt> one sec 20150112 03:35:18< ancestral> Sure! 20150112 03:37:46< Molt> hmm... okay. trying your code 20150112 03:39:50< ancestral> Pro tip: with Wesnoth still loaded, at the main menu, you can press F5, which will reload the add-ons 20150112 03:40:00< Molt> awesome. thanks 20150112 03:40:02< ancestral> (so you don’t have to quit and relaunch each time you make a change) 20150112 03:40:11< Molt> lol... that's what I've been doing 20150112 03:40:13< Molt> :) 20150112 03:40:26< Molt> well, unfortunately that code didn't do the trick 20150112 03:40:28< Molt> ugh 20150112 03:40:48< Molt> should it go inside or outside the [multiplayer] tag? (i tried both though) 20150112 03:42:46< ancestral> Outside 20150112 03:43:33< ancestral> Lemme see something 20150112 03:44:40< Molt> ok! 20150112 03:45:08< ancestral> Okay 20150112 03:45:15< ancestral> Molt: Let’s start with an existing MP mod 20150112 03:45:21< ancestral> You’re using 1.12, right? 20150112 03:45:36< Molt> yeah 20150112 03:45:39< ancestral> Try downloading the add-on Valley of the Ancients 20150112 03:45:45< Molt> ok 20150112 03:46:02< Molt> also. i could always send you my cfg file 20150112 03:46:03< ancestral> Oh even better 20150112 03:46:05< Molt> lemme download 20150112 03:46:15< ancestral> Survival Fusion 2.0 20150112 03:46:26< ancestral> (This was made by a friend of mine, and it’s super simple) 20150112 03:46:31< Molt> downloaded 20150112 03:46:33-!- ArneBab_ [~quassel@55d41964.access.ecotel.net] has quit [Ping timeout: 265 seconds] 20150112 03:46:43< ancestral> Okay, open up the Survival Fusion 2.0 file 20150112 03:46:43< Molt> i love survival fusion! 20150112 03:46:47< ancestral> :) 20150112 03:46:59< ancestral> So there’s a _main.cfg there 20150112 03:47:05< Molt> okay... so load up the cfg for survival fusion? 20150112 03:47:11< ancestral> In a text editor 20150112 03:47:19< ancestral> Basically, just copy that .cfg 20150112 03:47:25< ancestral> And put it in your add-on 20150112 03:47:32< ancestral> Except change the names to match your add-on’s name 20150112 03:47:39< Molt> got you 20150112 03:47:41< Molt> one sec 20150112 03:48:19-!- ArneBab [~quassel@55d41964.access.ecotel.net] has joined #wesnoth 20150112 03:51:59< ancestral> (You don’t necessarily need a scenario folder — you can structure your add-on anyway you like — just as long as the path is written correctly) 20150112 03:52:19-!- jemadux [~jemadux@unaffiliated/jemadux] has quit [Ping timeout: 245 seconds] 20150112 03:55:29< Molt> ugh. still isn't showing up 20150112 03:55:49< ancestral> Alright, let’s look at your cfg 20150112 03:56:10< ancestral> And you should have a map too, right? 20150112 03:56:35< Molt> yeah 20150112 03:56:45< Molt> where should I send it? 20150112 03:56:55< ancestral> Feel free to paste it here: https://paste.ee 20150112 03:57:24< celticminstrel> Doesn't each scenario have a unique ID? 20150112 03:57:32< celticminstrel> What would happen if two had the same ID? 20150112 03:57:35< ancestral> Each one, or both together (and separate them with some spaces) 20150112 03:57:47 * celticminstrel has no idea if this could actually be the issue here though. 20150112 03:58:56< Molt> this is the scenario file: https://paste.ee/p/uqcuS 20150112 03:59:45< Molt> here is the map: https://paste.ee/p/TpC1I 20150112 04:02:02< Molt> btw: i put all the ogg files in the music folder 20150112 04:02:29< Molt> :) 20150112 04:06:03< ancestral> Molt: Unterminated preprocessor definition, line 217 20150112 04:06:12< ancestral> So let’s take a look 20150112 04:06:46< Molt> this: [/multiplayer] 20150112 04:06:47< Molt> ? 20150112 04:06:53< ancestral> Okay, so # is used for pre-processor definitions, but for comments… 20150112 04:07:27< ancestral> That’s also correct, so 20150112 04:08:14< ancestral> Some kind of syntax inside [multiplayer] … [/multiplayer] 20150112 04:09:18< Molt> ack. that is a lot of code to look at 20150112 04:09:24< ancestral> Molt: I think the engine is getting confused 20150112 04:09:25< Molt> i really appreciate your help 20150112 04:09:31< ancestral> No problem :) 20150112 04:09:40< ancestral> I think it’s getting confused with one of your comments 20150112 04:09:42< ancestral> So do this 20150112 04:09:47< ancestral> Make your coments ## 20150112 04:09:51< ancestral> Two pound signs 20150112 04:09:55< Molt> got it 20150112 04:10:08< ancestral> Just make sure #ifdef and #endif have just one pound sign 20150112 04:10:15< ancestral> That then loads for me 20150112 04:10:25< ancestral> Well 20150112 04:10:29< ancestral> Loads initially ;-) 20150112 04:10:36< ancestral> OMG 20150112 04:10:37< ancestral> Hmm 20150112 04:10:59< ancestral> It’s trying to turn all this into more pre-processor directives 20150112 04:12:28< ancestral> Okay 20150112 04:12:40< ancestral> Molt: I don’t think you can have a comment that starts with a - 20150112 04:12:53< ancestral> Without it thinking it’s a pre-processor directive 20150112 04:13:22< ancestral> Molt: Possibly could be considered a bug, or an undocumented limitation 20150112 04:13:43< Molt> k 20150112 04:13:45< Molt> fixing 20150112 04:13:54< ancestral> (in which case the double pound is probably unnecessary, but doesn’t hurt) 20150112 04:14:07< patwotrik> First I thought you ware talking about the actual Wesnoth source code, and I was wondering if i had misunderstood something about c++ completely... 20150112 04:14:23< ancestral> Hmm 20150112 04:14:34< ancestral> I’m still getting errors though 20150112 04:14:58< Molt> it still isn't showing up in the maps list for me 20150112 04:15:22< Molt> i changed all comments to ## and I removed the -- from all the comments 20150112 04:16:13< ancestral> I think the comment are fine after all 20150112 04:17:56< ancestral> Just a moment 20150112 04:18:12< ancestral> Okay 20150112 04:18:15< ancestral> Line 6 20150112 04:18:33< Molt> ok 20150112 04:19:16< ancestral> Okay 20150112 04:19:30< ancestral> I get it 20150112 04:20:17< Molt> i'm getting a cup of coffee. BRB 20150112 04:23:18< Molt> back 20150112 04:27:24< ancestral> There must be an unterminated string or something 20150112 04:31:08< ancestral> Okay 20150112 04:31:19< ancestral> Molt: There’s an issue in your music section 20150112 04:31:51< ancestral> Yeeeeeeuup 20150112 04:31:56< ancestral> You have a comment #define 20150112 04:32:15< ancestral> Molt: alright, probably this is the best thing to do 20150112 04:32:24< ancestral> When making your comments, just add a space after the pound sign 20150112 04:32:26-!- rayblade53 [~chatzilla@124.109.10.167] has joined #wesnoth 20150112 04:32:28< ancestral> That should fix everything 20150112 04:32:49-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 252 seconds] 20150112 04:32:58-!- rayblade53 is now known as vultraz 20150112 04:33:48-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20150112 04:33:48-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth 20150112 04:33:48< ancestral> Okay lastly 20150112 04:33:56< ancestral> the #ifdef multiplayer 20150112 04:34:06< ancestral> Delete that whole section I told you to add :-) 20150112 04:34:14< ancestral> And FINALLY it should load! 20150112 04:35:14< ancestral> Molt: So everything is fine as you pasted to me online except, change the comments starting with # to include a space after them (“#define” turns out to be a problem) 20150112 04:35:35< ancestral> Molt: And secondly, delete the #ifdef … #endif I told you to add 20150112 04:35:47< ancestral> (essentially, this is because you’re defining the multiplayer section here) 20150112 04:38:05< Molt> so you see it in the multiplayer section as an available map and you can load it 20150112 04:38:06< Molt> ? 20150112 04:38:36< Molt> still not working for me even after the changes. would you mind sending me yours in pastebin? 20150112 04:38:43< Molt> maybe i'm not seeing something 20150112 04:39:01< ancestral> No problem 20150112 04:39:04< ancestral> The map is fine btw 20150112 04:39:16< Molt> thanks :) 20150112 04:39:27< Molt> i'm hoping to make something very memorable 20150112 04:39:44< ancestral> Molt: https://paste.ee/p/R02q5 20150112 04:40:28-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has quit [Remote host closed the connection] 20150112 04:41:10< ancestral> The next thing to do is to figure out why you get defeated right after you start the game :-P 20150112 04:43:26-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has joined #wesnoth 20150112 04:45:08< Molt> hmm.. maybe I'm blind, but still don't see it. So you load wesnoth, then go to multiplayer, join server and then click on "create game" and you see "Surviving Greed" in the list? 20150112 04:48:18< ancestral> Try local multiplayer 20150112 04:48:25< ancestral> One sec 20150112 04:48:42< ancestral> Yes 20150112 04:48:44< ancestral> Create Game 20150112 04:48:49< ancestral> Surviving Greed should be at the bottom 20150112 04:48:54< ancestral> Well 20150112 04:49:05< ancestral> For me it’s after the 9p maps 20150112 04:49:24< ancestral> Make sure it says “Game type: Scenario” in the create game window 20150112 04:49:39< ancestral> actually, “Scenarios” 20150112 04:50:51< ancestral> Molt: http://imagebin.org/327471 20150112 04:50:55< ancestral> Forgive the extra large image 20150112 04:52:53< Molt> very strange 20150112 04:52:56< Molt> ... 20150112 04:53:18< ancestral> Okay so 20150112 04:53:21< ancestral> In Windows 20150112 04:53:38< ancestral> You have C:\Users\MY-USER-NAME\Documents\My Games\Wesnoth1.12\data\add-ons\ 20150112 04:53:45< ancestral> Are there any other add-ons there besides yours? 20150112 04:53:54< Molt> yeah 20150112 04:54:06< Molt> 13 others besides mine 20150112 04:54:10< ancestral> Okay 20150112 04:54:39< ancestral> Now 20150112 04:54:44< ancestral> In your add-on folder 20150112 04:54:49< ancestral> You have two files, right? 20150112 04:54:55< ancestral> _main.cfg and the map? 20150112 04:55:26< ancestral> That’s all I have for now 20150112 04:55:35< ancestral> Molt: Do you have other folders? 20150112 04:55:48< Molt> ahh 20150112 04:55:53< Molt> i think i see the problem 20150112 04:56:22< Molt> in my add-on folder i have two files. Surviving_Greed.map and Surviving_Greed.cfg 20150112 04:57:26< Molt> omg.. that was it 20150112 04:57:35< Molt> it needs to be called _main.cfg 20150112 04:57:37< Molt> jesus 20150112 04:57:48< Molt> what a nightmare 20150112 04:57:50< Molt> hahahahah 20150112 04:58:50< ancestral> And really 20150112 04:58:59< ancestral> There’s more than one way for a bunch of this stuff 20150112 04:59:13< ancestral> But yeah, you had about 95% of everything right 20150112 04:59:41< ancestral> Now, if you run into some WML trouble, check the WML reference 20150112 04:59:43< ancestral> Also 20150112 04:59:46< ancestral> The Forums can help 20150112 05:00:17< Molt> for sure. i've been on the WML reference site studying like crazy and I know about the forums 20150112 05:00:19< Molt> thanks!!! :) 20150112 05:00:21< Molt> you 20150112 05:00:22< Molt> are 20150112 05:00:23< Molt> the 20150112 05:00:24< Molt> BEST! 20150112 05:00:28< Molt> I LOVE YOU! 20150112 05:00:30< Molt> :) 20150112 05:01:42< ancestral> Thanks 20150112 05:03:17< ancestral> Molt: Also, vultraz knows everything 20150112 05:03:36< ancestral> :-P 20150112 05:03:45< vultraz> Yes, I obviously know everything 20150112 05:04:18< celticminstrel> Everything? 20150112 05:06:10< vultraz> I dunno, ancestral says so 20150112 05:07:00< ancestral> Everything that counts 20150112 05:13:15-!- oldlaptop [~quassel@50-108-82-79.adr01.mskg.mi.frontiernet.net] has quit [Ping timeout: 264 seconds] 20150112 05:28:07-!- oldlaptop [~quassel@50-108-82-79.adr01.mskg.mi.frontiernet.net] has joined #wesnoth 20150112 07:16:03-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20150112 07:25:19-!- [Relic] [~Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20150112 07:35:42-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 245 seconds] 20150112 07:37:32-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150112 07:45:22-!- enchilad1 is now known as enchilado 20150112 08:04:22-!- Earlo [~Earlo@213.143.167.6] has joined #wesnoth 20150112 08:06:03-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 244 seconds] 20150112 08:08:05-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150112 08:17:53-!- thunderstruck [~thunderst@cpc8-sgyl29-2-0-cust37.sgyl.cable.virginm.net] has quit [Quit: Leaving] 20150112 08:35:39-!- zookeeper [zookeeper@wesnoth/developer/zookeeper] has joined #wesnoth 20150112 08:52:04-!- Molt [~elektron@c-174-61-60-225.hsd1.fl.comcast.net] has quit [] 20150112 09:02:16-!- lipkab [~the_new_l@host-91-147-212-169.biatv.hu] has joined #wesnoth 20150112 09:22:46-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150112 09:35:30-!- JackBauer24 [~JackBauer@89-71-84-205.dynamic.chello.pl] has joined #wesnoth 20150112 09:36:03-!- oldlaptop [~quassel@50-108-82-79.adr01.mskg.mi.frontiernet.net] has quit [Ping timeout: 264 seconds] 20150112 09:48:29-!- oldlaptop [~quassel@50-108-82-79.adr01.mskg.mi.frontiernet.net] has joined #wesnoth 20150112 10:10:23-!- oldlaptop [~quassel@50-108-82-79.adr01.mskg.mi.frontiernet.net] has quit [Ping timeout: 245 seconds] 20150112 10:10:54-!- oldlaptop [~quassel@50-108-82-79.adr01.mskg.mi.frontiernet.net] has joined #wesnoth 20150112 10:16:34-!- Ard0nik [~user@adsl-75-28-99-111.dsl.irvnca.sbcglobal.net] has joined #wesnoth 20150112 10:17:31-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 255 seconds] 20150112 10:19:39-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150112 10:19:52-!- Ardonik [~user@adsl-75-28-100-77.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 244 seconds] 20150112 10:24:42-!- jemadux [~jemadux@unaffiliated/jemadux] has joined #wesnoth 20150112 10:27:06-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Ping timeout: 244 seconds] 20150112 10:29:07-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth 20150112 10:53:12-!- JackBauer24 [~JackBauer@89-71-84-205.dynamic.chello.pl] has quit [Quit: Konversation terminated!] 20150112 10:53:35-!- Haldrik [~haldrik@unaffiliated/haldrik] has joined #wesnoth 20150112 11:01:49-!- Ardonik [~user@adsl-75-28-98-192.dsl.irvnca.sbcglobal.net] has joined #wesnoth 20150112 11:04:47-!- Ard0nik [~user@adsl-75-28-99-111.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 255 seconds] 20150112 12:10:43-!- JackBauer24 [~JackBauer@89-71-84-205.dynamic.chello.pl] has joined #wesnoth 20150112 12:16:46-!- localuser- [~none@gateway/tor-sasl/localuser-] has joined #wesnoth 20150112 12:24:08-!- DreadKnight [~DreadKnig@unaffiliated/dreadknight] has joined #wesnoth 20150112 13:15:16-!- TooLmaN [~TooLmaN@mail.thomsonplastics.com] has joined #wesnoth 20150112 13:49:18-!- jemadux [~jemadux@unaffiliated/jemadux] has quit [Remote host closed the connection] 20150112 14:03:06-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has joined #wesnoth 20150112 14:07:45-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has quit [Ping timeout: 252 seconds] 20150112 14:11:05-!- jemadux [~jemadux@unaffiliated/jemadux] has joined #wesnoth 20150112 14:11:17-!- happygrue [~Laptop@2601:6:4380:909:b9c2:7c15:ee72:ce9d] has joined #wesnoth 20150112 14:11:17-!- happygrue [~Laptop@2601:6:4380:909:b9c2:7c15:ee72:ce9d] has quit [Changing host] 20150112 14:11:17-!- happygrue [~Laptop@wesnoth/developer/wintermute] has joined #wesnoth 20150112 14:22:24-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has joined #wesnoth 20150112 14:24:39-!- localuser- [~none@gateway/tor-sasl/localuser-] has quit [Ping timeout: 250 seconds] 20150112 14:25:54-!- localuser- [~none@gateway/tor-sasl/localuser-] has joined #wesnoth 20150112 14:26:37-!- ancestral [~ancestral@65-128-208-249.mpls.qwest.net] has quit [Ping timeout: 256 seconds] 20150112 14:32:20-!- happygrue [~Laptop@wesnoth/developer/wintermute] has quit [Read error: Network is unreachable] 20150112 14:33:34-!- happygrue [~Laptop@wesnoth/developer/wintermute] has joined #wesnoth 20150112 14:43:49-!- happygrue_ [~Laptop@wesnoth/developer/wintermute] has joined #wesnoth 20150112 14:43:53-!- Chris7mas [~Embryo@188.27.110.194] has quit [Ping timeout: 265 seconds] 20150112 14:46:18-!- happygrue [~Laptop@wesnoth/developer/wintermute] has quit [Ping timeout: 265 seconds] 20150112 14:50:34-!- Wuzzy [~Wuzzy@p549FACFE.dip0.t-ipconnect.de] has joined #wesnoth 20150112 14:50:54-!- APic [apic@apic.name] has quit [Quit: Fluktuationen im Raum-Zeit-Kontinuum] 20150112 14:59:17-!- Necrosporus_ [~Necrospor@unaffiliated/necrosporus] has joined #wesnoth 20150112 15:02:45-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has quit [Ping timeout: 264 seconds] 20150112 15:04:01-!- lipkab [~the_new_l@host-91-147-212-169.biatv.hu] has quit [Ping timeout: 256 seconds] 20150112 15:04:10-!- Necrosporus_ is now known as Necrosporus 20150112 15:27:53-!- APic [apic@apic.name] has joined #wesnoth 20150112 16:05:21-!- lipkab [~the_new_l@host-91-147-212-169.biatv.hu] has joined #wesnoth 20150112 16:16:55-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20150112 16:19:58-!- happygrue_ [~Laptop@wesnoth/developer/wintermute] has quit [Quit: http://xkcd.com/91/] 20150112 16:35:47-!- [Relic] [~Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth 20150112 16:37:19-!- Molt [~elektron@c-174-61-60-225.hsd1.fl.comcast.net] has joined #wesnoth 20150112 16:42:03-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Read error: Connection reset by peer] 20150112 16:42:26-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20150112 16:45:18-!- Chris7mas [~Embryo@188.27.110.194] has joined #wesnoth 20150112 16:59:49-!- ArneBab [~quassel@55d41964.access.ecotel.net] has quit [Ping timeout: 264 seconds] 20150112 17:01:39-!- ArneBab [~quassel@55d41964.access.ecotel.net] has joined #wesnoth 20150112 17:09:16-!- Earlo [~Earlo@213.143.167.6] has quit [Ping timeout: 255 seconds] 20150112 17:09:51-!- Chris7mas [~Embryo@188.27.110.194] has quit [Ping timeout: 265 seconds] 20150112 17:34:31-!- Earlo [~Earlo@213.143.167.6] has joined #wesnoth 20150112 17:42:20< Molt> hey everyone 20150112 17:42:26< vultraz> hey 20150112 17:42:44< Molt> how are you? 20150112 17:49:52-!- DreadKnight [~DreadKnig@unaffiliated/dreadknight] has quit [Quit: #AncientBeast - Master Your Beasts ( www.AncientBeast.com )] 20150112 17:54:40-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth 20150112 17:56:33-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 252 seconds] 20150112 17:57:07< vultraz> good 20150112 17:59:09< Molt> :) 20150112 17:59:14-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150112 18:06:08-!- DCW [~Thunderbi@cpc66866-finc15-2-0-cust47.4-2.cable.virginm.net] has joined #wesnoth 20150112 18:07:45< Molt> i'm trying to set up a system where a random amount of enemies (within a range) are spawned on a specific section of my map. Any ideas? 20150112 18:13:08-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20150112 18:19:42< zookeeper> Molt, well, you set the amount with for example {VARIABLE_OP num_of_enemies rand "1..5"} 20150112 18:20:03< zookeeper> and then have a [while] loop which repeats that many times and places an enemy 20150112 18:20:11< zookeeper> i guess easiest would be using the REPEAT macro 20150112 18:22:03< Molt> i follow, except with the REPEAT macro. Haven't used it, but I'll look it up and figure it out. 20150112 18:22:20< zookeeper> it's in data/core/macros/utils.cfg 20150112 18:22:46< Molt> So, to be clear, the syntax rand "1..5" means random between 1 and 5, right? 20150112 18:22:49< Molt> ok 20150112 18:23:22< zookeeper> yes 20150112 18:23:56< Molt> k. thanks. I'm new to WML. Still reading the wikis 20150112 18:28:43-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Remote host closed the connection] 20150112 18:58:27-!- TooLmaN [~TooLmaN@mail.thomsonplastics.com] has quit [Quit: Off to save the world!] 20150112 19:06:05-!- Wuzzy2 [~Wuzzy@p549F8953.dip0.t-ipconnect.de] has joined #wesnoth 20150112 19:09:02-!- DCW [~Thunderbi@cpc66866-finc15-2-0-cust47.4-2.cable.virginm.net] has quit [Ping timeout: 245 seconds] 20150112 19:09:08-!- Wuzzy [~Wuzzy@p549FACFE.dip0.t-ipconnect.de] has quit [Ping timeout: 244 seconds] 20150112 19:09:42< Molt> hey zookeeper. I'm havign some trouble with the [while] syntax, and there are no examples on the wiki 20150112 19:10:19< Molt> could you take a quick peek? http://paste.ee/p/ukImI 20150112 19:11:54< zookeeper> http://wiki.wesnoth.org/ConditionalActionsWML says that a [while] takes any of http://wiki.wesnoth.org/ConditionalActionsWML#Condition_Tags 20150112 19:11:58< zookeeper> one of which appens to be [variable] 20150112 19:13:07< zookeeper> so {vARIABLE counter 1} [while] [variable] name=counter less_than=$num_of_enemies [/variable] [do] {VARIABLE_OP counter add 1} [/do] [/while] 20150112 19:13:38< zookeeper> grepping for examples in mainline campaigns usually works 20150112 19:31:34-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth 20150112 19:54:45-!- localuser- [~none@gateway/tor-sasl/localuser-] has quit [Quit: No Ping reply in 180 seconds.] 20150112 19:57:14-!- localuser- [~none@gateway/tor-sasl/localuser-] has joined #wesnoth 20150112 20:07:05-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20150112 20:19:26-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has quit [Remote host closed the connection] 20150112 20:23:31-!- localuser- [~none@gateway/tor-sasl/localuser-] has quit [Remote host closed the connection] 20150112 20:24:29-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has joined #wesnoth 20150112 20:25:38-!- HamishTPB [~HamishTPB@s17611829.onlinehome-server.info] has quit [Ping timeout: 265 seconds] 20150112 20:25:56-!- Lohengramm [sid1929@gateway/web/irccloud.com/x-exolroopbiaacgsn] has quit [Ping timeout: 244 seconds] 20150112 20:27:32-!- iwaim [~iwaim@2001:2c0:40e:2002:0:4:14:80] has quit [Ping timeout: 265 seconds] 20150112 20:29:47-!- Lohengramm [sid1929@gateway/web/irccloud.com/x-ofrqlyhmoqebonxa] has joined #wesnoth 20150112 20:30:58-!- HamishTPB [~HamishTPB@s17611829.onlinehome-server.info] has joined #wesnoth 20150112 20:31:16-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has quit [Remote host closed the connection] 20150112 20:32:04-!- iwaim [~iwaim@rasteenie.alib.jp] has joined #wesnoth 20150112 20:35:07-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has joined #wesnoth 20150112 20:58:09-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 244 seconds] 20150112 20:59:49-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150112 21:14:06-!- Netsplit *.net <-> *.split quits: Lirion 20150112 21:23:59-!- Netsplit over, joins: Lirion 20150112 21:28:08-!- Earlo [~Earlo@213.143.167.6] has quit [Remote host closed the connection] 20150112 21:47:57-!- lipkab [~the_new_l@host-91-147-212-169.biatv.hu] has quit [Quit: Sűrű sötét az éj, dühöng a déli szél] 20150112 21:53:36-!- fabi [~quassel@p20030051AA30B2706413D6854C30FF3C.dip0.t-ipconnect.de] has joined #wesnoth 20150112 21:53:36-!- fabi [~quassel@p20030051AA30B2706413D6854C30FF3C.dip0.t-ipconnect.de] has quit [Changing host] 20150112 21:53:36-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth 20150112 21:56:22-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Ping timeout: 240 seconds] 20150112 22:07:17-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20150112 22:26:37< patwotrik> I have a little problem. I've reconfigured my keys so that caps lock is another control, but it does not work in Wesnoth. 20150112 22:47:23-!- Haldrik [~haldrik@unaffiliated/haldrik] has quit [Quit: Haldrik] 20150112 22:49:57-!- Wuzzy2 [~Wuzzy@p549F8953.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 20150112 23:37:28-!- ArneBab [~quassel@55d41964.access.ecotel.net] has quit [Ping timeout: 265 seconds] 20150112 23:42:40-!- ArneBab [~quassel@55d41964.access.ecotel.net] has joined #wesnoth 20150112 23:47:09-!- zookeeper [zookeeper@wesnoth/developer/zookeeper] has quit [Ping timeout: 265 seconds] --- Log closed Tue Jan 13 00:00:01 2015