--- Log opened Tue Jan 27 00:00:43 2015 20150127 00:10:26-!- Haldrik [~haldrik@unaffiliated/haldrik] has quit [Quit: Haldrik] 20150127 01:01:29-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 276 seconds] 20150127 01:15:22-!- Panda_ [~IMO@AMontsouris-653-1-169-90.w92-128.abo.wanadoo.fr] has quit [Remote host closed the connection] 20150127 01:45:57-!- prkc [~prkc@51B7AE0A.dsl.pool.telekom.hu] has quit [Remote host closed the connection] 20150127 02:08:57-!- Wuzzy2 [~Wuzzy@p549FA762.dip0.t-ipconnect.de] has joined #wesnoth 20150127 02:11:57-!- Wuzzy [~Wuzzy@84.159.161.234] has quit [Ping timeout: 245 seconds] 20150127 02:25:32-!- Molt [~elektron@c-174-61-60-225.hsd1.fl.comcast.net] has joined #wesnoth 20150127 03:04:05-!- Ivanovic_ [~ivanovic@frnk-5f752837.pool.mediaWays.net] has joined #wesnoth 20150127 03:04:05-!- Ivanovic_ [~ivanovic@frnk-5f752837.pool.mediaWays.net] has quit [Changing host] 20150127 03:04:05-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth 20150127 03:05:32-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Ping timeout: 272 seconds] 20150127 03:06:18-!- fabi [~quassel@p20030051AA5D9C6898ED1F0A98C68EC5.dip0.t-ipconnect.de] has joined #wesnoth 20150127 03:06:18-!- fabi [~quassel@p20030051AA5D9C6898ED1F0A98C68EC5.dip0.t-ipconnect.de] has quit [Changing host] 20150127 03:06:18-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth 20150127 03:07:23-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 256 seconds] 20150127 03:08:04-!- Ivanovic_ is now known as Ivanovic 20150127 03:50:06< Molt> hey ya'll. having a lot of trouble with my code and can't figure it out: 20150127 03:52:40< Molt> I've set it up so when the leader of either two human teams goes to a certain hex a unit is summoned who engages in dialog. That unit was spawned in an earlier turn and then stored/killed - now it is being [unstored_unit] 20150127 03:53:37< Molt> my issue is when I place either of the leaders of the teams on the hex, several units are spawned with the [unstored_unit] - rather than 1 20150127 03:55:43-!- ArneBab_ [~quassel@55d46d80.access.ecotel.net] has joined #wesnoth 20150127 03:58:34-!- ArneBab [~quassel@55d45beb.access.ecotel.net] has quit [Ping timeout: 245 seconds] 20150127 04:00:07< vultraz> Molt: pastebin the code, please 20150127 04:02:48< Molt> k. coming right up 20150127 04:09:58< Molt> Here is an excerpt of what is important: https://paste.ee/p/3lfZN 20150127 04:15:38< Molt> i can also paste.ee the full thing, but it is a lot to parse through 20150127 04:16:32-!- ArneBab_ [~quassel@55d46d80.access.ecotel.net] has quit [Ping timeout: 245 seconds] 20150127 04:17:32< vultraz> Molt: you really should use wmlindent on your code. makes it a LOT easier to read 20150127 04:17:58< vultraz> 1105 is also a weird delay time 20150127 04:18:01< vultraz> why not 1000 20150127 04:18:48-!- ArneBab [~quassel@55d46d80.access.ecotel.net] has joined #wesnoth 20150127 04:18:54< vultraz> Molt: ok, I believe the problem is the new turn event 20150127 04:18:57< vultraz> why did you do that? 20150127 04:19:05< vultraz> just stick the filter condition in the moveto event 20150127 04:19:41< vultraz> by having a new turn event with first_time_only=no, you're spawning a new moveto event every turn 20150127 04:20:36< vultraz> I think you may be thinking you're making the moveto event happen on any turn past 6, but in reality, nested events create those events 20150127 04:20:39< Molt> because i don't want that event to happen until after turn 6 (until Ujak first appears on the map and moves to the location where you go to get him) 20150127 04:20:46< vultraz> yes 20150127 04:20:56< vultraz> so stick the filter_condition in the moveto 20150127 04:21:00< vultraz> and it won't work until after turn 6 20150127 04:21:08< Molt> k 20150127 04:21:17< Molt> thanks man. lemme try that 20150127 04:21:33< vultraz> as I said, i think it's creating a copy of the event every turn 20150127 04:21:56< Molt> that sounds right 20150127 04:21:59< Molt> brb 20150127 04:24:46< vultraz> Molt: some reading material http://wiki.wesnoth.org/EventWML#Nested_Events 20150127 04:28:47< Molt> thanks. 20150127 04:28:54< Molt> would this work? http://paste.ee/p/gKkX0 20150127 04:30:25< vultraz> you should use boolean variables for stuff like was_ujak_summoned 20150127 04:30:27< vultraz> ie, yes/no 20150127 04:30:33< vultraz> and should use boolean_equals 20150127 04:32:32< vultraz> WML does not recognize 0/1 as boolean false/true 20150127 04:32:37< vultraz> so it's better to use yes/no 20150127 04:32:42< vultraz> which is better coding practice anyway 20150127 04:32:49< vultraz> 0/1 is ... bleh 20150127 04:32:57< vultraz> what you have would work, yes 20150127 04:33:05< vultraz> but as I said, better coding practice 20150127 04:33:14< Molt> k. yeah, you're right 20150127 04:34:21< vultraz> it's also internally slightly faster to use explicit type_equals checks 20150127 04:35:03< vultraz> see [variable] here: http://wiki.wesnoth.org/ConditionalActionsWML#Condition_Tags 20150127 04:35:38< vultraz> so for example, if you did need to have a number value, it would be better to use numerical_equals 20150127 04:41:20< vultraz> plain equals= evaluates the value as a string, if you were wondering 20150127 05:56:36-!- Molt [~elektron@c-174-61-60-225.hsd1.fl.comcast.net] has quit [] 20150127 06:22:58-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20150127 06:41:18-!- Wuzzy2 [~Wuzzy@p549FA762.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 20150127 06:56:45-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20150127 06:58:28-!- [Relic] [~Relic]@2602:306:33a3:6d30:e1fc:419b:399c:d720] has quit [Quit: Leaving] 20150127 07:41:04-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 245 seconds] 20150127 07:42:36-!- evening [afternuun@ipv6.firrre.com] has joined #wesnoth 20150127 07:42:42< evening> hi 20150127 07:44:44-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150127 07:52:25< vultraz> hi 20150127 07:57:50< evening> why elensefar so hard?! 20150127 07:58:44< zookeeper> it's not actually hard, i believe it's just the first scenario where one needs some sort of strategy and carefulness :P 20150127 08:15:23-!- treefeedxavier [~treefeedx@2a00:ab00:109:31:186:100:42:1] has joined #wesnoth 20150127 08:22:15< zookeeper> in any case, the forum is filled with threads about that scenario, just search for "elensefar" and you ought to find plenty of ideas 20150127 08:24:20< evening> thanks 20150127 08:24:30< evening> already did. 20150127 08:25:01< evening> tried most of those strategies before I even read them. 20150127 08:25:20< evening> even charging horsemen 20150127 08:26:09< Appleman1234> evening, sometimes you have to go back and play several other scenarios differently before hand 20150127 08:26:32< zookeeper> only if you have a particularly bad (or in this case, non-existant) recall list and minimum starting gold. 20150127 08:26:42< evening> did that too. The Isle of the Dead really messes things up. 20150127 08:26:49< evening> nice portion thaty. 20150127 08:27:09< Appleman1234> hence the sometimes 20150127 08:27:12< evening> does recall list really tap your gold? 20150127 08:27:27< zookeeper> recall list doesn't affect your gold in any way 20150127 08:27:28< evening> does it cost to have units to recall? 20150127 08:27:31< evening> oh 20150127 08:28:04< zookeeper> recalling a unit costs 20 gold, and... that's it 20150127 08:28:36< evening> it is a luck thing. Some NPC are so skilled at dodging. 20150127 08:30:59< Appleman1234> luck ? it is the rng 20150127 08:33:41< DeFender1031> evening, you can also "cheat" by saving before each battle and redoing it until you get a more favorable outcome... 20150127 08:33:59< zookeeper> better not to get into that habit 20150127 08:34:07< zookeeper> it can be hard to get rid of :p 20150127 08:34:22< evening> DeFender1031: don't like that way. I would never lose if I did that. 20150127 08:35:24< evening> it's what I get for playing Challenging though. 20150127 08:35:29< evening> it should be expected. 20150127 08:36:01< DeFender1031> that's not entirely true... i mean, you still have to be smart about your moves. Sure, it's theoretically possible to get every move to be maximum hits for you and no hits for them, but in many cases it's so unlikely that you're never going to see it even if you redo it a thousand times. 20150127 08:36:11< evening> I am going to try a night and day team approach 20150127 08:36:17< evening> hope night team can survive. 20150127 08:36:54< evening> DeFender1031: actually, I used to play it like that back when there were only 4 stories. 20150127 08:37:23< evening> DeFender1031: made the game too easy, then when I played against some humans, my strategy was so flawed. 20150127 08:37:40< DeFender1031> hmm... good point. 20150127 08:54:46-!- ashudal [~ashudal@dynamic-adsl-84-221-91-46.clienti.tiscali.it] has joined #wesnoth 20150127 08:55:52< zookeeper> it's one thing to saveload a few times per scenario, but if it comes routine to constantly do it to avoid any losses or any setbacks, you'll find yourself spending more time in the loading screen than actually playing the game, so i'd imagine it can't be all that fun. 20150127 08:56:00< zookeeper> s/comes/becomes 20150127 09:03:28< ashudal> hi, how do i register my name on the official server? 20150127 09:03:51< zookeeper> register on the forums 20150127 09:04:02< zookeeper> the same login will be used on the multiplayer server 20150127 09:04:20< ashudal> ok, thank you :) 20150127 09:41:21-!- Haldrik [~haldrik@unaffiliated/haldrik] has joined #wesnoth 20150127 09:57:53-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 245 seconds] 20150127 10:02:22-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150127 10:03:00-!- thunderstruck [~thunderst@cpc8-sgyl29-2-0-cust37.sgyl.cable.virginm.net] has joined #wesnoth 20150127 10:11:48-!- ashudal [~ashudal@dynamic-adsl-84-221-91-46.clienti.tiscali.it] has left #wesnoth ["Leaving"] 20150127 11:32:07-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has quit [Remote host closed the connection] 20150127 11:35:35-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has joined #wesnoth 20150127 11:51:07-!- JackBauer24 [~JackBauer@89-71-84-205.dynamic.chello.pl] has quit [Ping timeout: 255 seconds] 20150127 11:51:15-!- JackBauer24 [~JackBauer@89-71-84-205.dynamic.chello.pl] has joined #wesnoth 20150127 11:59:21-!- Molt [~elektron@174.61.60.225] has joined #wesnoth 20150127 12:10:28-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 255 seconds] 20150127 12:12:09-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth 20150127 12:12:31< Molt> morning ya'll 20150127 12:14:08< Molt> i'm trying to get the side number of the unit who caused the death of a unit. would this work inside of [event] name= last breath? --> {VARIABLE myVariableName $second_unit.side} 20150127 12:41:35< zookeeper> yes 20150127 12:42:32-!- thunderstruck [~thunderst@cpc8-sgyl29-2-0-cust37.sgyl.cable.virginm.net] has quit [Quit: Leaving] 20150127 12:43:49-!- Wuzzy [~Wuzzy@p549FA762.dip0.t-ipconnect.de] has joined #wesnoth 20150127 12:52:51-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 264 seconds] 20150127 12:53:40-!- Molt [~elektron@174.61.60.225] has quit [] 20150127 12:58:08-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150127 13:07:25-!- Elouin_ [~Elouin@p200300454427DC00CA6000FFFED11D67.dip0.t-ipconnect.de] has joined #wesnoth 20150127 14:05:44-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth 20150127 15:25:23-!- prkc [~prkc@51B7AE0A.dsl.pool.telekom.hu] has joined #wesnoth 20150127 15:34:19-!- Appleman1234 [~Appleman1@s77.BMT-e1.vectant.ne.jp] has quit [Remote host closed the connection] 20150127 15:45:50-!- [Relic] [~Relic]@2602:306:33a3:6d30:2111:5107:f4df:7c12] has joined #wesnoth 20150127 15:45:58-!- ashudal [~ashudal@dynamic-adsl-84-221-91-46.clienti.tiscali.it] has joined #wesnoth 20150127 16:14:45-!- enchilado [enchilado@defocus/yummy/enchilado] has quit [Ping timeout: 276 seconds] 20150127 16:16:42-!- EliDupree [~quassel@66-189-34-122.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 276 seconds] 20150127 16:17:51-!- Earlo [~Earlo@line-10441.dyn.kponet.fi] has joined #wesnoth 20150127 16:17:54-!- Rhonda [~rhonda@anguilla.debian.or.at] has quit [Remote host closed the connection] 20150127 16:17:55-!- enchilad1 [enchilado@defocus/yummy/enchilado] has joined #wesnoth 20150127 16:17:58-!- EliDupree_ [~quassel@66-189-34-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth 20150127 16:18:07-!- Rhonda [~rhonda@anguilla.debian.or.at] has joined #wesnoth 20150127 16:22:38-!- Earlo [~Earlo@line-10441.dyn.kponet.fi] has quit [Remote host closed the connection] 20150127 16:54:04-!- ashudal [~ashudal@dynamic-adsl-84-221-91-46.clienti.tiscali.it] has quit [Quit: Leaving] 20150127 17:15:31-!- APic [apic@apic.name] has quit [Quit: Restart wegen eglibc-Fix] 20150127 17:16:09< patwotrik> hmmm 20150127 17:16:29< patwotrik> it would not be so difficult to implement in-game registration? 20150127 17:21:33< zookeeper> implementing a phpbb registration interface in the game sounds awfully hacky and annoying to maintain 20150127 17:26:05-!- APic [apic@apic.name] has joined #wesnoth 20150127 17:32:11-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth 20150127 17:40:11-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20150127 17:52:52< patwotrik> zookeeper, if you say so 20150127 17:57:22-!- Haudegen [~quassel@85.124.51.57] has quit [Ping timeout: 240 seconds] 20150127 17:58:34< DeFender1031> zookeeper, hacking two completely separated systems together is some semblance of secure and foolproof communication? I can't imagine why that would be hacky and annoying... 20150127 17:58:46< DeFender1031> in some semblance* 20150127 18:01:41-!- Haudegen [~quassel@85.124.51.57] has joined #wesnoth 20150127 18:38:54-!- Panda_ [~IMO@AMontsouris-653-1-296-165.w90-44.abo.wanadoo.fr] has joined #wesnoth 20150127 18:43:59-!- claymore [~claymore_@unaffiliated/claymore] has joined #wesnoth 20150127 19:11:21-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Remote host closed the connection] 20150127 19:30:52-!- ArneBab [~quassel@55d46d80.access.ecotel.net] has quit [Ping timeout: 240 seconds] 20150127 19:37:19-!- ArneBab [~quassel@55d46d80.access.ecotel.net] has joined #wesnoth 20150127 19:45:27-!- jemadux [~jemadux@unaffiliated/jemadux] has joined #wesnoth 20150127 20:25:16-!- Lirion [~m00se@wikimedia-commons/Lirion] has joined #wesnoth 20150127 20:27:01-!- nuun [afternuun@ipv6.firrre.com] has joined #wesnoth 20150127 20:32:48-!- Netsplit *.net <-> *.split quits: lirion`reco, evening 20150127 21:11:52-!- claymore [~claymore_@unaffiliated/claymore] has quit [Ping timeout: 244 seconds] 20150127 22:05:21-!- Crendgrim_ [~crend@wesnoth/forum-moderator/crendgrim] has joined #wesnoth 20150127 22:06:07-!- Crendgrim [~crend@wesnoth/forum-moderator/crendgrim] has quit [Ping timeout: 244 seconds] 20150127 22:09:01-!- treefeedxavier [~treefeedx@2a00:ab00:109:31:186:100:42:1] has left #wesnoth [] 20150127 22:25:10-!- jemadux [~jemadux@unaffiliated/jemadux] has quit [Ping timeout: 255 seconds] 20150127 22:31:38-!- jemadux [~jemadux@unaffiliated/jemadux] has joined #wesnoth 20150127 22:33:48-!- Panda_ [~IMO@AMontsouris-653-1-296-165.w90-44.abo.wanadoo.fr] has quit [Remote host closed the connection] 20150127 22:43:21-!- enchilad1 is now known as enchilado 20150127 22:55:29-!- fabi [~quassel@p20030051AA5D9C68BDCF1C1E0F3C7F6C.dip0.t-ipconnect.de] has joined #wesnoth 20150127 22:55:29-!- fabi [~quassel@p20030051AA5D9C68BDCF1C1E0F3C7F6C.dip0.t-ipconnect.de] has quit [Changing host] 20150127 22:55:29-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth 20150127 23:02:26-!- jemadux [~jemadux@unaffiliated/jemadux] has quit [Read error: Connection reset by peer] 20150127 23:05:33-!- Elouin_ [~Elouin@p200300454427DC00CA6000FFFED11D67.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 20150127 23:08:36-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20150127 23:56:57-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 245 seconds] --- Log closed Wed Jan 28 00:00:59 2015