Time |
Nick |
Message |
00:04 |
|
nepugia joined #minetest |
01:15 |
|
YuGiOhJCJ joined #minetest |
01:16 |
|
cheapie joined #minetest |
01:16 |
MinetestBot |
cheapie: Jun-21 04:58 UTC <BuckarooBanzai> can you review https://github.com/pandorabox-io/digistuff/tree/nic-post ? I added the ability to POST with the NIC :) |
01:16 |
|
rdococ joined #minetest |
01:21 |
|
DrFrankenstone joined #minetest |
01:44 |
|
Cornelia joined #minetest |
01:59 |
|
ssieb joined #minetest |
02:20 |
|
Cornelia joined #minetest |
02:25 |
|
Cornelia joined #minetest |
02:43 |
|
xerox123 joined #minetest |
02:43 |
|
xerox123_ joined #minetest |
02:49 |
|
YuGiOhJCJ joined #minetest |
02:50 |
|
est31 joined #minetest |
02:50 |
|
galaxie joined #minetest |
03:17 |
|
Glorfindel joined #minetest |
03:28 |
|
Sketch2 joined #minetest |
05:40 |
|
epoch joined #minetest |
06:13 |
|
hisforever joined #minetest |
06:17 |
hisforever |
Hi can I get some help please I just installed MT 0.4.16 but I'd y os is Linus Mint 19 |
06:19 |
brucemuggins |
Hi hisforever. What seems to be the problem? |
06:20 |
VanessaE |
ew |
06:20 |
VanessaE |
0.4.16 is hopelessly outdated |
06:20 |
brucemuggins |
I found using flatpak was the only way to get up to date minetest |
06:20 |
VanessaE |
or build from source |
06:21 |
brucemuggins |
Oh, sorry, that of course, but I'm not that tech. |
06:21 |
epoch |
I have debian package and source-build |
06:21 |
epoch |
since people still run both 4 and 5 |
06:21 |
|
CWz_ joined #minetest |
06:21 |
hisforever |
VanessaE" I'd love to build it but don't have enought knoledge |
06:21 |
VanessaE |
it's easy |
06:22 |
hisforever |
What do I need ? |
06:22 |
VanessaE |
well I use Debian, so my way won't work for tou |
06:22 |
VanessaE |
you* |
06:22 |
VanessaE |
but maybe https://forum.minetest.net/viewtopic.php?f=42&t=3837 can help. |
06:23 |
hisforever |
ok thanks |
06:23 |
hisforever |
You are verry helpful |
06:23 |
VanessaE |
I try :) |
06:25 |
hisforever |
I went fron Manjaro mack to Mint Cinnimon |
06:34 |
hisforever |
1 more Question. Should I unstall MT 0.4.16 before I try to compilr the new one? |
06:34 |
VanessaE |
it won't matter |
06:35 |
hisforever |
ok thanks well wish me luck I'll need it lol |
06:35 |
VanessaE |
if you use the "portable" code in that link, you can install two or more copies side by side. |
06:35 |
VanessaE |
good luck :) |
06:35 |
hisforever |
ok |
06:37 |
hisforever |
can the portable run on the Computer, or do I need a usb fit it? |
06:37 |
VanessaE |
nah |
06:37 |
VanessaE |
it'll run fine |
06:38 |
VanessaE |
you don't need to put it on any special storage |
06:38 |
hisforever |
I'm goint to try if this worjs i'll be back |
06:53 |
hisforever |
I see a .minetest folder not a regular minetest folder in home folder |
06:54 |
hisforever |
this is what the termanal says: You can run Minetest again by double-clicking "minetest" in the "bin" folder of the "minetest" folder in your home folder. |
06:54 |
hisforever |
You can install mods in ~/minetest/mods, too. |
06:59 |
|
Unit193 joined #minetest |
07:07 |
|
jluc joined #minetest |
07:07 |
|
ektor joined #minetest |
07:12 |
hisforever |
I ran the script again and get this, sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game. |
07:12 |
hisforever |
git; cd ..; cmake . -DRUN_IN_PLACE=1 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1; make -j$(nproc); cd ../bin; ./minetest; echo -e "\n\n\e[1;33mYou can run Minetest again by double-clicking \"minetest\" in the \"bin\" folder of the \"minetest\" folder in your home folder.\nYou can install mods in ~/minetest/mods, too.\e[0m" |
07:13 |
hisforever |
no no copied the wrong thing |
07:15 |
hisforever |
make: *** No targets specified and no makefile found. Stop. |
07:15 |
hisforever |
bash: ./minetest: No such file or directory |
07:20 |
hisforever |
well its 320 here in Va ao I'll have to say good Morning GB bye |
08:01 |
|
Sketch2 joined #minetest |
08:27 |
|
Puka joined #minetest |
08:45 |
|
Hirato joined #minetest |
08:57 |
epoch |
made a derpy server list page of my own. |
08:57 |
epoch |
still a lot of work on getting the right colors and styling just right |
08:57 |
epoch |
and adding some more columns to the list. |
08:58 |
epoch |
https://thebackupbox.net/cgi-bin/minetest.cgi |
09:02 |
epoch |
I was mainly trying to get it to act similar to the in-game server list. |
09:49 |
|
rdococ joined #minetest |
10:01 |
BuckarooBanzai |
epoch i only see 1 column ;) |
10:04 |
|
proller joined #minetest |
10:04 |
epoch |
so far |
10:07 |
epoch |
population added |
10:59 |
epoch |
ha. now it has server flags with the right images. |
11:12 |
|
Nezrok joined #minetest |
11:17 |
|
tomraceror joined #minetest |
11:17 |
|
nepugia joined #minetest |
11:17 |
tomraceror |
he nepugia |
11:18 |
nepugia |
hoi |
11:18 |
tomraceror |
can you help me maybe? |
11:18 |
nepugia |
I would say that highly depends on your issue |
11:19 |
tomraceror |
i need some help with registering a command |
11:19 |
tomraceror |
i want to create a mod (command) |
11:21 |
|
proller joined #minetest |
11:24 |
tomraceror |
what is the function to create a mod that make a person invsible |
11:31 |
|
tery joined #minetest |
11:43 |
|
Fixer joined #minetest |
11:44 |
Nezrok |
!tell tomraceror you can create a function that sets a player's visual_size to zero, and/or hide their nametag by changing its alpha value |
11:44 |
MinetestBot |
Nezrok: I'll pass that on when tomraceror is around |
11:44 |
|
Tux[Qyou] joined #minetest |
11:55 |
tomracer |
ok |
11:56 |
tomracer |
i am here |
11:56 |
tomracer |
but how |
11:56 |
tomracer |
i am new at command modding |
11:56 |
nepugia |
>tomraceror you can create a function that sets a player's visual_size to zero, and/or hide their nametag by changing its alpha value |
11:56 |
tomracer |
yeah |
11:56 |
tomracer |
but how.... |
11:56 |
tomracer |
apha value? |
11:57 |
nepugia |
did you take a look at the lua-api documentation yet? |
11:57 |
tomracer |
not yet.. |
11:58 |
nepugia |
maybe you should :) |
11:58 |
tomracer |
where is it? |
11:58 |
tomracer |
in buildin? |
12:00 |
nepugia |
not sure whether it is shipped in any release version, here you can read the development version based one: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt |
12:00 |
nepugia |
alternatively clone the repo and switch to whatever tag your game release is at and then read the doc locally |
12:01 |
Nezrok |
Seems an easier method to find out how to do it would be to look at an established work already |
12:01 |
Nezrok |
https://github.com/Ezhh/catcommands/blob/master/init.lua#L323 |
12:01 |
tomraceror |
is that your's? |
12:01 |
MinetestBot |
tomraceror: Jun-29 11:44 UTC <Nezrok> you can create a function that sets a player's visual_size to zero, and/or hide their nametag by changing its alpha value |
12:02 |
tomraceror |
thanks MinetestBot |
12:03 |
Nezrok |
It's not mine, no |
12:03 |
tomraceror |
ok |
12:03 |
tomraceror |
minetest.register_chatcommand("vanish", { |
12:03 |
tomraceror |
params = "", |
12:03 |
tomraceror |
description = "Make user invisible", |
12:03 |
tomraceror |
privs = {hidden_one = true}, |
12:03 |
tomraceror |
func = function(user) |
12:03 |
tomraceror |
local prop |
12:03 |
tomraceror |
local player = minetest.get_player_by_name(user) |
12:03 |
tomraceror |
vanished_players[user] = not vanished_players[user] |
12:03 |
tomraceror |
if vanished_players[user] then |
12:03 |
tomraceror |
prop = {visual_size = {x = 0, y = 0}, |
12:03 |
tomraceror |
collisionbox = {0,0,0,0,0,0}} |
12:03 |
tomraceror |
player:set_nametag_attributes({color = {a = 0, r = 255, g = 255, b = 255}}) |
12:03 |
tomraceror |
else |
12:03 |
tomraceror |
-- default player size. |
12:04 |
Nezrok |
Oof |
12:04 |
tomraceror |
prop = {visual_size = {x = 1, y = 1}, |
12:04 |
tomraceror |
collisionbox = {-0.35, -1, -0.35, 0.35, 1, 0.35}} |
12:04 |
tomraceror |
player:set_nametag_attributes({color = {a = 255, r = 255, g = 255, b = 255}}) |
12:04 |
tomraceror |
end |
12:04 |
tomraceror |
player:set_properties(prop) |
12:04 |
tomraceror |
end# |
12:04 |
tomraceror |
|
12:04 |
tomraceror |
|
12:04 |
tomraceror |
is the vanish cmd also for visible |
12:04 |
tomraceror |
XD |
12:04 |
Nezrok |
It will swap them back to their original values if repeated, yes |
12:06 |
nepugia |
pasting so many lines is usually bae etiquette :) |
12:06 |
Nezrok |
Honest mistake, I think |
12:07 |
nepugia |
i'm just saying, i'm not beeing angry :) |
12:08 |
tomraceror |
yeah,sry |
12:08 |
tomraceror |
i wont that |
12:08 |
tomraceror |
thanks |
12:12 |
nepugia |
Hmm, is steel and flint broken on head of mtg? i can't really ignite anything |
12:16 |
nepugia |
fire is enabled, still fire only seems to stay very short |
12:16 |
nepugia |
lava doesn't ignite those trees either |
12:23 |
Nezrok |
Is damage enabled? |
12:24 |
nepugia |
player damage is |
12:35 |
|
tpe joined #minetest |
12:36 |
tomraceror |
Moie type |
12:36 |
tomraceror |
tpe** |
12:39 |
|
Plane joined #minetest |
12:40 |
|
calcul0n joined #minetest |
12:42 |
|
Plane left #minetest |
13:00 |
|
FrostRanger joined #minetest |
13:00 |
tomraceror |
Guten Nachmittag FrostRanger |
13:06 |
DrFrankenstone |
I've added mesecon support to a node, but it's just a lua table in the node definition, so it doesn't *need* the mesecons mod to be loaded first, or even at all, does this mean I should leave mesecons out of the optional dependencies? Are optional dependencies just for mod loading order, or are they also for telling people "this can use that"? |
13:08 |
|
Plane joined #minetest |
13:08 |
|
Plane left #minetest |
13:09 |
|
Krock joined #minetest |
13:39 |
|
Hawk777 joined #minetest |
13:43 |
rubenwardy |
DrFrankenstone: I'd put it in anyway |
13:45 |
nepugia |
Is there some way to show different formspecs to different people for chests and such? I would like users to be able to specify their preffered gui color and have the formspecs for them have that color |
13:45 |
nepugia |
(chest is just an example anyhow, really any thing that would show a formspec on clicking it) |
13:46 |
Sketch2 |
yea, but you'd need to store the data of who gets what formspec |
13:47 |
Sketch2 |
either by assigning a priv, or a look-up-table |
13:47 |
nepugia |
well, sure i would need to generate it somehow, but the question is moreso how i would do it |
13:48 |
nepugia |
since afaik the 'formspec' attribute is global |
13:49 |
Sketch2 |
if user has priv 'spill' then wet_formspec else dry_formspec end |
13:50 |
nepugia |
context! |
13:50 |
nepugia |
if i do that on normal formspecs it will lead to endless race conditions |
13:50 |
|
Telesight joined #minetest |
13:51 |
nepugia |
i can just do such on i.e the inventory formspec assignment per player, but not for furnaces and such |
13:54 |
Telesight |
Hello all, has something changed with the server announcement? |
13:54 |
Telesight |
I get this fault: ERROR[CurlFetch]: servers.minetest.net/announce not found (Couldn't resolve host name) (response code 0) |
13:54 |
DrFrankenstone |
cheers rubenwardy |
13:54 |
Telesight |
Players can enter the server ... |
13:56 |
nepugia |
drill AAAA servers.minetest.net works for me, does your dns resolution work on your server? |
13:57 |
Telesight |
Let me check ... |
14:00 |
rubenwardy |
nepugia: show_formspec in on right click |
14:05 |
Telesight |
nepugia thanks for the hint, I had a technical ISP update yesterday , so I think the DNS was not valid anymore |
14:06 |
nepugia |
rubenwardy: ah, call it as a function, that would work i suppose :) |
14:07 |
Telesight |
I set two new DNS values and now we are on the serverlist again |
14:07 |
Telesight |
Thanks :) |
14:07 |
|
LoneWolfHT joined #minetest |
14:37 |
|
pauloue joined #minetest |
14:50 |
|
Lunatrius joined #minetest |
14:51 |
|
Sketch2 joined #minetest |
15:30 |
|
Wuzzy joined #minetest |
15:31 |
|
CaptainAmazing joined #minetest |
15:34 |
CaptainAmazing |
I'm trying to access the server terminal (--server --terminal). I compiled the latest build with -DENABLE_CURSES=1. I also tried with -DENABLE_NCURSES=1. I get the following error " ERROR[Main]: Cmd arg --terminal passed, but compiled without ncurses. Ignoring." Any idea how to access the server terminal? |
15:37 |
pauloue |
did you have ncurses installed? |
15:38 |
CaptainAmazing |
No, how do I do that? I followed the build instructions from the wiki. |
15:38 |
|
puzzlecube joined #minetest |
15:39 |
pauloue |
what OS? |
15:39 |
CaptainAmazing |
This is a ubuntu server |
15:40 |
pauloue |
I think you need to install libncurses-dev |
15:40 |
Corey[m] |
CaptainAmazing: apt-get install ncurses-dev |
15:40 |
Corey[m] |
Or at least that's what worked for me on Ubuntu 18 |
15:41 |
|
nowhere_man joined #minetest |
15:42 |
CaptainAmazing |
Thank you both. I am recompiling now. |
15:52 |
CaptainAmazing |
It works. Thanks pauloue and Corey[m]! |
15:52 |
Corey[m] |
You're welcome |
15:53 |
pauloue |
No problem |
16:01 |
|
Dr_Frankenstone joined #minetest |
16:03 |
|
someguyMT joined #minetest |
16:11 |
|
tomracer_ joined #minetest |
16:20 |
|
ANAND joined #minetest |
16:21 |
|
kekboi joined #minetest |
16:24 |
|
cdde joined #minetest |
16:46 |
|
Nelly joined #minetest |
16:48 |
|
nepugia joined #minetest |
16:51 |
|
Rafi59 joined #minetest |
16:54 |
|
nepugia_ joined #minetest |
16:57 |
|
riff-IRC joined #minetest |
17:12 |
|
momo78 joined #minetest |
17:12 |
momo78 |
hello |
17:14 |
momo78 |
I have a questiion - I just tried out minetest on win7 64 bit - when I collect multiple items, in the inventory there is not more than one available. holds true for wood, cobblestone, and sand so far ... is this a known issue? |
17:14 |
LoneWolfHT |
? |
17:15 |
LoneWolfHT |
You collect more than one of something and only get one of it? |
17:16 |
momo78 |
yeah |
17:16 |
momo78 |
I am as baffled as you are |
17:16 |
LoneWolfHT |
Is this on a public server? |
17:17 |
LoneWolfHT |
How did you know you were picking up more that one item? |
17:17 |
momo78 |
that is to say - i can place more than one, but not use more than one in crafting |
17:17 |
momo78 |
nope, singleplayer |
17:17 |
momo78 |
because I took down like 5 trees |
17:18 |
LoneWolfHT |
Could you show a GIF? https://www.screentogif.com/ |
17:22 |
Hawk777 |
Doesn’t something like that happen in creative mode? Or maybe in creative mode with certain mods? When you pick up stuff off the ground they’re all combined into a single item, but because it’s creative you can place that item back into the world an unlimited number of times? |
17:23 |
Hawk777 |
I can’t remember exactly now, but I’m pretty sure I’ve seen something other than the usual non-creative “N on the ground → N in the inventory → N on the ground” behaviour. |
17:31 |
momo78 |
oops |
17:31 |
momo78 |
true, just tested it |
17:31 |
momo78 |
sorry for taking up your time :D |
17:37 |
Krock |
why gif? That's not even compressed |
17:38 |
Krock |
SimpleScreenRecorder provides all you need |
17:38 |
Krock |
oh. they're on windows |
17:39 |
Krock |
HyperCam 2 is free btw (was shareware before) |
17:45 |
VanessaE |
momo78: what you're seeing is normal for creative mode/priv, though there was a time when items would accumulate. |
17:56 |
momo78 |
thank you all so much :] (y) |
18:26 |
|
Fusl joined #minetest |
18:31 |
|
kammmil2017 joined #minetest |
18:32 |
|
pauloue joined #minetest |
18:33 |
|
tery joined #minetest |
18:33 |
|
pauloue joined #minetest |
19:04 |
|
kammmil2017 left #minetest |
19:09 |
|
nepugia joined #minetest |
19:10 |
nepugia |
rubenwardy: hey, been thinking a bit more about the formspec stuff, i don't think the solution you proposed is ideal dou to race conditions (i.e me updating the formspec for the player) |
19:11 |
rubenwardy |
The solution I gave is used by locked chesys |
19:11 |
rubenwardy |
*chests |
19:11 |
nepugia |
currently for a global formspec the client opens the formspec exactly as long as it is needed, but with the other solution i would force open the formspec N times until the player closes it, but due to network lag it might be opened again /after/ the player has closed it |
19:11 |
rubenwardy |
Wait, what? |
19:11 |
nepugia |
i want my formspecs to be animated, this requires to resend them, unless i could make them clientside somehow |
19:12 |
nepugia |
similar to how the furnace one is animated |
19:12 |
rubenwardy |
Ah right, not really possible then |
19:13 |
nepugia |
could we make it possible? :P, assuming i would be able to send a clientside mods for clients to execute, and assign the formspec function thing to execute clientside |
19:14 |
nepugia |
maybe have the formspec be a /function/ that works the same as the 'formspec' string, just that it is executed to get the new formspec once per frame or so |
19:27 |
|
Pie-jacker875 joined #minetest |
19:44 |
|
luizsab joined #minetest |
19:47 |
luizsab |
hello, I used a some time ago a protection mode that looks like a gray brick and has radius 12 of protection. has someone the link and name? I dont remember and I lost it |
19:56 |
|
DS-minetest joined #minetest |
20:12 |
luizsab |
someone knows? |
20:15 |
Calinou |
luizsab: it's probably the protector (or protectorplus) mod |
20:16 |
DS-minetest |
https://forum.minetest.net/viewtopic.php?t=2793 |
20:22 |
luizsab |
the link download link was removed |
20:24 |
DS-minetest |
yeah, that was the original. but it was forked some times |
20:24 |
|
panku joined #minetest |
20:25 |
|
panku joined #minetest |
20:25 |
DS-minetest |
see https://krock-works.uk.to/minetest/modSearch.php?st=0&at=0&q=protector# |
20:26 |
Krock |
TRIGGERED |
20:26 |
Krock |
!mod protector |
20:26 |
MinetestBot |
Krock: Protector Redo [protector] by TenPlus1 - https://forum.minetest.net/viewtopic.php?t=9376 |
20:26 |
luizsab |
yes, I understand. I will try Protector Redo, but I want some mod that range about radius 10 |
20:26 |
Krock |
you can change that in its config gile |
20:26 |
Krock |
*file |
20:27 |
DS-minetest |
heh, putting your name into a url has its downsides |
20:30 |
Krock |
nah. hexchat doesn't show that as notification. just checked the channel by chance |
20:30 |
DS-minetest |
oh |
20:39 |
|
diego1 joined #minetest |
20:39 |
luizsab |
Krock thanks for suggest, it's I need |
20:40 |
luizsab |
DS-Minetest I ilke of your website, Congratulations |
20:50 |
tery |
my mod isnt there :( |
20:51 |
tery |
xD |
20:51 |
tery |
but the website is very nice |
20:51 |
tery |
tehre are the conetndb mods |
20:51 |
tery |
or c55? |
20:54 |
Krock |
it only updates each week, and mods with wrong titles are ignored |
20:55 |
panku |
titles? |
20:55 |
panku |
what means that |
20:55 |
panku |
?? |
20:55 |
Krock |
contentdb has a more recent mod collection though |
20:55 |
Krock |
panku: topic title of a forum post |
20:55 |
panku |
ah |
21:05 |
|
Dr-Frankenstone joined #minetest |
21:23 |
|
LoneWolfHT joined #minetest |
21:23 |
|
yohkara joined #minetest |
21:26 |
|
pauloue joined #minetest |
21:29 |
|
indiana joined #minetest |
21:39 |
|
lllI1I joined #minetest |
21:46 |
lllI1I |
how much of the filesystem can mods access |
21:47 |
nepugia |
depends |
21:47 |
Krock |
lllI1I: user's permission if you have security off |
21:47 |
lllI1I |
I'm thinking of putting in a simple GUI to search and fetch mods on the serverside |
21:48 |
lllI1I |
fetch and install, ready to be enabled when the server restarts |
21:48 |
Krock |
CLI contentdb? |
21:48 |
lllI1I |
was thinking in-game GUI |
21:48 |
lllI1I |
I wouldn't mind a CLI/TUI program for it though |
21:49 |
nepugia |
if you can run lua on the cli you could do both |
21:49 |
lllI1I |
hard to do it by curl | less, looking for the right URL, then wget |
21:49 |
lllI1I |
got to be a better way in my IMO |
21:49 |
nepugia |
i mean like, you can programm it in lua, and have two interfaces |
21:49 |
nepugia |
why would you use curl AND wget? :P |
21:50 |
lllI1I |
curl for temp, wget for longterm |
21:50 |
Krock |
you don't need either. there's a HTTP API in minetest |
21:50 |
lllI1I |
yes which would need a mod written for it |
21:51 |
lllI1I |
oh how about this, we make it a game to see who can make a working proof of concept first |
21:51 |
lllI1I |
then I don't actually do anything and get you guys to make it instead |
21:51 |
Krock |
that's what you thought lol |
21:51 |
lllI1I |
aww shucks |
21:54 |
nepugia |
i know a variation of that game when the person who proposes it gives monetary insentives to the people that should do it ;) |
21:55 |
nepugia |
but that would be boring, what would you learn if we did it for you? :P |
21:55 |
lllI1I |
huhu |
21:55 |
lllI1I |
I'd probably be able to do it no problem, I'm just lazy |
21:55 |
nepugia |
"i would be able to write an OS no problem maaan" |
21:56 |
lllI1I |
if I didn't have to do things like eat or sleep or work or bathe |
21:56 |
lllI1I |
I'd make like 3 OS's |
21:56 |
lllI1I |
each one not sharing any code with each other |
21:57 |
lllI1I |
alas I am only human |
21:57 |
nepugia |
can either be human or an oss contributer |
21:57 |
lllI1I |
can't have both |
21:59 |
lllI1I |
can I have HTTPS disabled for debugging/RE'ing purposes |
21:59 |
lllI1I |
or is there a better way to figure out the API |
22:00 |
lllI1I |
or even better does it just parse the HTML |
22:01 |
nepugia |
put your webserver on the other end? |
22:01 |
nepugia |
HTTP does not imply html ;) |
22:03 |
lllI1I |
yes but for the uhhh |
22:03 |
lllI1I |
contentdb |
22:03 |
Krock |
> json backend |
22:03 |
Krock |
just copy the mainmenu code |
22:03 |
lllI1I |
CURL gives HTML |
22:03 |
nepugia |
that really depends on /what/ you querry |
22:04 |
nepugia |
HTTP can give you man more mimetypes depending on what the server returns |
22:04 |
lllI1I |
yes I mean when I curl the contentdb |
22:04 |
Krock |
or parse HTML with regex. Relevant: https://stackoverflow.com/questions/1732348/ |
22:04 |
lllI1I |
I get html |
22:04 |
Krock |
wrong URL then |
22:05 |
Krock |
https://github.com/minetest/minetest/blob/master/builtin/mainmenu/dlg_contentstore.lua#L275 |
22:05 |
nepugia |
>or parse HTML with regex. |
22:05 |
nepugia |
please dont |
22:05 |
Krock |
nepugia: please check the link |
22:05 |
Krock |
a classic |
22:07 |
lllI1I |
what about parsing xhtml |
22:07 |
lllI1I |
with regex |
22:07 |
nepugia |
BAD |
22:07 |
nepugia |
you can parse xhtml with xml parsing libs |
22:08 |
nepugia |
but uhh dont use regexes for that |
22:36 |
|
YuGiOhJCJ joined #minetest |
22:56 |
|
illwieckz_ joined #minetest |
22:59 |
|
sec^nd joined #minetest |
23:10 |
|
sec^nd joined #minetest |
23:17 |
|
Pie-jacker875 joined #minetest |
23:22 |
|
Sketch2 joined #minetest |
23:42 |
|
behalebabo joined #minetest |