Time |
Nick |
Message |
03:16 |
|
Jordach joined #minetest-hub |
08:05 |
|
CWz joined #minetest-hub |
08:39 |
|
ShadowNinja joined #minetest-hub |
09:08 |
|
vesper joined #minetest-hub |
10:06 |
|
Fixer joined #minetest-hub |
10:47 |
|
lisac_ joined #minetest-hub |
11:06 |
|
nri joined #minetest-hub |
11:48 |
|
tacotexmex joined #minetest-hub |
11:53 |
|
lumberJ joined #minetest-hub |
12:53 |
|
MinetestSam joined #minetest-hub |
13:24 |
|
fluxflux joined #minetest-hub |
13:35 |
|
pyrollo joined #minetest-hub |
14:06 |
|
aerozoic joined #minetest-hub |
14:13 |
|
CWz joined #minetest-hub |
14:30 |
|
ANAND joined #minetest-hub |
14:46 |
|
MinetestSam joined #minetest-hub |
14:54 |
|
Ruslan1 joined #minetest-hub |
14:57 |
|
MinetestSam joined #minetest-hub |
14:57 |
|
MinetestSam joined #minetest-hub |
15:52 |
|
Megaf joined #minetest-hub |
16:01 |
|
Megaf joined #minetest-hub |
16:26 |
|
tomraceror joined #minetest-hub |
17:13 |
|
olliy2 joined #minetest-hub |
17:18 |
|
calcul0n joined #minetest-hub |
17:25 |
|
tomraceror joined #minetest-hub |
17:34 |
|
Krock joined #minetest-hub |
17:51 |
|
NoctisLabs joined #minetest-hub |
18:27 |
|
Ruslan1 joined #minetest-hub |
20:59 |
|
NoctisLabs joined #minetest-hub |
21:25 |
shivajiva |
anyone know how to access the player inventory slots item popup text to colourize it? |
21:25 |
sfan5 |
can you be more specific |
21:28 |
shivajiva |
I can modify the registered nodes description to change the colour of the text but that doesn't carry over to the players inventory slots when the item is in the inventory, I was wondering if that was accessible |
21:29 |
sfan5 |
colored text should work in description tooltips too |
21:29 |
sfan5 |
you aren't modifying the description at runtime, right? |
21:31 |
shivajiva |
erm yes if you mean the game is running |
21:34 |
shivajiva |
so the engine has a copy of the name outside of registered_nodes table? |
21:34 |
shivajiva |
or description as I assumed |
21:35 |
sfan5 |
what I mean is whether you modify it after all mods have loaded |
21:35 |
sfan5 |
the engine has a copy of everything registered through Lua |
21:35 |
shivajiva |
yes the test was done using WE lua command inside a running world |
21:36 |
sfan5 |
minetest.registered_{nodes,items,...} is just for Lua to look at |
21:36 |
sfan5 |
any changes are not "forwarded" to the engine, doing so would be unsupported anyway |
21:38 |
shivajiva |
I see :) |
21:38 |
shivajiva |
better if they were read only then? |
21:40 |
sfan5 |
you can of course still modify e.g. callbacks contained in there, since all of that happens on the Lua side |
21:40 |
sfan5 |
so it can't just be made entirely read-only |
21:43 |
shivajiva |
fair enough, minetestsam was looking to show rarity of certain items by colour for ctf |
21:48 |
sofar |
you can add itemstack metadata |
21:48 |
sofar |
thus manipulate the description |
21:48 |
sofar |
but, that has implications for stacks |
21:49 |
sfan5 |
you can use override_item to change the description after someone has already registered it |
21:49 |
sfan5 |
assuming rarity is not something that's dynamic while the game runs (?) |
21:49 |
shivajiva |
no at least that bit seems static in his concept |
21:49 |
sofar |
probably not |
21:51 |
shivajiva |
I just noticed changing the description proliferates so far within the inventory but not all the way to the players slots |
21:51 |
shivajiva |
hence the question |
21:56 |
shivajiva |
clearly the some part is read dynamically from the registered_nodes table |
21:56 |
shivajiva |
when constructing the formspec |
22:04 |
sfan5 |
mods might read from there when doing things |
22:04 |
sfan5 |
the engine *never* does |
22:17 |
shivajiva |
okay, thanks for the info :) |
22:51 |
shivajiva |
surprisingly easy with a bit of guidance |
22:56 |
TommyTreasure |
sfan5, i've been having a 'weird' server crash problem. it happened on 04.17.1, 5.0.1, and now on the 5.1.0 versions |
22:57 |
TommyTreasure |
seems to happen when certain mobile apps connect. the server will stop responding, and time out everyone currently logged in |
22:57 |
TommyTreasure |
htop shows 6 minetest processes running, and killing the processes needs to be done 3 to 4 times, before all processes are killed |
22:58 |
TommyTreasure |
any thoughts of where to look? i'm suspecting a mod to be the issue |
23:56 |
|
ANAND joined #minetest-hub |