Time |
Nick |
Message |
00:10 |
|
kilbith joined #minetest-hub |
01:14 |
|
ANAND joined #minetest-hub |
02:02 |
|
kilbith joined #minetest-hub |
03:02 |
|
GreenXenith joined #minetest-hub |
05:58 |
|
QwertyDragon joined #minetest-hub |
06:33 |
|
calcul0n joined #minetest-hub |
06:45 |
|
nerzhul joined #minetest-hub |
07:37 |
|
calcul0n_ joined #minetest-hub |
07:47 |
|
tomraceror joined #minetest-hub |
08:30 |
|
tomraceror joined #minetest-hub |
08:39 |
|
ShadowNinja joined #minetest-hub |
09:48 |
|
Fixer joined #minetest-hub |
09:52 |
|
calcul0n joined #minetest-hub |
10:22 |
|
tomraceror joined #minetest-hub |
10:59 |
|
calcul0n_ joined #minetest-hub |
12:59 |
|
tomraceror joined #minetest-hub |
13:06 |
|
HDMI_STECKDOSE joined #minetest-hub |
13:51 |
|
QwertyDragon joined #minetest-hub |
14:26 |
|
DS-minetest joined #minetest-hub |
14:33 |
|
kilbith joined #minetest-hub |
15:25 |
|
tenplus1 joined #minetest-hub |
15:25 |
tenplus1 |
hi folks |
15:25 |
tenplus1 |
hey Krock |
15:25 |
tenplus1 |
devs, few times this error has crashed server and I cannot find rhyme or reason |
15:25 |
Krock |
hi tenplus1 :D |
15:26 |
Krock |
check entity life cycle |
15:26 |
tenplus1 |
ERROR[Main]: ServerError: AsyncErr: ServerThread:: run Lua: Runtime error from mod 'stairs' in callback node_on_punch(): /user/share/minetest/builtin/game/falling.lua:311: attempt to index field 'sounds' (a function value) |
15:27 |
tenplus1 |
line 311 is: if def and def.sounds and def.sounds.fall then |
15:27 |
DS-minetest |
you are doing something like local function sounds() end print(sounds.1) |
15:27 |
tenplus1 |
looks fine, but why crash from stairs mod |
15:28 |
tenplus1 |
hi DS-minetest, this is default game error for 5.2 |
15:28 |
DS-minetest |
hi 11, what node sets a function as SimpleSoundSpec? |
15:28 |
Krock |
sounds = myapi.myfunction(), <-- correct |
15:28 |
Krock |
sounds = myapi.myfunction, <-- wrong |
15:32 |
tenplus1 |
ds: no idea, never used it myself |
15:33 |
nerzhul |
hi tenplus1 |
15:33 |
tenplus1 |
hi nerzhul |
15:33 |
tenplus1 |
it's a weird bug, trying to figure out what's causing it |
15:33 |
DS-minetest |
tenplus1: what I wanted to say is, print out the name of the node |
15:34 |
DS-minetest |
then look into the nodes definition, it probably does what Krock said |
15:34 |
tenplus1 |
cannot, runnign on liver server using 5.2 |
15:35 |
DS-minetest |
"liver server"? what's that? |
15:35 |
tenplus1 |
*live |
15:35 |
Krock |
lol liver |
15:35 |
Krock |
you could add print statements before the said error line to figure out the node name |
15:35 |
Krock |
or item name |
15:36 |
tenplus1 |
for builtin/game/falling.lua which is a system game file ? |
15:36 |
Krock |
add it to the code and you'll know it after 2 server crashes (1st regular, 2nd with info) |
15:36 |
Krock |
yes |
15:36 |
|
kilbith joined #minetest-hub |
15:36 |
tenplus1 |
server is in USA and I'm not, would be difficult to have admin do that |
15:36 |
tenplus1 |
hi kilbith |
15:36 |
Krock |
huh? you don't have root access to the VPS? |
15:36 |
tenplus1 |
nope |
15:37 |
tenplus1 |
it's a physical server |
15:37 |
Krock |
uh well then we'll need some creativity |
15:37 |
DS-minetest |
do you have worldedit installed? |
15:37 |
tenplus1 |
am checking any and all falling nodes standalone to see if anythinghappens |
15:37 |
tenplus1 |
yes but not used |
15:38 |
Krock |
error in drop_attached_node, so we need to hook check_single_for_falling |
15:38 |
Krock |
writing a patch... |
15:39 |
DS-minetest |
ok, run in chat: "//lua for name, def in pairs(minetest.registered_nodes) do if type(def.sounds) == "function" then minetest.log("error", name .. " is evil") break end end" |
15:40 |
tenplus1 |
that#s disabled |
15:40 |
tenplus1 |
would never have left //lua command live on server |
15:40 |
DS-minetest |
but you need server priv to run /lua, it's not really harmful |
15:40 |
tenplus1 |
true, lemmie do it standalone server, have copy here |
15:41 |
DS-minetest |
you could also add an additional mod that does the code above in a minetest.after in load |
15:43 |
Krock |
https://pastebin.com/raw/JbF7mQWT |
15:43 |
Krock |
oh. bottom one should be "name" rather than "n.name" |
15:43 |
Krock |
nvm, I messed up both parts |
15:44 |
DS-minetest |
you don't need the first part here btw. ;) :`what.sounds and type(what.sounds) == "function"` |
15:44 |
DS-minetest |
type function is always a true value |
15:44 |
Krock |
Ctrl+F5 the paste. new contents. |
15:45 |
Krock |
oh right! |
15:46 |
DS-minetest |
and as said, the alternative thing (same as what I suggested) needs to go into .after |
15:46 |
tenplus1 |
running sa now |
15:48 |
tenplus1 |
cottages:wagon_wheel ??? dammit |
15:48 |
Krock |
Sokomine: ^ |
15:48 |
DS-minetest |
!mod cottages |
15:48 |
MinetestBot |
DS-minetest: cottages [cottages] (medieval, farming, country life) by Sokomine - https://forum.minetest.net/viewtopic.php?t=5120 - https://github.com/Sokomine/cottages |
15:49 |
rubenwardy |
tenplus1: heads up, you should probably fix how mobs redo does initial properties: #9650 |
15:49 |
tenplus1 |
this node was placeable before 5.2, what gives now |
15:49 |
ShadowBot |
https://github.com/minetest/minetest/issues/9650 -- Log deprecation initial properties by rubenwardy |
15:49 |
Krock |
tenplus1: still placeable, but not fallable |
15:50 |
DS-minetest |
tenplus1: you need to update the mod |
15:51 |
|
aerozoic joined #minetest-hub |
15:51 |
DS-minetest |
bug was already fixed |
15:51 |
tenplus1 |
swhat do you mean rubenwardy ? |
15:51 |
tenplus1 |
hi aerozoic |
15:52 |
rubenwardy |
things like `hp_max` and `mesh` etc should be in a subtable called `initial_properties`, not in the entity definition |
15:52 |
rubenwardy |
see https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L6525 |
15:52 |
aerozoic |
wazup tenplus1 ! |
15:52 |
rubenwardy |
the reason for a subtable is that it makes the definition cleaner, and more clear that the thing is an _initial_ property |
15:52 |
rubenwardy |
because people have mistakenly done self.mesh = "" before etc |
15:54 |
tenplus1 |
will get around to that soon, gotta fix this dumb sound error |
15:54 |
tenplus1 |
thanks for help tho :D |
15:54 |
Krock |
DS-minetest: next! |
15:55 |
DS-minetest |
!next |
15:55 |
MinetestBot |
Another satisfied customer. Next! |
15:55 |
DS-minetest |
:D |
15:55 |
tenplus1 |
has the SAO issue been resolved ? nil values ? |
15:56 |
Krock |
yes |
15:56 |
Krock |
consistent nil values after deletion |
15:57 |
Krock |
no more buggy on-the-fly deletion |
15:57 |
tenplus1 |
had to add so many sanity checks to mobs api cause of that one |
15:58 |
Krock |
that means you still call functions after the entity has been deleted within a parent function |
15:58 |
Krock |
look out for :remove() and :set_hp() to avoid most checks |
15:59 |
tenplus1 |
so many changes of late with new stable, gonna have to sit down and rethink some stuffs |
15:59 |
tenplus1 |
got line of sight working tho with raycasting :P happy at that |
16:00 |
DS-minetest |
does that mean objects also get removed, just like in :remove(), when they loose all hp by set_hp() ? |
16:04 |
tenplus1 |
didnt that happen automatically anyway ? |
16:06 |
tenplus1 |
that's why I had to make mobs {immortal} cause they would disappear before proper death functions |
16:11 |
|
Gael-de-Sailly joined #minetest-hub |
16:11 |
tenplus1 |
hi Gael-de-Sailly |
16:11 |
Gael-de-Sailly |
hi |
16:17 |
Gael-de-Sailly |
are the forums down or is it just me? |
16:18 |
tenplus1 |
down here too |
16:18 |
Krock |
90% down, 10% up |
16:18 |
Krock |
depends on your luck whether you can get through |
16:18 |
Krock |
refresh more often = less chances |
16:19 |
Gael-de-Sailly |
ok because today I haven't been able to make a post |
16:19 |
Gael-de-Sailly |
every time I try, I can visit like 5 pages, but after it stops working |
16:19 |
Krock |
wasn't possible last week either |
16:19 |
Gael-de-Sailly |
is it coincidence or the forum is preventing connection after a certain number of pages? |
16:21 |
Krock |
coincidence. the server might also block requests that happen proportionally often from a single IP |
16:22 |
Krock |
I'd assume the server is attacked from many different addresses |
16:22 |
Krock |
that, or the machine just sucks. |
16:31 |
|
nerzhul joined #minetest-hub |
16:31 |
tenplus1 |
wb |
16:45 |
tenplus1 |
laters all o/ |
16:45 |
|
tenplus1 left #minetest-hub |
17:02 |
|
rubenwardy joined #minetest-hub |
17:35 |
|
calcul0n joined #minetest-hub |
17:56 |
|
DS-minetest joined #minetest-hub |
18:10 |
|
mckayshiro joined #minetest-hub |
18:14 |
|
fluxflux joined #minetest-hub |
19:06 |
|
kilbith joined #minetest-hub |
19:47 |
|
kilbith joined #minetest-hub |
20:46 |
|
DS-minetest joined #minetest-hub |
22:05 |
|
calcul0n_ joined #minetest-hub |
22:16 |
|
kilbith joined #minetest-hub |
22:24 |
|
scorps44 joined #minetest-hub |
22:28 |
|
kilbith joined #minetest-hub |
22:37 |
kilbith |
I don't know where Wuzzy find that strenght to argue that much |
22:39 |
|
NathanS21 joined #minetest-hub |
23:04 |
|
mckayshiro left #minetest-hub |
23:27 |
|
ANAND joined #minetest-hub |
23:38 |
|
kilbith joined #minetest-hub |