Minetest logo

IRC log for #minetest-hub, 2019-11-19

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

All times shown according to UTC.

Time Nick Message
01:22 ANAND joined #minetest-hub
02:03 fluxflux joined #minetest-hub
02:31 longerstaff13_ joined #minetest-hub
04:07 Lone_WolfHT joined #minetest-hub
06:40 lhofhansl joined #minetest-hub
07:24 olliy joined #minetest-hub
07:28 pyrollo joined #minetest-hub
07:54 CWz joined #minetest-hub
08:39 ShadowNinja joined #minetest-hub
10:21 longerstaff13_ joined #minetest-hub
11:00 Fixer joined #minetest-hub
11:06 kilbith joined #minetest-hub
11:31 SmellySneaker joined #minetest-hub
11:36 longerstaff13_ joined #minetest-hub
12:22 kilbith joined #minetest-hub
12:34 kilbith joined #minetest-hub
12:39 fluxflux joined #minetest-hub
12:50 kilbith joined #minetest-hub
13:40 aerozoic joined #minetest-hub
14:10 tomraceror joined #minetest-hub
14:37 longerstaff13 joined #minetest-hub
15:53 Ruslan1 joined #minetest-hub
15:58 Lone_WolfHT joined #minetest-hub
16:27 DI3HARD139 joined #minetest-hub
16:39 DI3HARD139 joined #minetest-hub
16:45 lumberJ joined #minetest-hub
17:03 twoelk joined #minetest-hub
17:37 Krock joined #minetest-hub
18:14 kilbith joined #minetest-hub
18:37 sfan5 BuckarooBanzai: how long did it usually take for the problems to show up on pandorabox? (regarding issue 9111)
18:41 SmellySneaker sfan, dev version seems to have fixed the stall issue, but its also caused a few mods to stop working properly.  seems its much less forgiving on some things
18:43 sfan5 really? that should not be happening
18:43 sfan5 which mods are that
18:45 SmellySneaker had an issues with smaker's glass_stained mod.  regarding a goto label.  bonemeal mod started crashing on some use - this issue had been addressed, and fixed a while ago, but started acting up again.  both of these mods are the latest availble
18:45 sfan5 !mod glass_stained
18:45 MinetestBot sfan5: Fancy Stained Glass [glass_stained] by v-rob - https://forum.minetest.net/viewtopic.php?t=17824
18:45 sfan5 uh not that one I guess
18:45 sfan5 !mod bonemeal
18:45 MinetestBot sfan5: Bonemeal [bonemeal] by TenPlus1 - https://forum.minetest.net/viewtopic.php?t=16446
18:45 SmellySneaker both of these mods ran fine on the 5.1.0 server
18:46 SmellySneaker hvsmacker, i think
18:46 sfan5 can you provide the crash backtraces and where I can find the exact mods?
18:47 SmellySneaker may take me a few minutes, just started my first pot of coffee for the day  :)
18:47 sfan5 sure
18:47 SmellySneaker i think i can show the server fail on start riight now...
18:49 SmellySneaker sorry, in a few minutes.  text i had was from a previous post to someone else
18:51 BuckarooBanzai sfan5: usually with higher lag, server step above 200 ms in my case. There was for example multi second lag when eating something, but the "real" lag was around 0.5 seconds..
18:51 SmellySneaker glass_stained mod -- https://github.com/h-v-smacker/glass_stained
18:52 SmellySneaker debug log --
18:52 SmellySneaker 2019-11-16 21:15:16: ACTION[Main]: Server: Shutting down
18:52 SmellySneaker 2019-11-16 21:15:16: ERROR[Main]: ModError: Failed to load and run script from /home/tommy/.minetest/mods/glass_stained/init.lua:
18:52 SmellySneaker 2019-11-16 21:15:16: ERROR[Main]: /home/tommy/.minetest/mods/glass_stained/init.lua:284: '=' expected near 'eol'
18:52 BuckarooBanzai sfan5: https://github.com/pandorabox-io/pandorabox.io/issues/271
18:52 SmellySneaker fwiw, a test server, same version, with only this mod, started fine
18:53 sfan5 BuckarooBanzai: what I meant was: so you could reproduce the problems instantly after the server has been started?
18:54 sfan5 SmellySneaker: goto is not portable, it is supported by LuaJIT but not Lua 5.2; you probably built without luajit hence why it's suddenly broken
18:55 BuckarooBanzai sfan5: yes, usually after the server is full, which is the case right now
18:55 shivajiva I tested your pr sfan with glass_stained, moreblocks and unified inventory and it had no issues with goto or labels on a standard build
18:55 SmellySneaker off! just realized my nick didn't change over
18:55 sfan5 thanks for confirming
18:55 BuckarooBanzai np
18:55 TommyTreasure that was my thought last night.  i installed luajit, and recompiled
18:56 shivajiva my box reports luajit as not installed and the goto works
18:56 TommyTreasure at the time of that log entry, it wasn't.  but is as of now
18:57 TommyTreasure compile stated it used the built-in luajit
18:57 sfan5 built-in lua*
18:57 TommyTreasure darn, that screen is out of buffer, can't go back to refer
18:58 TommyTreasure i'll try a recompile with the proper DRUN for luajit
19:00 shivajiva TommyTreasure is it the case that other mods with labels are working within you mod folder if you exclude glass_stained?
19:01 TommyTreasure the other issue was with bonemeal.  possibly same issue?
19:01 TommyTreasure 2019-11-18 21:46:30: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'sauth' in callback item_OnUse(): /home/tommy/.minetest/mods/bonemeal/init.lua:270: bad argumen
19:01 TommyTreasure t #2 to 'random' (interval is empty)
19:01 TommyTreasure 2019-11-18 21:46:30: ERROR[Main]: stack traceback:
19:01 TommyTreasure 2019-11-18 21:46:30: ERROR[Main]:       [C]: in function 'random'
19:01 TommyTreasure 2019-11-18 21:46:30: ERROR[Main]:       /home/tommy/.minetest/mods/bonemeal/init.lua:270: in function 'check_soil'
19:01 ShadowBot https://github.com/minetest/minetest/issues/2 -- Burned wood
19:01 TommyTreasure 2019-11-18 21:46:30: ERROR[Main]:       /home/tommy/.minetest/mods/bonemeal/init.lua:436: in function 'on_use'
19:01 TommyTreasure 2019-11-18 21:46:30: ERROR[Main]:       /home/tommy/.minetest/mods/bonemeal/init.lua:513: in function </home/tommy/.minetest/mods/bonemeal/init.lua:495>
19:01 TommyTreasure sorry, jumped the gun
19:02 TommyTreasure yes, with glass_stained disabled, everything seems to be ok, except for bonemeal
19:02 sfan5 well I'd ask the sauth author why they are calling math.random incorrectly
19:02 TommyTreasure tenplus1 stated this issue had been fixed a while ago.  my mod is up to date
19:02 shivajiva ah that's where it's initialised with either a number of table elements OR 1 and comes up with nil
19:03 shivajiva what did I do wrong sfan?
19:04 sfan5 dunno
19:05 TommyTreasure lol, not to make fun of this, but this is exactly why i've been in the opensource software for so long.  immediate collaboration
19:06 shivajiva exactly sauth doesn't call random, it just gets blamed in every error due to the way mt auth is coded, right?
19:07 sfan5 not sure
19:08 sfan5 but looks like bonemeal is indeed the culprit here
19:08 shivajiva that's my take, since I released sauth everyone who doesn't read the error string fully see's sauth and comes blaming it =)
19:08 TommyTreasure https://notabug.org/TenPlus1/bonemeal/issues/2#issuecomment-16727
19:08 Krock don't rely on the last run mod
19:09 sfan5 https://notabug.org/TenPlus1/bonemeal/src/master/init.lua#L270
19:09 Krock it's not yet that reliable
19:09 sfan5 what happens is: 254: decor gets set to {} because it's missing  269: dnum gets set to 0  270: math.random(1, 0) is called, causing the error
19:11 shivajiva it seems to be the case that any auth handler other than builtin becomes the front of the error string, I've even seen errors where builtin auth was primarily blamed prior to the real culprit
19:14 hlqkj joined #minetest-hub
19:28 Peppy joined #minetest-hub
19:28 Peppy Hi
19:30 Peppy I'm trying to replicate sapling groth from minetest game to add a tree
19:31 Peppy I have trouble with the sappling that remains when the schem is placed
19:31 Peppy if I load a schem from mtg, the sapling is gone hen the shem is placed though
19:33 Peppy weir thing, the schem is placed with minetest.place_schematic that is not supposed to replace nodes anyway (other than air)
19:33 Peppy weird*
19:34 Peppy is there a black magick trick in mtg .mts schems ?
19:51 olliy joined #minetest-hub
20:14 lumberJ left #minetest-hub
20:37 Sokomine Peppy: i did write treeslib some time ago. it's not current (especially regarding leafdecay) but has all that those green growing things require (apart from spawning)
20:38 Ruslan1 joined #minetest-hub
20:44 Peppy Sokomine : thanks, i'll have a look a it
20:45 Peppy in fact, the idea was to convert actual axinite tree sapling growth from ABM to LBM
20:46 Peppy it worked ok exept for this tricky sapling that remains
20:47 Peppy i could easily replace by air before actual growth but it seem this is not needed in mtg (where I took code from)
20:49 Peppy I still try to understand why sappling is removed in mtg (and in my mod too, if schems from mtg are used instead of the axi tree one)
20:52 Sokomine peppy: hm, in treeslib, i do remove the sapling before placing the schematic
20:54 Peppy well, this sounds like normal as minetest.place_schematic wouldn't override anything that air
20:54 Peppy ...but it obviously does with mtg schems
20:57 Peppy strange, isn't it ?
21:02 T^4im joined #minetest-hub
21:03 T^4im joined #minetest-hub
21:37 Peppy hhm, with WE, I tried loading and re-saveing schem from mtg in my mod
21:37 Peppy the sapling remains now with this mts
21:38 Peppy so, there is some mts wizardry :/
21:38 Peppy or I'm too dumb to understand what happens
21:46 Peppy found my answer in https://dev.minetest.net/Minetest_Schematic_File_Format
21:46 Peppy For each node in schematic: bit 7:   specific node force placement
21:47 Peppy I guess this is it, but how to generate such a schem ?
21:53 kilbith joined #minetest-hub
22:08 kilbith joined #minetest-hub
22:11 kilbith_ joined #minetest-hub
22:23 Sokomine Peppy: some people that generate trees as schematics use lua tables for that instead of mts binary files. guess it's easier to do that way. there's also more information stored in schematics...several probability fields which are useful for tree generation
22:23 Peppy yep
22:23 Peppy I need aspirine :D
22:24 Peppy I guess i'll have to convert to lua table, edit to force tree base node then convert again into mts
22:24 Peppy I see no easy tool to do that :/
22:34 Peppy I think I'll end doing "minetest.swap_node(pos, {name = "air"})" before placing the schem to get rid of the sapling
22:37 Peppy thanks for helping :)

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