Minetest logo

IRC log for #minetest, 2016-07-30

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:24 ElectronLibre joined #minetest
00:35 ElectronLibre joined #minetest
00:47 Yst__ joined #minetest
01:00 ssieb joined #minetest
01:19 jojoa1997 joined #minetest
01:25 DI3HARD139 Where can I find a mod that has chat anti-spam?? Forgot which mod had the ability
01:26 nolsen DI3HARD139: system32.
01:26 nolsen Just kidding, I don't know.
01:26 * DI3HARD139 thinks it was chatplus but doesnt remember
01:27 shamoanjac minetest.on_message = function(player, message) minetest.ban(player) end
01:27 shamoanjac :P
01:27 DI3HARD139 Im pretty sure that would ban everyone
01:27 shamoanjac no players
01:27 shamoanjac no spam
01:27 shamoanjac it's a bit Stalinist but it works
02:06 swift110-phone joined #minetest
02:12 MinetestBot [git] SmallJoker -> minetest/minetest: texture_packs.txt: Document special textures e559f87 https://git.io/vKjO7 (2016-07-30T03:10:04+01:00)
02:12 MinetestBot [git] rubenwardy -> minetest/minetest: Documentation: Create texture_packs.txt 927adf9 https://git.io/vKjO5 (2016-07-30T03:08:56+01:00)
02:12 MinetestBot [git] mtango688 -> minetest/minetest: lua_api.txt: Document how to properly clear node metadata 573b50a https://git.io/vKjOd (2016-07-30T03:08:21+01:00)
02:21 swift110-phone joined #minetest
02:24 swift110-phone joined #minetest
02:27 Miner_48er joined #minetest
02:33 Jesse-The-Man joined #minetest
02:34 Jesse-The-Man Hey guys, so my server keeps saying that players are moving too fast and then it repositions them. The server usually reports that they disconnect afterwards. I'm running it off of my home computer and I'm not getting this issue when connecting through a friend's wifi.
02:44 swift110-phone joined #minetest
02:58 rubenwardy Jesse-The-Man: if cheaters aren't a problem, then add disable_anticheat = true to minetest.conf
02:58 rubenwardy that will stop that from happening
02:58 rubenwardy but will also allow players to modify their client to move as fast as they like
02:58 rubenwardy and also dig/place at distances out of their reach
02:59 rubenwardy gtg
03:01 aheinecke_ joined #minetest
03:38 swift110-phone joined #minetest
03:43 ElectronLibre joined #minetest
03:44 Out`Of`Control joined #minetest
03:51 Jesse-The-Man What are you supposed to say to foreign players who join your server? I've had numerous Spanish and French players join my game and try to speak with me.
03:51 Jesse-The-Man I usually just tell them I don't undersand them and go on about my business but a lot of them are presistent.
03:57 Bill_Clinton I did NOT have blockbuster and chill with that woman.
03:58 swift110-phone lol
04:37 dlaboratory joined #minetest
04:44 dlaboratory joined #minetest
04:52 LazyJ joined #minetest
05:14 dlab joined #minetest
05:29 lumidify joined #minetest
05:40 DMackey- joined #minetest
06:08 Bill_Clinton https://www.youtube.com/watch?v=T5ufhx-mN6U
06:11 namach joined #minetest
06:13 blert joined #minetest
06:17 blert anybody using a newer version of Irrlicht with their Minetest build?
06:18 CWz joined #minetest
06:23 Out`Of`Control joined #minetest
06:35 lumidify joined #minetest
06:39 Out`Of`Control joined #minetest
06:57 Krock joined #minetest
07:15 sonicpp joined #minetest
07:25 Calinou wow, minetest_game changed quite a bit in a year or so
07:25 Calinou it got a ton of new nodes, and many refinements
07:25 Calinou that's more textures to make D:
07:29 Yst joined #minetest
07:31 Krock Calinou, please also make textures for moreblocks
07:32 Calinou Krock: not yet, I want to finish default mod support
07:32 Calinou and it's far from done
07:34 agaran Calinou: I briefly tried textures today, some of them seem to be more soft, like gravel
07:35 Calinou agaran: I've made dirt more soft, will be pushed soon
07:36 Calinou I didn't touch gravel actually
07:36 agaran I mean default gravel had more color spread than new one
07:44 Passant joined #minetest
07:45 Passant [typo detected] http://wiki.minetest.com/wiki/Setting_up_a_server-_Ububtu cannot join the wiki for fixing: Fatal error: Call to a member function xpath() on boolean in /srv/users/serverpilot/apps/minetestwiki/public/extensions/ConfirmEdit/Asirra.class.php on line 44
07:46 Krock "Ububtu"
07:47 Krock Also, that wiki is not the official one
07:47 Krock http://wiki.minetest.net/Main_Page
07:50 Passant oh didnt pay attention to .net / .com :D
08:01 Calinou over 100 textures made now
08:01 Calinou 99, actually
08:02 Passant maybe ssdb should be a part of the backend list...my server is running since almost 1 year with it now since it was the big help after redis blowed of the memory
08:03 Szkodnix joined #minetest
08:03 jin_xi joined #minetest
08:05 Calinou pushed the update
08:06 SylvieLorxu joined #minetest
08:06 Passant to be honest, if the redis world becomes too big, there is nearly no way to resque it. the only successful solution we found in the past was ssdb which comes with an converter, let you control the memory cache, talkes also redis, is nearly as fast as redis and stores as leveldb.
08:07 Passant also postgres is missing at http://wiki.minetest.net/Database_backends
08:08 shamoanjac joined #minetest
08:11 LNJ2GO joined #minetest
08:15 Passant hm...maybe read the chatlog somewhen and cares about ... sad that there are no signups allowed in the minetest wiki so i would be able to update the backend page. (or is there an alternate way to contribute to it?)
08:16 Passant *maybe someone
08:18 Trustable joined #minetest
08:55 aix Hello everyone!
09:08 jojoa1997 joined #minetest
09:18 Krock hi aix
09:19 lumidify joined #minetest
09:29 Krock Stats of the mods currently used by servers: http://imgur.com/2cQxozY
09:30 shamoanjac hey, is there a way to pass metadata to the function on_construct() of a block?
09:32 Krock the metadata of the node itself?
09:32 Krock or data from another node?
09:33 shamoanjac data from an object in your inventory
09:33 shamoanjac (the object you are placing)
09:33 shamoanjac I am trying to achieve banners, so I was reading the sources of the signs mod
09:34 shamoanjac except, with the signs mod, when you place the node, the metadata is set to none
09:34 shamoanjac and only then you have to edit the text
09:35 shamoanjac what I am trying to do is, you have a unique object in your inventory, with its metadata (the banner colors/shapes) and then this metadata is set directly to the banner node itself
09:35 Krock and the metadata from the inventory item is cleared when you place it?
09:35 Krock I mean.. automatically?
09:37 Calinou reddit is down? :P
09:38 Krock No, it's up.
09:39 Krock (takes less time to check a wobsite than a behevior in Minetust
09:39 Krock )
09:40 ElectronLibre You would have to know who placed the node in on_construct(); though on_construct() is called even when nobody placed the node
09:40 shamoanjac I don't know whether the metadata is saved or not, although my guess is not
09:40 shamoanjac I'll check it in the docs though
09:40 ElectronLibre Itemstack metadata? Not that I know
09:40 shamoanjac and yeah the on_construct doesn't take the player as an argument
09:40 ElectronLibre The only time I've seen a mod use the itemstack metadata to place a node was in memorandum, and they did the trick by plugging into the on_use function
09:41 shamoanjac that's what I guess I'll have to do
09:41 ElectronLibre Or was it on_rightclick... Surely one of them.
09:41 ElectronLibre I haven't looked into that mod since it started freaking out on new versions. Old code is old.
09:41 shamoanjac although this will require a number of checks to know whether the banner can be placed or not
09:42 shamoanjac or, I know
09:42 shamoanjac have a "banner_support" node
09:42 shamoanjac and then right click on it to set it to the banner you have in your inventory
09:42 shamoanjac and recover the one that is on there
09:42 shamoanjac I guess that would do the trick, too
09:42 ElectronLibre Now you're thinking like a modder
09:43 shamoanjac :)
09:43 ElectronLibre Overcoming the engine's limitations with lazy tricks; that's a good way of going about mods.
09:44 shamoanjac sure, I guess I could also make a push request on GitHub to add a good function to the Lua API, but then I'd have to learn how the engine works... which I'm too lazy to do
09:46 shamoanjac metadata can be of any arbitrary type, right?
09:48 nuzzle Here are all the set functions you can use, as of writing:    set_string
09:48 nuzzle set_int
09:48 nuzzle set_float
09:48 nuzzle http://rubenwardy.com/minetest_modding_book/chapters/node_metadata.html
09:48 PseudoNoob joined #minetest
09:48 shamoanjac so I can't set metadata to a Lua table, right?
09:49 nuzzle righto
09:49 shamoanjac alright, thanks
09:49 Krock you can convert it
09:49 qrrlqt base64 yo shit
09:50 Krock no, there are serialize functions, which convert it to a string
09:51 qrrlqt meta:from_table meta:to_table?
09:51 Krock that too
09:51 shamoanjac well I have thought a better way for what I wanted to do anyway
09:51 shamoanjac metadata about banners will be a string right from the beginning instead of a table of transforms and layers
09:52 shamoanjac downside is not being able to edit banners that are already done
10:06 Darcidride joined #minetest
10:15 ElectronLibre Serialization is the only way to store a table in a node's metadata as far as I know
10:16 Markow joined #minetest
10:17 lumidify joined #minetest
10:29 Darcidride joined #minetest
11:01 LNJ2GO joined #minetest
11:02 alt71978 joined #minetest
11:02 Zedicius joined #minetest
11:15 Fixer joined #minetest
11:18 theTroy joined #minetest
11:22 Calinou grr
11:22 * Calinou walks around in mgv7
11:22 Calinou "Minetest engine has stopped working"
11:22 tpe joined #minetest
11:26 Calinou wow, it just froze
11:26 Calinou OOM error
11:26 Calinou in vanilla game?!
11:26 Calinou "Current Lua memory usage: 9 MB"
11:26 Calinou this is on a PC with 32 GB of RAM
11:29 davisonio joined #minetest
11:32 * Krock sets Calinou's computer no fire
11:32 Krock *o
11:32 Krock *on
11:32 Krock damnit, can't type
11:40 Fixer Calinou: how long you was playing?
11:40 Calinou Fixer: like, 5 minutes
11:41 Zedicius Mhm, I've had that problem when I'm cruising around at speed 10...
11:41 Fixer Calinou: yes, lua oom is possible, but after very long play
11:41 Fixer Calinou: did you fly a lot?
11:43 Fixer Calinou: luajit has 1gb mem limit on windows
11:47 Fixer Calinou: try this mod to see lua mem usage in game (outputs into console)
11:49 davisonio joined #minetest
11:49 Fixer Calinou: http://pastebin.com/raw/HAZLTDMS
11:55 Markow joined #minetest
12:00 Calinou yeah I flied a bit
12:00 est31 joined #minetest
12:03 Tux[Qyou] joined #minetest
12:07 lumidify joined #minetest
12:10 Zedicius Does anyone know if you can use a treedef as a decoration schematic?
12:37 DMackey joined #minetest
12:48 rubenwardy joined #minetest
12:49 Yst joined #minetest
12:54 aix guys
12:54 aix what kind of regex would match all guests with a capitalized name followed by some numbers
12:55 rubenwardy [A-Z][A-Za-z0-9_]*[0-9]*
12:55 aix you sure?
12:56 rubenwardy there's probably an easier way to do the middle bit
12:57 aix so "^[A-Z][a-z]+[0-9][0-9][0-9][0-9]$
12:57 aix how about just everything containing a fucking number
12:57 aix in fact, anything with more than two numbers in a row
12:58 rubenwardy [0-9][0-9] with no ^ or $ should work
12:58 TGminer joined #minetest
12:58 aix https://sr.ht/JWmd.txt
12:59 rubenwardy ^*[0-9] makes no sense
12:59 rubenwardy * means zero or more
12:59 aix oh
12:59 aix yeah
12:59 rubenwardy so [0-9]* means zero or more 0-9 characters
12:59 aix ["*[0-9][0-9][0-9]*"]
13:02 aix okay it works without the *s
13:08 theTroy joined #minetest
13:17 jin_xi joined #minetest
13:45 whitephoenix joined #minetest
13:45 DMackey- joined #minetest
13:50 aix someone wanted my i+creative mod
13:50 aix yusf[m]: was it you?
13:50 redblade joined #minetest
13:50 yusf[m] Yeah, I’d like to check it out :)
13:59 aix ah, okay
14:02 Arcelmi joined #minetest
14:09 Hinsbart left #minetest
14:21 atarian joined #minetest
14:23 nuzzle joined #minetest
14:27 aix can pipeworks pipe out of locked chests?
14:28 rubenwardy doubtit
14:29 agaran yes, using for example injectors
14:29 agaran stackwise filter injector, itemwise filter injector, I have been using these for that (along with technic big chests)
14:30 agaran [0-9]+ means one or more character from list..
14:30 agaran that is one or more digits
14:31 rubenwardy and ? means optional
14:31 agaran y
14:31 aix ? means one character
14:31 agaran aix, in shell globs, yes.. in regex no
14:31 rubenwardy nope, it means zero or one
14:32 aix what's a good wat to quickly get leaves?
14:33 aix way*
14:33 rubenwardy dig them
14:33 rubenwardy or /giveme default:leaves 99
14:36 CWz joined #minetest
14:38 Krock or /giveme leaves -1
14:44 whitephoenix joined #minetest
14:44 aix what's a digiline filter injector?
14:46 aix and a digiline chest
14:49 Krock see if there's an explanation in the mod topic
14:49 guest23982 joined #minetest
14:50 guest23982 how do i disable all shadows in minetest?
14:50 Void7 joined #minetest
14:51 Krock guest23982, you can not disable the shadows
14:51 Krock but you can set it to permanent day
14:51 guest23982 i know that
14:52 Krock but?
14:52 guest23982 well if it's possible to enable permanent day client-side, so it should be also possible to set permanent light everywhere, right?
14:52 KaadmY joined #minetest
14:53 Krock yes, edit the source code and you'll be able to do that. But there's no minetest.conf setting for it
14:53 guest23982 do you know maybe where the light is calculated in the source?
14:54 Krock src/light.cpp
14:54 guest23982 thanks
14:54 Krock that's the light table - changing it all to bright will give the same result
14:54 Krock (bright = 255)
14:55 guest23982 i should've look at all the filenames in the source before i asked this, i feel stupid now
14:55 guest23982 thank you for your help
14:55 Krock !next
14:55 MinetestBot Another satisfied customer. Next!
14:56 ElectronLibre joined #minetest
14:59 Krock hi electron-in-a-conducting-metal
15:01 guest23982 left #minetest
15:06 atarian Stupid question time: How do I copy a world from my destop to a dedicated server?
15:06 tpe Still think it's a shame RGB lighting can't be a thing.
15:06 agaran atarian: I would just copy all world/<worldname> directory
15:06 atarian That simple? Brilliant, thanks. I was expecting to have to export sql tables and allsorts :)
15:07 Void7 !next
15:07 MinetestBot Another satisfied customer. Next!
15:07 atarian Thanks
15:09 Fixer !previous
15:10 Fixer !unsutisfied
15:11 atarian Stupid question 2: What is the default location for worlds on a linux minetest server?
15:11 agaran depends on distro, for debian it will be like /var/games/minetest..
15:11 Player_2 joined #minetest
15:12 atarian Good enough for me, thanks
15:12 Zedicius !mod intllib
15:12 MinetestBot Zedicius: Internationalization Library [intllib] by kaeza - https://forum.minetest.net/viewtopic.php?t=4929
15:34 Krock !unsatisfied
15:34 rubenwardy joined #minetest
15:35 LNJ2GO left #minetest
15:36 Krock hai rubenwardy
15:36 rubenwardy hi Krock
15:44 Fixer hi rubenwardy
15:49 STHGOM joined #minetest
15:58 shangul joined #minetest
16:00 shangul hai.why mt signs r not like mc signs while they r better?ik i can install mods!i mean by default why they r not like mc ones?
16:02 Tuxedo[Qyou] joined #minetest
16:14 aix wow you just broke the meme density record
16:15 shangul aix, who?me?
16:16 aix yes!you!
16:17 shangul wot?
16:17 shangul whats "meme density record"?
16:18 KaadmY what you just broke :]
16:18 shangul internet memes?
16:18 KaadmY and there are mods that have signs like in MC
16:18 KaadmY but they're not default
16:18 shangul yea ik
16:18 shangul why r not default?
16:19 shangul <aix> wow you just broke the meme density record => i always do :p
16:19 aix that's!great!
16:21 LazyJ joined #minetest
16:21 nm0i Because spawning text entity in front of sign breaks dev's inner perfectionists, if I got it right.
16:22 shangul i dont understand
16:22 aix nm0i: heh
16:25 SylvieLorxu joined #minetest
16:26 hmmmm joined #minetest
16:34 lumidify joined #minetest
16:39 xunto joined #minetest
16:39 Fixer joined #minetest
16:46 xunto joined #minetest
16:46 davisonio joined #minetest
16:47 MrBeNNy joined #minetest
17:01 Tuxedo[Qyou] joined #minetest
17:12 swift110 joined #minetest
17:16 swift110 joined #minetest
17:18 davisonio joined #minetest
17:19 namach joined #minetest
17:25 davisonio joined #minetest
17:27 Amaz joined #minetest
17:42 STHGOM joined #minetest
17:47 hmmmmm joined #minetest
17:51 hmmmmmm joined #minetest
17:53 Weedy joined #minetest
17:55 Weedy_ joined #minetest
17:58 SmugLeaf joined #minetest
17:58 SmugLeaf joined #minetest
18:01 LazyJ joined #minetest
18:03 Nitori joined #minetest
18:11 yusf[m] Can I use WorldEdit to replace all unknown nodes with air?
18:13 agaran I would rather find nodenames and add own module with abm replacing them with air, or being evil, abm for all nodes that checks if node is registered else replaces it with air.. but may bog server down..
18:18 shamoanjac is metadata on a craftitem always a string?
18:19 SylvieLorxu joined #minetest
18:21 Fritigern joined #minetest
18:24 juhdanad joined #minetest
18:27 cmhobbs joined #minetest
18:27 cmhobbs is it possible to build just the minetest server?  i'd like to run it on one of my remote boxes but i really don't want to install x11
18:28 aix yes
18:28 aix -DBUILD_CLIENT=0 -DBUILD_SERVER=1 in the cmake options
18:29 sfan5 yes
18:29 sfan5 in addition to what aix said
18:29 sfan5 you'll need to download irrlicht
18:29 sfan5 extract just the include headers
18:29 sfan5 and pass them to cmake
18:29 sfan5 the library is not needed for a server build
18:32 cmhobbs thank you
18:34 cmhobbs is there documentation on how to extract the headers from irrlicht?  i'm digging around now
18:35 cmhobbs ah, i think i've got it
18:35 cmhobbs maybe
18:57 Szkodnix joined #minetest
18:58 xunto А ещё я взломал топором комнату и украл костюм священника
18:58 xunto И ходил кровавый в костюме священника с топором...
18:58 xunto Но всем норм.
18:58 xunto Не понимаю как в это игратьт
18:59 yusf[m] agaran (IRC): What if one is not a coder? Still possible?
18:59 xunto sorry, wrong char :/
18:59 KaadmY if you know the node's name you can use WE to replace
18:59 agaran yusf[m]: dunno, I never used WE..
18:59 KaadmY yusf[m]: press F5 to enable debug info, you can see the node you're pointing at
19:00 yusf[m] KaadmY (IRC): Even if the mod the node came with is unloaded?
19:00 KaadmY yusf[m]: it should work
19:00 yusf[m] Cool
19:00 KaadmY the node name is stored outside the mod
19:01 yusf[m] But no trick to catch all ”unknown” ones?
19:01 KaadmY dont think so
19:01 KaadmY the simplest but cpu-hogging way is checking every node and replacing with air if it's not registered as agaran said
19:02 Krock heh
19:02 agaran hmm it can be smarter, it can use lbm not abm
19:02 Krock use vmanip
19:02 agaran hmm voxel manipulator, need to learn to use them
19:02 Krock then convert the vmanip ID to a nodename - if it fails, it's an unknown node
19:03 Krock replace by air and save the VManip changes - done
19:04 cmhobbs left #minetest
19:05 shangul yusf[m], may i pm u?
19:05 yusf[m] shangul (IRC): go ahead
19:06 xunto joined #minetest
19:07 Telesight joined #minetest
19:16 Void7 joined #minetest
19:54 Fritigern joined #minetest
19:59 guest23982 joined #minetest
19:59 guest23982 hello, apparently the irc.inchra.net server is down? what is the current alternative?
20:00 davisonio joined #minetest
20:02 VanessaE guest23982: irc.daconcepts.com
20:03 VanessaE this points to the inchra "round robin" server, which will land you on mine, or maybe amun or whatever else is running.
20:03 guest23982 thank you for your reply
20:04 guest23982 left #minetest
20:10 mdiehl joined #minetest
20:15 hmmmmm joined #minetest
20:17 killmoderators joined #minetest
20:17 killmoderators left #minetest
20:17 LNJ2GO joined #minetest
20:18 hmmmmmm joined #minetest
20:34 Calinou https://forum.minetest.net/viewtopic.php?p=1294#p1294
20:34 Calinou so relevant to today's games :P
20:34 soetwas joined #minetest
20:43 IhrFussel joined #minetest
20:43 IhrFussel Ubuntu 14.04: netstat doesn't display the active minetest connections or do I something wrong?
20:45 agrecascino joined #minetest
20:46 agrecascino help
20:46 agrecascino help
20:46 agrecascino help
20:46 agrecascino was kicked by ShadowBot: Message repetition flood detected.
20:46 ElectronLibre joined #minetest
20:46 agrecascino joined #minetest
20:47 Void7 agrecascino: what do you need help with?
20:47 agrecascino i'm modifying sapiers factions mod
20:47 agrecascino to add claiming and stuff
20:47 Void7 !mod actions
20:47 MinetestBot Void7: Factions (sapier&#39;s) [factions] by sapier - https://forum.minetest.net/viewtopic.php?t=5919
20:48 agrecascino the issue is tables and arrays in lua make no sense
20:48 Void7 have you seen this? http://lua-users.org/wiki/TablesTutorial
20:49 Lunatrius joined #minetest
20:50 agrecascino no
20:53 agrecascino though looking it over i don't think it would help me
20:55 Yst joined #minetest
20:58 agrecascino i'm getting attempt to index field a nil value
20:58 agrecascino when trying to insert something into a table
20:58 Void7 can I see your code?
20:58 Void7 (pastebin)
21:01 agrecascino Void7, http://github.com/agrecascino/factions
21:01 agrecascino in factionsmod.lua
21:01 agrecascino line 266
21:02 Void7 .insert() is not a function
21:03 Krock table.insert is a function
21:03 agrecascino https://www.lua.org/pil/19.2.html
21:03 agrecascino ?
21:04 Void7 this part is failing: factionsmod.data.factionsmod[name].chunk[table.getn(chunk) + 1]
21:04 Void7 i was wrong, table.insert actually does exis
21:04 agrecascino refresh
21:04 Void7 exist*
21:04 Krock A free book slap giveaway for the one who programmed that code and didn't notice that there are too many intends
21:04 agrecascino actually wait
21:04 Krock *indents
21:05 agrecascino Krock, i purposely indented the added functions
21:05 Void7 ".chunk[table.getn(chunk) + 1]"
21:05 Lunatrius` joined #minetest
21:05 Void7 that would get one past the end of .chunk
21:06 agrecascino Void7, refresh
21:07 Void7 the +1 is wrong
21:07 Void7 also arrays in lua are 1-indexed
21:07 agrecascino ?
21:07 agrecascino since arrays in lua are index by 1
21:07 agrecascino indexed*
21:08 Void7 arrays start at [1] and go to [2], [3]...
21:08 Void7 replace "#factionsmod.data.factionsmod[name].chunk + 1" with "#factionsmod.data.factionsmod[name].chunk"
21:08 agrecascino yeah
21:08 agrecascino but i dont want to change the last item
21:08 agrecascino i want to add one
21:08 agrecascino oh wait
21:08 agrecascino i'm dumb
21:08 Void7 you're trying to insert {} into the new chunk that doesn't exist yet :P
21:09 Void7 it should be "table.insert(factionsmod.data.factionsmod[name].chunk, {})"
21:09 agaran is there table.append() too?
21:09 Void7 no
21:10 agrecascino bad argument to table.insert
21:10 agrecascino table expected got nil
21:10 agaran first argument of table.insert() was nil
21:11 agaran you need do smething like factionsmod.data.factionsmod[name].chunk = {}  if it is nil (so if not ...) then .. end
21:12 agrecascino look at add_Faction
21:12 agrecascino add_faction*
21:12 Void7 did you change the mod after adding a faction?
21:12 agrecascino no
21:13 Void7 that would happen if you loaded the original mod, added a faction, then loaded your mod
21:13 agrecascino it creates a different file
21:13 Krock agrecascino, that part has much potential to be easier to read: http://pastebin.com/8bxWtgDa
21:13 agrecascino so i couldn't of
21:14 Void7 also a fork would have been a better idea
21:15 hmmmmm joined #minetest
21:15 Void7 ah
21:15 Void7 can I see that file (preferably in a pastebin)?
21:16 agrecascino https://0x0.st/aJC.conf
21:17 Void7 This webpage is not available
21:18 agrecascino ?
21:18 agrecascino i can see the conf fine
21:19 Void7 nvm, found it
21:19 Void7 got rid of the "https" at the start
21:19 Void7 hmm, ["chunk"] exists
21:20 Void7 can you push your updates?
21:20 fling joined #minetest
21:21 agrecascino there
21:22 Void7 still failing at the same line?
21:22 agrecascino yes
21:24 Void7 i gtg soon
21:25 nolsen joined #minetest
21:26 nolsen \o/
21:26 nolsen My server is now dual-core
21:27 nolsen Now minetest can run more smoothly.
21:27 Krock did you solder another core on your processor?
21:27 Void7 agrecascino: can you print factionsmod.data.factionsmod, name, and player?
21:28 nolsen Krock: no, I resized my droplet.
21:28 nolsen From 1 CPU to 2.
21:28 nolsen 1GB of RAM to 2.
21:29 nolsen My server is now beautiful
21:30 nolsen !server Such Minetest Server
21:30 MinetestBot nolsen: No results
21:30 nolsen !server Such Survival Server
21:30 MinetestBot nolsen: Such Survival Server | minetest.nolsen.xyz | Clients: 0/15, 0/0 | Version: 0.4.14-dev / minetest | Ping: 151ms
21:31 Void7 agrecascino: what debug output is there?
21:31 agrecascino Void7, let me paste it
21:31 agrecascino sorry
21:31 agrecascino i was afk
21:31 Void7 can you print factionsmod.data.factionsmod, name, and player?
21:33 agrecascino what the function for logging
21:33 agrecascino ?
21:33 Void7 print()
21:33 agrecascino oh
21:34 agrecascino first line is testou
21:34 agrecascino second is userdata: 0x400ebc80
21:35 Void7 okay, dump(factionsmod.data.factionsmod)
21:35 Krock2 joined #minetest
21:36 agrecascino alright
21:36 agrecascino it didn't seem like that did anything
21:37 Void7 i meant print that
21:37 agrecascino oh
21:37 Void7 print(dump(factionsmod.data.factionsmod))
21:37 Void7 ah, found it
21:38 agrecascino ?
21:38 Void7 line 793, add "factionsmod.data.factionsmod[key].chunk = value.chunk"
21:39 agrecascino also
21:39 agrecascino 0x0.st/ayX.txt
21:40 Void7 ok
21:40 agrecascino alright
21:40 agrecascino new error
21:41 Void7 what's the error?
21:41 agrecascino attempt to call field maxn a nil value maxn line 122
21:42 Void7 use "#factionsmod.data.factionsmod[v].chunk" instead
21:42 Void7 do the same on line 276
21:43 nolsen My server is now the best.
21:43 nolsen Because it has a unique feature...
21:43 agrecascino nolsen, mine has broken factioms
21:43 agrecascino beat that!
21:43 Void7 factions*
21:43 nolsen Mine has a long "Media..." screen
21:43 nolsen Because the 128x texturepack
21:43 agrecascino well shit it worked
21:44 nolsen or 256x
21:44 Void7 agrecascino: :P
21:45 nolsen Oh...my..god
21:45 nolsen the hand
21:45 nolsen wtf is with my texture pack hand
21:45 agrecascino nevermind
21:46 agrecascino it didn't crash, but breaking the blocks worked
21:46 agrecascino even though i'm not int that faction
21:46 agrecascino in*
21:46 nolsen https://forum.minetest.net/viewtopic.php?t=1583
21:46 nolsen THIS MOD
21:46 nolsen HAS THE WIERDEST HAND
21:47 nolsen I HAVE EVER SEEN
21:47 nolsen Texture pack*
21:48 nolsen Going to replace the hand with the default
21:48 nolsen If I can figure out what is it called
21:48 agrecascino what does the hand look like
21:48 Void7 !server just survival
21:48 MinetestBot Void7: No results
21:48 Void7 !server such survival
21:48 MinetestBot Void7: Such Survival Server | minetest.nolsen.xyz | Clients: 0/15, 0/1 | Version: 0.4.14-dev / minetest | Ping: 155ms
21:49 nolsen Void7: You'll be on the loading screen for 5 minutes
21:49 nolsen or 3
21:49 nolsen because of the texture pack
21:49 nolsen agrecascino: A block, with a picture of a fist.
21:49 agrecascino why
21:49 nolsen or a chunk of wood
21:49 nolsen with a fist decal
21:50 nolsen It's terrifying.
21:51 nolsen It's recommended to have 30Mbps or better internet connection on my server.
21:51 nolsen 60Mbps*
21:52 Void7 media might be halfway done! :P
21:52 agrecascino if you were insane enough, could you download a module in minetest lua
21:52 agrecascino then play it in real time?
21:52 Void7 no
21:52 Void7 nodes are registered at load-time oNLY
21:55 Void7 the loading bar hid the "M"! :D
21:56 Hijiri hand sprite
21:56 Hijiri so realistic
21:56 Hijiri I can practically feel the punches
21:56 nolsen Hijiri: I'm trying to figure out where is the hand picture
21:56 nolsen so I can delete it
21:56 nolsen before it gives anyone nightmares.
21:58 nolsen Found it
21:58 nolsen Hijiri, Void7: Going to restart the server
21:58 nolsen So the textures can apply
21:59 nolsen https://github.com/VanessaE/hdx-128/blob/8477e143749f9a6cc3721234f5c9b795913e67f7/wieldhand.png
21:59 Hijiri you should set up an http fileserver, it will make downloads faster
21:59 nolsen How do I do that?
21:59 Hijiri I don't remember, but I think it's on the wiki
22:00 Hijiri maybe not
22:00 VanessaE hey now, that's my husband's fist :(
22:00 nolsen VanessaE: Really?
22:00 VanessaE yep.,
22:00 nolsen But why a fist?
22:00 nolsen Why not a hand?
22:00 nolsen Open hand.
22:00 VanessaE his hands are kinda knarled, and it's a fist because well, that's what you do with a hand when you click - you punch. :)
22:00 nolsen VanessaE: Though when you use it, it looks disconnected.
22:00 nolsen from your body.
22:01 VanessaE yeah I know, that's not something I can solve in HDX>
22:01 VanessaE the mesh the engine uses to display the wield hand is too short.
22:01 nolsen Hijiri: I found a mod that makes you use rocks to cut down trees.
22:01 nolsen instead of punching trees, you have to find something else.
22:01 nolsen like rocks.
22:01 nolsen Thinking of loading it, the problem is noobs may not realize.
22:02 Lunatrius joined #minetest
22:02 VanessaE they won't.
22:02 nolsen Hijiri>you should set up an http fileserver, it will make downloads faster
22:03 nolsen VanessaE: You know anything about this?
22:03 nolsen Media download is slow now >.>
22:03 nolsen Takes 5 minutes.
22:03 VanessaE in Realtest, you have to dig the dirt out from under a tree trunk to fell a whole tree (then you collect all the fallen objects) - you can't just punch the trunk
22:03 nolsen (Assuming you have 60Mbps or faster)
22:03 VanessaE you need to enable cURL on both server and client, and make sure the server is using a web server to provide the media.
22:04 nolsen Is there a mod that can do this already?
22:04 VanessaE no.
22:04 VanessaE look up "remote media server"
22:04 VanessaE clients connect to your minetest instance, when then tells the client where to go to get the media
22:05 nolsen "How to install Windows Media Services Remote Server ..."
22:05 VanessaE when that media doesn't exist at the location the server tells the client to use, the client will fetch it direct from the server the slow way
22:05 nolsen "Remote Media Center HD - Android Apps on Google Play"
22:05 VanessaE um, try making your query minetest-specific :)
22:05 nolsen I did
22:05 nolsen "remote media server minetest"
22:05 VanessaE https://forum.minetest.net/viewtopic.php?f=3&amp;t=9260
22:06 Firebird_ joined #minetest
22:08 nolsen https://gist.github.com/sfan5/6351560 This will take a bit
22:09 nolsen Hijiri: Do you notice any performance in the server since there is another core and more RAM?
22:10 Hijiri I wasn't having too many issues before, so I don't notice anything immediately
22:10 Hijiri I wasn't moving around too much recently though
22:12 Hijiri usually if I saw lag it was when more people are on
22:12 Hijiri so we'll see when there are more users, I think
22:18 nolsen Dammit
22:18 nolsen Winblows 10 got a BSoD
22:18 nolsen KERNEL_SECURITY_CHECK_FAILURE
22:19 Freejack joined #minetest
22:24 rubenwardy joined #minetest
22:27 Hijiri nolsen: did you add the media server? it loaded a lot faster
22:27 nolsen Hijiri: No
22:27 nolsen It's probably cache
22:27 Hijiri I don't know if minetest caches recent media
22:27 Hijiri oh, ok
22:27 nolsen The only change I made was setting the hand back to stock.
22:28 nolsen Hijiri: You have faster than 60Mbps internet?
22:28 Hijiri no
22:28 nolsen Hm, I am not sure can I use cloudflare with my media server.
22:28 nolsen Because it's https
22:29 nolsen VanessaE: I think the sword should be longer.
22:29 nolsen Because it looks more of a dagger than a sword.
22:31 agrecascino what callbacks would i need to register to prevent someone from breaking a block
22:31 VanessaE it's already almost at the maximum length for the texture
22:31 VanessaE it can only be bumped by maybe another 10 percent
22:32 VanessaE (better to tweak the size of the wielded mesh instead, in the Lua def)
22:32 agrecascino make it longer and thinner then
22:33 nolsen Lightning bug: http://imgur.com/a/xR5gc
22:33 VanessaE it's already as thin as it can go.  too much moreso and it'll look more like a fencing foil than a broadsword
22:33 KaadmY wait
22:33 agrecascino just make it a line
22:33 VanessaE like I said, fix it in the wield mesh size, not the texture.
22:33 KaadmY does lighting actually change node light in an aread?
22:34 KaadmY area*
22:34 VanessaE KaadmY: the lighting for a node is stored in the map, so yes to a degree.
22:34 KaadmY oh type
22:34 KaadmY lightning*
22:34 KaadmY <nolsen> Lightning bug: http://imgur.com/a/xR5gc
22:34 KaadmY or was his a type too
22:34 KaadmY typo*
22:34 GunshipPenguin joined #minetest
22:37 redblade joined #minetest
22:37 shamoanjac ayo agrecascino
22:38 VanessaE and actually, yes it does
22:38 VanessaE lightning is known to trigger lighting bugs in the engine, from what I've heard before.
22:39 VanessaE I don't know how the mod works though
22:39 VanessaE but I assume it rewrites all of the light values in the area around the strike
22:39 VanessaE (plus what fire does when that hppens)
22:39 VanessaE happens*
22:43 soetwas left #minetest
22:44 GunshipPenguin joined #minetest
22:44 GunshipPenguin joined #minetest
22:45 GunshipPenguin joined #minetest
22:45 Fritigern joined #minetest
22:45 GunshipPenguin joined #minetest
22:46 GunshipPenguin joined #minetest
22:46 LNJ2GO left #minetest
22:49 nolsen Hijiri: Remote media enabled
22:49 nolsen Hopefully cloudflare won't do anything funny.
22:50 Fixer KaadmY: moretrees :trollface:
22:51 KaadmY ..?
22:53 Fixer KaadmY: moretrees (engine bug) make those horrible shadow bugs
22:53 Fixer KaadmY: can be avoided by making them grow as saplings
22:57 VanessaE that reminds me... moretrees needs to move from using an ABM to using node timers on those saplings.
22:59 VanessaE (in theory, a mapgen-placed sapling is supposed to wait ~10 seconds before growing.  in practice, they don't)
23:00 Fixer damn night is quite shitty right now, jungle feel
23:04 nolsen Welp, now my server requires more than 4GB of RAM to play on.
23:05 Fixer VanessaE: is not you can just dump all that mods into minetest_game automatically each time to use it as subgame?
23:05 Fixer nolsen: why?
23:06 nolsen Fixer: Because the texture pack and the mods.
23:06 nolsen Before the texture pack, it would require 1GB or more.
23:06 nolsen Now no android user will be able to play
23:06 Fixer oh lol
23:07 betterthanyou710 joined #minetest
23:08 shamoanjac not a big loss :^)
23:10 nolsen I changed my description now, recommended to have 50Mbps (or better) internet connection, more than 4GB of available RAM, and a decent processor.
23:10 nolsen i3 or better :p
23:12 nolsen I'm even considering turning pagefile, because I don't have much ram left.
23:12 nolsen and I thought 8GB was enough for me
23:16 Fixer nolsen: i have crazy idea to avoid this android nonsence
23:16 nolsen Fixer: Remove all the mods and make it minimal as hell?
23:17 Fixer nolsen: not sure if this is possible
23:17 Fixer nolsen: make a mod that requests user to press FX key or something exotic that tablets don't have
23:17 nolsen FX?
23:17 Fixer F1 or whatever
23:18 Fixer Scroll Lock %)
23:18 nolsen My tablet has F1
23:18 nolsen and F1 - F2
23:18 Fixer Page Up
23:18 Fixer Page Down
23:18 nolsen Has that too
23:18 nolsen Using a keyboard app
23:18 Void7 afaik not possible with mods
23:18 shamoanjac Pause key
23:18 Fixer nolsen: too hard for noobs
23:18 Fixer nolsen: hacker keyboard has it, but not default iirc
23:18 nolsen That is what I use.
23:18 nolsen hacker keyboard.
23:19 Fixer nolsen: this is perfect noob filter
23:20 Fixer nolsen: 1) join server 2) form with the rules pop ups 3) at the end asks you to press "Page Up" 4) kick after 5min of afk
23:21 nolsen I hate those players...join the game and do nothing
23:21 nolsen infact, all they do is sit there.
23:21 nolsen Their ignorance annoys me.
23:22 nolsen More annoying than Minecraft's steve skin.
23:22 Fixer nolsen: not a big deal if they just standing, just add afk kick
23:22 nolsen Fixer: Well, when they join, they stand there.
23:22 nolsen 3 minutes later, they time out.
23:23 nolsen Now I got a new way of keeping them out
23:23 Void7 Fixer: just make a dialog that's too big to exit
23:23 nolsen With a long loading screen, they probably OOM before they join.
23:23 nolsen Dumb android players...
23:24 Fixer Void7: or ultrasmall button
23:24 Void7 :P
23:24 nolsen Play the game on a PC like a normal person...
23:24 Fixer nolsen: just add (no android) into your server title
23:24 nolsen Fixer: That won't do anything.
23:24 Fixer nolsen: people want to struggle it seems
23:24 nolsen Because they are 12 year olds.
23:25 nolsen So atleast I sorta solved my android problem.
23:25 nolsen By having a long enough loading screen.
23:25 Fixer nolsen: i think you are overdoing it
23:25 nolsen Causes them to OOM before they reach to the finish.
23:26 nolsen #PCVsAndroidWar
23:26 * nolsen uses Texture pack against Android, very effective, android OOMs.
23:27 Void7 just use the normal texture pack with 1 2048x2048 texture that's not used anywhere
23:27 nolsen Void7: I'm using a 128x
23:27 Void7 yeah
23:30 VanessaE Fixer: "is not you can just dump all that mods into minetest_game automatically each time to use it as subgame?"  <-- Dreambuilder used to be something like this, with scripted and git-committed changes to the base minetest_game code.  Now, it's just an ordinary modpack.
23:35 notroot joined #minetest
23:35 notroot hello
23:36 agrecascino what callbacks would i need to add to prevent someone from breaking blocks
23:37 VanessaE you just revoke their interact privilege
23:37 yang2003 joined #minetest
23:37 VanessaE on my servers, interact is only granted after the player reads the /rules display and agrees via a keyword found therein.
23:38 betterthanyou710 thats cool
23:38 betterthanyou710 theres also a way to make them hit a block to give them interact
23:38 betterthanyou710 you tell them which block in the /rules
23:38 VanessaE depending on what you want to do, you could also wedge into the * `minetest.register_on_dignode() callback.
23:39 VanessaE no, you can't do that unfortunately.
23:39 VanessaE if they have no interact, the only thing they can do is execute a few commands.
23:39 VanessaE they can't punch anythinmg
23:39 VanessaE -m
23:40 betterthanyou710 i dunno
23:40 betterthanyou710 saw it on howls server
23:41 its100best joined #minetest
23:41 VanessaE most likely that server has interact by default, with redefined dignode and placenode callbacks that maybe look for another priv before allowing "true" interact.
23:41 betterthanyou710 dunno
23:41 betterthanyou710 you just have to hit it
23:41 VanessaE that would be the sanest way to implement it in the code.
23:42 agrecascino i don't mean for all blocks
23:42 betterthanyou710 its called red cat creative
23:42 betterthanyou710 dunno how but thats how she does it
23:42 VanessaE agrecascino: if you just want a single node to not be diggable, mess with that node's dig groups instead.
23:43 agrecascino VanessaE, i mean like protections
23:43 betterthanyou710 your probably right but when you hit it it grants you interact
23:43 VanessaE install a protection mod :)
23:43 agrecascino hugh
23:43 agrecascino i mean i'm making a factions mod
23:43 betterthanyou710 aw sweet!
23:43 betterthanyou710 ive been waiting for that for forever
23:44 betterthanyou710 you should use the marker mod
23:44 betterthanyou710 gimme a moment ill look to see if i can get a link to it
23:44 VanessaE agrecascino: each node has on_punch, on_rightclick, on_dig, on_place, .... also.
23:44 VanessaE https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3628
23:44 Void7 he probably wants https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2506 instead
23:44 VanessaE that's if you want to redefine a few nodes.  if you need to do it globally, you need to mess with register_on_dignode and friends.
23:45 VanessaE Void7: sorta depends on what he really needs to do
23:45 VanessaE is_protected() really isn't meant for his use case.
23:46 Void7 AFAIK he wants to be able to make an area protected by a faction
23:46 Void7 here's the code: https://github.com/agrecascino/factions
23:47 agrecascino i thought the callbacks i added would prevent it
23:47 agrecascino but it didn't work
23:48 Void7 which callbacks?
23:48 Void7 nvm
23:49 Void7 "if v.chunk[i][1] == math.floor(pos.x/16) then"
23:49 Void7 [1] is .y in other code
23:49 agrecascino where
23:49 betterthanyou710 https://github.com/ShadowNinja/areas
23:49 betterthanyou710 this is a good areas mod
23:49 betterthanyou710 if we are even still talking about that :P
23:50 agrecascino erm that's not exactly what i want
23:50 Void7 also AFAIK you can't register_on_dignode in callbacks or anything
23:50 Void7 not sure about that, though
23:50 betterthanyou710 what is it that you exactly want?
23:50 agrecascino i want to just intercept a callback or something
23:51 VanessaE agrecascino: exactly what is it you want to do?
23:51 agrecascino and prevent somebody from breaking something
23:51 betterthanyou710 hm
23:51 agrecascino preferably without adding another dependency
23:51 betterthanyou710 i dont know any mods for that
23:51 VanessaE surely there's already a few factions mods that will do the job.
23:51 betterthanyou710 yeah
23:51 VanessaE why re-invent the wheel?
23:52 betterthanyou710 cause then you can copy right it :P
23:52 VanessaE :P
23:52 agrecascino what
23:52 agrecascino i haven't seen any factions mods that have claiming
23:53 betterthanyou710 you can probably use a minecraft one and change it a little to fit minetest
23:53 betterthanyou710 not good with mods
23:53 betterthanyou710 minecraft has many good faction mods
23:53 VanessaE betterthanyou710: nope.
23:53 VanessaE minecraft mods cannot be made to work on minetest.
23:53 agrecascino what
23:54 agrecascino minecraft is writting in fucking java
23:54 VanessaE one could *port* them to minetest, by rewriting them entirely in Lua.
23:54 betterthanyou710 well i mean you can look at them and look at the code to see if theres anything in there you could use
23:54 betterthanyou710 yeah
23:54 agrecascino and half the callbacks probably dont exist
23:54 betterthanyou710 is there swearing here?
23:54 VanessaE but not a single line of code in minecraft mods can be used in minetest.
23:54 VanessaE yes, swearing is allowed here.
23:54 betterthanyou710 huh
23:55 betterthanyou710 really?
23:55 VanessaE (not that it's encouraged, but few people will get after you for it)
23:55 betterthanyou710 i thought they had to be partially similar
23:55 betterthanyou710 yeah thats what i thought
23:55 VanessaE yeah, this ain't like the minetest servers' network
23:56 betterthanyou710 ik
23:56 betterthanyou710 thought since the games had the same principals and everything the code might be the same
23:56 betterthanyou710 no clue :P
23:57 VanessaE nope.  not even close :)
23:57 betterthanyou710 yeah
23:57 betterthanyou710 never looked at the code between them
23:57 VanessaE a while back we had a troll in here who insisted we ought to make Minetest run javascript.
23:57 betterthanyou710 as said not that good with mods and stuff
23:57 betterthanyou710 lol
23:58 agrecascino minetest.js
23:58 VanessaE because to his mind, literally everything does, did, or will in the future and that traditional programming is dead.
23:58 betterthanyou710 did he have big black teeth and unkept hair?
23:58 betterthanyou710 i hate java
23:58 betterthanyou710 not hate but dont like it as much
23:58 agrecascino anything java related is awful
23:58 agrecascino JavaBeanFactoryBean
23:58 VanessaE I ....greatly dislike Java.
23:59 betterthanyou710 java creates beans?
23:59 betterthanyou710 refried or fried?

| Channels | #minetest index | Today | | Google Search | Plaintext