Time |
Nick |
Message |
00:22 |
|
grouinos joined #minetest |
00:25 |
|
Lesha_Vel joined #minetest |
00:54 |
|
wallabra_ joined #minetest |
01:11 |
|
est joined #minetest |
01:14 |
|
Lesha_Vel joined #minetest |
01:17 |
|
smk joined #minetest |
01:31 |
|
leo_rockway joined #minetest |
01:43 |
|
Trifton joined #minetest |
01:45 |
|
est31 joined #minetest |
02:23 |
|
Verticen joined #minetest |
02:44 |
|
milk joined #minetest |
02:45 |
|
milk joined #minetest |
02:48 |
|
est31 joined #minetest |
03:25 |
|
est31 joined #minetest |
03:26 |
|
Sven_vB joined #minetest |
03:47 |
|
est31 joined #minetest |
03:50 |
|
Verticen joined #minetest |
03:51 |
|
YuGiOhJCJ joined #minetest |
03:58 |
|
diceLibrarian joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
04:37 |
|
specing_ joined #minetest |
05:01 |
|
calcul0n_ joined #minetest |
05:38 |
|
sys4 joined #minetest |
05:52 |
|
Sven_vB_ joined #minetest |
06:22 |
|
phillw left #minetest |
06:44 |
|
definitelya joined #minetest |
07:05 |
|
Sven_vB joined #minetest |
07:05 |
Oblomov |
is it possible to programmatically select an inventory slot? |
07:15 |
|
est31 joined #minetest |
07:15 |
|
fling joined #minetest |
07:18 |
|
Alnotz joined #minetest |
07:31 |
|
harry-wood joined #minetest |
07:47 |
|
Talkless joined #minetest |
07:54 |
|
Sven_vB_ joined #minetest |
07:56 |
|
specing_ joined #minetest |
07:58 |
|
fling joined #minetest |
09:04 |
|
Warr1024 joined #minetest |
09:06 |
|
orwell96 joined #minetest |
09:06 |
|
appguru joined #minetest |
09:14 |
|
appguru joined #minetest |
09:15 |
|
CWz joined #minetest |
09:16 |
CWz |
There seems to be an error with stairs and slab texture: https://i.postimg.cc/WpMZ82Ry/screenshot-20220814-121329.png |
09:17 |
CWz |
latest git for both minetest and mtg |
09:23 |
|
grouinos joined #minetest |
09:24 |
|
orwell96_ joined #minetest |
09:39 |
MTDiscord |
<Niklp> maybe #12672 |
09:39 |
ShadowBot |
https://github.com/minetest/minetest/issues/12672 -- "autoscale" feature for world-aligned textures seems to have broken in 5.6.0 |
09:49 |
|
mrkubax10 joined #minetest |
10:16 |
|
Fixer joined #minetest |
10:25 |
CWz |
any temporary fix? |
10:44 |
MTDiscord |
<Niklp> disable auto_scale in your conf |
10:45 |
MTDiscord |
<Niklp> oops i mean „autoscale_mode“ |
11:20 |
|
specing joined #minetest |
11:58 |
|
vampirefrog joined #minetest |
11:58 |
vampirefrog |
is there an example mod that just adds a block type? |
11:58 |
vampirefrog |
I just want a certain 3D model in my world, as a block |
12:07 |
vampirefrog |
you know what, I was trying to add a computer but I found this laptop mod |
12:07 |
vampirefrog |
https://content.minetest.net/packages/GamingAssociation39/laptop/ |
12:07 |
vampirefrog |
but it says mod 'default' is missing |
12:07 |
vampirefrog |
but I'm running mineclone5 |
12:07 |
vampirefrog |
I've had this happen to me before too, any idea how I can fix it? |
12:12 |
freshreplicant[m |
Default is part of Minetest Game (not the engine Minetest, which Mineclone 2 also runs on). |
12:12 |
freshreplicant[m |
So that mod does not support other games it seems. |
12:13 |
vampirefrog |
hmm okay |
12:25 |
vampirefrog |
is there a way to make a http server from lua? |
12:25 |
vampirefrog |
maybe with websocket support too |
12:25 |
vampirefrog |
cause I want to make a websocket to relay the chat |
12:52 |
|
grouinos joined #minetest |
13:16 |
|
___nick___ joined #minetest |
13:35 |
|
___nick___ joined #minetest |
13:37 |
|
___nick___ joined #minetest |
13:52 |
freshreplicant[m |
vampirefrog: relay it where? |
13:53 |
freshreplicant[m |
There's a bridge mod for Matrix. https://content.minetest.net/packages/joenas/matrix_chat/ |
13:53 |
freshreplicant[m |
And Telegram I think. |
14:03 |
vampirefrog |
relay it to whoever connects to the websocket |
14:03 |
vampirefrog |
I want it to be a server, not a client |
14:04 |
vampirefrog |
the matrix and telegram bridges act as matrix and telegram clients, whereas I want my mod to send JSON on the websocket to whoever connects to the websocket |
14:12 |
vampirefrog |
in effect, I want it to be a http server with websocket capability |
14:13 |
vampirefrog |
it can use long polling too, if websockets are too complex |
14:13 |
vampirefrog |
I don't mind writing my own http server code if I have to |
14:13 |
vampirefrog |
or it can even be a plain TCP socket |
14:17 |
diceLibrarian |
I've run into a problem |
14:17 |
diceLibrarian |
advtrains has started trying to compare a nil value, please advise |
14:47 |
vampirefrog |
looks like I can use the http client API to send data to a node.js server that does the websocket push itself |
14:47 |
vampirefrog |
would be nice to have http server functions tho |
14:48 |
vampirefrog |
though someone would have to switch libcurl for microhttpd or something like that |
15:12 |
|
vampirefrog joined #minetest |
15:34 |
MTDiscord |
<GoodClover> vampirefrog: Minetest can use any Lua library via require(), you just have to grant the mod an insecure environment. LuaSocket is the "standard" for doing TCP/UDP, never done a HTTP server in Lua so don't know if there's any libraries for that |
15:35 |
MTDiscord |
<GoodClover> nor websockets either |
15:36 |
vampirefrog |
TCP would be just fine |
15:36 |
vampirefrog |
my other problem would be, even if I could listen on a socket, how would I manage to not block the main process? |
15:37 |
vampirefrog |
cause I'd have to have some sort of event loop waiting on that socket |
15:37 |
MTDiscord |
<GoodClover> hehe that's the exact problem I had a while ago |
15:37 |
MTDiscord |
<GoodClover> you can set any timeouts to zero (instant timeout if no data) |
15:37 |
MTDiscord |
<GoodClover> *no data waiting to be read |
15:38 |
vampirefrog |
so I'd just be polling the socket basically? |
15:38 |
vampirefrog |
like, every few ms? |
15:39 |
MTDiscord |
<GoodClover> for luasocket specifically there's socket.select https://aiq0.github.io/luasocket/socket.html#select |
15:39 |
vampirefrog |
yes but select would block the thread |
15:39 |
MTDiscord |
<GoodClover> only if given a non-zero timeout |
15:39 |
vampirefrog |
okay |
15:41 |
MTDiscord |
<GoodClover> once you actually decide to read from the socket you should re-enable timeouts so you don't end up trying to read a request with only half the data available |
15:41 |
MTDiscord |
<GoodClover> *re-enable blocking timeouts |
15:41 |
vampirefrog |
I don't mind reading the data in chunks |
15:42 |
vampirefrog |
some requests are going to be too big for one read anyway |
15:43 |
vampirefrog |
would I have to use minetest.after() for each poll? |
16:04 |
|
Thelie joined #minetest |
16:32 |
|
FreeFull joined #minetest |
16:32 |
|
mrkubax10 joined #minetest |
16:36 |
|
specing_ joined #minetest |
16:50 |
vampirefrog |
not sure how to do zero timeout |
16:53 |
|
Taoki joined #minetest |
17:44 |
|
Verticen joined #minetest |
17:50 |
mazes_84 |
Hi I'm trying to generate coredump, but total failure nothing gets dumped |
17:51 |
|
mrkubax10 joined #minetest |
17:51 |
mazes_84 |
ulimit are correct, coredumps enabled in kernel, minetest and irrlicht compiled with debug on |
17:52 |
mazes_84 |
any hints on specifics extra steps for minetest |
17:53 |
MTDiscord |
<savilli> Maybe it just doesn't crash? XD |
17:54 |
sfan5 |
do you see the segfault in dmesg? |
17:54 |
mazes_84 |
Server[29201]: segfault at 5c0aeee0 ip 00007fbb85334be2 sp 00007fbb4b7f94b0 error 4 |
17:54 |
sfan5 |
and where are you looking for the coredump? it no longer just appears in the same folder like in the old days, systemd takes care of saving it these days |
17:55 |
sfan5 |
(try coredumpctl list) |
17:55 |
mazes_84 |
no systemd, pattern is set to core.%e.%t |
17:55 |
sfan5 |
and lastly if all you want is a usable backtrace in case of crashes gdb can help https://github.com/minetest/minetest/blob/master/util/test_multiplayer.sh#L22-L24 |
17:56 |
mazes_84 |
ok I think I'll got this way |
17:56 |
mazes_84 |
thanks |
17:58 |
mazes_84 |
I always disable coredump from kernel usually, as at my first linux install dumps filled whole disk |
17:59 |
mazes_84 |
those days disk were like 200MB, but my computer was far from this huge storage |
18:09 |
|
milk joined #minetest |
18:10 |
|
definitelya_ joined #minetest |
18:11 |
|
milkjug1 joined #minetest |
18:11 |
milk |
hello |
18:14 |
MTDiscord |
<ROllerozxa> hello |
18:27 |
MinetestBot |
[git] Zughy -> minetest/minetest: Docs: add "flip moon texture" into breakage file (#12417) 760242c https://github.com/minetest/minetest/commit/760242c076921775733c3dd039d3aaabcc64125f (2022-08-14T18:25:52Z) |
18:29 |
MinetestBot |
[git] lionkor -> minetest/minetest: Add handling of environment variables to control terminal/logging col… 2690585 https://github.com/minetest/minetest/commit/2690585e992474cc458e274250c14b2a65a6b926 (2022-08-14T18:27:28Z) |
18:29 |
MinetestBot |
[git] x2048 -> minetest/minetest: Limit force shadow update to urgent blocks (#12692) aa2fdc6 https://github.com/minetest/minetest/commit/aa2fdc6ef6300f6b6683f96305bb1d9e63ba8ebb (2022-08-14T18:29:20Z) |
18:30 |
definitelya_ |
GitHub can't handle this Minetest! |
18:30 |
definitelya_ |
eheh |
18:33 |
MTDiscord |
<MilkJug> Are these pull requests from the main repo? |
18:34 |
MTDiscord |
<MisterE> Why isnt this working for setting param2 data? https://github.dev/MisterE123/wip_thing/blob/master/mods/SHIPGEN/nodepalettes/init.lua |
18:35 |
definitelya_ |
ye, it says /minetest/minetest |
18:36 |
sfan5 |
"if c_data == def.cid then" a table can't equal a number |
18:36 |
definitelya_ |
Oh I need this actually! |
18:36 |
MTDiscord |
<MisterE> thank you! |
18:37 |
sfan5 |
also doing a for loop over mapgen_nodes is inefficient |
18:39 |
MTDiscord |
<MisterE> then, what would be more efficient? |
18:39 |
MTDiscord |
<MisterE> I need to set the paramtype of many different types of nodes |
18:40 |
sfan5 |
a table lookup |
18:40 |
sfan5 |
where the content id is the key |
18:41 |
MTDiscord |
<MisterE> yay it works! |
18:41 |
MTDiscord |
<MisterE> https://cdn.discordapp.com/attachments/749727888659447960/1008445272407416853/unknown.png |
18:41 |
MTDiscord |
<MisterE> oh, ok. I can do that |
18:48 |
MTDiscord |
<MisterE> sfan5: like that? https://github.dev/MisterE123/wip_thing/blob/master/mods/SHIPGEN/nodepalettes/init.lua |
18:49 |
sfan5 |
you now have an efficient data structure and are still doing an inefficient for loop over it |
18:50 |
MTDiscord |
<MisterE> but... I need to perform the paramtype modification on any node in that table |
18:50 |
MTDiscord |
<MisterE> *every |
18:52 |
MTDiscord |
<MisterE> I need any node that is in that table to have the param2 set based on a custom mix of pre-defined noises (custom to each node type). If the generated node is found in that table, it needs modification |
18:52 |
sfan5 |
how do you find an entry with a particular key in a table? |
18:52 |
MTDiscord |
<MisterE> OH! |
18:54 |
MTDiscord |
<MisterE> I understand now, thinking about how to implement |
18:55 |
|
Cork joined #minetest |
18:56 |
MTDiscord |
<Bastrabun> What does this message in the log mean? 2022-08-14 14:39:43: VERBOSE[ConnectionSend]: con(4/1)Possible packet stall to peer id: 205 queued_commands=17400 |
18:58 |
Krock |
it means that a client cannot handle the flood of packets that are waiting for them |
19:00 |
MTDiscord |
<MisterE> like that? (updated) |
19:00 |
MTDiscord |
<MisterE> yeah thats much more efficient |
19:02 |
MTDiscord |
<MisterE> how efficient is this param2 setting compared to a lua-only mapgen? |
19:04 |
|
YuGiOhJCJ joined #minetest |
19:10 |
|
Cork joined #minetest |
19:13 |
|
behalebabo joined #minetest |
19:17 |
MTDiscord |
<diceLibrarian> important question, what's the upper and lower bound for Z? |
19:25 |
MTDiscord |
<Bastrabun> So queued commands are a client side thing? Asking because my server has a couple of users, but sometimes we have odd lag episodes. We noticed when a client sent a chatmessage. He got his own chat message displayed only several seconds later, but the chatbridge (to discord and irc and whatnot) would send out immediately. |
19:33 |
|
grouinos joined #minetest |
19:49 |
|
orwell96 joined #minetest |
20:25 |
|
pumpkkin[m]1 joined #minetest |
20:26 |
pumpkkin[m]1 |
hello |
20:29 |
MisterE[m] |
welcome pumpkkin ! |
20:29 |
diceLibrarian |
welcome |
20:29 |
diceLibrarian |
what does the [m] mean? |
20:30 |
MTDiscord |
<GreenXenith> Matrix |
20:30 |
diceLibrarian |
ah |
20:30 |
diceLibrarian |
this means that because I'm connected through Konversation that I don't have that? |
20:30 |
MTDiscord |
<GreenXenith> Likely |
20:32 |
pumpkkin[m]1 |
so up to how many players can Minetest servers support? |
20:33 |
sfan5 |
the practical performance limit with the current engine is probably around 200 |
20:33 |
pumpkkin[m]1 |
nice |
20:33 |
pumpkkin[m]1 |
i think the devil's game doesn't support even that many anymore |
20:34 |
pumpkkin[m]1 |
* many anymore <spoiler>minecraft</spoiler> |
20:34 |
MTDiscord |
<GreenXenith> You can do many more with multiple servers joined together |
20:34 |
pumpkkin[m]1 |
idk why that didnt work |
20:35 |
diceLibrarian |
IRC doesn't support html tags |
20:35 |
MTDiscord |
<GreenXenith> Which is how huge Minecraft servers work, and Minetest has a third party system for that too |
20:35 |
MisterE[m] |
unfortunately the proxy that connects multiple servers is stuck on minetest 5.4 |
20:35 |
MTDiscord |
<GreenXenith> Though I dont think its ever been practically tested |
20:35 |
MTDiscord |
<GreenXenith> Ah, thats rough |
20:35 |
pumpkkin[m]1 |
* <span data-mx-spoiler="i think, * many anymore">minecraft</span> |
20:36 |
MisterE[m] |
people have been asking the dev who maintains it to update it, but he hasnt |
20:36 |
diceLibrarian |
IRC doesn't support markup of any kind last I checked |
20:36 |
pumpkkin[m]1 |
pumpkkin[m]1: guys i did it |
20:36 |
pumpkkin[m]1 |
:> |
20:36 |
diceLibrarian |
my client just shows your markup tags |
20:37 |
MisterE[m] |
they also cant see the sad face emoji XD |
20:37 |
pumpkkin[m]1 |
MisterE[m]: now that's just cruel |
20:37 |
pumpkkin[m]1 |
is dice using IRC? |
20:37 |
diceLibrarian |
indeed |
20:37 |
diceLibrarian |
IRC Client known as Konversation |
20:37 |
MisterE[m] |
yes |
20:37 |
MisterE[m] |
it supports basic chat and in-text emojis only |
20:38 |
pumpkkin[m]1 |
why is there no bot to let dice know of my emojis :< |
20:38 |
diceLibrarian |
yeah that's actually sad |
20:38 |
pumpkkin[m]1 |
diceLibrarian: sounds like something out of Kubuntu |
20:38 |
pumpkkin[m]1 |
like the Konsole |
20:38 |
diceLibrarian |
Kubuntu 21.04 |
20:38 |
diceLibrarian |
actually 21.10 |
20:38 |
pumpkkin[m]1 |
u on kubuntu? |
20:38 |
pumpkkin[m]1 |
im on lubuntu |
20:38 |
diceLibrarian |
indeed |
20:38 |
pumpkkin[m]1 |
we're like cousins |
20:38 |
diceLibrarian |
I use kubuntu since it's not actually maintained by canonical |
20:39 |
pumpkkin[m]1 |
idk what that is |
20:39 |
diceLibrarian |
lucky |
20:40 |
pumpkkin[m]1 |
do we talk only about minetest here? |
20:41 |
diceLibrarian |
"General, player and modding discussion is on-topic. If in doubt, post here" |
20:41 |
diceLibrarian |
from the channel topic |
20:42 |
rubenwardy |
diceLibrarian: it does including strike out |
20:42 |
diceLibrarian |
nice bold |
20:42 |
diceLibrarian |
but the strikeout stuff shows up as boxes |
20:44 |
pumpkkin[m]1 |
poor guy |
20:44 |
pumpkkin[m]1 |
he got disconnect ig |
20:44 |
diceLibrarian |
nope |
20:44 |
diceLibrarian |
I recognize that |
20:44 |
diceLibrarian |
they closed their IRC client |
20:45 |
pumpkkin[m]1 |
diceLibrarian: im not sure how im supposed to interpret that |
20:45 |
diceLibrarian |
an IRC client is a program you use to connect to IRC |
20:46 |
MisterE[m] |
slinks away in shame Re #minetest-dev |
20:46 |
* diceLibrarian |
complains about how kids these days don't know IRC from Usenet, but in a joking manner |
21:13 |
|
justache joined #minetest |
21:29 |
|
proller joined #minetest |
21:34 |
pumpkkin[m]1 |
time to learn lua |
21:34 |
pumpkkin[m]1 |
we aint getting anywhere without lua |
21:38 |
pumpkkin[m]1 |
Ping timeout is what happens when we don't know lua |
21:39 |
pumpkkin[m]1 |
* know lua (just a joke) |
22:11 |
|
cation joined #minetest |
22:32 |
|
panwolfram joined #minetest |
22:35 |
MTDiscord |
<diceLibrarian> I have to make a choiche |
22:45 |
|
grouinos joined #minetest |
23:08 |
|
diceLibrarian joined #minetest |
23:34 |
vampirefrog |
I managed to write the plugin |
23:34 |
vampirefrog |
mod* |
23:34 |
vampirefrog |
it just polls select() every ms |
23:35 |
vampirefrog |
I'm not sure how others mods do it, I'm looking at the IRC mod rn |
23:35 |
vampirefrog |
but it does work, it reads and writes chat messages |
23:35 |
vampirefrog |
including colors |
23:35 |
vampirefrog |
uses 0xFF and 0x00 as message start and end |
23:52 |
|
Lesha_Vel joined #minetest |
23:53 |
|
vampirefrog joined #minetest |
23:54 |
vampirefrog |
looks like the IRC mod uses minetest.register_globalstep() |
23:56 |
vampirefrog |
but the IRC submodule does a socket.sleep(0.1) |
23:56 |
vampirefrog |
which is weird |