Time |
Nick |
Message |
00:00 |
|
swift110 joined #minetest |
00:01 |
|
swift110 joined #minetest |
00:11 |
|
Fritigern joined #minetest |
00:19 |
|
PsychoVision joined #minetest |
00:25 |
|
ptv joined #minetest |
00:49 |
|
swift110 joined #minetest |
01:11 |
thePalindrome |
Just to double-check, searching an inventory for an item is only accomplished by using get_list and checking there? |
01:23 |
Tmanyo |
Does anyone know how to make a formspec function normally after closing it and reopening it during the same game session? |
01:25 |
|
ssieb joined #minetest |
01:25 |
thePalindrome |
What do you mean by that? |
01:33 |
Tmanyo |
my form functions the first time it is used, then u can close it and it no longer works, it opens but the buttons down work |
01:33 |
Tmanyo |
dont |
01:33 |
thePalindrome |
Odd, could you paste your code somewhere? |
01:34 |
Tmanyo |
i have the github repo |
01:34 |
Tmanyo |
https://github.com/Tmanyo/tmusic_player |
01:34 |
Tmanyo |
i will be afk for about 10 - 15 min |
01:35 |
thePalindrome |
Is this the "songs" form or the "help" form that's being weird? |
01:50 |
kaeza |
<thePalindrome> Just to double-check, searching an inventory for an item is only accomplished by using get_list and checking there? |
01:50 |
kaeza |
yes |
01:50 |
thePalindrome |
Ah bother |
01:51 |
kaeza |
if you just need to know if the item is there, use :contains_item() |
01:51 |
Tmanyo |
it is the songs form that is being weird, none of the buttons work when you reopen it |
01:54 |
|
jin_xi joined #minetest |
01:57 |
Tmanyo |
well i gatta go |
01:57 |
Tmanyo |
cya |
03:14 |
|
Wayward_One joined #minetest |
05:33 |
|
lordfingle joined #minetest |
05:54 |
|
Axord joined #minetest |
06:02 |
|
kimitux joined #minetest |
06:47 |
|
CWz joined #minetest |
06:52 |
|
lumidify joined #minetest |
06:57 |
|
SylvieLorxu joined #minetest |
07:33 |
|
Fritigern joined #minetest |
08:01 |
|
fireglow joined #minetest |
08:03 |
|
Darcidride joined #minetest |
08:07 |
Out`Of`Control |
sfan5: i just run script on 2.5 GB map, works great. thank you |
08:21 |
|
basxto joined #minetest |
08:28 |
|
Trustable joined #minetest |
08:29 |
|
lumidify joined #minetest |
08:33 |
|
namach joined #minetest |
08:38 |
|
aheinecke joined #minetest |
08:42 |
|
CWz joined #minetest |
08:49 |
|
CWz_ joined #minetest |
09:10 |
|
HonoredGlory joined #minetest |
09:41 |
|
Szkodnix joined #minetest |
09:50 |
|
red-001 joined #minetest |
09:57 |
|
JamesTait joined #minetest |
09:57 |
JamesTait |
Good morning all! Happy Thursday, and happy Men Make Dinner Day! 😃 |
10:05 |
lordfingle |
lol |
10:05 |
lordfingle |
I make dinner every day |
10:14 |
JamesTait |
Me too - except Thursday, which is take-away day. |
10:37 |
|
jin_xi joined #minetest |
10:39 |
|
Fixer joined #minetest |
10:50 |
|
lumidify joined #minetest |
11:12 |
|
PseudoNoob joined #minetest |
11:24 |
|
Gnarflord joined #minetest |
11:24 |
Gnarflord |
well hello there |
11:26 |
Gnarflord |
is there anyone of the devs online? |
12:14 |
|
Darcidride_ joined #minetest |
12:16 |
|
turtleman joined #minetest |
12:28 |
|
Jordach joined #minetest |
13:10 |
Out`Of`Control |
Hi anyone use map_unexplore remap.py |
13:14 |
|
grumble joined #minetest |
13:20 |
|
STHGOM joined #minetest |
13:22 |
|
swift110 joined #minetest |
13:24 |
|
crazyR_ joined #minetest |
13:31 |
|
shamoanjac joined #minetest |
13:33 |
|
hmmmm joined #minetest |
13:54 |
|
Darcidride joined #minetest |
14:16 |
|
swift110 joined #minetest |
14:35 |
|
red-001 joined #minetest |
14:38 |
Axord |
Lava pool inside a dungeon. Well played minetest. |
14:41 |
|
Szkodnix joined #minetest |
14:47 |
|
Amadin joined #minetest |
14:51 |
Amadin |
Hi all. How stop health regeneration after death if regeneration work is in cycle? String 57 http://pastebin.com/6ZcK5MS9 |
14:57 |
|
nyuszika7h_ joined #minetest |
15:00 |
|
crazyR joined #minetest |
15:07 |
|
rubenwardy joined #minetest |
15:13 |
|
whitephoenix joined #minetest |
15:28 |
|
HonoredGlory joined #minetest |
15:32 |
|
twoelk joined #minetest |
15:35 |
Amadin |
Hi all. How stop health regeneration after death if regeneration work is in cycle after using potion? |
15:41 |
|
Tux[Qyou] joined #minetest |
15:41 |
|
Volkj joined #minetest |
15:41 |
|
Szkodnix joined #minetest |
15:44 |
|
jin_xi joined #minetest |
15:44 |
|
SylvieLorxu joined #minetest |
15:44 |
|
Pest joined #minetest |
15:54 |
|
DMackey- joined #minetest |
15:54 |
|
rubenwardy joined #minetest |
15:56 |
|
rubenwardy joined #minetest |
16:01 |
agaran |
Amadin: add handler on death that removes all pending potions? |
16:11 |
|
rubenwardy joined #minetest |
16:13 |
|
rubenwardy joined #minetest |
16:15 |
|
lumidify joined #minetest |
16:20 |
|
Wayward1 joined #minetest |
16:21 |
|
rubenwardy joined #minetest |
16:30 |
|
hmmmm joined #minetest |
16:31 |
|
AnotherBrick joined #minetest |
16:31 |
|
Markow joined #minetest |
16:46 |
Amadin |
i used on_respawn, is the similar? |
16:46 |
Amadin |
agaran |
16:47 |
Amadin |
i can't remove because don't undestand how break cycle after death |
16:47 |
Amadin |
what i must write in on_death function? |
16:54 |
Hijiri |
Amadin: on_respawn only happens after the player respawns, so it will be too late |
16:54 |
Hijiri |
you might get regenerated before you respawn |
16:54 |
Hijiri |
Amadin: what do you mean by the regen is in a cycle? |
17:06 |
|
Tux[Qyou] joined #minetest |
17:12 |
|
Tux[Qyou] joined #minetest |
17:14 |
Amadin |
String 57 http://pastebin.com/6ZcK5MS9 |
17:17 |
Hijiri |
Amadin: sorry, have to leave again |
17:17 |
Hijiri |
Amadin: in the callback to minetest.after, check that the user's hp is above 0 before healing them |
17:17 |
Hijiri |
if it is at 0 it means they're dead |
17:19 |
Amadin |
will try now |
17:21 |
|
Tux[Qyou] joined #minetest |
17:22 |
swift110 |
hey guys |
17:24 |
red-001 |
hi swift110 |
17:25 |
|
basxto joined #minetest |
17:28 |
Amadin |
i try "if hp <= 0 then return end" but this do nothing |
17:28 |
Amadin |
in function minetest_after |
17:28 |
Amadin |
minetest.after i mean |
17:33 |
|
Taoki joined #minetest |
17:40 |
sofar |
what's the value of hp ? |
17:45 |
swift110 |
how are you red-001 |
17:45 |
Amadin |
potion add or remove 1 hp per some time |
17:46 |
Amadin |
sj hp will different |
17:46 |
Amadin |
so |
17:46 |
Amadin |
link to code is up |
17:59 |
|
The_Loko joined #minetest |
18:07 |
whitephoenix |
streaming some modding @ https://www.twitch.tv/whitephoenix0 if anyone is interested |
18:08 |
|
Telesight joined #minetest |
18:08 |
Hijiri |
Amadin: do you have the new version of code |
18:08 |
Hijiri |
up |
18:09 |
Amadin |
new? |
18:09 |
Hijiri |
after you changed it |
18:11 |
Amadin |
http://pastebin.com/DuvZGuUh string 57 |
18:21 |
|
AcidNinjaFWHR joined #minetest |
18:34 |
|
Krock joined #minetest |
18:34 |
|
Krock joined #minetest |
18:34 |
MinetestBot |
Krock: Nov-02 16:34 UTC <sfan5> shouldn't all mods in your db have an author? // KeyError: 'author' (file "/home/sfan5/mtbot/modules/modsearch.py", line 21, in mod) |
18:36 |
|
lumidify joined #minetest |
18:41 |
Krock |
sfan5, fixed it. Somehow it created a 2nd database entry of the pipeworks and moretrees mods |
18:44 |
Viper |
hi Krock |
18:45 |
Krock |
hi Viper (random greeter) |
18:45 |
Krock |
and hi greeter, who I highlighted by accident |
18:45 |
Krock |
please stay in control |
18:52 |
|
Grandolf joined #minetest |
18:53 |
agaran |
Hi Krock |
18:53 |
Krock |
hi agaran |
18:53 |
sfan5 |
Krock: actually it seems that wasn't the problem |
18:53 |
sfan5 |
the module forgets to handle the case where the mod doesn't exist |
18:54 |
sfan5 |
!mod qdwfwfwuidwzrw3t3w454545 |
18:54 |
MinetestBot |
KeyError: 'author' (file "/home/sfan5/mtbot/modules/modsearch.py", line 21, in mod) |
18:54 |
Krock |
!mod blaarg |
18:54 |
MinetestBot |
KeyError: 'link' (file "/home/sfan5/mtbot/modules/modsearch.py", line 21, in mod) |
18:55 |
Krock |
!mod LEEGACY |
18:55 |
MinetestBot |
Krock: Could not find anything. by - |
18:55 |
sfan5 |
uh huh |
18:55 |
Krock |
err.. not fancy at all |
18:56 |
sfan5 |
you *could* return an error message |
18:56 |
sfan5 |
aka {"error": "no such mod"} |
18:56 |
Krock |
oooh |
18:56 |
sfan5 |
but i'll just handle this in the code |
18:56 |
Krock |
!mod cdjaslreji |
18:56 |
Krock |
patched it... |
18:57 |
Out`Of`Control |
!mod explorer |
18:57 |
Out`Of`Control |
? |
18:57 |
Krock |
had to rename "title" to "error" as returning message. what a dumb fail from me |
18:57 |
MinetestBot |
Krock: Could not find anything. |
18:57 |
MinetestBot |
Out`Of`Control: Explorer Tools (place an item on right click) [explore by Kilarin - https://forum.minetest.net/viewtopic.php?t=9050 |
18:57 |
Krock |
sfan5, no need to correct this. the error handling works a-ok now |
18:57 |
sfan5 |
well then |
18:58 |
Krock |
hehe, simply forgot to add that when I rewrote parts of the code :3 |
19:00 |
|
PsychoVision joined #minetest |
19:16 |
crazyR |
hi all |
19:17 |
Hijiri |
Amadin: actually it looks like the code already has checks for hp that's 0 |
19:17 |
Hijiri |
Amadin: do you mean that after they revive they still get healed |
19:17 |
Hijiri |
Amadin: here is what I would do |
19:17 |
Hijiri |
Keep track in a table the last death time of each player |
19:17 |
Hijiri |
(using player names as keys) |
19:17 |
Hijiri |
in the fix_hp callback, calculate the current time |
19:17 |
Hijiri |
in the mientest.after callback, make sure that the time calculated above is after the last death time of the player |
19:19 |
Hijiri |
hi |
19:24 |
Amadin |
Hijiri thank you, will try tomorrow |
19:24 |
|
Amadin left #minetest |
19:28 |
|
grumble joined #minetest |
19:45 |
|
ElectronLibre joined #minetest |
19:50 |
|
Trustable joined #minetest |
20:02 |
|
PsychoVision joined #minetest |
20:16 |
|
enzoMatrix joined #minetest |
20:27 |
|
KaadmY joined #minetest |
20:46 |
garywhite |
;lottery |
20:46 |
garywhite |
ok doesn't work here |
20:52 |
|
ssieb joined #minetest |
20:53 |
|
Szkodnix joined #minetest |
21:03 |
swift110 |
which minetest from playstore is legit? |
21:05 |
red-001 |
the ones called minetest? |
21:07 |
swift110 |
its not that simple, if you dont know the answer then let someone answer who does |
21:09 |
red-001 |
most clones don't call themselfs minetest |
21:10 |
red-001 |
it seems to be https://play.google.com/store/apps/details?id=net.minetest.minetest |
21:13 |
swift110 |
all these people and i got one person to answer |
21:14 |
|
Tux[Qyou] joined #minetest |
21:22 |
|
theTroy joined #minetest |
21:27 |
twoelk |
you might want to try this version: https://f-droid.org/repository/browse/?fdfilter=minetest&fdid=net.minetest.minetest |
21:28 |
Hijiri |
|
21:28 |
Hijiri |
sorry, mistype |
21:28 |
twoelk |
or look here and scroll down to the android links http://www.minetest.net/downloads/ |
21:28 |
twoelk |
wont get any more official than that |
21:29 |
|
Jordach joined #minetest |
21:32 |
|
Amaz joined #minetest |
21:39 |
|
Alucard_ joined #minetest |
21:41 |
|
Tmanyo joined #minetest |
21:42 |
Amaz |
Should I be able to use io.open(file_in_modpath) with mod security enabled? Or does https://github.com/minetest/minetest/issues/4692 prevent that? |
21:43 |
|
Player_2 joined #minetest |
21:44 |
sfan5 |
Amaz: that problem should only occurr in callbacks |
21:47 |
Amaz |
So this code should work? https://github.com/minetest-LOTR/Lord-of-the-Test/blob/master/mods/lottmapgen/schematics.lua#L34-L42 |
21:47 |
est |
yes |
21:47 |
est |
because it runs at load time |
21:47 |
Amaz |
Becuase with security enable, it gives the error that file is nil, but it works without security :/ |
21:48 |
est |
that's a bug |
21:48 |
Amaz |
Okay |
21:48 |
Amaz |
Should I open a new issue, or add details onto #4692? |
21:48 |
est |
(additional to the one you linked) |
21:50 |
est |
what you prefer |
21:50 |
Amaz |
I'll add details onto #4692 and if someone asks me to, I can open a new issue :) |
21:51 |
sfan5 |
well looks like mod security is not going to be in 0.4.15 at this rate |
21:51 |
sfan5 |
if nobody fixes these problems |
21:51 |
sfan5 |
which seems likely |
21:52 |
est |
sfan5: I agree, although it makes me sad |
21:52 |
est |
mhh maybe I could try to fix the one Amaz pointed out |
21:53 |
est |
I'm just glad that nobody complained about regressions of d767f025cb0d5cca29c1f2147d2a0931a088b717 |
21:53 |
|
LevierMRQ joined #minetest |
21:57 |
Amaz |
https://github.com/minetest/minetest/issues/4692#issuecomment-258286450 |
22:01 |
Out`Of`Control |
i had to disable security mod, cause crash with empty debug |
22:02 |
Out`Of`Control |
so you have to guess what mod it could be |
22:04 |
|
Grandolf joined #minetest |
22:04 |
Amaz |
That's very fun :P |
22:05 |
|
halt_ joined #minetest |
22:19 |
|
Volkj joined #minetest |
22:41 |
|
PsychoVision joined #minetest |
22:53 |
|
xunto joined #minetest |
23:43 |
|
Grandolf joined #minetest |