| Time |
Nick |
Message |
| 00:35 |
|
paramat joined #minetest-hub |
| 00:55 |
|
Ruslan1 joined #minetest-hub |
| 01:24 |
|
Tmanyo joined #minetest-hub |
| 01:24 |
|
ANAND joined #minetest-hub |
| 02:06 |
|
AndroBuilder_ joined #minetest-hub |
| 05:49 |
|
longerstaff13-m joined #minetest-hub |
| 05:54 |
|
Hillbilly joined #minetest-hub |
| 06:06 |
|
ssieb joined #minetest-hub |
| 06:39 |
|
lumberJ joined #minetest-hub |
| 06:42 |
|
nerzhul joined #minetest-hub |
| 06:53 |
|
shivajiva joined #minetest-hub |
| 07:06 |
|
lisac joined #minetest-hub |
| 08:49 |
|
Gael-de-Sailly joined #minetest-hub |
| 09:12 |
|
entuland joined #minetest-hub |
| 09:15 |
|
Ruslan1 joined #minetest-hub |
| 10:29 |
|
ANAND joined #minetest-hub |
| 11:14 |
|
ANAND joined #minetest-hub |
| 11:36 |
ANAND |
Hello, is it possible to store a node's meta within the meta of another node? |
| 11:36 |
|
sniper338 joined #minetest-hub |
| 11:42 |
|
sniper570 joined #minetest-hub |
| 11:48 |
rubenwardy |
:to_table and minetest.write_json |
| 11:48 |
rubenwardy |
two:set_string("other", minetest.write_json(one:to_table())) |
| 11:56 |
ANAND |
rubenwardy, and 'two' is an object of type meta? |
| 11:56 |
rubenwardy |
one and two are |
| 11:56 |
ANAND |
ok |
| 11:56 |
ANAND |
thanks! |
| 12:02 |
ANAND |
and how do I read back one from two? |
| 12:07 |
ANAND |
rubenwardy, ^ |
| 12:07 |
rubenwardy |
the inverse |
| 12:07 |
rubenwardy |
get_string / parse json / from table |
| 12:07 |
rubenwardy |
gtg |
| 12:08 |
ANAND |
ah parse_json |
| 12:08 |
ANAND |
I was looking for read_json |
| 12:08 |
ANAND |
thanks again! |
| 12:22 |
ANAND |
Another question, is a node's meta bound to the node itself or is it just bound to the pos? |
| 12:30 |
|
Mr_Pardison joined #minetest-hub |
| 12:35 |
|
behalebabo joined #minetest-hub |
| 12:52 |
|
Ruslan1 joined #minetest-hub |
| 13:05 |
Mr-Pardison |
So, I was running MT from the terminal last night to see what errors it threw up when the SFINV page for adding a player to the bounty list was clicked since it currently crashes when you do so. Here's a screenshot of it: https://pasteboard.co/Hli6xFV.png |
| 13:06 |
Mr-Pardison |
Any ideas on why this is happening, what the last few lines of error mean and how to solve it? |
| 13:12 |
Calinou |
hi :) |
| 13:12 |
Calinou |
I added Minetest to https://github.com/Calinou/scoop-games a few minutes ago |
| 13:12 |
longerstaff13 |
o/ |
| 13:12 |
Mr-Pardison |
Cello Calinou |
| 13:12 |
Calinou |
I can't make it available in the PATH though, since specifying the configuration file path is not possible here |
| 13:13 |
Calinou |
I wish Minetest defaulted the configuration file path to a saner place on Windows :P |
| 13:13 |
Mr-Pardison |
Windows itself isn't sane IMO |
| 13:14 |
ThomasMonroe |
meh it isn't that terrible if you use MinGW, but if you use VS it's a pain in the wazoo |
| 13:17 |
Calinou |
it's purely a packaging/path handling issue here |
| 13:17 |
Calinou |
the problem isn't on Windows' side |
| 13:17 |
|
srifqi joined #minetest-hub |
| 13:18 |
srifqi |
Hey! |
| 13:18 |
Mr-Pardison |
!yeH |
| 13:18 |
Calinou |
hi :) |
| 13:19 |
ThomasMonroe |
heya Calinou |
| 13:24 |
|
Fixer joined #minetest-hub |
| 13:41 |
ANAND |
Quick question, is a node's meta bound to the node itself or is it just bound to the pos? |
| 13:44 |
srifqi |
I think it bounds to both position and node name. |
| 13:48 |
ANAND |
what if a node with meta is replaced by another node? Is the meta gone? |
| 13:49 |
ANAND |
there's the minetest.swap_node() function |
| 13:49 |
ANAND |
which swaps nodes while the meta remains intact |
| 13:49 |
ANAND |
but shouldn't a node's meta be bound to the node itself? |
| 13:51 |
srifqi |
IDK actually. (^_^" |
| 13:52 |
srifqi |
So, it bounds to position? |
| 14:06 |
Mr-Pardison |
so, anyone have an answer to why my game is crashing when I click on the bounty hunting tab? I posted a screenshot above. |
| 14:19 |
|
CWz joined #minetest-hub |
| 14:21 |
ANAND |
Mr-Pardison, a peek at your code would certainly help point out the error faster :) |
| 14:22 |
Mr-Pardison |
one moment. |
| 14:24 |
Mr-Pardison |
https://github.com/cordial-cobra/Bounty_Hunting/pull/2/files |
| 14:24 |
ANAND |
one moment :P |
| 14:32 |
ANAND |
Mr-Pardison, when exactly do you get that error? |
| 14:33 |
Mr-Pardison |
When I click on the Add Bounty tab. |
| 14:33 |
ANAND |
ok |
| 14:35 |
ANAND |
Looks like ChatCmdBuilder is a dependency |
| 14:36 |
Mr-Pardison |
and I have that enabled. |
| 14:36 |
ANAND |
The better way is to bundle ChatCmdBuilder's init.lua with the mod itself, renaming it as chatcmdbuilder.lua |
| 14:37 |
Mr-Pardison |
ah. |
| 14:37 |
* Mr-Pardison |
makes a note of that. |
| 14:37 |
ANAND |
https://rubenwardy.com/minetest_modding_book/en/chapters/chat_complex.html#installing-chatcmdbuilder |
| 14:37 |
Mr-Pardison |
That's what I referenced for making the chat cmds |
| 14:38 |
ANAND |
:) |
| 14:38 |
|
Mr_Pardison joined #minetest-hub |
| 14:39 |
Mr-Pardison |
hopping from here. |
| 14:41 |
|
sniper570 joined #minetest-hub |
| 14:43 |
Fixer |
https://gfycat.com/UnawareYellowishHake Minetest will never have this :} |
| 14:45 |
ANAND |
XD |
| 14:45 |
ANAND |
Wow cool |
| 14:47 |
ANAND |
Mr-Pardison, here's what I get after finally installing ChatCmdBuilder: |
| 14:47 |
ANAND |
attempt to index global 'sfinv' (a nil value) |
| 14:48 |
Mr-Pardison |
so, localize sfinv or what? |
| 14:49 |
ANAND |
We could just dofile it, but my question is how do you even get the game started |
| 14:49 |
ANAND |
? |
| 14:49 |
ANAND |
My game simply refuses to load without fixing this |
| 14:49 |
Mr-Pardison |
Well, for the most recent one, I ran it from the terminal. |
| 14:49 |
Mr-Pardison |
let me check the mods I have enabled. |
| 14:50 |
ANAND |
I'll get it to work somehow and make a PR if that's ok... |
| 14:50 |
* rdococ |
gives Mr-Pardison a bucket of anomalous supercritical water modified to remain in a supercritical state |
| 14:50 |
Mr-Pardison |
that's fine with me as I appreciate the help. |
| 14:50 |
ANAND |
OK then, afk |
| 14:51 |
Mr-Pardison |
so, I have the chatcmdbuilder library enabled, along with the mod itself. |
| 14:53 |
Mr-Pardison |
For the required depends, I put sfinv and inventory_plus but I think I will take out the SFINV as a required depend. |
| 14:53 |
* Mr-Pardison |
sighs |
| 14:59 |
ANAND |
Mr-Pardison, what's with the /bounty function? |
| 14:59 |
ANAND |
Does that need any help? |
| 15:00 |
Mr-Pardison |
1 sec |
| 15:00 |
Mr-Pardison |
I'll pull the files up on the USB drive I have to make it easier for myself. |
| 15:00 |
ANAND |
k |
| 15:01 |
Mr-Pardison |
Turns out, I already have the chatcmdbuilder file in the folder itself but didn't upload it. |
| 15:02 |
ANAND |
Use a Desktop client or the git bash to upload the whole repo |
| 15:02 |
Mr-Pardison |
k |
| 15:02 |
ANAND |
Uploading individual files is a literal pain |
| 15:03 |
Mr-Pardison |
yeah. |
| 15:04 |
ANAND |
I also get this: attempt to index global 'default' (a nil value) |
| 15:04 |
Mr-Pardison |
arggghhhh |
| 15:05 |
ANAND |
How did the game even load for you? |
| 15:05 |
Mr-Pardison |
Trying to create a PR but GitHub won't even work with me right now. |
| 15:07 |
* Mr-Pardison |
whacks github with a telephone pole made of tungsten |
| 15:09 |
|
Krock joined #minetest-hub |
| 15:09 |
Mr-Pardison |
sup Krock |
| 15:09 |
Krock |
hi Mr-Pardison |
| 15:09 |
Krock |
provided some Raycast example for https://github.com/minetest/minetest/issues/7317#issuecomment-389200128 |
| 15:09 |
ANAND |
Ideally sfinv should work even without a dofile... I'll check other mods to see how they've managed to work with sfinv |
| 15:10 |
Mr-Pardison |
k. |
| 15:10 |
longerstaff13 |
o/ Krock |
| 15:11 |
longerstaff13 |
and Mr-Pardison |
| 15:11 |
Krock |
o/ longerstaff13 |
| 15:12 |
Mr-Pardison |
So, I have a texture for unified_inventory but I am not using that right now since I am focusing on making the mod work right before I get to that. |
| 15:12 |
ANAND |
Yes, get it working first, and then you can proceed to beautify it... :) |
| 15:13 |
ANAND |
Mr-Pardison, https://github.com/rubenwardy/email/blob/master/init.lua#L138 |
| 15:14 |
Mr-Pardison |
https://github.com/cordial-cobra/Bounty_Hunting/pull/3 |
| 15:14 |
Mr-Pardison |
that's the branch with all the files from the USB drive folder where I have it stored. |
| 15:14 |
ANAND |
ok |
| 15:18 |
Out`Of`Control |
\0 |
| 15:18 |
ANAND |
o/ |
| 15:24 |
ANAND |
Mr-Pardison, why does this mod depend on sauth, irc and irc_chatcommands? |
| 15:24 |
ANAND |
Oh finally! This version of the code works |
| 15:25 |
ANAND |
game loaded |
| 15:25 |
Mr-Pardison |
sauth is for a player db. irc and irc_chatcommands is for someone on a survival server who has the ability to run a command from the irc to add a player to the bounty list. |
| 15:26 |
ANAND |
irc and irc_chatcommands dependencies not needed |
| 15:26 |
Mr-Pardison |
they are optional. |
| 15:27 |
ANAND |
If irc and irc_chatcommands exist, they will automatically work with !cmd <in-game_command> |
| 15:27 |
ANAND |
where in-game_command can be any registered command |
| 15:28 |
ANAND |
no need for the mod to depend on irc for that, even if it's optional |
| 15:28 |
Mr-Pardison |
so, if you register an in-game command, then they are automatically registered with irc? |
| 15:28 |
ANAND |
yes |
| 15:29 |
Mr-Pardison |
removed those from the depends.txt |
| 15:29 |
ANAND |
irc_chatcommands is the specific module that handles in-game commands |
| 15:29 |
ANAND |
Quick question: A player can be set as bounty only if they're online? |
| 15:30 |
ANAND |
Or will the bounty persist across multiple logins? |
| 15:30 |
Mr-Pardison |
I was thinking of that but would probably be better to go with offline as well. |
| 15:30 |
ANAND |
If it's not persistent, players would just re-log to get rid of the bounty on their head |
| 15:31 |
ANAND |
still doesn't need sauth though |
| 15:31 |
Mr-Pardison |
It will persist across logins and the bounty will only be removed once they are dead (still need to add that in) in a PvP attack. |
| 15:31 |
ANAND |
ok good |
| 15:32 |
ANAND |
the lua api has inbuilt functions for checking if a given player name is a valid player on the server |
| 15:32 |
ANAND |
no need for sauth |
| 15:33 |
ANAND |
Also, tell me more about the /bounty command and why it has been commented out? |
| 15:33 |
ANAND |
s/?/. |
| 15:34 |
Mr-Pardison |
un momento. |
| 15:34 |
ANAND |
k |
| 15:34 |
ANAND |
I could implement that myself if you're ok with it |
| 15:34 |
Mr-Pardison |
Oh. |
| 15:34 |
ANAND |
since I'm making a PR anyway |
| 15:34 |
Mr-Pardison |
It's commented out since I used the chatcmdbuilder to make it. |
| 15:34 |
ANAND |
ah ok |
| 15:34 |
|
Jordach joined #minetest-hub |
| 15:34 |
ANAND |
so no need? |
| 15:34 |
Mr-Pardison |
no need for it. |
| 15:35 |
ANAND |
ok |
| 15:35 |
ANAND |
afk for some time |
| 15:35 |
Mr-Pardison |
I'll remove it to clear it up. |
| 15:35 |
Mr-Pardison |
'ello Jordach |
| 15:47 |
xerox123_ |
o/ |
| 15:47 |
Mr-Pardison |
\o |
| 16:05 |
|
DI3HARD139 joined #minetest-hub |
| 16:07 |
rubenwardy |
ANAND: meta data is data about the node, not the node itself |
| 16:09 |
rubenwardy |
Mr-Pardison: you never return anything in get |
| 16:09 |
Mr-Pardison |
data about data. ah, the levels of complication. |
| 16:09 |
Mr-Pardison |
rubenwardy: hold that thought. |
| 16:09 |
Mr-Pardison |
have to hop from here will brb |
| 16:10 |
|
greeter joined #minetest-hub |
| 16:10 |
|
Mr_Pardison joined #minetest-hub |
| 16:10 |
Mr_Pardison |
you were saying? |
| 16:11 |
rubenwardy |
you need to return the formspec string in get |
| 16:11 |
rubenwardy |
return sfinv.make_formspec(player, context, formspec, false) |
| 16:11 |
Mr_Pardison |
ah. |
| 16:20 |
ANAND |
rubenwardy, I figured it out thanks |
| 16:24 |
|
paramat joined #minetest-hub |
| 16:24 |
|
lisac joined #minetest-hub |
| 16:28 |
paramat |
ANAND metadata is bound to a pos 'local meta = minetest.get_meta(pos)'. 'set/remove node' delete metadata for the pos when the node is changed, 'swap node' doesn't delete metadata for the pos when the node is changed |
| 16:36 |
|
aerozoic joined #minetest-hub |
| 16:44 |
|
Jordach joined #minetest-hub |
| 16:47 |
|
twoelk joined #minetest-hub |
| 16:56 |
|
IhrFussel joined #minetest-hub |
| 17:33 |
Krock |
Player callback, mod.conf format, extending maximal breath & health per player mod: https://github.com/SmallJoker/upgrade_packs |
| 17:34 |
Krock |
And ofc, requires latest 0.5.0-dev to ensure it's working :) |
| 17:43 |
rubenwardy |
nice |
| 17:46 |
* rubenwardy |
spies some print(dump()) |
| 17:46 |
Krock |
to be gone soon (TM) |
| 17:52 |
Krock |
but yet I have to figure out why the health is reset to 20 HP on join |
| 18:16 |
twoelk |
so one doesn't starve before being able to act on spawning? although 20 is a lot, so probably not happening on purpose |
| 18:16 |
Mr_Pardison |
'ello twoelk |
| 18:16 |
twoelk |
o/ |
| 18:17 |
* twoelk |
just left a server with little health and food left and will probably die on join |
| 18:18 |
Mr_Pardison |
well, that's life for ya. |
| 18:39 |
Fixer |
after some playing in minecraft I realised minetest mobs are super weak and whole thing is unbalanced |
| 18:41 |
paramat |
MT mob mods are mostly not very good, especially the models |
| 18:43 |
paramat |
if MTG does mobs they'll be higher quality |
| 18:45 |
|
Jordach joined #minetest-hub |
| 18:45 |
* twoelk |
wonders what makes models high quality |
| 18:45 |
Mr-Pardison |
^ same |
| 18:52 |
Krock |
twoelk, it's some player:set_properties which limits the HP of the player because the properties could maybe re-define a new HP maximum |
| 18:53 |
Krock |
probably it would be best to remove that limit and simply don't allow increasing the HP when it's over the maximum |
| 18:53 |
paramat |
by 'quality' i mean generally, the models will have a more suitable design: no high res models that look like they're from another game |
| 18:54 |
paramat |
more in character with the player model |
| 18:55 |
twoelk |
I'm all for a more cubic approach |
| 18:55 |
Mr-Pardison |
so, generic but still looks good like there has been time and effort put into making it? |
| 18:56 |
|
ssieb joined #minetest-hub |
| 19:04 |
twoelk |
I wonder how difficult it would be to make something like spore for voxel games |
| 19:12 |
twoelk |
gtg |
| 19:12 |
|
twoelk left #minetest-hub |
| 19:14 |
|
Gael-de-Sailly joined #minetest-hub |
| 19:46 |
|
Jordach joined #minetest-hub |
| 19:51 |
Fixer |
animation and textures |
| 19:52 |
Fixer |
hard to play minecraft after fighting mobs in minetest :} easy die literally |
| 19:59 |
Fixer |
fuck dropbox |
| 20:01 |
Shara |
Fixer: that's just fault of mods setting default values too low |
| 20:01 |
Fixer |
Shara: possibly, but I want proper defaults |
| 20:01 |
Shara |
especailly if you also have armour |
| 20:02 |
Shara |
may as well be immune |
| 20:02 |
Fixer |
even with armour lots of mobs deal no damage to me, they only annoy you |
| 20:02 |
Shara |
Well, unless some update messed it up, I can tell you you'd die fast on Dark Lands... |
| 20:02 |
Mr-Pardison |
That's why I like DarkLands. Even with good armor on, you still take a reasonable amount of damage. |
| 20:03 |
Shara |
I remember some players getting mad because they did not expect mobs to even damage them. |
| 20:03 |
Mr-Pardison |
lol |
| 20:03 |
Shara |
Best armour is more like a minimal requirement for the deep caves, than a way to ignore damage. |
| 20:03 |
Shara |
But I've hardly seen any servers trying to balance this |
| 20:03 |
Mr-Pardison |
or even in a cavern you dug out that spawns mobs. |
| 20:43 |
|
Ruslan1 joined #minetest-hub |
| 20:50 |
|
Jordach joined #minetest-hub |
| 21:11 |
|
paramat joined #minetest-hub |
| 21:45 |
Fixer |
https://www.youtube.com/watch?v=_3iHV0NvLPI |
| 21:58 |
|
Jordach joined #minetest-hub |
| 22:13 |
|
ssieb joined #minetest-hub |
| 22:21 |
|
benrob0329_ joined #minetest-hub |
| 22:22 |
benrob0329_ |
o/ |
| 22:25 |
|
DI3HARD139 joined #minetest-hub |
| 22:29 |
Fixer |
HEY, LITTLE DRUM! |
| 22:38 |
|
Fixer joined #minetest-hub |
| 22:50 |
Fixer |
just look at this neat map https://youtu.be/7kYOl62w1fc?list=PLQDo59MddgIfzKGOmHDu7iGLEEbw800C9&t=453 |
| 23:05 |
paramat |
but it's MC :/ |
| 23:25 |
entuland |
eheheh, you could still rebuild / import it in minetest, the other way around would be quite trickier :P |
| 23:30 |
ircSparky |
im trying to make a node dissapear after a certain amount of time with a node timer, but the elapsed does not seem to be resetting |
| 23:30 |
ircSparky |
the timer is mostly being started in a node that is outside the ABM range |
| 23:31 |
ircSparky |
also the elapsed dosnt seem to be local to the node |
| 23:32 |
ircSparky |
is there a trick to do it right? I'm already using minetest.get_voxel_manip():read_from_map(pos, pos) |
| 23:43 |
paramat |
maybe host the code somewhere so people can look? |
| 23:45 |
ircSparky |
https://paste.ubuntu.com/p/GyFzc7245h/ |
| 23:46 |
ircSparky |
it works just fine id i do one right next to me |
| 23:46 |
ircSparky |
if* |
| 23:48 |
ircSparky |
going away after 30 seconds |
| 23:54 |
ircSparky |
when an airdrop goes somewhere farther away the node deletes as soon as you go near it |
| 23:55 |
|
srifqi left #minetest-hub |
| 23:55 |
ircSparky |
i think the elapsed it shows is basically how long the server has been up |
| 23:56 |
ircSparky |
nvm its not |
| 23:57 |
ircSparky |
no idea what it is |