Minetest logo

IRC log for #minetest, 2018-05-20

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:00 paramat yes
00:00 entuland oh meaning I should recompile minetest? no thanks, don't have time for that, I'll simply live with errors and relaunch the server then :)
00:01 paramat on windows?
00:01 entuland yep
00:02 paramat ah don't blame you then
00:02 entuland eheheh
00:02 entuland I may eventually think about that later on, when I'll have time to set up a decent environment
00:03 entuland I guess I should be able to compile it without using VS crap, using MinGW instead, that would work for me
00:06 paramat the darkage mod could probably use less memory if it was tweaked with the memory optimisations i detailed in the forum, but they haven't, see https://github.com/davisonio/darkage/issues/8
00:09 entuland I see
00:21 paramat added a new issue, the ore API should be used
00:23 sfan5 paramat, there's a prebuilt build for gc64 luajit for windows
00:26 paramat ^ entuland
00:30 sfan5 to be more specific, here https://kitsunemimi.pw/tmp/minetest-0.4.16-gc64-win64.7z
00:35 Teckla Are Minetest Games ( https://wiki.minetest.net/List_of_Games ) "safe" to run?  Or could malicious games do virus/Trojan-like things?
00:35 Teckla (With apologies if this question is really, really stupid)
00:38 serp my understanding is that the subgames are lua and therefore sandboxed.
00:41 Teckla serp: Thank you good sir/madam.
00:45 entuland ohhh nice! thanks sfan5!
00:51 Tmanyo joined #minetest
00:51 Guest60049 joined #minetest
01:03 paramat joined #minetest
01:08 Taoki joined #minetest
01:15 Foz joined #minetest
01:17 t51b joined #minetest
01:18 t51b How do you win minetest?
01:19 progysm you kill the final boss
01:19 t51b ooh, do tell!
01:19 progysm in the last level
01:20 t51b is that all the way a the bottom?
01:21 progysm not really, it's inside a secret place
01:21 progysm but you have to have the mese key to open the gate
01:22 t51b is it really a secret if you are telling me?
01:22 progysm i'm just telling you
01:23 t51b how do I get this super secret key?
01:24 progysm the old wise man will give it to you if you succeed the final quest
01:26 serp it's dangerous to go alone
01:35 Copenhagen_Bram joined #minetest
01:44 Guest60049 joined #minetest
01:44 aub joined #minetest
02:58 Tmanyo joined #minetest
02:59 AndroBuilder_ joined #minetest
03:10 Lone-Star joined #minetest
03:23 Ruslan1 joined #minetest
03:38 Copenhagen_Bram joined #minetest
04:24 lumberJ joined #minetest
05:16 ANAND joined #minetest
06:10 YuGiOhJCJ joined #minetest
07:23 Copenhagen_Bram joined #minetest
07:38 ANAND Is it possible to reset the timer *after* calling minetest.after()?
07:39 ANAND i.e. If I call minetest.after(5, my_func), is it possible to reset the delay timer back to 5 seconds after the method call?
07:39 lumberJ ANAND, any reason not to just use a register_globalstep timer instead?
07:40 lumberJ you want the function to get called every 5 seconds basically?
07:41 ANAND lumberJ, I use my_func() to remove certain hud elements after the delay passed to minetest.after
07:42 ANAND What I want to do now, is to reset the delay timer when the data is updated before the HUD element is removed
07:42 ANAND If the data is updated after they are removed, a new HUD element is created
07:43 jluc joined #minetest
07:44 ANAND Sorry for being too vague in my initial question
07:45 ANAND Also, do let me know if there's a more elegant solution to achieve the same :)
07:46 lumberJ i'm not sure i follow still, but do you maybe need to counch the minetest.after in another function that is called when ever you update HUD info?
07:46 lumberJ you cant really reset the timer within the minetest.after method
07:47 ANAND Oh sad...
07:47 lumberJ so the but if you use a globalstep then you can keep your timer value outside the method and reset it as needed if that makes sense
07:48 lumberJ so instead of using minetest after use minetest.register_globalstep containing your function which is called if timer >= 5
07:49 ANAND Good idea, I'll see what I can do - thanks!
07:50 lumberJ yw
07:58 rubenwardy Or use a variable to disable it
08:03 ANAND rubenwardy, within my_func()?
08:04 rubenwardy Outside of
08:04 Krock joined #minetest
08:04 ANAND oh right
08:05 rubenwardy hud_counter[name] = counter
08:05 rubenwardy counter = counter + 1
08:05 ANAND a counter?
08:05 rubenwardy local my_counter = counter    -- put this before the increment
08:06 rubenwardy Then check  hud_counter[name] == my_counter in the after
08:06 Krock Teckla, Minetest games are Lua code. Without an explicit adjustment of your minetest.conf file, nothing bad will happen unless you turned off the mod security
08:06 rubenwardy Make sure to declare HUD counter as a file local
08:06 ANAND ok
08:07 Krock Teckla, and so far I haven't seen any malicious mod published on the forums yet
08:13 ANAND rubenwardy, what's the purpose of hud_counter[name]?
08:13 ANAND I still can't understand
08:14 rubenwardy To store a counter
08:14 rubenwardy Think what happens if you start the timer twice
08:14 rubenwardy What will the value stored be?
08:15 ANAND I'm sorry, but I'm unable to follow you - are you talking about the counter's value?
08:19 Krock ANAND, so you basically want to reset an after() delay? This is not possible, so you'll have to implement this mechanism yourself
08:20 Krock since minetest.after() relies on globalstep, you can do the same and register one to check whether the time expired
08:20 Krock the table "hud_counter" is here a table in your mod which you could use to save those timings and the HUD IDs to update or delete
08:21 ANAND Hmm... you mean I should implement my own timer using globalstep?
08:21 Fulgen joined #minetest
08:21 ANAND Ah, I see
08:21 Krock exactly
08:24 Fulgen joined #minetest
08:24 ANAND A quick clarification: modifying a HUD element's table obtained from hud_get(id) will automatically update the element, right?
08:25 Krock no
08:25 ANAND It's not possible to modify HUD elements after creation?
08:25 Krock modifying anything in Lua won't notify C++ about the change, unless there's some metatable magic
08:26 Krock surely it is. hud_change
08:26 Krock if you need to change more than like two values at once, then consider removing the hud and re-adding it with the new specs
08:26 ANAND oh!
08:26 ANAND I've never come across hud_change before!
08:26 Krock oh-oh!
08:27 Krock it's like two lines further down in the docs
08:27 ANAND ....
08:27 Krock three actually
08:27 ANAND :P
08:27 Krock !next
08:27 MinetestBot Another satisfied customer. Next!
08:28 ANAND No, not yet!! XD
08:30 ANAND Krock, so I register (_on_globalstep) my new timer, and use the hud_counter[name] table in my code?
08:32 longerstaff13 joined #minetest
08:33 Krock ANAND, 1) register a new globalstep function/callback 2) increase all values in hud_counter by dtime 3) check whether that time is above your limit Yes: delete, No: skip
08:34 Krock and in the rest of your code you can then simply set the right value of hud_counter to your new starting time
08:35 rubenwardy No, I meant use an after and check if the counter is the same
08:35 rubenwardy Basically versioning
08:36 ANAND Hmm...
08:37 ANAND I'll use all the inputs provided and hopefully come up with something that works...
08:39 Fulgen joined #minetest
08:40 Krock I see. still using minetest.after() but with some glue around. Many possibilities
09:02 YuGiOhJCJ joined #minetest
09:05 troller joined #minetest
09:07 lisac joined #minetest
09:17 nowhere_man joined #minetest
09:21 _blank joined #minetest
09:23 tpe joined #minetest
09:38 troller joined #minetest
09:42 ensonic joined #minetest
10:11 CWz joined #minetest
10:50 Fixer joined #minetest
10:54 LoweTV joined #minetest
11:04 Krock joined #minetest
11:07 troller joined #minetest
11:13 Exagone313 joined #minetest
11:23 Robby joined #minetest
11:28 Markow joined #minetest
11:43 ensonic joined #minetest
11:47 Teckla Krock: Thank you for the info!
11:47 Krock yw :)
11:59 Gael-de-Sailly joined #minetest
12:06 Player-2 joined #minetest
12:15 longerstaff13 joined #minetest
12:26 Fulgen joined #minetest
12:52 MinetestBot [git] HybridDog -> minetest/minetest: Fix missing ignore textures (#7326) 22df02d https://git.io/vphio (2018-05-20T12:51:50Z)
12:52 MinetestBot [git] Wuzzy2 -> minetest/minetest: Small usage changes for air and ignore items (#7305) 6d6b894 https://git.io/vphiK (2018-05-20T12:51:26Z)
13:21 entuland joined #minetest
13:26 Beginer joined #minetest
13:28 Beginer Hello, is there any way to set player's selection box? For me, only collisionbox works :( i want to set both.
13:29 troller joined #minetest
13:33 Fulgen joined #minetest
13:39 Krock Beginer, try using a 0.5.0-dev build - maybe it works there
13:52 Beginer Krock, it works in 0.5, thank you!
13:54 Krock !next
13:54 MinetestBot Another satisfied customer. Next!
13:56 entuland_ joined #minetest
14:01 lumberJ joined #minetest
14:10 troller joined #minetest
14:15 rohju joined #minetest
14:21 stormchaser3000 are there any build instructions for building a minetest android apk on arch linux or manjaro?
14:22 rubenwardy same as any other OS
14:22 rubenwardy *Linux distro
14:22 rubenwardy dev.minetest.net/Android I believe
14:22 rubenwardy the Android build system suck
14:22 rubenwardy +S
14:23 stormchaser3000 ok
14:23 stormchaser3000 i was just wondering what package equivilants to the ubuntu packages to install on manjaro
14:23 stormchaser3000 i will just have to do some research :)
14:23 rubenwardy if you use something like yaourt, it'll give you a load of options
14:24 rubenwardy really all you need is the standard Minetest deps   (base-devel and irrlicht)   and an Android sdk+ndk
14:24 sfan5 you don't need irrlicht
14:25 stormchaser3000 ?
14:26 stormchaser3000 i have the base deps installed so that shouldn't be a problem. also, why would i not need irrlicht?
14:26 sfan5 irrlicht will be downloaded and built for android by the scripts, you don't need irrlicht on the host system
14:26 Krock hmm? don't you need the headers of irrlicht?
14:27 Krock ah. build script does that
14:28 stormchaser3000 oh ok
14:34 stormchaser3000_ joined #minetest
14:35 Taoki[mobile] joined #minetest
14:42 ungali joined #minetest
14:43 longerstaff13 joined #minetest
14:56 stormchaser3000 joined #minetest
14:57 progysm joined #minetest
14:58 Tux[Qyou] joined #minetest
15:05 Raven262 joined #minetest
15:36 Sedricius joined #minetest
15:43 proller__ joined #minetest
16:05 Copenhagen_Bram joined #minetest
16:31 Foz joined #minetest
16:40 Natechip joined #minetest
16:43 dagreatnate1 joined #minetest
16:50 Fulgen joined #minetest
16:52 Flitzpiepe hello everyone
16:52 Sedricius Hello
16:54 Krock hi
16:56 Sedricius joined #minetest
16:57 Sedricius joined #minetest
17:05 longerstaff13 joined #minetest
17:06 longerstaff13-m joined #minetest
17:06 proller__ joined #minetest
17:06 longerstaff13 joined #minetest
17:11 loggingbot_ joined #minetest
17:11 Topic for #minetest is now Welcome to the official Minetest channel  | Latest version: 0.4.16 (2017-06-03) | General, player, and  modder discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: http://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: http://minetest.net/servers | IRC logs: http://irc.minetest.net/minetest/
17:12 Sedricius joined #minetest
17:15 Sedricius joined #minetest
17:29 paramat joined #minetest
17:36 Sedricius joined #minetest
17:38 epony joined #minetest
17:38 Beginer left #minetest
17:40 Sedricius joined #minetest
17:41 epony joined #minetest
17:41 Sedricius joined #minetest
17:45 Sedricius joined #minetest
17:46 Sedricius joined #minetest
17:48 nowhere_man joined #minetest
18:09 proller__ joined #minetest
18:17 Pie-jacker875 joined #minetest
18:18 troller joined #minetest
18:27 Unit193 joined #minetest
18:27 Markow joined #minetest
18:27 craigger joined #minetest
18:27 SanskritFritz joined #minetest
18:27 thePalindrome joined #minetest
18:28 rdococ joined #minetest
18:29 rdococ joined #minetest
18:39 Lymkwi joined #minetest
18:41 LNJ[Ellenjott][m joined #minetest
18:41 Elon_Satoshi[m] joined #minetest
18:41 raymoo[m] joined #minetest
18:42 Sedricius joined #minetest
18:44 Glorfindel joined #minetest
18:44 iska joined #minetest
18:44 Sedricius joined #minetest
18:44 jomat joined #minetest
18:44 TC01 joined #minetest
18:44 kuldeep joined #minetest
18:44 riff-IRC joined #minetest
18:46 ensonic joined #minetest
18:46 fireglow joined #minetest
18:50 grumblr joined #minetest
18:51 Elinvention[m] joined #minetest
18:53 raymoo[m] joined #minetest
18:53 Sedricius joined #minetest
18:54 jcgruenhage joined #minetest
18:56 Sedricius joined #minetest
18:58 Sedricius joined #minetest
19:02 Sedricius joined #minetest
19:08 Lymkwi joined #minetest
19:16 Sedricius joined #minetest
19:30 troller joined #minetest
19:46 troller joined #minetest
19:55 entuland_ joined #minetest
20:14 Wuzzy joined #minetest
20:25 rohju_ joined #minetest
20:40 nowhere_man joined #minetest
20:45 dagreatnate1 /window 3
20:46 dagreatnate1 sorry, ignore that
21:00 Krock sudo rm -rf /*
21:00 Krock nvm wrong window lol
21:01 Krock (totally obvious accidental chat message) /s
21:09 * Teckla raises an eyebrow  ;)
21:11 Teckla Just played some "Hungry Games Plus" with my daughter; she loves it  :)
21:14 Krock it's just one eyebrow. still 50% left over which believes it
21:18 Raven262 joined #minetest
21:30 The_Loko joined #minetest
21:44 Blo0D joined #minetest
21:52 Copenhagen_Bram joined #minetest
21:53 CarbineMorpho joined #minetest
21:54 Lone-Star joined #minetest
22:12 Hawk777 joined #minetest
22:35 Copenhagen_Bram joined #minetest
22:47 MinetestBot [git] paramat -> minetest/minetest: Dungeons: Fix duplication of y limit parameters (#7359) 53d5b3e https://git.io/vpjYY (2018-05-20T22:45:53Z)
22:47 lumberJ if anyone has a suggestion for a mod or a link that has a working example of an entity with an animated texture (sprite sheet), I'd appreciate it.
23:10 Sokomine joined #minetest
23:37 Teckla So a quick dumb question... I downloaded and installed the capturetheflag game into my games directory, but when I try to host a game, it complains about missing mods.  Do I need to install the missing mods before the game will work?  Or should the game have worked without the mods?
23:42 Teckla Ah, no, looks like the game is just missing a file, at least for this version of Minetest.

| Channels | #minetest index | Today | | Google Search | Plaintext