Time |
Nick |
Message |
00:03 |
|
Noisytoot joined #minetest |
00:05 |
|
Eragon joined #minetest |
00:13 |
ireallyhateirc |
@luatic, you asked me once if adding morph targets to gltf would solve my problem and now I can tell for sure that morph targets would be helpful. It seems that the only way to export shape keys to a game engine is by morph targets |
00:14 |
ireallyhateirc |
that issue was more about UV animation but shape keys are a more basic need anyway |
02:02 |
|
liceDibrarian joined #minetest |
02:06 |
|
diceLibrarian2 joined #minetest |
02:27 |
|
cow321 joined #minetest |
02:38 |
|
SwissalpS joined #minetest |
02:44 |
|
SwissalpS joined #minetest |
03:01 |
|
TheCoffeMaker joined #minetest |
03:36 |
|
Verticen joined #minetest |
05:00 |
|
MTDiscord joined #minetest |
05:42 |
|
Kimapr joined #minetest |
06:13 |
|
YuGiOhJCJ joined #minetest |
08:22 |
|
Glaedr joined #minetest |
09:27 |
|
Meli joined #minetest |
09:31 |
MTDiscord |
<antumdeluge> What is the best way to remove a globalstep function from core.registered_globalsteps at runtime? I am working on a mod where a task can have an optional globalstep function. But once the task is completed I don't want it called anymore. |
09:33 |
|
jaca122 joined #minetest |
09:37 |
MTDiscord |
<antumdeluge> Since core.register_globalstep doesn't return an ID (at least the API docs don't say anything about it) & core.registered_globalsteps is a sequence-like table, it appears the only way to remove it is by index. But if the table's data is modified, the index potentially changes. |
09:45 |
MTDiscord |
<greenxenith> I dont think it is ever modified. But you could store a local reference to the function and check that the index you expect it to be at is the same function. And if it isnt, you could search the table for that function. (I dont believe register_globalstep copies the function but you should double-check just in case before implementing such a search) |
09:45 |
|
PoochInquisitor joined #minetest |
09:47 |
MTDiscord |
<greenxenith> I wonder if removing an index from registration tables breaks anything in the engine, if it is expecting contiguous lists :thinksmirk: |
09:50 |
MTDiscord |
<antumdeluge> In theory, deregistering should by done by setting the index to nil (core.registered_globalsteps[idx] = nil). That wouldn't prevent shifting the structure, correct? |
09:50 |
MTDiscord |
<antumdeluge> *would prevent |
09:51 |
MTDiscord |
<greenxenith> Yes (assuming the engine isnt relying on ipairs-like contiguous tables). |
09:52 |
MTDiscord |
<antumdeluge> Thank you @greenxenith. I will try it out. |
09:54 |
MTDiscord |
<greenxenith> Now, I would say obtaining the index should be as simple as #core.registered_globalsteps after registering the globalstep ... but if someone else did what you are doing (setting an index to nil), that would break 😓 So I am not entirely confident that nil is the best unregister method (perhaps = function() end instead?) |
09:55 |
MTDiscord |
<greenxenith> I am starting to think it might be better to register a single manager globalstep and handle everything within your mod |
09:56 |
MTDiscord |
<greenxenith> lua local my_callbacks = {} core.register_globalstep(function(...) for _, callback in pairs(my_callbacks) do callback(...) end end) my_callbacks["name_your_callbacks"] = function() --[[...]] end |
10:13 |
sfan5 |
if you want to get rid of anything use an empty function |
10:14 |
sfan5 |
but really don't do that unless you have to |
10:15 |
MTDiscord |
<greenxenith> An in-mod handler does in fact seem like the better choice, then |
10:16 |
sfan5 |
for the "once the task is completed I don't want it called anymore" either switch to using core.after or accept that you will have an useless global callback |
10:17 |
sfan5 |
the overhead of a callback that only does "if true then return end" is definitely negligible |
10:46 |
|
Talkless joined #minetest |
11:07 |
|
bodiccea joined #minetest |
11:16 |
|
Thermoriax_1 joined #minetest |
11:23 |
|
tarsovbak joined #minetest |
11:40 |
|
ireallyhateirc joined #minetest |
11:50 |
MTDiscord |
<antumdeluge> Thanks, I will do the in-mod handler. |
12:16 |
|
loggingbot_ joined #minetest |
12:16 |
|
Topic for #minetest is now The official Luanti (formerly Minetest) channel | General, player and modding discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: https://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: https://minetest.net/servers | IRC logs: https://irc.minetest.net/minetest |
12:16 |
ROllerozxa |
I guess one could say that the pidgeonhole principle is similar to it though |
12:19 |
ireallyhateirc |
it is, I was just surprised someone made an effort to put that joke into the dev wiki. I also found pics of celeron55 there lol |
12:20 |
ROllerozxa |
the "dev wiki" is in a bit of a flux at the moment |
12:21 |
ireallyhateirc |
I thought it was simply outdated, but it's more than that given the made up laws and pics of the dev |
12:22 |
ireallyhateirc |
pure comedy |
12:22 |
ROllerozxa |
we're working on moving all relevant non-MTG content from the regular wiki to it in an attempt to merge the two together |
12:22 |
ireallyhateirc |
sounds good |
12:24 |
ROllerozxa |
the end result is going to be some more wide spanning form of documentation site for luanti, but for the time being it's hosted under the old dev wiki subdomain as it was initially created from a dump of the relevant dev wiki contents |
12:27 |
ROllerozxa |
we've got the final content that was written for minetest_docs as well as my old voxelmanip wiki in there too. hopefully it will develop into something great in the future |
12:27 |
celeron55 |
who doesn't like it being a bit more personal. we don't have a corporate marketing department holding us down (yet) |
12:37 |
|
gregon joined #minetest |
12:39 |
ireallyhateirc |
celeron55, that's fine, I just wasn't expecting that :D |
12:40 |
ireallyhateirc |
my main issue with the wiki was that it was never helpful to me though |
12:42 |
ireallyhateirc |
browsing the wiki is a bizarre experience |
12:47 |
ireallyhateirc |
Luanti marketing department introduces: Luanti bedrock, Luanti realms, a store with paid mods and weekly voting for MTG features |
12:48 |
pgimeno |
hm, so core.registered_globalsteps is like a mafia, easy to get in but damn hard to get out |
12:50 |
pgimeno |
is it really a problem to shift indices? |
12:54 |
ireallyhateirc |
usually core.registered_<something> are read only if that's what you ask for. You can't edit these after mods finish loading |
12:58 |
pgimeno |
it's from a previous discussion, maybe you'll see it if you scroll up |
12:58 |
pgimeno |
ah never mind, you weren't here |
12:58 |
pgimeno |
https://irc.minetest.net/minetest/2025-01-18#i_6235689 |
13:16 |
ireallyhateirc |
the "can't unregister" is a persistent problem. Same thing is true for ABMs and LBMs. A trivial example is an ABM that makes soil wet when it rains. When it doesn't rain the most logical thing would be to unregister/pause the ABM but instead your only choice is to mend it with "if rains then return end" |
13:18 |
ireallyhateirc |
I think you should make one main globalstep for your mod that would serve as a scheduler for tasks defined by the user |
14:01 |
|
Guest77 joined #minetest |
14:03 |
Guest77 |
hey. Im trying to start a public sever from my pc, I read this https://dev.luanti.org/setting-up-a-server/ but I'm founding a errror sequence start in: HTTPFetch for servers.luanti.org/announce returned response code 409 |
14:04 |
Guest77 |
and Request has been filed, but the previous request encountered the following error: |
14:04 |
Guest77 |
and Server 2804:1b5c:11b2:a00:24d9:b6da:ce95:98a3 port 30002 did not respond to ping |
14:05 |
Guest77 |
I think the last line is my IPv6 but I didnt use IPv6 for anything |
14:06 |
|
gregon joined #minetest |
14:17 |
sfan5 |
did you specify a server_address? |
14:23 |
|
silverwolf73828 joined #minetest |
14:29 |
|
Guest82 joined #minetest |
14:29 |
Guest82 |
Im back sorry |
14:30 |
|
Guest82 joined #minetest |
14:30 |
Guest82 |
I lost the connection, sorry |
15:20 |
|
kamdard_ joined #minetest |
15:54 |
BuckarooBanzai |
to anyone that can maintain or admin the `letter` mod in the `minetest-mods` org: https://github.com/minetest-mods/letters/issues/4 and https://github.com/minetest-mods/letters/issues/8 can be closed |
16:20 |
|
nopjmp_ joined #minetest |
16:30 |
|
zleap joined #minetest |
16:30 |
zleap |
hi |
16:31 |
|
SFENCE joined #minetest |
16:31 |
zleap |
jusd playing luanti, I pressed something and am no longer in first person, seem be able to view back of character |
16:31 |
zleap |
can anyone help, not sure what I pressed to do this |
16:31 |
BuckarooBanzai |
try the "c" button |
16:32 |
BuckarooBanzai |
*key |
16:32 |
BuckarooBanzai |
the key mapping is also cutomizable somewhere in the menu (not sure where right now) |
16:34 |
zleap |
thanks |
16:35 |
zleap |
c works |
16:35 |
BuckarooBanzai |
nice |
16:35 |
BuckarooBanzai |
!next |
16:35 |
MinetestBot |
Another satisfied customer. Next! |
16:36 |
zleap |
How do I play this for 47 mins and not realise how much time has passed |
16:37 |
MTDiscord |
<luatic> controls can be configured in the pause menu: esc > controls |
16:37 |
BuckarooBanzai |
time works differently in luanti/minetest :D |
16:41 |
|
ireallyhateirc joined #minetest |
16:41 |
zleap |
yeah |
16:41 |
zleap |
a good way to kill a few hours eh |
16:43 |
|
SFENCE joined #minetest |
16:49 |
|
Verticen joined #minetest |
17:07 |
|
cow321 joined #minetest |
17:08 |
|
gregon joined #minetest |
17:18 |
MTDiscord |
<theidealist> yeah lol C is the default key to switch from first person to third person |
17:19 |
MTDiscord |
<theidealist> quick question, why is this even a built-in thing? and why can't games set which views are allowed |
17:21 |
|
shaft joined #minetest |
17:21 |
shaft |
I don't wanna say anything but I feel like the CBD packages haven't been reviewed in a week |
17:43 |
ireallyhateirc |
well that's unpaid devs for you. maybe you can bribe the devs with 40$ to do the review faster |
17:44 |
ireallyhateirc |
that said you can't really expect volunteers to do something *now* |
17:52 |
|
sparky4 joined #minetest |
18:15 |
MTDiscord |
<luatic> shaft: If the CBD packages haven't been reviewed in a week, you should contact the Cannabis Agency immediately. See https://www.bfarm.de/DE/Bundesopiumstelle/Medizinisches-Cannabis/Cannabisagentur/_node.html for further details. |
18:16 |
ireallyhateirc |
lol |
18:16 |
shaft |
i misspelled it again |
18:17 |
MTDiscord |
<warr1024> I mean when people say CBD in a luanti channel, it's pretty clear they're referring to the Luanti Content Batadase that rudenwarby operates... |
18:18 |
ireallyhateirc |
this is not a weed channel? how do I unsubscribe? |
18:33 |
BuckarooBanzai |
shaft: worked the cdb queue a bit and opened a thread in your package: you might need to clarify which "media" is CC-BY-SA 4.0 |
18:34 |
shaft |
All media that isn't licensed otherwise. Should I write that in the license file? |
18:34 |
ROllerozxa |
BuckarooBanzai: thanks for helping out :) |
18:35 |
BuckarooBanzai |
shaft: might be good |
18:35 |
ROllerozxa |
if all of the media except for the ones listed below under a different license are CC-BY-SA 4.0 and by davidthecreator, then it would be okay as-is |
18:35 |
BuckarooBanzai |
ROllerozxa: no problem, i've neglected my "job" a bit anyway :D |
18:36 |
ROllerozxa |
:D |
18:36 |
ROllerozxa |
(but it's always useful to clarify, I guess) |
18:36 |
BuckarooBanzai |
feel free to approve if you think it's ok 👍 |
18:36 |
ROllerozxa |
yeah I think it's good for approving |
18:39 |
shaft |
I specified it but since you already approved, it will stay on my git until the next update. |
18:39 |
ireallyhateirc |
btw does CDB allow realistic jiggle physics? |
18:39 |
shaft |
Why shouldn't it? |
18:41 |
ireallyhateirc |
it could fall under "Sexually-orientated content is not permitted. If in doubt at what this means, contact us by raising a report." |
18:41 |
BuckarooBanzai |
uhm, what would exactly jiggle in your mod? |
18:42 |
ireallyhateirc |
body parts of a character |
18:42 |
shaft |
I don't see how clothed breasts and butts not being static and hard as steel is sexual. |
18:42 |
ireallyhateirc |
yeah that's what I think |
18:43 |
ireallyhateirc |
I made sure to do some research to avoid overdoing the jiggle, so it basically looks like it would irl |
18:47 |
ROllerozxa |
if it's clothed and the jiggle is not overdone to the point where it becomes a sexual thing then that sounds like it should be completely ok |
18:47 |
ROllerozxa |
I mean it would be a realism thing at that point. it's like how artistic nudity, a la the Gallant statue (statue of David) in Animal Crossing, would be acceptable on ContentDB |
18:48 |
ireallyhateirc |
sounds good, it will take ~3 years before the game reaches a state when it's playable and can be on ContentDB |
18:48 |
shaft |
You can watch mothers breastfeed their children irl in public or look at naked people of all ages at the local lake. |
18:48 |
shaft |
Is all of that sex? |
18:48 |
ireallyhateirc |
well, I asked to avoid a surprise later |
18:52 |
shaft |
As long as CDB doesn't move hosting to that prude US state where they require video identification and id to view nudity online. |
18:54 |
shaft |
It's already rediculous how they self censor all swearwords with a beep or f***. Every time I hear that beep it feels bad to my ears. |
18:54 |
shaft |
It makes me feel unwell like if I just bit on something rotten? Anyone else feels like this? |
18:54 |
|
Meli joined #minetest |
18:55 |
ireallyhateirc |
Codeberg/Github could technically take down my game if they considered characters from my game saying a bad word "real" |
18:56 |
ireallyhateirc |
their ToS are quite vague and don't specify what's allowed in a fictional setting |
18:56 |
shaft |
Technically you can move to gitgud, if that happens, which has very permissive usage policy |
18:56 |
ireallyhateirc |
hmmm good to know |
18:59 |
shaft |
I read their policy and it was vaguely worded and could include my blood splatter mod. I think they won't care and it's just for justifying arbitrary decision since basically everything is banned but I prefered use gitgud from the start because of this. |
19:00 |
ireallyhateirc |
I asked them explicitly and got no response so I closed the issue, seems like they don't care until real harm is done |
19:01 |
ireallyhateirc |
Anyway, the game I'm working on is a horror which will get all CDB mature content labels (maybe without gambling) |
19:01 |
ireallyhateirc |
there not many horrors in the free software gaming landscape |
19:06 |
ireallyhateirc |
I'm going to make a mirror on GitGud, their ToS is super lax |
19:07 |
MTDiscord |
<luatic> damn i should finally release my rocket launchers |
19:16 |
|
qqe joined #minetest |
19:55 |
|
Leopold joined #minetest |
20:05 |
|
Meli joined #minetest |
20:29 |
|
germ joined #minetest |
21:09 |
|
fling joined #minetest |
21:21 |
|
jluc joined #minetest |
21:51 |
|
diemartin joined #minetest |
22:09 |
|
Desour joined #minetest |
22:10 |
|
OxEFF joined #minetest |
22:12 |
zleap |
hi |
22:12 |
|
OxEFF joined #minetest |
22:12 |
|
chilledfrogs joined #minetest |
22:14 |
|
OxEFF joined #minetest |
22:28 |
|
Thermoriax joined #minetest |
22:38 |
|
OxEFF joined #minetest |
22:38 |
|
OxEFF joined #minetest |
22:41 |
|
OxEFF joined #minetest |
22:41 |
|
OxEFF joined #minetest |
22:47 |
OxEFF |
really been itching to implement in-game programmable entities akin to computercraft turtles, but i don't really want to use lua. i'm thinking more a very minimal risc asm language |
22:49 |
OxEFF |
or maybe BASIC. don't know which route i want to take yet. |
23:03 |
jluc |
a scratch like UI would be nice |
23:08 |
OxEFF |
@jluc looks like someone else already did that. hadn't really been touched in a couple years though. https://content.luanti.org/packages/loosewheel/lwscratch/ |
23:33 |
|
panwolfram joined #minetest |