--- Log opened Sun Aug 05 00:00:37 2018 20180805 05:07:29-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180805 05:07:35-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180805 08:43:50< vn971> oh, why didn't I think about it before. I have a "scenario" add-on and I have a short advertisement shown at the beginning of each game, telling that you can download the add-on if you liked the game. 20180805 08:44:10< vn971> Now what's stupid is that I didn't think I can actually check whether the user has the add-on installed or not. 20180805 08:44:59< vn971> so I can f.e. show the advertisement only to users that don't have the add-on yet (but are watching or playing the game). 20180805 08:45:24< vn971> less useless spam in chat => good.) 20180805 09:08:36< Ravana_> checking if your _main.cfg exists is close enough 20180805 09:09:11< Ravana_> for ageless I have separate system, to show message once per release 20180805 09:12:45< vn971> Ravana_: yeah, I've done it too by now. (Only checking if directory exists, but I guess it's the same in practice.) Now I'm trying to figure out the best approach to version mismatch. So if you have the add-on, but remote host has a newer version, it could make sense to tell you that a new version is out. (Not sure if wesnoth should do that by default BTW.) 20180805 09:13:36< Ravana_> its possible to do, I did it with 1.12 ageless 20180805 09:15:18< vn971> Ravana_: yeah certainly possible. But IDK if it's the best approach(?). 20180805 09:15:55< vn971> I think there was something to even show an add-on in the "add-on window" interface? Or am I imagining thigs?:D I could, in this case. 20180805 09:19:12-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth-umc-dev 20180805 09:19:16< Ravana_> when I am active, there is no need to ping me with each message. That you can more effectively use when you want me to see the message when I check highlight logs. 20180805 09:19:19< hk238> hello 20180805 09:21:08< vn971> Sorry, just habit. I always do that. Also makes sense if there is more than one discussion going on (but now it's not the case, acknowledged). 20180805 09:21:16< vn971> hk238: hi 20180805 09:21:46-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20180805 09:22:17< hk238> Walking corpses influence the undead - orc match a little bit on afterlife, I just had a game with an opponent and it was a flawless victory for orcs, but then opponent wasn't very good :D 20180805 09:22:34< hk238> I mean for undead 20180805 09:22:53-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20180805 09:24:07< hk238> Sorry that was a bit silly.. Still the matchup is supposedly impossible for undead if both players play correctly 20180805 09:30:42< vn971> How do I show a message in center, not on the bottom? 20180805 09:33:16< hk238> huh? 20180805 09:33:31< vn971> QUESTION to all ^ 20180805 09:33:56< vn971> hk238: I just wanna show a text+image to a player. The pop-up window should be in center, not on the bottom. 20180805 09:34:08< hk238> oh 20180805 10:42:31<+wesdiscordbot> I think that's not possible with message. An object can do that, though it may have limitations. 20180805 10:43:48-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20180805 10:47:28< vn971> @sevu I think there was something to do that. With Lua API maybe? I know how to combine it with asking a question, but I forgot how to just show the message. 20180805 10:58:44-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20180805 11:09:03-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20180805 13:08:45-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Ping timeout: 264 seconds] 20180805 13:20:25-!- hk238 [~kvirc@a458.ip20.netikka.fi] has joined #wesnoth-umc-dev 20180805 13:23:19-!- hk238 [~kvirc@a458.ip20.netikka.fi] has quit [Changing host] 20180805 13:23:19-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth-umc-dev 20180805 13:33:37< hk238> hmm these campfires would really need a schedule image 20180805 13:33:37< hk238> :D 20180805 15:59:35-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180805 15:59:41-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180805 16:14:41< hk238> BeyondLegendary :D 20180805 16:18:20< hk238> require_scenario tag not requiring the latest version causes all kinds of problems 20180805 16:18:28< hk238> for an example there's this person who doesn't know how to update addons 20180805 16:18:33< hk238> he is looking for a game with an older version 20180805 16:18:38< hk238> but anyone with a newer version can't join the game 20180805 16:18:50< hk238> yet when he joins someone's game that is newer, it doesn't necessarily ask to update 20180805 16:18:57< hk238> instead you get OoS if there's a problem 20180805 16:19:16< hk238> so basically he won't even know that he has an old version and keeps waiting in vain for other players unless someone points it out 20180805 17:01:32-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20180805 17:38:41-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 20180805 17:52:43-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20180805 18:13:05<+wesdiscordbot> [event] name=enter hex [filter] side=1 [filter_location] x=34,30,36 y=29,32,27 [/filter_location] radius=2 [/filter] Would the radius of 2 affect all those coordinates? 20180805 18:13:11<+wesdiscordbot> or will it only work with one pair 20180805 18:15:00<+wesdiscordbot> radius= is not a defined tag for [filter] 20180805 18:15:09<+wesdiscordbot> err key 20180805 18:15:30<+wesdiscordbot> so it would do absolutely nothing there 20180805 18:16:14<+wesdiscordbot> https://wiki.wesnoth.org/StandardLocationFilter#Notes_about_Radius_Usage 20180805 18:16:18<+wesdiscordbot> you may also want to look at this 20180805 18:19:46< zookeeper> put the radius inside your [filter_location] and it should work as you expect 20180805 18:24:48-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180805 18:24:54-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180805 18:37:47-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180805 18:37:53-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180805 18:47:22<+wesdiscordbot> thanks! 20180805 19:11:34-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180805 19:11:40-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180805 19:22:12-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180805 19:22:18-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180805 20:20:55<+wesdiscordbot> Is there a way to check that _G["test"] == nil without causing a lua error? 20180805 20:26:26< vn971> @Pentarctagon doesn't it already work the way you wrote it? What's the error? 20180805 20:26:59<+wesdiscordbot> variable 'test' must be assigned before being used 20180805 20:27:05< vn971> ah, I remember there were tricks about it. You should use "rawget" work-around. 20180805 20:28:19< vn971> @Pentarctagon rawget(_G, "test") I think? 20180805 20:31:32<+wesdiscordbot> yep, seems to work 20180805 20:31:33<+wesdiscordbot> thanks 20180805 20:33:28< vn971> y w 20180805 23:33:01-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20180805 23:36:50-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 268 seconds] --- Log closed Mon Aug 06 00:00:38 2018