Time |
Nick |
Message |
00:01 |
agrecascino |
http://flansmod.com/ |
00:01 |
agrecascino |
it's a framework for creating content for minecraft |
00:01 |
agrecascino |
i mean hell, if you just duplicated the framework, you could probably use the same resources |
00:01 |
Shiftus |
Ah yes, I've used that. It's a pain to configure sometimes though |
00:05 |
|
Miner_48er joined #minetest |
00:06 |
|
SloanOnLinux joined #minetest |
00:11 |
|
SloanOnLinux joined #minetest |
00:12 |
|
SloanOnLinux joined #minetest |
00:13 |
|
SloanOnLinux joined #minetest |
00:14 |
|
GnomeKris joined #minetest |
00:21 |
|
yang2003 joined #minetest |
00:47 |
|
nuzzle joined #minetest |
00:54 |
Shiftus |
Question. |
01:02 |
paramat |
Answer. |
01:05 |
Shiftus |
Anyone recall a player who used the username "splash" ? |
01:06 |
VanessaE |
nope |
01:07 |
Shiftus |
Hmm. I know he used to run a server, I used to play there quite a lot. Then it disappeared. |
02:20 |
|
whitephoenix0 joined #minetest |
02:41 |
agrecascino |
if i wanted to register a callback when someone kills someone, how should i do that? |
03:15 |
|
yang2003 joined #minetest |
03:25 |
|
edaq joined #minetest |
03:29 |
Hijiri |
you can't, the engine doesn't keep track of what caused someone to die |
03:30 |
Hijiri |
you could keep track of the last person to punch someone, and see if that was recent enough to count as them killing them |
03:30 |
Hijiri |
you could set it in a punching callback and see if they die in the same tick |
03:39 |
|
Yst joined #minetest |
03:45 |
|
swift110-phone2 joined #minetest |
03:50 |
|
dlaboratory joined #minetest |
04:05 |
|
SloanOnLinux joined #minetest |
04:30 |
|
paramat left #minetest |
04:35 |
|
alt18869 joined #minetest |
05:24 |
|
lumidify joined #minetest |
05:29 |
|
LazyJ joined #minetest |
05:29 |
|
namach[Svet] joined #minetest |
05:49 |
|
DMackey- joined #minetest |
05:53 |
|
swift110-phone joined #minetest |
05:57 |
|
CWz joined #minetest |
05:57 |
|
DMackey joined #minetest |
06:27 |
|
sonicpp joined #minetest |
06:34 |
|
sonicpp joined #minetest |
06:42 |
|
mdiehl1 joined #minetest |
06:42 |
|
mdiehl1 left #minetest |
06:43 |
|
mdiehl1 joined #minetest |
06:46 |
|
shamoanjac joined #minetest |
06:52 |
|
lumidify joined #minetest |
06:56 |
|
jin_xi joined #minetest |
06:59 |
|
jojoa1997 joined #minetest |
07:00 |
|
Yst joined #minetest |
07:03 |
|
Darcidride joined #minetest |
07:03 |
|
nore joined #minetest |
07:13 |
|
theTroy joined #minetest |
07:21 |
|
aheinecke joined #minetest |
07:49 |
|
namach joined #minetest |
07:50 |
|
Szkodnix joined #minetest |
07:53 |
|
Trustable joined #minetest |
08:09 |
|
FirePowi joined #minetest |
08:12 |
|
CWz joined #minetest |
08:20 |
|
glorfindel joined #minetest |
08:20 |
|
Freejack joined #minetest |
08:24 |
|
Tristitia joined #minetest |
08:24 |
|
FirePowi joined #minetest |
08:24 |
|
geir_ joined #minetest |
08:29 |
|
davisonio joined #minetest |
08:31 |
|
FirePowi joined #minetest |
08:36 |
|
FirePowi joined #minetest |
08:36 |
|
Krock joined #minetest |
08:36 |
|
FirePowi left #minetest |
08:37 |
|
Taoki joined #minetest |
08:38 |
|
yusf[m] joined #minetest |
08:44 |
aix |
hi |
08:45 |
|
Amaz joined #minetest |
08:50 |
|
enricom joined #minetest |
09:09 |
|
theTroy joined #minetest |
09:10 |
|
Yst joined #minetest |
09:13 |
|
davisonio joined #minetest |
09:21 |
aix |
what does VBO do? |
09:23 |
|
Markow joined #minetest |
09:24 |
aix |
my fps drops sometimes, but i'm unsure when, it seems kinda random |
09:25 |
aix |
my guess is that it's when i'm flying through nodes |
09:28 |
|
M-JLuc joined #minetest |
09:28 |
|
M-geir joined #minetest |
09:28 |
|
sherkaton[m] joined #minetest |
09:33 |
shamoanjac |
VBO = Vertex Buffer Object |
09:34 |
shamoanjac |
it's one of the OpenGL methods for rendering triangles (and therefore meshes) |
09:34 |
shamoanjac |
basically it's a buffer of vertices (duh!) that you load into memory and then you refer to it with a unique ID |
09:35 |
shamoanjac |
it's faster than the original OpenGL way of calling function method per vertex like |
09:35 |
shamoanjac |
glStart(GL_TRIANGLES); |
09:36 |
shamoanjac |
glVertex3f(.0, .1, -.1); |
09:36 |
shamoanjac |
... |
09:36 |
shamoanjac |
glEnd(); |
09:36 |
shamoanjac |
or was it glBegin()? |
09:40 |
|
lumidify joined #minetest |
09:42 |
|
JamesTait joined #minetest |
09:45 |
JamesTait |
Good morning all! Happy Tuesday, and happy Ice Cream Sandwich Day! 😃 |
09:50 |
|
Telesight joined #minetest |
09:53 |
|
Krock joined #minetest |
09:59 |
aix |
man, xdecor clashes with moreblocks i so many recipes |
10:00 |
Krock |
blame the developers |
10:01 |
aix |
why do you craft a bookcase with beer... |
10:03 |
aix |
does minetest warn about craft collisions? |
10:05 |
|
Thomas-S joined #minetest |
10:07 |
Krock |
I doubt it |
10:09 |
aix |
ugh |
10:10 |
|
Pest joined #minetest |
10:27 |
|
tpe joined #minetest |
10:27 |
|
namach[Svet] joined #minetest |
10:29 |
|
lumidify joined #minetest |
10:53 |
|
Fixer joined #minetest |
10:59 |
|
SylvieLorxu joined #minetest |
11:11 |
|
SylvieLorxu joined #minetest |
11:20 |
|
LNJ2GO joined #minetest |
11:24 |
|
lordawe_ joined #minetest |
11:24 |
|
DMackey- joined #minetest |
11:33 |
|
proller joined #minetest |
12:11 |
|
theTroy joined #minetest |
12:11 |
|
namach[Svet] joined #minetest |
12:12 |
|
proller joined #minetest |
12:40 |
|
Yst joined #minetest |
12:57 |
|
STHGOM joined #minetest |
13:08 |
|
Yst joined #minetest |
13:10 |
|
Passant joined #minetest |
13:33 |
Out`Of`Control |
Hi |
13:34 |
Out`Of`Control |
is deathloop patched in 0.4.14 ? |
13:46 |
|
LNJ2GO left #minetest |
13:49 |
|
jin_xi joined #minetest |
13:54 |
|
swift110 joined #minetest |
13:58 |
|
DMackey joined #minetest |
14:00 |
|
swift110 joined #minetest |
14:05 |
Calinou |
I heard it was? |
14:09 |
Calinou |
how come people can dig/build in my spawn since it's a protected area? |
14:09 |
Calinou |
the areas priv does that? |
14:10 |
|
theTroy joined #minetest |
14:11 |
Calinou |
yes it does |
14:11 |
Out`Of`Control |
Calinou: looks its open https://github.com/minetest/minetest/pull/4127 |
14:34 |
|
Telesight joined #minetest |
14:34 |
|
KaadmY joined #minetest |
14:34 |
|
PseudoNoob joined #minetest |
14:54 |
Krock |
aix, I'm sad. My house is gone :( |
14:54 |
aix |
i had backups but i couldn't remember the coordinates |
14:54 |
aix |
sorry |
14:54 |
aix |
i still have backups |
14:54 |
aix |
how much do you want the house? |
14:54 |
Krock |
how much data is it? |
14:55 |
Krock |
10 MB? |
14:55 |
aix |
105M |
14:55 |
aix |
wait |
14:55 |
Krock |
holy shit |
14:55 |
aix |
what date |
14:55 |
aix |
thats all of them |
14:55 |
aix |
there's 5 backups |
14:55 |
aix |
wait no |
14:55 |
aix |
fuck they're huge |
14:55 |
Krock |
1 momdng |
14:55 |
aix |
https://sr.ht/Ev32.txt |
14:55 |
|
whitephoenix joined #minetest |
14:56 |
Krock |
160725 |
14:56 |
Krock |
(or a day later) |
14:56 |
|
aheinecke_ joined #minetest |
14:57 |
Krock |
105 MiB are quite much. Going to rebuild it then |
14:57 |
aix |
sec |
14:57 |
Out`Of`Control |
.we file 105 mb? |
14:57 |
Krock |
^ no, it's the complete map |
14:58 |
Out`Of`Control |
lucky you, my map is 25 GiB |
14:58 |
Out`Of`Control |
wonder how to make it smaller |
14:58 |
Krock |
it's a nwe server so it will grow fast :) |
14:58 |
Krock |
you could cut off all blocks outside 5000m |
14:59 |
Out`Of`Control |
with what tool? |
14:59 |
aix |
what coords? |
14:59 |
aix |
Out`Of`Control: use leveldb |
14:59 |
Krock |
Out`Of`Control, would require a special tool |
14:59 |
aix |
fun fact |
14:59 |
Out`Of`Control |
map is sqlite |
14:59 |
aix |
copy-pasting two leveldb worlds on top of each other causes the maps to merge |
14:59 |
Krock |
yes, it looks horribly |
15:00 |
aix |
Krock: coords |
15:00 |
Out`Of`Control |
Krock: can you name a tool? |
15:00 |
Out`Of`Control |
so i can play with backup |
15:00 |
aix |
was it in the snow |
15:00 |
Krock |
Out`Of`Control, Not-Made-Yet by Do-it-yourself corp |
15:00 |
Krock |
aix, 275 10 8 (approx) |
15:01 |
Krock |
Out`Of`Control, sorry but there are no such tools yet AFAIK |
15:01 |
Out`Of`Control |
Krock: scripts? |
15:01 |
|
proller joined #minetest |
15:02 |
Krock |
you'd need to read each database key and convert that 48-bit number into three 8-bit numbers |
15:02 |
Out`Of`Control |
i would nuke all under y - 10k |
15:02 |
Krock |
* into two 16-bit numbers |
15:02 |
aix |
nothing there at all |
15:02 |
Krock |
with some luck you can find a script on the forums |
15:02 |
Out`Of`Control |
yes!! |
15:03 |
aix |
script for what? |
15:03 |
aix |
use --migrate |
15:03 |
Krock |
migrate does not solve that problem |
15:03 |
Out`Of`Control |
aix: are there tools for leveldb to delete parts of map? |
15:03 |
Out`Of`Control |
i can migrate to leveldb then back to sqlite |
15:03 |
Krock |
aix, lolwhat? Using the backup from the 27th? |
15:03 |
aix |
no, the 25th |
15:03 |
aix |
trying 27th |
15:04 |
aix |
Out`Of`Control: uh why |
15:04 |
Krock |
oh right, it was built on late 25th |
15:04 |
|
hmmmm joined #minetest |
15:04 |
aix |
with leveldb it doesn't really matter |
15:04 |
Krock |
neither it does with sqlite3 - it can handle maps up to some gigabytes |
15:05 |
Krock |
redcrabs' map was something like 50 GB or more |
15:05 |
Out`Of`Control |
hah |
15:07 |
aix |
Krock: there's literally nothing here |
15:07 |
Krock |
aix, and around that position? This here doesn't looks like nothing: http://i.imgur.com/Ajt9iyL.gif |
15:08 |
aix |
when you made it what inventory did you use |
15:08 |
aix |
and was technic installed |
15:09 |
Krock |
I used the unified inventory |
15:09 |
Krock |
you were doing something with technic, I remember |
15:11 |
aix |
(279,16,8) from the logs |
15:11 |
aix |
this was on the 25th |
15:12 |
Krock |
that's close to what I said |
15:13 |
aix |
i'm gonna merge 25 and 27 then see what happens |
15:13 |
Krock |
eww |
15:14 |
aix |
trying now |
15:16 |
aix |
it ain't in the backups |
15:16 |
Krock |
these are very helpful backups |
15:16 |
aix |
must have nuked the world before i made a backup |
15:16 |
aix |
not sure |
15:19 |
|
est31 joined #minetest |
15:20 |
|
namach[Svet] joined #minetest |
15:23 |
|
DI3HARD139 joined #minetest |
15:27 |
|
Lunatrius joined #minetest |
15:35 |
yusf[m] |
Are vines possible in .14? |
15:37 |
yusf[m] |
I can’t get https://github.com/bas080/vines to work. |
15:43 |
yusf[m] |
I’ve tried both bas080 and HybridDog repo |
15:45 |
Krock |
"My printer dosnt work" |
15:45 |
sfan5 |
possible yes |
15:45 |
Krock |
In the contrary to the printer you have an error log to show us |
15:46 |
sfan5 |
if the mod doesn't work talk the mod authors |
15:55 |
aix |
oh, and Krock, usually i'd tell you to make a player note before banning someone or kicking them, but, can you only make the note if they have interact already, otherwise just ban their ass |
15:56 |
* Krock |
points at the /msg command in-game |
15:56 |
|
Zedicius joined #minetest |
16:00 |
|
Eater4 joined #minetest |
16:01 |
aix |
Krock: i'm lazy |
16:01 |
Krock |
switching the different windows takes more time |
16:01 |
Zedicius |
So, here's an annoying one. If you remove a node with on_rightclick, and your reti is also aiming at the node below it, the second node's on_rightclick triggers as well, though using the data of the node above it. |
16:02 |
aix |
Krock: not in awesomewm |
16:08 |
|
davisonio joined #minetest |
16:11 |
yusf[m] |
Krock sfan5 Yes, sorry. I just wanted to know whether it was abandoned or not. I shall do proper digging. |
16:14 |
aix |
lol there's a mod that provides an unknown item as a decoration block to troll people |
16:19 |
Out`Of`Control |
lol |
16:19 |
Out`Of`Control |
what mod is it? |
16:19 |
aix |
something in the dom modpack |
16:20 |
aix |
https://forum.minetest.net/viewtopic.php?f=11&t=5617 |
16:27 |
aix |
!seen Zen9 |
16:27 |
MinetestBot |
aix: Sorry, I haven't seen zen9 around. |
16:27 |
aix |
!seen Zeg9 |
16:27 |
MinetestBot |
aix: zeg9 was last seen at 2014-06-11 18:45:28 UTC on #minetest |
16:27 |
aix |
dayumn |
16:29 |
|
davisonio joined #minetest |
16:30 |
|
Void7_ joined #minetest |
16:33 |
|
Void7_ joined #minetest |
16:34 |
Zedicius |
Right, so I was wrong. For some reason the pos you get from on_rightclick is the node below the one you right click :/ |
16:54 |
|
Darcidride joined #minetest |
17:04 |
|
davisonio joined #minetest |
17:09 |
|
jin_xi joined #minetest |
17:10 |
|
Taoki joined #minetest |
17:11 |
|
teep joined #minetest |
17:11 |
|
proller joined #minetest |
17:16 |
aix |
https://github.com/HybridDog/nyanland/blob/master/portal.lua what does this portal look like? |
17:16 |
KaadmY |
aix: probably similar to MC's nether portals |
17:16 |
KaadmY |
seems like a ring of torches or something |
17:16 |
aix |
can't do that with sand |
17:23 |
|
Void7 joined #minetest |
17:23 |
|
thefamilygrog66 joined #minetest |
17:24 |
|
Szkodnix joined #minetest |
17:25 |
|
IhrFussel joined #minetest |
17:26 |
IhrFussel |
Why do the player files save some absurd positions instead of the real one? My map limit is 7,000 yet players are at 15,000,100,-1000 for example |
17:27 |
est31 |
IhrFussel, its multiplied by 10 |
17:27 |
Calinou |
(Irrlicht units) |
17:27 |
est31 |
irrlicht, really? |
17:27 |
IhrFussel |
All 3 or just the first one? |
17:27 |
est31 |
I've thought its more our fault |
17:27 |
est31 |
all three |
17:28 |
|
mdiehl1 joined #minetest |
17:28 |
IhrFussel |
So in reality they are at 1,500,10,-100? |
17:28 |
Calinou |
yeah |
17:28 |
est31 |
yes |
17:28 |
Calinou |
est31: BS is set to 10 |
17:28 |
Calinou |
it means "blocksize", or, in celeron55-land, "bullshit" :) |
17:28 |
est31 |
Calinou, I know that |
17:28 |
Calinou |
(he said that once) |
17:29 |
IhrFussel |
Okay thanks and how often do they update? |
17:29 |
est31 |
from time to time |
17:30 |
est31 |
but dont take these files for interfacing with external applications |
17:30 |
est31 |
the only time you should really modify or read them is when minetest is off |
17:31 |
mdiehl1 |
Hi all. |
17:31 |
mdiehl1 |
I'm having problems installing the mesecons mod. |
17:31 |
Void7 |
hi |
17:31 |
mdiehl1 |
It says it can't load/execute /home/mdiehl/.minetest/mods/mesecons/mesecons/init.lua |
17:31 |
IhrFussel |
Well a player was always dead and the player file HP said 0 so i edited it to 20 and now the player can play again |
17:31 |
mdiehl1 |
But the file is there. |
17:32 |
mdiehl1 |
Any ideas? |
17:33 |
|
theTroy joined #minetest |
17:34 |
Void7 |
no |
17:35 |
mdiehl1 |
Grrr! |
17:35 |
mdiehl1 |
When I run the lua interpreter on the file, I get the expected error about not being able to index the "mintest" global. this implies that the file is viable. |
17:36 |
sfan5 |
can you exactly copy-paste what minetest complains about? |
17:37 |
Void7 |
preferably with a pastebin :-) |
17:37 |
mdiehl1 |
Yes, "ERROR: ModError: Failed to load and run /home/mdiehl/.minetest/mods/mesecons/mesecons/init.lua |
17:37 |
mdiehl1 |
" |
17:38 |
mdiehl1 |
that's what it says when I try to start the game. |
17:38 |
Void7 |
what about the contents of debug.txt? |
17:40 |
sfan5 |
it should say more than just that |
17:41 |
mdiehl1 |
http://pastebin.com/qtLBsvjB |
17:42 |
sfan5 |
hmmmm |
17:42 |
sfan5 |
(oops, didnt mean to highlight) |
17:43 |
sfan5 |
which minetest version do you use, mdiehl1? |
17:43 |
|
juhdanad joined #minetest |
17:43 |
mdiehl1 |
0.4.9 |
17:44 |
KaadmY |
wow |
17:44 |
KaadmY |
that's ancient |
17:44 |
Void7 |
that might be the issue |
17:44 |
mdiehl1 |
Old? |
17:44 |
KaadmY |
yeah |
17:44 |
KaadmY |
it' |
17:44 |
Void7 |
s/might/probably |
17:44 |
KaadmY |
it's about 4 years old |
17:44 |
mdiehl1 |
OK. I'll go fetch an upgrade. |
17:44 |
Void7 |
newest is 0.4.14 |
17:44 |
mdiehl1 |
Sounds about right. |
17:44 |
mdiehl1 |
Will do. |
17:44 |
mdiehl1 |
thanks, all. |
17:45 |
|
STHGOM joined #minetest |
17:51 |
aix |
okay so i made some server management scripts |
17:51 |
aix |
https://sr.ht/7-qd.txt pretty simple and perhaps not worth sharing but useful nonetheless |
17:56 |
|
edaq joined #minetest |
17:59 |
|
davisonio joined #minetest |
18:00 |
|
Tmanyo joined #minetest |
18:00 |
|
STHGOM joined #minetest |
18:09 |
|
Pest joined #minetest |
18:30 |
mdiehl1 |
Upgrading did the trick. Thank you. |
18:30 |
|
davisonio joined #minetest |
18:34 |
|
endev15_ joined #minetest |
18:35 |
|
TGminer joined #minetest |
18:39 |
|
Zedicius_ joined #minetest |
18:50 |
|
est31 joined #minetest |
18:53 |
|
rubenwardy joined #minetest |
18:55 |
|
Void7 joined #minetest |
19:01 |
|
Markow joined #minetest |
19:07 |
|
shamoanjac joined #minetest |
19:09 |
|
Darcidride_ joined #minetest |
19:18 |
rubenwardy |
octacian, NodeJS is a server side technology just like PHP. With either of them you can make a page load new data without refreshing - just use client side javascript |
19:19 |
octacian |
In the end, I guess all that matters is that is is easy to mantain and run, as well as that it is not buggy but instead simple to use. |
19:19 |
rubenwardy |
exaclty |
19:19 |
rubenwardy |
It's a great learning exercise |
19:20 |
rubenwardy |
and even better, it's doing something useful to try and fill a hole which hasn't been filled yet |
19:20 |
octacian |
When it comes to frameworks, repeated code is one of my most hated enemies. About the only repeated code u see in most of my php pages is <?php include("footer.php") ?> |
19:20 |
octacian |
That wasn't even the right syntax, was it... |
19:20 |
rubenwardy |
HTML too |
19:20 |
|
theTroy joined #minetest |
19:20 |
octacian |
<?php |
19:20 |
octacian |
$title = "Home"; // page title |
19:20 |
rubenwardy |
although you could use include to duplicate HTML |
19:20 |
octacian |
include 'includes/header.php'; // include header |
19:20 |
octacian |
?> |
19:21 |
octacian |
That's what I do to include the header (& footer) rather than having mostly identical header and absolutely identical footer HTML on every page. |
19:23 |
octacian |
Actually though, that page is a fork of the official MT website, except using Apache & PHP instead of Jekyll |
19:32 |
Eater4 |
Hm |
19:32 |
octacian |
Yeah? |
19:33 |
|
Void7 joined #minetest |
19:39 |
|
SloanKloan joined #minetest |
19:41 |
|
mdiehl joined #minetest |
19:43 |
|
SloanOnLinux joined #minetest |
19:44 |
|
T4im joined #minetest |
19:46 |
Eater4 |
I might be able to help with the design. While the official site and the content database site should look similar, they should have more differences so the user wont get confused at witch site they are on. |
19:46 |
Eater4 |
brb |
19:46 |
Eater4 |
maybe |
19:46 |
T4im |
octacian: you are aware of the name clash with cdb (constant database) of Bernstein, though? |
19:47 |
octacian |
T4im: it's MinetestCDB though. Not just CDB. |
19:47 |
T4im |
ah |
19:49 |
|
Darcidride_ joined #minetest |
20:00 |
|
SloanOnLinux joined #minetest |
20:01 |
|
davisonio joined #minetest |
20:02 |
xunto |
Hi, guys. Is there a way to use another hash for passwords in authentication_handler? I'm trying to combine server's and website's authorization through shared database and it would be easier to use sha1, for example) |
20:03 |
octacian |
Eater4: Help would be appreciated. I myself am new to web design. That's what I tried to do on the homepage. Compare http://cdb.endev.xyz to http://minetest.net side by side. I think it is different, but maybe not different enough. |
20:09 |
|
nuzzle joined #minetest |
20:13 |
|
endev15_ joined #minetest |
20:14 |
|
alberttt joined #minetest |
20:19 |
|
CWz joined #minetest |
20:20 |
|
Tmanyo joined #minetest |
20:20 |
aix |
are bones locked to start with? |
20:20 |
octacian |
aix: by default, yes |
20:20 |
aix |
coolio |
20:20 |
octacian |
it can be changed in the configuration though. The time for which they are locked too. |
20:22 |
|
jojoa1997 joined #minetest |
20:27 |
|
GrimKriegor joined #minetest |
20:29 |
noslen |
The best survival server is empty :< |
20:30 |
Krock |
you can fix that by joining it |
20:30 |
noslen |
Krock: I don't want to join it |
20:30 |
Krock |
then the issue hasn't been resolved |
20:30 |
noslen |
Krock: Your argument is invalid, joining it doesnt make it less empty |
20:31 |
noslen |
Admins don't count |
20:31 |
Krock |
Arrays can be either be empty or not |
20:31 |
noslen |
Krock: I think you're trolling. |
20:31 |
Krock |
That's wrong, btw: https://frg.li/f8z |
20:32 |
noslen |
Like I said, you are a troll. |
20:34 |
Krock |
A ricktroll :P |
20:34 |
|
VargaD joined #minetest |
20:34 |
* noslen |
ignores Krock |
20:34 |
aix |
is there a bookmark mod which uses i+ that isn't server-wide? |
20:34 |
* Krock |
slaps noslen with /nick nolsen |
20:35 |
noslen |
I should enable auto-ghost. |
20:35 |
noslen |
Ghost those who nick to one of my names |
20:43 |
|
DraggonFantasy joined #minetest |
20:45 |
|
Void7 joined #minetest |
20:48 |
|
GrimKriegor joined #minetest |
20:48 |
|
octacian joined #minetest |
20:48 |
|
Zedicius joined #minetest |
20:49 |
|
TGminer joined #minetest |
21:05 |
|
redblade joined #minetest |
21:10 |
|
isaiah658 joined #minetest |
21:14 |
isaiah658 |
Could someone confirm or deny if this issue I posted about is a bug? https://forum.minetest.net/viewtopic.php?f=6&t=15176 |
21:14 |
isaiah658 |
I haven't gotten much of a response in the past few weeks and would like an answer if possible. |
21:16 |
|
theTroy joined #minetest |
21:21 |
|
Void7 joined #minetest |
21:27 |
|
est31 joined #minetest |
21:32 |
Void7 |
isaiah658: that's not a bug |
21:32 |
Void7 |
in fact, it's not really undocumented |
21:33 |
Void7 |
on_rightclick should return the new itemstack |
21:34 |
Void7 |
oh, wait, nevermind |
21:34 |
Void7 |
but it isn't a bug |
21:36 |
isaiah658 |
Why is it not though? Why would on_rightclick affect how an item is being added to the inventory in comparison to anything else such as on_punch? |
21:38 |
isaiah658 |
The on difference I can find on the wiki is that on_rightclick is a secondary callback instead of a primary. I don't know if that is why? |
21:38 |
Void7 |
it doesn't override how an item is being added |
21:38 |
Void7 |
it sets the wielded itemstack to what it was |
21:40 |
isaiah658 |
Here is a video someone posted just in case there is any confusion with I explained: https://www.youtube.com/watch?v=TxRo0pK6KKM |
21:40 |
Void7 |
i understand completely |
21:40 |
Void7 |
here's the problem: https://github.com/minetest/minetest/blob/master/builtin/game/item.lua#L335 |
21:41 |
Void7 |
note the "or itemstack" on the line after it |
21:42 |
Void7 |
you can work around it by saying 'minetest.after(0, function() inv:add_item("main", "default:dirt") end)' |
21:42 |
Void7 |
isaiah658: ^ |
21:42 |
|
miloszs joined #minetest |
21:43 |
T4im |
hm, the "or itemstack" there is really just a hack to work around mods not returning their own :/ |
21:43 |
T4im |
but if you return one yourself, that should be unimportant |
21:44 |
Void7 |
the problem is that minetest.add_item() can add it anywhere in the inventory |
21:44 |
isaiah658 |
Ahh yeah that's a good workaround. Thanks! |
21:45 |
Void7 |
no problem :) |
21:46 |
|
miloszs left #minetest |
21:51 |
Void7 |
here's the commit that did it: https://github.com/minetest/minetest/commit/9ff8012655f13269f33d406f024374c67b650a9a |
21:52 |
T4im |
again, that only is relevant for mods that don't comply with the api |
21:52 |
T4im |
it's a workaround :) |
21:52 |
Void7 |
yeah |
21:53 |
Void7 |
you could fix that by checking for a nil itemstack and not setting the wielditem |
21:54 |
T4im |
nil itemstacks are undefined though |
21:54 |
T4im |
or do you mean nil as in empty? |
21:55 |
aix |
https://sr.ht/1Jcs.png i probably should't like doing this but i do |
21:55 |
aix |
very much |
21:58 |
isaiah658 |
What does the "or itemstack" do exactly? Is that returning the leftover items that couldn't be added or? |
21:59 |
T4im |
it returns the leftover itemstack if the mod didn't |
21:59 |
T4im |
other mods sometimes do similar work arounds, others don't |
21:59 |
T4im |
(when passing on_rightclick through in a custom on_place for example= |
22:01 |
T4im |
in case of on_rightclick that's usually the wielded itemstack of the player |
22:02 |
T4im |
which you get passed as argument, too, unless you are called from a mod, which then can make things a bit awkward |
22:03 |
isaiah658 |
I think I get it now. Thanks for the explanation! :) |
22:05 |
T4im |
"if defined, itemstack will hold clicker's wielded item; Shall return the leftover itemstack" 1. you get an itemstack = wielditem, which can be nil, 2. you must return an itemstack (but what if it's nil? :| ) |
22:12 |
|
swift110 joined #minetest |
22:13 |
|
swift110 joined #minetest |
22:19 |
|
hisforever joined #minetest |
22:20 |
hisforever |
Is there a way to get color fonts on a sign? |
22:21 |
|
Void7 joined #minetest |
22:24 |
|
Yst joined #minetest |
22:36 |
rubenwardy |
hisforever, https://forum.minetest.net/viewtopic.php?t=13762 |
22:36 |
rubenwardy |
signs_lib support it |
22:36 |
rubenwardy |
see forum topic |
22:36 |
|
Lukc joined #minetest |
22:41 |
|
DMackey joined #minetest |
22:47 |
|
DonBatman joined #minetest |
23:09 |
|
TheReaperKing joined #minetest |
23:32 |
|
GrimKriegor joined #minetest |
23:51 |
|
DMackey- joined #minetest |
23:56 |
|
swift110 joined #minetest |
23:57 |
|
swift110 joined #minetest |