Time |
Nick |
Message |
00:36 |
|
[MTMatrix] joined #minetest |
00:44 |
|
Chis27 joined #minetest |
01:04 |
|
smk joined #minetest |
01:17 |
|
YuGiOhJCJ joined #minetest |
01:24 |
|
izzyb joined #minetest |
01:52 |
|
fling joined #minetest |
02:31 |
Swift110-mobile |
Sup folks |
02:43 |
|
fling_ joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
04:31 |
|
fling joined #minetest |
05:21 |
|
liceDibrarian joined #minetest |
06:26 |
|
calcul0n joined #minetest |
06:29 |
|
calcul0n joined #minetest |
06:48 |
|
Lesha_Vel joined #minetest |
06:51 |
|
Talkless joined #minetest |
07:18 |
|
yunfan87 joined #minetest |
07:19 |
yunfan87 |
help, i want to fix a hopper mod problem, but i found that when i use minetest.get_object_in_area API when hopper has item droped above it, the API returns nothing |
07:20 |
yunfan87 |
so which api should i use when i want to detect items drops in some position? |
07:29 |
|
Alnotz joined #minetest |
07:30 |
sfan5 |
that's the correct api |
07:31 |
yunfan87 |
sfan5: but that API dont return any thing even after i throw some items in that position |
07:32 |
yunfan87 |
also i only want to check in 1 node , so i gave the two parameters the same pos |
07:38 |
yunfan87 |
and again, i found a interesting things,that after i throw items in that position, the registered abm function seems not be triggerd again , if i went there and take the item , the abm function triggerd again |
07:39 |
yunfan87 |
looks like some method was stuck inside the function |
07:43 |
yunfan87 |
that might be the real problem. after i throwed item in that position, the registered abm function wont trigger again |
07:43 |
yunfan87 |
and when i take the item back, the abm function will be trigger again |
07:48 |
sfan5 |
if you pass the same position twice it will only find something if there is an object at exactly that position down to the decimal places |
07:49 |
sfan5 |
if you ask for {x=1.2, y=2.7, z=1.03456} it won't return an object at {x=1.2, y=2.7, z=1.03457} |
07:50 |
sfan5 |
in different words: the precision is higher than nodes |
07:50 |
yunfan87 |
ok but then i change the area to (posunder, pos) |
07:51 |
yunfan87 |
it also dont works, also now i found the problem is abm function wont be triggered as i decribed above |
07:51 |
yunfan87 |
is it a bug? |
07:51 |
sfan5 |
no, then it's still empty |
07:51 |
|
Talkless joined #minetest |
07:53 |
sfan5 |
you need something like get_objects_in_area(vector.add(pos, -0.5), vector.add(pos, 0.5)) |
07:55 |
yunfan87 |
sfan5: you dont understand, the problem now is that whole abm function wont be triggered after i throw items in the position |
07:55 |
yunfan87 |
if i take back the item, it will be triggered again and again |
07:56 |
yunfan87 |
the effect just like the hopper been disabed by redpower active |
08:01 |
yunfan87 |
ah, i solve the problem , that's not a bug, the abm function wont triggered because i had put a pressure plate which will be active when i throw item in that position and cause the trigger paused |
08:02 |
yunfan87 |
but after i remove the pressure plate and use vector.add staff, its still return nothing by using get_objects_in_area |
08:23 |
erle |
yunfan87, how about yo make a nice small mod that is a test case and then you show it |
08:23 |
erle |
ideally with comments in the code |
08:24 |
|
mrkubax10 joined #minetest |
08:28 |
yunfan87 |
sfan5: interesting, another similar api could found the item, which is get_objects_inside_radius |
08:28 |
yunfan87 |
but that effects is not what i want |
08:28 |
yunfan87 |
erle: i will do that when i have time |
08:31 |
yunfan87 |
i think i could use this get_objects_inside_radius and do a filtering |
08:37 |
erle |
well if you provide the test case you could actually convince people |
08:37 |
erle |
because right now i am not convinced you are holding the thing right |
08:38 |
erle |
best case: people say how to modify the test case so it works |
08:38 |
erle |
the engine is buggy sometimes, but mod coders produce a lot more bugs |
08:45 |
yunfan87 |
also i found the coordinate has differents in y |
08:45 |
|
appguru joined #minetest |
08:59 |
erle |
yunfan87 just make a small test case, upload it somewhere, e.g. https://mister-muffin.de/paste and then talk again |
08:59 |
erle |
surely either people will see a bug or tell you how to do it right |
09:10 |
yunfan87 |
erle: i just fixed that |
09:10 |
yunfan87 |
erle: also the api document is not friendly to me, |
09:51 |
yunfan87 |
also why there is not any event bus stuff in minetest's API? erle staceee |
09:53 |
|
TomTom joined #minetest |
09:57 |
erle |
yunfan87 wdym event bus |
10:03 |
|
imi joined #minetest |
10:21 |
rubenwardy |
yunfan87: Minetest uses individual callbacks rather than a single event bus |
10:22 |
rubenwardy |
minetest.register_on_thing is basically an event bus |
10:23 |
rubenwardy |
are you asking for a central event bus or a callback API with more sugar |
10:24 |
rubenwardy |
(for the latter, instead of minetest.register_on_joinplayer(callback) you might have minetest.on_joinplayer.connect(callback) ) |
10:24 |
rubenwardy |
(where minetest.on_joinplayer is some eventbus object) |
10:25 |
rubenwardy |
(this is mostly unnecessary) |
10:34 |
|
s20 joined #minetest |
10:41 |
|
calcul0n_ joined #minetest |
10:53 |
|
Noisytoot joined #minetest |
10:59 |
erle |
yunfan87 i am not a staceee, nor am i a ched hehe |
11:00 |
staceee |
I'm a random, stop pinging me please :D |
11:01 |
erle |
staceee you think you have it back? in some other channel i am there is a person with the nick “she” |
11:01 |
erle |
the highlights are hilarious |
11:01 |
erle |
back → bad |
11:01 |
erle |
damn i slur my words online |
11:15 |
|
fling joined #minetest |
11:28 |
|
fling joined #minetest |
11:35 |
|
Desour joined #minetest |
11:50 |
|
definitelya joined #minetest |
12:10 |
|
Trifton joined #minetest |
12:19 |
|
Thelie joined #minetest |
13:21 |
|
jaydemir joined #minetest |
13:21 |
|
jaydemir left #minetest |
13:23 |
|
[MTMatrix] joined #minetest |
13:23 |
|
rod_tout_court joined #minetest |
13:29 |
|
mrkubax10 joined #minetest |
14:00 |
|
[MTMatrix] joined #minetest |
14:11 |
|
[MTMatrix] joined #minetest |
14:14 |
erle |
anyone of you going to MRMCD? |
14:20 |
Thelie |
I am actually, but I'm not really that active here ;) |
14:24 |
erle |
i am considering it |
14:24 |
erle |
but don't know where to sleep |
14:24 |
erle |
hostel would be booooooring |
14:24 |
erle |
unless other nerds there too |
14:29 |
|
Desour joined #minetest |
14:32 |
Thelie |
I don't know how it's with MRMCD, but when I was at the youth hostel (aka Jugendherberge) for GPN, all people in my room were also there for GPN. |
14:33 |
Thelie |
But honestly I just went there to sleep, so I didn't care too much apart from my bed… |
14:36 |
erle |
i wonder if appguru goes |
14:43 |
|
[MTMatrix] joined #minetest |
14:55 |
|
[MTMatrix] joined #minetest |
15:04 |
|
rod_tout_court joined #minetest |
15:23 |
|
jaca122 joined #minetest |
15:25 |
|
rod_tout_court joined #minetest |
15:53 |
|
illwieckz joined #minetest |
16:16 |
|
appguru joined #minetest |
16:18 |
|
rod_tout_court joined #minetest |
16:26 |
|
Desour joined #minetest |
16:47 |
jonadab |
erle: At one point I knew the guy who had the nick "teh" on Freenode (before the takeover). |
16:47 |
jonadab |
Probably the single most frequenty typo in the English language. |
16:47 |
jonadab |
Though he didn't use it as his main nick most of the time. |
17:29 |
|
rod_tout_court joined #minetest |
17:42 |
|
jaca122 joined #minetest |
17:53 |
|
qqq joined #minetest |
17:55 |
|
appguru joined #minetest |
19:31 |
|
mrkubax10 joined #minetest |
19:46 |
|
calcul0n_ joined #minetest |
20:04 |
|
rod_tout_court joined #minetest |
20:21 |
|
cation joined #minetest |
20:28 |
erle |
okay so what if |
20:28 |
erle |
strip mining mod |
20:28 |
erle |
every time a player mines an ore block |
20:28 |
erle |
their avatar loses an item of clothing hehe |
20:30 |
erle |
are there games where the player character is a mob or so? |
20:30 |
erle |
like reverse minetest |
20:30 |
MTDiscord |
<luatic> we have too many ores and too few items of clothing for that |
20:31 |
erle |
okay but what about the being a mob idea |
20:31 |
erle |
like a game where you are a creeper and have to kill “players” |
20:31 |
erle |
or a game where you are a duck doing duck things |
20:31 |
MTDiscord |
<luatic> I think I saw that a while ago. Was it a mod by MirceaKitsune maybe? |
20:31 |
erle |
what's the name |
20:32 |
MTDiscord |
<luatic> https://github.com/MirceaKitsune/minetest_mods_creatures/ i think, but it's 8 years old at this point |
20:33 |
erle |
thanks |
20:33 |
erle |
luatic what is your opinion of mm3d |
20:34 |
MTDiscord |
<luatic> I installed it, then closed it because I'm not modeling anything atm :P |
20:34 |
ROllerozxa |
oh my gosh, literal strip mining mod... |
20:34 |
ROllerozxa |
where do you even get these ideas |
21:10 |
erle |
ROllerozxa it came to me in a dream |
21:10 |
erle |
3000 surreal minetest mods of erle |
21:11 |
erle |
ROllerozxa i think cora once made a mod (or talked about it) for climate change |
21:11 |
erle |
basically every fire or oven interaction would raise the CO₂ level, which determined the sea level |
21:12 |
erle |
dynamic biomes when |
21:12 |
erle |
ROllerozxa what if twerk mod (allows users to twerk instead of crouch) |
21:15 |
erle |
what if troll mod that makes it possible that endermen crouch hehehehehe |
21:17 |
erle |
what if flesh pit mod where the entire world is fleshy and cronenbergy |
21:17 |
erle |
laughing obsidian |
21:18 |
erle |
wasps mod (they look a lot like bees, but are really aggressive and territorial) |
21:19 |
erle |
wrath of god mod: if you commit a sin against the server rules, you get lightning striked |
21:21 |
erle |
longcow (like longcat, but for cows) |
21:22 |
erle |
realistic weight (if you have 1 ton of gold in your inventory, you can not move) |
21:22 |
erle |
one day i shall make an april's fools mod |
21:23 |
erle |
ROllerozxa, at camp i told kids playing minecraft that one night of sleep in the nether is as refreshing as eight nights of sleep in the overworld :D |
21:23 |
|
TheSilentLink_ joined #minetest |
21:35 |
|
[MTMatrix] joined #minetest |
21:38 |
|
[MTMatrix] joined #minetest |
22:00 |
|
olliy joined #minetest |
22:33 |
|
panwolfram joined #minetest |
22:42 |
|
diceLibrarian joined #minetest |
23:09 |
|
Lesha_Vel joined #minetest |