Time |
Nick |
Message |
00:01 |
|
bigfoot547 joined #minetest |
00:12 |
|
AlexYst joined #minetest |
00:20 |
|
EvergreenTree joined #minetest |
00:26 |
|
AntumDeluge joined #minetest |
00:44 |
|
swift110 joined #minetest |
00:46 |
|
est31 joined #minetest |
00:53 |
|
Tmanyo joined #minetest |
01:03 |
|
AlexYst joined #minetest |
01:08 |
|
georgeowell joined #minetest |
01:15 |
|
Fritigern joined #minetest |
01:26 |
|
AlexYst joined #minetest |
01:46 |
|
EvergreenTree joined #minetest |
01:47 |
|
AlexYst joined #minetest |
01:55 |
|
BBmine joined #minetest |
02:07 |
|
Sokomine_ joined #minetest |
02:28 |
|
Sokomine joined #minetest |
02:34 |
|
Hawk777 joined #minetest |
02:54 |
|
jcjordyn120 joined #minetest |
02:54 |
|
riff-IRC joined #minetest |
04:40 |
|
leroy joined #minetest |
04:57 |
|
Hawk777 joined #minetest |
04:59 |
|
AlexYst joined #minetest |
04:59 |
|
est31 joined #minetest |
05:08 |
|
pozzoni joined #minetest |
05:29 |
|
Natechip joined #minetest |
05:58 |
MinetestBot |
[git] rubenwardy -> minetest/minetest: Fix mistake when calling on_priv_grant/revoke, and document them (#6341) 72c09f5 https://git.io/v5ZPM (2017-08-29T05:57:56Z) |
06:00 |
|
georgeowell joined #minetest |
06:18 |
|
slemonide joined #minetest |
06:28 |
|
CWz joined #minetest |
06:33 |
|
Tirifto joined #minetest |
06:48 |
|
AlexYst joined #minetest |
07:15 |
|
hisforever joined #minetest |
07:23 |
|
lisac joined #minetest |
07:28 |
|
AlexYst joined #minetest |
07:28 |
|
hisforever joined #minetest |
07:31 |
hisforever |
https://pastebin.com/U9z3b59W I put a debug page up. I've had great luck with advanced trains but now everythings comes up but the Engioms.what do i have to do? |
07:48 |
wrcwpk[m] |
I'm trying to have a node drop default:dirt, but instead the node drops itself. Here is the relevant code. Any ideas on what is wrong? https://paste.ubuntu.com/25423356/ |
07:53 |
|
nowhere_man joined #minetest |
08:10 |
|
bas080 joined #minetest |
08:13 |
|
nowhere_man joined #minetest |
08:18 |
|
AlexYst joined #minetest |
08:23 |
|
Megaf joined #minetest |
08:25 |
|
Darcidride joined #minetest |
09:10 |
|
spoky99_ joined #minetest |
09:45 |
|
Fusl joined #minetest |
10:19 |
jas_ |
Wrcwpk https://github.com/minetest/minetest/blob/72c09f524b1616dd75bb6e35008196b5ca6351a2/doc/lua_api.txt#L4403 |
10:19 |
jas_ |
U added an s. Its drop not drops heh i had to look it up ;) |
10:29 |
|
AlexYst joined #minetest |
10:44 |
|
est31 left #minetest |
10:45 |
|
est31 joined #minetest |
10:46 |
|
AndDT joined #minetest |
10:52 |
spoky99 |
is there a bug crafting titanium? |
10:56 |
|
est31 left #minetest |
10:56 |
spoky99 |
is there another way to get titanium? |
10:58 |
|
proller joined #minetest |
11:19 |
|
proller joined #minetest |
11:37 |
|
ThomasMonroe joined #minetest |
11:54 |
|
CalebDavis joined #minetest |
12:09 |
|
YuGiOhJCJ joined #minetest |
12:11 |
habeangur |
??? |
12:13 |
|
Tux[Qyou] joined #minetest |
12:16 |
|
Fixer joined #minetest |
12:41 |
|
RobbieF joined #minetest |
12:53 |
spoky99_ |
Ifollow one video tutorial for crafting titanium and don't work, I don't know how to mine it (I found it in a mine but No picker can dig her) |
12:56 |
|
srifqi joined #minetest |
13:21 |
|
Tux[Qyou] joined #minetest |
13:23 |
|
antims joined #minetest |
14:01 |
|
Brackston joined #minetest |
14:02 |
|
Lukc joined #minetest |
14:06 |
|
Wuzzy joined #minetest |
14:06 |
|
juhdanad joined #minetest |
14:08 |
Wuzzy |
!seen kilbith |
14:08 |
MinetestBot |
Wuzzy: kilbith was last seen at 2017-08-13 00:09:55 UTC on #minetest-fr |
14:13 |
Wuzzy |
Hey, does anyone know how to contact kilbith / jp? |
14:15 |
sfan5 |
by mail? |
14:18 |
|
Lukc left #minetest |
14:21 |
|
Natechip joined #minetest |
14:40 |
|
Tux[Qyou] joined #minetest |
14:48 |
|
proller joined #minetest |
14:51 |
|
Billre joined #minetest |
15:06 |
|
troller joined #minetest |
15:20 |
|
twoelk joined #minetest |
15:29 |
|
Alcyone2 joined #minetest |
15:36 |
|
Shibe54 joined #minetest |
15:49 |
|
lisac_ joined #minetest |
15:56 |
Errante |
Hello guys. I got a strange problem. Im trying to run jsonrpc4lua within a minetest mod. So, I installed it inside mod's folder. Now, when I try to require"json.rpc" it doesnt give me any error, but when I try to call json.rpc.proxy() it says json is nil |
15:57 |
Errante |
if I rename rpc.lua to init.lua the whole code works fine |
15:58 |
Errante |
should I dofile instead of require ? |
15:59 |
|
juhdanad joined #minetest |
16:00 |
sfan5 |
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3170 |
16:02 |
Errante |
thx for the answer |
16:02 |
|
Beton joined #minetest |
16:02 |
|
Beton joined #minetest |
16:02 |
Errante |
I didnt mention, but I did use irc mod's init.lua to setup insecure enviroment |
16:06 |
Errante |
its strange because, while hacking rpc.lua into init.lua makes the code work, json.lua doenst need to be hacked into init.lua. but if I dettach rpc.lua's' code from init.lua, the code breaks saying json is nil |
16:06 |
sfan5 |
that should definitely work if you did it correctly |
16:06 |
|
troller joined #minetest |
16:06 |
Errante |
should I use insecure enviroment on every file using require or just init.lua? I didnt require=old_require |
16:08 |
sfan5 |
every file that uses privileges functions need to make use of the insecure environment |
16:08 |
sfan5 |
privileged* |
16:09 |
Errante |
hmm |
16:11 |
Errante |
but then, why doenst json.lua need to ie (json.lua requires luasocket) when using rpc.lua inside mod's init.lua with ie? |
16:12 |
Errante |
wait |
16:12 |
Errante |
sorry |
16:12 |
Errante |
it doesnt require socket |
16:12 |
Errante |
rpc requires it |
16:16 |
|
troller joined #minetest |
16:22 |
|
Billre left #minetest |
16:24 |
Errante |
rpc.lua's ie is complaing its not a trusted mod, but the mod itself is set as trusted. should I add rpc as trusted mod? |
16:24 |
|
Fixer joined #minetest |
16:27 |
|
Megaf joined #minetest |
16:28 |
Errante |
also, it seens that irc mod's luairc doesnt make use of ie |
16:31 |
|
slemonide joined #minetest |
16:36 |
|
troller joined #minetest |
16:40 |
Errante |
this is the code Im running https://github.com/craigmj/json4lua/ |
16:47 |
sofar |
Errante: minetest can already serialize and deserialize json? |
16:47 |
sofar |
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3072 |
16:48 |
sofar |
oh IC, you probably need it as a dependency |
16:48 |
|
Telesight joined #minetest |
16:52 |
|
FreeFull joined #minetest |
16:55 |
Errante |
json4lua isnt for json, its for rpc. isnt dependency required for dependency between mods? json4lua isnt a mod, but a lua library |
17:04 |
|
RobbieF left #minetest |
17:05 |
|
soloojos joined #minetest |
17:07 |
|
Taose joined #minetest |
17:07 |
|
Krock joined #minetest |
17:14 |
Errante |
lua is starting to annoy me |
17:20 |
|
calcul0n joined #minetest |
17:21 |
Krock |
if coder:get_player_name():lower() == "errante" then annoy() end |
17:27 |
MinetestBot |
[git] SmallJoker -> minetest/minetest: Bump minimal protocol version to 36 (#6319) b7ee608 https://git.io/v5nxV (2017-08-29T17:26:55Z) |
17:27 |
MinetestBot |
[git] nerzhul -> minetest/minetest: Formspec: Add options to set background color and opacity (fullscreen… 1b3e4e1 https://git.io/v5nxw (2017-08-29T17:25:16Z) |
17:34 |
|
Worldblender joined #minetest |
17:47 |
|
AlexYst joined #minetest |
17:55 |
|
Tux[Qyou] joined #minetest |
17:59 |
|
Alcyone2 joined #minetest |
18:02 |
jas_ |
b7ee608 |
18:11 |
jas_ |
https://youtu.be/gX-JTfRh0m4 <- some jumps to try. |
18:15 |
sfan5 |
!title |
18:15 |
MinetestBot |
sfan5: minetest dcbl server sub-game - YouTube |
18:15 |
jas_ |
it's always the same title |
18:15 |
jas_ |
i shoulda said so, sorry |
18:16 |
jas_ |
gonna be quiet on there this week heh |
18:16 |
jas_ |
once the server restarts for whatever reason. see how long it goes before crash |
18:17 |
jas_ |
actually that's the 2nd time i failed to build. first at 37% now at 83% |
18:17 |
jas_ |
oh same spot, after a make clean |
18:22 |
MinetestBot |
[git] nerzhul -> minetest/minetest: Pushing typo fix introduced in b7ee608e70f8e031e3e01c9672bedb16efa648b8 35a4082 https://git.io/v5cfj (2017-08-29T18:21:14Z) |
18:26 |
jas_ |
35a4082 |
18:26 |
Errante |
Finally got jsonrpc4lua to work |
18:26 |
|
troller joined #minetest |
18:29 |
|
DI3HARD139 joined #minetest |
18:30 |
|
AlexYst joined #minetest |
18:31 |
|
Beton_ joined #minetest |
18:40 |
MinetestBot |
[git] nerzhul -> minetest/minetest: Network proto handlers/container fixes (#6334) 1d4a2a6 https://git.io/v5cTe (2017-08-29T18:37:54Z) |
18:42 |
|
modernk joined #minetest |
18:42 |
modernk |
hello |
18:50 |
|
Out`Of`Control joined #minetest |
19:01 |
|
YuGiOhJCJ joined #minetest |
19:04 |
|
RichardTheTurd joined #minetest |
19:06 |
|
kaeza joined #minetest |
19:11 |
|
plut joined #minetest |
19:16 |
|
pluto joined #minetest |
19:24 |
|
CalebDavis joined #minetest |
19:24 |
|
Alcyone2 joined #minetest |
19:26 |
|
EvergreenTree joined #minetest |
19:26 |
rubenwardy |
Errante, I'd suggest looking in to the http API and deserialize_json if you'd like your mod to work without luarocks |
19:27 |
rubenwardy |
I guess with RPC it'll be quite specific to a server though, in which case luarocks is fine |
19:29 |
|
Fritigern joined #minetest |
19:32 |
|
Billre joined #minetest |
19:47 |
|
Player_2 joined #minetest |
19:47 |
|
swift110 joined #minetest |
19:47 |
Errante |
rubenwardy: thx for your answer. I saw that http_request areonly executed at init time. if thats true, it doesnt help me |
19:47 |
rubenwardy |
no, it should be anytime? |
19:47 |
rubenwardy |
if it's not then there's a bug |
19:48 |
rubenwardy |
you need to get a http API object at init time |
19:48 |
rubenwardy |
but once you have it, you can make http requests anytime |
19:48 |
rubenwardy |
local http_api = minetest.request_http_api() |
19:49 |
rubenwardy |
you also need to give your mod the permission to get a http API object, in the minetest.conf |
19:49 |
Errante |
at reference it says " Only works at init time and must be called from the mod's main scope (not from a function)." |
19:49 |
MinetestBot |
[git] bendeutsch -> minetest/minetest: Documentation for 'slippery' node group (#6345) 43f9e94 https://git.io/v5cO0 (2017-08-29T19:48:43Z) |
19:49 |
rubenwardy |
Errante, that's the API getter |
19:49 |
rubenwardy |
not the request maker |
19:49 |
Errante |
oh |
19:49 |
rubenwardy |
you need to use the API getter to get an object which you then use to make requesrt |
19:50 |
rubenwardy |
However, if you have jsonrpc4lua working then it may be worth just using that and rewriting relevant code to use our APIs later if needed |
19:50 |
rubenwardy |
if you design your mod well, you should be able to separate the RPC code from everything else, to make that easier |
19:51 |
Errante |
the biggest problem would be to implement rpc with http_api and json_parse |
19:51 |
Errante |
indeed, Im separating the rpc part from my mod |
19:51 |
Errante |
thats what I was thinking |
19:51 |
Errante |
thx ruben |
19:52 |
rubenwardy |
well, it depends what the mod is. If you're not going to release it, doesn't matter if you use LuaRocks. If it's a hardcore server mod, then any ops should be able to install and use luarocks |
19:52 |
rubenwardy |
a weigh up of development time VS installation time / portability |
19:53 |
Errante |
actually, I couldnt get luasockets installed through luarocks |
19:53 |
Errante |
ive made it through fedora own repo which has lua-socket-compat or something like this |
19:53 |
Errante |
I hope to make it easy for ops to run the mod |
19:54 |
rubenwardy |
with lua rocks I found I needed to modify some package path to get it to find modules |
19:54 |
rubenwardy |
however I can't remember if this was a mod or Lua standalone |
19:55 |
|
AlexYst joined #minetest |
19:55 |
rubenwardy |
I mainly intended "external possible with C libraries" by "LuaRocks", anyway |
19:56 |
|
swift110 joined #minetest |
19:59 |
|
fwhcat joined #minetest |
20:33 |
Errante |
json.lua is gone |
20:35 |
Errante |
it seens I cant simply replace http.request() with HTTPApiTable.fetch() |
20:51 |
|
proller joined #minetest |
20:54 |
|
soloojos joined #minetest |
21:08 |
Errante |
how should I make it so rpc.lua could use HTTPApiTable instead of luasocket's http.request()? |
21:09 |
|
troller joined #minetest |
21:09 |
Errante |
I do not understand HTTPApiTable.fetch's function HTTPRequest argument |
21:10 |
|
twoelk left #minetest |
21:13 |
Errante |
and how callbacks would fit into the code? |
21:16 |
sfan5 |
Errante: the first arg is a table as defined like this https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4849 |
21:17 |
sfan5 |
the callback is a function which will be called on completion/error with a single arg, a table like this: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4869 |
21:18 |
Errante |
need to remember lua_api.txt xD |
21:18 |
Errante |
thx sfan |
21:19 |
|
EvergreenTree joined #minetest |
21:21 |
|
Billre left #minetest |
21:21 |
|
Jousway joined #minetest |
21:39 |
|
H4mlet joined #minetest |
21:41 |
|
ivanhercaz joined #minetest |
21:42 |
|
ivanhercaz joined #minetest |
21:43 |
ivanhercaz |
Hi everyone! |
21:43 |
ivanhercaz |
I am interested in the creation and translation of pages in the official wikis of Minetest |
21:44 |
ivanhercaz |
I read in the forum that I can request the account here. |
21:45 |
H4mlet |
out of curiosity, which languages are you going to translate? |
21:45 |
ivanhercaz |
To Spanish and my couple is going to translate to Portuguese :) |
21:45 |
|
Tux[Qyou] joined #minetest |
21:46 |
H4mlet |
cool, good luck then: it's a royal pain translating |
21:48 |
ivanhercaz |
It always depends of the source text to translate. Sometimes I have read very clear English texts. |
21:48 |
ivanhercaz |
But another there is many expressions that sounds fine in English, but in Spanish... |
21:48 |
H4mlet |
hehe "lost in translation" |
21:48 |
ivanhercaz |
hahaha |
21:49 |
sfan5 |
you probably want to talk to Calinou |
21:49 |
sfan5 |
but he's not here atm |
21:49 |
|
swift110 joined #minetest |
21:49 |
ivanhercaz |
hi sfan5! |
21:50 |
Calinou |
hi |
21:50 |
ivanhercaz |
Thank you sfan5! |
21:50 |
ivanhercaz |
Hi Calinou ! Nice to know that you are here. |
21:50 |
Calinou |
ivanhercaz: send me a private message with your email address, and desired username (note that the first character will be uppercase, due to MediaWiki limitations) |
21:50 |
Calinou |
(/msg Calinou <message here>) |
21:50 |
ivanhercaz |
Perfect Calinou! |
21:51 |
rubenwardy |
How are you involved with Wikipedia? |
21:51 |
rubenwardy |
ie: moderator, developer, contributor, etc |
21:52 |
|
Santamarcanda joined #minetest |
21:52 |
Santamarcanda |
Hello! |
21:52 |
H4mlet |
rubenwardy I was wondering: is it better to use a nodebox cube or a mesh cube? I mean lagwise |
21:52 |
ivanhercaz |
Welcome Santamarcanda! Calinou is who can make us the account |
21:53 |
rubenwardy |
H4mlet, it depends |
21:53 |
ivanhercaz |
You can send him a message with /msg Calinou your email your username |
21:53 |
rubenwardy |
H4mlet, node boxes afaik don't optimize internal faces |
21:53 |
Santamarcanda |
Oh, perfect! I will do my best to translate to my native lenguage, pt. |
21:53 |
rubenwardy |
which is why stairs use mesh nodes, as they have hidden faces |
21:53 |
ivanhercaz |
Hi rubenwardy, I am contributor and member of Wikimedia España. I usually collaborate in es-wiki, Commons and Wikidata |
21:54 |
rubenwardy |
nice |
21:54 |
ivanhercaz |
I collaborate in another languages, like English, Portuguese and Catalá, but less |
21:54 |
rubenwardy |
would you happen to know why the ban BNCs? EliteBNC in particular |
21:55 |
H4mlet |
I see, then in every case where there are hidden faces a mesh would be better i.e. saving the render time of non-visible faces |
21:55 |
sfan5 |
huh he *is* here |
21:55 |
rubenwardy |
from #wikipedia that is |
21:55 |
sfan5 |
my mistake |
21:55 |
rubenwardy |
H4mlet, only if you make the model do that |
21:56 |
rubenwardy |
I'm not very familiar with the MapBlock mesh generation code (although I should become so at some point) so I'm not sure how it works |
21:56 |
Calinou |
H4mlet: nodeboxes are rendered efficiently nowadays (they are internally converted to meshes by the engine) |
21:56 |
Calinou |
however, since you can only place cuboids with nodeboes, you can't optimize meshes as much |
21:56 |
Calinou |
and you can't have sloped surfaces :) |
21:57 |
rubenwardy |
Are they optimised, Calinou? |
21:57 |
rubenwardy |
or just a naive nodebox to mesh conversion |
21:57 |
H4mlet |
got it. I was wondering 'cause I'd like to create some medieval style windows |
21:57 |
Calinou |
rubenwardy: it's a naive nodebox-to-mesh conversion indeed; inner faces won't be removed |
21:57 |
Calinou |
(this is probably possible, but hard) |
21:58 |
ivanhercaz |
I don't know about rubenwardy :/ Maybe you can ask in #wikimedia |
21:58 |
H4mlet |
I've tried doing nodebox to .obj using node box editor, but I think I'm missing something: they seem reversed like a glow |
21:59 |
Calinou |
H4mlet: for meshes, Minetest accepts four formats: .b3d (binary), .x (text), .obj (text), .md2 (binary, obsolete) |
21:59 |
Calinou |
.obj should be a good choice, but .b3d is smaller, IIRC |
21:59 |
Calinou |
H4mlet: that might be because the normals are flipped |
21:59 |
Calinou |
the normals define which faces are "inside" and which ones are "outside" |
21:59 |
rubenwardy |
H4mlet, the obj exporter should only be used if you want to import it in blender |
22:00 |
rubenwardy |
just export as a node box if you want MT to use it |
22:00 |
H4mlet |
oh! that's it! |
22:00 |
rubenwardy |
also, my obj convertor may have bugs |
22:00 |
H4mlet |
thus -> obj -> blender -> b3d (using an exporter plugin) |
22:01 |
rubenwardy |
yeah, but you should edit it in blender as well |
22:01 |
rubenwardy |
otherwise it is pointless |
22:02 |
H4mlet |
I'll look into it, might be useful for some basic shape (e.g. my smaller steps mod) |
22:03 |
H4mlet |
thanks to both for the hints, they've shed some light |
22:03 |
ivanhercaz |
Perfect Calinou! Account confirmed. Now I am going to try what I can. I have a good knowledge of wikimarkup and templates if I have any doubt I will ask here :) |
22:03 |
Calinou |
it's ok :) |
22:03 |
Calinou |
I know a bit about wiki markup, not much but I worked a lot on some wikis |
22:04 |
Calinou |
(including the Minetest wiki, but also the Minecraft wiki, for example) |
22:04 |
rubenwardy |
I know (and prefer) mark down |
22:04 |
Calinou |
yeah, but wiki markup can do more |
22:04 |
rubenwardy |
so using mediawiki is a little confusing at times |
22:04 |
rubenwardy |
true, it's more specialised |
22:05 |
rubenwardy |
loooll |
22:06 |
rubenwardy |
"`nodebox` -- See below. (**Experimental!**)" |
22:06 |
rubenwardy |
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L888 |
22:06 |
rubenwardy |
> Experimental |
22:08 |
H4mlet |
experimental? |
22:08 |
rubenwardy |
it may have been experimental to start off with |
22:08 |
rubenwardy |
but it's definitely not by now |
22:08 |
H4mlet |
afaik they've been around since years |
22:09 |
rubenwardy |
eyah |
22:09 |
H4mlet |
oh well, documentation archaeology |
22:15 |
ivanhercaz |
Thank you to H4mlet, sfan5, rubenwardy and Calinou for the help! See you here (or in the wiki)! |
22:15 |
H4mlet |
:) see you! |
22:15 |
Calinou |
you're welcome :) |
22:16 |
rubenwardy |
:D ivanhercaz |
22:28 |
|
bigfoot547 joined #minetest |
22:50 |
|
YuGiOhJCJ joined #minetest |
23:00 |
Errante |
Im with difficulty on figuring out how to translate rpc.call function to HTTPApiTable |
23:01 |
Errante |
it doesnt seens to be straightforward |
23:02 |
Errante |
it uses this ltn12 thing |
23:02 |
Errante |
true |
23:03 |
Errante |
https://pastebin.com/5iP0ZUCJ |
23:09 |
Errante |
rpc.call uses luasocket's socket.http |
23:10 |
|
est31 joined #minetest |
23:12 |
Errante |
ircmod uses luasocket |
23:12 |
Errante |
but not for http |
23:42 |
|
nowhere_man joined #minetest |
23:45 |
Errante |
think I got it |
23:47 |
|
Freejack joined #minetest |
23:59 |
|
Viper joined #minetest |