Minetest logo

IRC log for #minetest, 2016-08-09

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

All times shown according to UTC.

Time Nick Message
00:06 jojoa1997 joined #minetest
00:19 STHGOM joined #minetest
00:19 STHGOM joined #minetest
00:25 swift110 joined #minetest
00:26 Void7 joined #minetest
00:39 FreeFull joined #minetest
00:46 Tmanyo joined #minetest
00:49 swift110 joined #minetest
00:51 guest95823 joined #minetest
00:55 whitephoenix joined #minetest
01:01 twoelk joined #minetest
01:07 BrandonReese joined #minetest
01:10 fling joined #minetest
01:13 ElectronLibre joined #minetest
01:22 TheReaperKing joined #minetest
01:24 STHGOM1 joined #minetest
01:37 GunshipPenguin joined #minetest
01:39 ElectronLibre joined #minetest
01:58 Jellonator joined #minetest
01:58 Jellonator Hey, I'm trying to set a bone's position on my model, but every time I do so, it flips upsidedown
02:10 Jellonator And for some reason it seems like the normals are inverted too
02:11 thePalindrome In minetest?
02:11 DonBatman Jellonator More info needed please
02:12 Jellonator https://forum.minetest.net/viewtopic.php?id=8733 ah I found it on the forums
02:12 Jellonator Doesn't provide a fix though
02:14 Jellonator Buf if I call `self.object:set_bone_position("foo", {x=0,y=0,z=0},{x=0,y=0,z=45});`, then the whole model flips scales by -1, and it doesn't even rotate the model at all despite having a 'foo' bone
02:14 Hijiri Jellonator: there's no indication that the bug was ever fixed
02:15 Jellonator Yeah, I saw that part :(
02:16 Hijiri I don't know much about modeling, but b3d has bones too, right?
02:16 Hijiri the github issue only mentions .x models
02:16 Hijiri maybe it works in b3d models? I don't know though
02:16 Jellonator I assume once it's been loaded it's all the same, I could definitely be wrong though
02:16 Jellonator And I was trying .b3d too, but I never got that to work either
02:17 Hijiri you got the same bone bugs with .b3dd?
02:17 Jellonator No, I just never got the armature to work
02:19 Hijiri This topic suggests that b3d has some of the same problems: https://forum.minetest.net/viewtopic.php?f=18&t=14257
02:19 Hijiri that is about attached objects though]
02:20 Hijiri also what is an armature?
02:21 Hijiri there is also some discussion in the github issue saying that b3d doesn't have someo f the issues of x format
02:21 Hijiri so maybe it would help (?)
02:21 Jellonator armature is a collection of bones
02:21 thePalindrome iirc I use obj files
02:21 thePalindrome lemme check
02:21 Hijiri thePalindrome: do they have any issues with setting bone position?
02:22 Jellonator obj doesn't have bones, it's a static model
02:23 thePalindrome Good point
02:23 thePalindrome It might be irrlicht
02:34 Jellonator Eh, I guess it's not important, it's just animation
02:36 VanessaE left #minetest
02:36 ssieb joined #minetest
02:46 nuzzle joined #minetest
02:52 Tmanyo joined #minetest
03:06 MinetestBot [git] tenplus1 -> minetest/minetest_game: Add labels to ABMs 619ac52 https://git.io/v6nIm (2016-08-09T03:56:37+01:00)
03:06 MinetestBot [git] DonBatman -> minetest/minetest_game: Changed snow nodebox to 'walkable = false' 61a197f https://git.io/v6nIY (2016-08-09T03:51:22+01:00)
03:06 MinetestBot [git] tenplus1 -> minetest/minetest_game: Tnt: Limit blown up dropped stacks to stack_max 14b99a7 https://git.io/v6nIO (2016-08-09T03:48:01+01:00)
03:06 MinetestBot [git] t4im -> minetest/minetest_game: Use minetest instead of core namespace, discourage via luacheck 7621162 https://git.io/v6nI3 (2016-08-09T03:47:27+01:00)
03:06 MinetestBot [git] t4im -> minetest/minetest_game: Let Travis-CI automatically run luacheck on the game b408e9c https://git.io/v6nIs (2016-08-09T03:47:11+01:00)
03:07 GunshipPenguin joined #minetest
03:07 Freejack joined #minetest
03:13 Hijiri I wonder how good of an abstraction a literal entity component system would be as a mod framework
03:14 Hijiri they would be like mini entities that live inside the entity, but share the same body
03:23 swift110-phone joined #minetest
03:23 swift110-phone joined #minetest
03:25 DI3HARD139 joined #minetest
03:27 XtremeHacker_ joined #minetest
03:29 XtremeHacker_ Hey OldCoder, heard you were good for Blender help, I was wondering if you knew of a "noob" animating guide, I can make models, I just can't figure out how to make animations, via bones.
03:30 swift110-phone hey all
03:30 XtremeHacker_ Hi
03:31 swift110-phone how are you
03:36 DonBatman XtremeHacker this might help - https://www.youtube.com/playlist?list=PL-uTdq9t8wyzw6xDPaVeXrx75vmErgXmZ
03:38 XtremeHacker_ Thanks Don, and I'm doing good @swift.
03:39 XtremeHacker_ Got to go, bye.
03:39 XtremeHacker_ And thanks
03:39 DonBatman Bye
03:48 OldCoder XtremeHacker, Hi
03:49 OldCoder XtremeHacker, speak with me tomorrow or later tonight; but as Don points out there are YT videos
03:49 swift110-phone hey oldcoder
03:49 OldCoder The trick
03:49 OldCoder Hi
03:49 OldCoder is to start with the right version of Blender
03:49 OldCoder Ask NathanS about that
03:49 OldCoder Then to find YT videos that match that release
03:49 OldCoder I think newer releases of Blender don't work with the plugin
03:49 OldCoder That imports MT models
03:50 OldCoder They can probably export stuff done from scratch OK; need to check this
03:50 OldCoder XtremeHacker, ^
04:04 swift110-phone what are you using blender for?
04:05 thePalindrome 3d rigs
04:11 swift110-phone what do you mean like what are you trying to do
04:33 Miner_48er joined #minetest
04:39 swift110-phone ok
04:39 swift110-phone must be busy
04:40 dakotalongears joined #minetest
04:45 CWz joined #minetest
04:54 Fusl joined #minetest
04:55 Guest47044 joined #minetest
04:57 redblade joined #minetest
04:57 redblade hi
04:57 redblade i'm trying to report an illegal minetest copy but...how the heck do i create a new folder in github?
04:59 swift110-phone how can a copy of minetest be illega
04:59 redblade because it's called "minecraft"
04:59 redblade and is adware
05:00 swift110-phone oh i see
05:00 redblade or is there a way to rename the folder Evil_Craft
05:01 ElectronLibre joined #minetest
05:03 swift110-phone lol
05:07 redblade i got a fork and can't rename or create a folder
05:07 redblade the instructions don't say how
05:07 redblade https://github.com/redblade7/Minetest_Copy_Report/tree/%22redblade7%22%22Minecraft-(counterfeit)-(unconfirmed)%22/OFFENDERS/Evil_Craft%20%5Bexample%5D
05:08 swift110-phone ok
05:09 redblade here are the instructions
05:09 redblade https://github.com/azekillDIABLO/Minetest_Copy_Report
05:09 redblade this is the information i want to put in it
05:09 redblade https://forum.minetest.net/viewtopic.php?f=3&t=14560
05:12 swift110-phone ok
05:17 ElectronLibre joined #minetest
05:20 redblade i'll bbl please tell me when i get back
05:28 shangul is it possible to run server on an android dev and then play over wifi?
05:33 namach[Svet] joined #minetest
05:40 lumidify joined #minetest
05:49 jin_xi joined #minetest
05:53 burli joined #minetest
06:00 thePalindrome Uhhh... Probably?
06:00 * thePalindrome sleeps
06:35 Nosrick joined #minetest
06:46 redblade i'm going to bed too i  think, goodnight
06:50 Alison joined #minetest
06:50 Alison Hello
06:55 Fusl joined #minetest
06:56 sonicpp joined #minetest
07:08 Krock joined #minetest
07:09 Guest47044 joined #minetest
07:18 namach[Svet] joined #minetest
07:21 Trustable joined #minetest
07:23 Darcidride joined #minetest
07:45 shangul Alison, hi
07:45 shangul lol
07:46 shangul its noon and u r going to sleep?!
07:46 shangul it seems u r on the other side of earth
07:48 aheinecke joined #minetest
07:59 rom1504 so?
08:00 shangul ???
08:00 rom1504 he might well be on the other side of the earth
08:15 davisonio joined #minetest
08:15 basxto joined #minetest
08:18 SylvieLorxu joined #minetest
08:19 Szkodnix joined #minetest
08:30 Passant joined #minetest
08:30 Passant hi there, can i make minetest show in which mod exactly this issue is? Field "height_min": Deprecated: new name is "y_min".
08:31 Passant (or did someone solved this already and know from which mod this potencially comes from?)
08:52 Krock Calinou, "The latest development versions of Minetest no longer have the version watermark in the upper-left corner." true but it's visible in the title ;)
08:56 Hijiri Passant: do you know how to use grep?
08:57 Hijiri and are you on a system that has grep
08:57 Krock Passant, put this code http://pastebin.com/96utR9fs into builtin/game/register.lua at the very bottom
08:57 twoelk joined #minetest
08:57 Krock (untested)
08:58 Krock or use grep, that's a good idea too
08:58 Passant Krock: yes, i know about grep :)
08:59 Passant print("Deprecated param in mod: "..(core.get_current_modname() or "unknown")) ... i see - wouldn't an improvement for the official minetest?
09:00 Passant *wouldn't it
09:01 Out`Of`Control Hi
09:01 Out`Of`Control is there a mod that auto kick/ban flood?
09:02 shangul hello
09:02 Passant out of control want control :D
09:02 Out`Of`Control yeah
09:02 Out`Of`Control or limit max chars send
09:03 Passant so saw something like that...but what was it's name ...
09:05 Out`Of`Control Passant: btw homedecore modpack has that height_min/max it was fixed recent
09:05 jojoa1997 joined #minetest
09:06 Out`Of`Control in your mod folder# grep -r -H "height_min"
09:06 Passant aah, so grep meant something like cat *.lua |grep height_min is see
09:06 Passant well, this is something i should know by my self >.< hehe, thanks for the hint
09:07 Passant but because your request, i guess VanessaE was a contributor of the mod... but i just ... dont .. find it again
09:09 Out`Of`Control https://github.com/minetest-mods
09:10 Passant Out`Of`Control: there was something else, but this might also helpful for you https://github.com/DonBatman/myadmin
09:14 Out`Of`Control thanks
09:18 JamesTait joined #minetest
09:21 JamesTait Good morning all! Happy Tuesday, and happy Book Lovers' Day! 😃  ðŸ•®
09:30 SanskritFritz joined #minetest
09:48 Krock joined #minetest
09:48 Krock Passant, yes but I wasn't sure if you're on Winblows or Loonix
09:51 Out`Of`Control Krock: hey,  do you know any mod that block chat flood?
09:51 Out`Of`Control or autokick flooder
09:51 Krock chatplus?
09:52 Krock not sure
09:52 lumidify joined #minetest
09:52 Krock I'm not a server owner (anymore) thus this doesn't really overlap with the mods I use
09:52 Out`Of`Control they add many lines of text + empty space, so it looks as other player wrote it
09:52 Out`Of`Control Krock:  ok
09:54 Krock would be easy to push some keywords through the search engine if hostinger wasn't so slow today
09:55 Out`Of`Control i have look into chatplus don't see any flood protection
09:57 Krock 1 moment.. writing a mod for that
09:58 Out`Of`Control :)
09:59 Nosrick joined #minetest
09:59 Nosrick Hey folks
09:59 shangul hi
09:59 Darkside_ hi
10:00 Out`Of`Control hi
10:00 Nosrick Wow, lots of people around today.
10:00 shangul nahi
10:01 shangul im away
10:06 aix same
10:07 davisonio joined #minetest
10:15 Calinou <rubenwardy> and also compile time type checking
10:16 Calinou use TypeScript then :p
10:16 CWz joined #minetest
10:16 shangul Calinou, what is ur job?
10:18 Calinou student?
10:18 shangul not real life...
10:22 shangul i didnt mean real life
10:22 Krock Out`Of`Control, http://pastebin.com/i3VX5Qjq
10:23 Krock disclaimer: it's untested
10:24 Krock it will trim messages like "                  " to "     "
10:25 Krock and so on
10:25 Out`Of`Control Krock:  thanks
10:25 Krock np
10:25 Out`Of`Control "max_names_per_ip = X" does not work in 0.4.14 ?
10:25 Krock names_per_ip works fine
10:27 Out`Of`Control Krock:  thank you will test in a min on test server
10:42 Out`Of`Control Krock:  looks as it works great, but need more testing
10:42 Krock \o/
10:43 Krock but it also would kick admins :3
10:43 shangul lol
10:43 Out`Of`Control Krock: i flood as much ican did not kick
10:44 Out`Of`Control what to test?
10:44 Out`Of`Control want
10:44 Krock then paste the contents of a file
10:44 Krock that's really spammy
10:44 shangul lol
10:45 Out`Of`Control thats what i did, i paste 5 lines of random text at once
10:47 Krock it will kick with 8 lines
10:47 Krock >= 8
10:47 Megaf joined #minetest
10:47 Out`Of`Control i paste 14 lines got no warning or kick
10:48 Out`Of`Control odd, min a go blocked 5 lines of flood
10:48 Krock err.. are you sure that the mod is running?
10:48 Out`Of`Control yes as it worked min a go, did not restart
10:49 Krock where are you testing this?
10:49 Megaf anyone else here with such a little delay on ones ssh remote server connection that one can't tell it's connected to a remote server?
10:49 Megaf Hi everybody
10:49 Megaf Really, there's no delay at all from the moment I press a key and I see it on the ssh terminal
10:49 shangul hi
10:49 Out`Of`Control Krock:  mt.rbose.org port 30003
10:50 shangul it was 30000
10:50 Krock hi Megaf
10:50 Out`Of`Control hi Megaf
10:50 Out`Of`Control shangul: its a test server
10:51 shangul 30003 is for testing?
10:52 Krock you've got some mods there.. 500 MB ram used
10:52 shangul do u play on 30000 too?
10:52 Megaf Krock: Oo
10:52 Krock 700 now
10:52 Out`Of`Control shangul:  i wont flood main server
10:52 Megaf OO
10:52 * Krock closes firefox to free some memory
10:53 Out`Of`Control oh yeah many mods, i can disable them
10:53 Out`Of`Control Krock:  i send short text 9 times, 3 times got blocked, but 1 long passes
10:53 Out`Of`Control so there is no limit how many chars you can send at once
10:54 shangul <Out`Of`Control> shangul:  i wont flood main server => i meant playing on the main server
10:55 AnotherBrick joined #minetest
10:55 Out`Of`Control Krock:  give me a min please i disable mods
10:56 Fixer joined #minetest
10:57 proller joined #minetest
10:57 shamoanjac joined #minetest
10:58 Darkside_ megaf: now i only need a shield then i have full diamond armor on your server :) those travelnets helped out great saved me at least an hour digin down :)
10:59 Megaf Darkside_: Cool! I'm glad that was helpfull to you. We did the dig ourselves so players could use their time in more fun stuff, like creating armours!
11:00 Megaf Darkside_: and you are going to need the armour, trust me
11:00 Megaf !server Megaf
11:00 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 1/24, 0/1 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 8ms
11:00 Krock joined #minetest
11:00 Out`Of`Control Krock: try now
11:00 nm0i Morning
11:00 Krock I couldn't try before. Router crashed
11:01 Out`Of`Control i disable many mods
11:01 Krock and I disabled the mesh cache
11:01 Out`Of`Control oh
11:02 Krock oh yes. from 900 MB down to 125 MB, that's really a difference to before
11:03 Out`Of`Control Krock:  there is no limit how many chars you can send at once
11:04 Out`Of`Control or it does not work
11:04 Krock 1 moment
11:04 Krock I'm fixing this already
11:10 shamoanjac pls implement sending chunks with deflate
11:13 CWz joined #minetest
11:20 tpe joined #minetest
11:21 FirePowi joined #minetest
11:21 FirePowi Hey ! How to make an Account for Minetest Wiki, please ?
11:22 Fixer joined #minetest
11:23 Out`Of`Control FirePowi: ask Calinou
11:23 FirePowi I may send him a email ?
11:23 FirePowi (He is afk)
11:24 FirePowi Calinou, je peux avoir accès au Wiki, stp ? Je t’envoie mon adresse mail en MP.
11:25 Krock joined #minetest
11:25 Krock Out`Of`Control, updated http://pastebin.com/i3VX5Qjq
11:26 Out`Of`Control Krock:  welcome back sec
11:26 Krock ty
11:27 Calinou FirePowi: je regarde ça dans 1 heure environ
11:27 FirePowi Ok, merci ! :-)
11:27 Krock #minetest-fr ?
11:27 FirePowi Oups ^^'
11:29 Markow joined #minetest
11:29 Out`Of`Control Krock:  works fine now thank you
11:30 Krock uh no, it doesn't
11:31 est31 joined #minetest
11:36 Krock Out`Of`Control, moved an 'if' some lines up to make it kick people
11:37 Out`Of`Control oh
11:42 Krock Out`Of`Control, I placed a door
11:42 Out`Of`Control Krock:  server crashed lol
11:42 Out`Of`Control i disable many mods, something got broken
11:43 Krock I think this is a MTG issue
11:44 Out`Of`Control ServerError: Lua: Runtime error from mod 'doors' in callback item_OnPlace(): /home/minetest/bin/../games/ayntest/mods/doors/init.lua:41: attempt to index a nil value
11:45 Out`Of`Control i move mod to life server
11:50 Fixer joined #minetest
12:02 Volkj joined #minetest
12:03 davisonio joined #minetest
12:04 shangul MinetestBot, hi
12:05 MinetestBot Hello shangul, how are you today?
12:06 shangul Minetest, i'm fine. are you ok?
12:06 shangul :D
12:06 MinetestBot Yes, I'm good.
12:06 shangul i think it just answers to hi and hello
12:06 shangul what?
12:07 shangul is there a human behind bot?
12:07 MinetestBot I'm not a bot, didn't you know?
12:07 shangul MinetestBot, mjadjtgpjgptg
12:07 Darkside_ lol
12:07 shangul who is controling him?
12:09 shangul MinetestBot, don't play role for me!i was master in it before you!
12:09 agrecascino joined #minetest
12:09 agrecascino help
12:10 agrecascino after installing fun_caves
12:10 agrecascino i don't have any more caves
12:13 sfan5 the mod is probably broken
12:13 sfan5 which minetest version do you use?
12:13 agrecascino 0.4.14
12:13 sfan5 hm
12:13 sfan5 well i'd suggest asking the mod author about the problem
12:14 agrecascino i'm getting an error in console, along the lines of heightmap is nil
12:15 agrecascino and i think this has to do with having ethereal mapgen with it
12:20 agrecascino man realizes he was using an ancient version of ethereal mapgen
12:23 ElectronLibre joined #minetest
12:31 Fixer joined #minetest
12:40 davisonio joined #minetest
12:44 Darkside_ http://pastebin.com/tCYWFY7c it took a bit of work but now my mod compresses and decrompresses 16 default nodes including dirt,sand and obsidian
12:45 Darkside_ and 16 new compressed nodes are added that can be placed to build with group cracky and sand dirt crumbly too :)
12:48 Fixer joined #minetest
12:51 Darkside_ since players run always out of storage space for cobblestone, they end up throwing stuff away to later find out they needed it :/
12:52 est31 joined #minetest
13:00 Krock btw: '"darkcraft:cobble" 1' is equal to "darkcraft:cobble 1"
13:01 Krock and that's equal to "darkcraft:cobble"
13:01 Krock you could shorten that code a lot by writing a function to register them easily
13:02 Darkside_ oh ok thanks :)
13:02 celeron55 joined #minetest
13:02 Krock np. I could show you an example of that said function if you want
13:03 Krock no idea how long you're in Lua programming yet
13:04 Darkside_ nah im too noobie for now i gotta download some e-books and read a bit, thanks though :)
13:04 Krock sometimes it's helpful to see and analyze code to understand how it would be possibel or how it works
13:04 Krock *possible
13:07 Darkside_ yeah true, e-books always help me out a lot with syntax samples and each symbol in it explained :)
13:09 aix https://github.com/mosstest
13:11 greeter joined #minetest
13:11 Krock rekt. A minetest clone in Java
13:11 Yst joined #minetest
13:11 Krock but somehow I don't think it's releated with our Minetest
13:13 agrecascino joined #minetest
13:13 aix https://github.com/cornernote/minetest-megapack holy fucking shit
13:14 aix that's huge
13:14 aix my browser lagged a little
13:18 Krock I'd smile if it was called minetest-megafpack
13:18 Krock Megaf ^
13:19 aix ...
13:19 Krock …
13:19 Megaf x)
13:20 Krock coolmore than 100 outdated mods
13:20 aix >outdated
13:20 Krock s/lm/l m/
13:20 aix https://sr.ht/VIrl.png
13:20 Krock these aren't diamonds, right?
13:20 Megaf aix: Oo
13:20 aix yeah
13:20 aix no thats uh
13:20 aix naqueda
13:21 aix fuck i turned mining into a rainbow
13:21 aix but damn
13:21 Megaf I did the same mistake in the past
13:21 aix it's beautiful
13:21 Megaf but I learned that less is better
13:21 Krock did you replace all with nyancat:rainbow ?
13:21 aix hah
13:21 Krock that gives you some color
13:21 aix Megaf: that's actually true
13:22 aix Krock: no that gives you a nyancat cuboid
13:22 aix >replace all
13:22 aix christ
13:22 aix i might ABM this out before it takes over
13:22 aix but it's so pretty
13:22 aix Megaf: there's some already generated normal mines
13:22 Megaf I'm here creating a script that creates a Linux portable version of Minetest
13:23 Megaf it gets the latest git, builds, bundle libs and makes a package
13:23 Megaf portable package that is
13:24 Megaf portable version of minetest and minetestserver
13:24 Megaf portable and optimized
13:24 Megaf and stuff
13:25 swift110 joined #minetest
13:25 aix huh
13:25 aix deeper down is different stone
13:25 aix that's neat
13:26 swift110 joined #minetest
13:26 aix man it really messes up caverealms
13:27 Krock then make it depend on caverealms
13:27 Krock so it gets loaded after that mod
13:29 aix uhm
13:30 aix the fact that it replaces stone with its own makes the caves uglier
13:30 aix well no they look great
13:30 aix i just cant see too well lol
13:38 MinetestBot [git] schuellerf -> minetest/minetestmapper: Zoom implementation (--zoom option) 15fae27 https://git.io/v6c3e (2016-08-09T15:35:36+02:00)
13:39 Krock wohoo
13:43 aix i did it
13:43 aix 205 mods
13:45 ElectronLibre joined #minetest
13:46 Krock hi free electron
13:49 Szkodnix joined #minetest
13:51 Krock aix, congrats. 16 almost never used mods on servers can be found on yours: http://pastebin.com/f28ATH2f
13:52 Krock (however, inttlib is useless because it's an english server)
13:52 Fixer joined #minetest
13:52 aix channels 1% :)
13:59 aix we are the 1%®
13:59 aix Krock: something needed inttlib
14:00 Megaf joined #minetest
14:07 MinetestBot [git] sfan5 -> minetest/minetestmapper: Warn on big image dimensions, fixes #14 2ed4563 https://git.io/v6cCu (2016-08-09T16:04:58+02:00)
14:12 ElectronLibre joined #minetest
14:25 MinetestBot [git] sfan5 -> minetest/minetestmapper: Clarify license situation (closes #26) ab167d1 https://git.io/v6c8s (2016-08-09T16:18:04+02:00)
14:30 Szkodnix joined #minetest
14:31 Void7 joined #minetest
14:34 twoelk joined #minetest
14:34 KaadmY joined #minetest
14:38 dlaboratory joined #minetest
14:57 aheinecke_ joined #minetest
14:57 Megaf joined #minetest
14:58 Megaf !server Megaf
14:58 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/1 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 8ms
14:59 Void7 joined #minetest
15:05 Freejack joined #minetest
15:10 Freejack joined #minetest
15:12 Fixer joined #minetest
15:19 Freejack joined #minetest
15:22 Krock joined #minetest
15:31 cat5e where can I go to talk about making a mod?
15:31 cat5e also can I sell a mod?
15:33 Krock yes you can sell mods like any other software
15:33 Krock and here is a good place to discuss about mods
15:34 cat5e ok so
15:35 cat5e can mods send files to the client?
15:35 cat5e because I need that
15:35 cat5e TCP, btw. UDP would suck for file transfer
15:36 MinetestBot [git] sfan5 -> minetest/minetestmapper: Search for colors.txt in multiple locations, fixes #27 6f1b828 https://git.io/v6cwV (2016-08-09T17:35:15+02:00)
15:36 MinetestBot [git] sfan5 -> minetest/minetestmapper: Allow specifying location of colors.txt file 73dab34 https://git.io/v6cww (2016-08-09T16:45:39+02:00)
15:36 T4im joined #minetest
15:36 MinetestBot T4im: Aug-09 13:23 UTC <Krock> Noch mehr cargocult: https://github.com/cornernote/minetest-megapack/tree/master/mods/ ;)
15:37 Fixer joined #minetest
15:37 sfan5 cat5e: you can talk about mods here
15:37 sfan5 mods can't send files to the client
15:37 sfan5 for the sole reason that the client wouldn't know what to do with them
15:37 sfan5 client-side modding is not possible
15:38 cat5e good so minetest is completely useless for my needs
15:38 cat5e :/
15:38 MinetestBot [git] sfan5 -> minetest/minetestmapper: Remove a little debug code (oops...) c79b5ac https://git.io/v6cwF (2016-08-09T17:36:43+02:00)
15:38 sfan5 you can only mod server-side
15:38 cat5e sfan5, can I put a server on the server?
15:38 Krock you can stack them, yes.
15:38 cat5e like, a webserver
15:39 sfan5 nothing prevents you from running a web server alongside minetest
15:40 cat5e ok
15:40 cat5e can I run LLVM from minetest?
15:40 redblade joined #minetest
15:40 redblade hi
15:40 redblade i came here late last night and then i left to go to bed
15:41 redblade but
15:41 redblade i'm trying to add a fake minetest to the github repo
15:41 redblade but i cannot see anything about creating or renaming folders, the stupidest thing
15:42 redblade i dont know if i missed something, but i cant create new folders or rename "Evil_Craft (example)
15:42 redblade and the instructions say to do so
15:42 redblade https://github.com/redblade7/Minetest_Copy_Report/tree/%22redblade7%22%22Minecraft-(counterfeit)-(unconfirmed)%22
15:42 sfan5 cat5e: why would you want to do that
15:42 swift110 hmm
15:42 cat5e sfan5, because I need it
15:42 redblade how would i rename "Evil_Craft (example)" folder to "Minecraft (counterfeit) (unconfirmed)"
15:42 redblade or delete the "Evil_Craft (example)" and create a new folder
15:42 sfan5 well you can use os.execute from lua
15:43 redblade but i cannot find any way to do that
15:43 redblade i've looked everywhere on the page
15:43 redblade there is nothing it seems regarding the manipulation of folders or folder names
15:43 hmmmm joined #minetest
15:43 cat5e sfan5, well uh os.execute won't cut it, I need the LLVM lib
15:43 redblade only files
15:43 shangul left #minetest
15:43 sfan5 cat5e: if there is a lua binding then you an use it
15:43 sfan5 +c
15:44 namach[Svet] joined #minetest
15:46 redblade i'm asking over in #github maybe they can help me
15:46 sfan5 use an actual git client
15:46 sfan5 instead of their web interface
15:47 redblade the only thing i know about git is the "git pull" needed when i had to compile development versions of minetest to get mods to work before 0.4.14 came out
15:47 T4im redblade: https://try.github.io
15:48 redblade how do you publish it without a password
15:49 redblade got a 403 after i git pulled
15:50 redblade https://github.com/redblade7/Minetest_Copy_Report/tree/%22redblade7%22%22Minecraft-(counterfeit)-(unconfirmed)%22
15:50 redblade sorry
15:50 redblade git pull https://github.com/redblade7/Minetest_Copy_Report/tree/%22redblade7%22%22Minecraft-(counterfeit)-(unconfirmed)%22
15:51 T4im that's not a git repo
15:51 redblade error: The requested URL returned error: 403 while accessing https://github.com/redblade7/Minetest_Copy_Report/tree/%22redblade7%22%22Minecraft-(counterfeit)-(unconfirmed)%22/info/refs
15:51 redblade fatal: HTTP request failed
15:51 T4im https://help.github.com/articles/which-remote-url-should-i-use/
15:51 T4im you might want to go through the github help pages, they should cover everything
15:51 T4im well, at least the basics
15:52 redblade yeah, like, what to click on to create new directory, which is nowhere to be found
15:52 redblade i know git pull but nothing else
15:52 T4im github does mainly do git repository hosting
15:53 T4im editing stuff on their web interface is convenience not their main funciton
15:53 redblade can i shell into something and create the folder that way?
15:53 T4im you can do it locally and then push the files up
15:53 T4im btw, git doesn't allow empty directories, so it doesn't make sense for github to offer such a feature
15:53 redblade what is the url for the minetest_copy_report
15:53 redblade because the instructions there are wrong
15:53 T4im they are not
15:54 redblade they say nothing about using git
15:54 redblade they say to create a folder
15:54 redblade and put the files inside
15:54 redblade it's not like the compilation instructions which tell you to use git
15:54 redblade and give you the commands to use
15:54 T4im https://help.github.com/articles/which-remote-url-should-i-use/ <-- these instructions are not wrong
15:54 sfan5 have you tried googling on how to use git
15:55 redblade no i meant the instructions on the minetest page T4im
15:55 redblade they say nothing about using git
15:55 T4im why would they?
15:55 T4im you are on a git hosting webpage, what else are you gonna use?
15:55 redblade https://github.com/azekillDIABLO/Minetest_Copy_Report
15:56 redblade under "First Step"
15:56 redblade Come back to the main page for this repository and click the "Fork" button in the top right
15:56 redblade In your copy, in the top right, create a new "branch". Give it a clear name which should look like :
15:56 redblade "Your_Username":"Full_Name_of_the_app"
15:56 redblade Second Step:
15:56 redblade On your copy, build a new file called by the name of the app in 'projects'>>>'offenders'
15:56 redblade In this file, add:
15:56 T4im no need to write the entire readme
15:56 redblade a file called "violations.txt" where you will put what you find wrong on the app you report
15:56 redblade (etc)
15:56 sfan5 yeah
15:56 redblade nothing about the need to use git
15:56 Freejack joined #minetest
15:56 sfan5 you've already done that
15:57 sfan5 the first step at least
15:57 sfan5 it doesn't talk about using git
15:57 sfan5 but you still need to use git
15:59 T4im actually, the webinterace seems to allow creating folders very well as it seems
15:59 T4im but note: git itself does not allow empty folders, so this is **not** an extra action, that would be impossible
15:59 T4im just create a new file and place it into a directory, it will create it if necessary
15:59 T4im the web interface that is
16:00 T4im but you'd still be adviced to learn git; it's a useful thing; the web interface still has its limitations
16:00 redblade now please dont tell me i cant delete this abomination
16:00 redblade in its entirely
16:01 redblade deleted
16:01 T4im no idea what you are talking about, really
16:01 T4im :D
16:01 redblade if anyone wants to file information on this counterfeit minecraft, feel free. i've mentioned it in the forum
16:02 redblade deleted the unfixable fork with empty files
16:02 redblade and i did
16:03 T4im btw, why didn't you just report it as issue to the repo
16:03 redblade empty files i created when figuring out how to work
16:03 nuzzle joined #minetest
16:03 redblade a feature enhancement you mean?
16:03 redblade i'm sure it exists and i can vote on it
16:04 T4im i meant that weird copy report repo; it has an issue tracker, too
16:05 redblade i just went into "settings" and deleted it
16:05 T4im not sure what feature enhancement you mean; github already allows you to create folders in the editor, as mentioned above
16:05 redblade now it's a 404, problem solved
16:05 redblade how do you create folders in the editor?
16:05 T4im you just place the file into it
16:05 redblade it didn't, the folder name was up there, you couldn't rename it
16:05 T4im backspace?
16:06 redblade if you type the backspace button it will delete the box?
16:07 redblade and allow me to rename the parent folder?
16:07 T4im i never used the web interface before, but it was quite straight forward: "create new file" -> move your mouse to the name field, type a folder name and "/" and it will actually recognize it
16:07 Fixer joined #minetest
16:07 T4im if it allows renaming, it will probably work the same way
16:07 blerttt joined #minetest
16:07 Krock Just use a Git client   (┘Õ_Õ)┘  _  â•§â•â•â•§
16:08 T4im ^^ that would of course be optimal
16:08 Krock btw, is the table displaying all right?
16:08 T4im table?
16:08 Krock "  â•§â•â•â•§ "
16:09 T4im if it is hanging from the ceiling, then yea
16:09 Krock no, it's a flipped table
16:09 T4im ah
16:09 aix https://sr.ht/dE-v.txt 100% filtration so far
16:09 T4im heh, raging around? :D
16:09 T4im filtration?
16:10 aix yus
16:10 aix name restrictions
16:10 Krock T4im, yeah.. using the Github editor makes the commit history look awful
16:10 T4im why don't you just allow guests? i really still don't get it, allow guests, and don't give them interact by default, that will solve so much more problems than forcing them to select a name, where you have no idea if they are there to stay or not
16:11 T4im all that leads is all the good names being blocked by guests that never stayed longer than a few minutes
16:11 Tmanyo joined #minetest
16:11 aix i clear names with no interact daily
16:11 Krock it's kinda BS when you start building, claim an area an area and want to change your name afterwards
16:11 aix and on my server, guests cannot see anything
16:11 aix even normal users see nothing, they spawn in a maze
16:11 Krock -"an area"
16:12 redblade i'm sure i can learn git no problem (i've used git clone and git pull to compile minetest development code) but i dont feel like it right now
16:12 Nosrick joined #minetest
16:14 T4im Krock: they wouldn't be able to do that, if you don't get interact as guest
16:14 T4im guest should be what they claim to be, guests, visitors, there to look around and check out a server before they settle down
16:14 T4im with a real name hten
16:15 Krock yes and they could be deleted easily "^Guest[0-9] ..."
16:15 T4im yea
16:16 T4im i am so confused by so many people trying to forbid them and calling it "filtering them out" when in reality they merge half them with the real userbase and shoo the other half away from minetest
16:16 Jellonator joined #minetest
16:18 redblade thank you T4im that worked
16:19 redblade typing the folder name, then "/", then the file name
16:19 thePalindrome Oof, negating regex
16:21 shamoanjac agrecascino,
16:21 T4im ^ outside a charcter class is used to match against the start of the string/line, it's only negating inside the character class
16:21 agrecascino shamoanjac, ?
16:21 whitephoenix joined #minetest
16:21 shamoanjac did people tell you about the crashes?
16:21 agrecascino no?
16:22 agrecascino i'm not playing
16:22 agrecascino oh mother of god errors
16:22 agrecascino hang on
16:22 agrecascino let me pastebin everything
16:22 thePalindrome dat lorem ipsum
16:23 agrecascino btw
16:23 agrecascino shamoanjac,
16:23 shamoanjac yes
16:23 agrecascino go scream at the people in the server to stop doing things
16:23 Fixer joined #minetest
16:23 shamoanjac banners had a small bug
16:23 agrecascino i can't get the stdout
16:23 agrecascino shamoanjac, yeah
16:23 agrecascino the wood bug
16:23 shamoanjac another one
16:23 shamoanjac I did default:steel_block instead of default:steelblock so power banners cannot be crafted
16:24 thePalindrome Wait, you're stuck with the std because you can't get the std out?
16:24 thePalindrome :P
16:24 shamoanjac it's fixed on my github
16:24 shamoanjac holy crap thePalindrome lel
16:25 agrecascino pastebin.com/iXtbhNe6
16:25 agrecascino something broke
16:25 T4im shamoanjac: can_dig needs to handle nil-players
16:26 T4im banners.banner_on_dig will crash when you use minetest.dig_node on it
16:26 shamoanjac hold on
16:27 agrecascino yeah the server seems completely fucked
16:27 shamoanjac fixing and expanding two mods at the same time is p hard
16:27 T4im (although the can_dig thing is unrelated to what you just pasted)
16:28 agrecascino should i just trash the world
16:28 shamoanjac T4im, don't you mean minetest.is_protected?
16:28 shamoanjac where do you see a dig_node which uses players?
16:28 T4im that's the thing, it doesn't
16:28 T4im but it still calls can_dig
16:28 T4im without  a player
16:29 shamoanjac where?
16:29 T4im which leads the banners can_dig to blow up :D
16:29 shamoanjac I don't get it
16:29 shamoanjac I need some context
16:29 shamoanjac ah ok right
16:29 shamoanjac nvm
16:30 T4im oh wait, sorry, is that even a can_dig?
16:30 * T4im double checks
16:30 shamoanjac no
16:30 shamoanjac but I found a bug
16:30 T4im sorry then
16:30 shamoanjac of on_dig
16:30 T4im well, then it was worth it? :D
16:30 shamoanjac which tries to access the players inventory
16:30 shamoanjac uh, maybe
16:31 shamoanjac it on_dig(pos, node, player) passes nil players, then yes
16:31 shamoanjac anyway I added a check and just pushed
16:32 shamoanjac ok agrecascino I read the logs
16:32 shamoanjac it's not from either of my mods
16:32 agrecascino root@debian:/media/root/d62c482e-f078-4020-b577-725f2bcca36a/home/arecascino/Downloads/hello# users
16:32 agrecascino root root root root root root root root root root root root
16:32 agrecascino i'm leaving for lunch
16:33 shamoanjac k
16:33 T4im a good lunch to you then
16:37 Telesight joined #minetest
16:40 Fixer joined #minetest
16:41 redblade Done
16:41 redblade Thank you
16:47 Jellonator eyy I figured out something on my own for once instead of bugging the devs about it on the irc
16:47 Jellonator I'm learning kek
16:47 aix http://www.planetminecraft.com/texture_pack/minetest-for-minecraft/
16:50 way joined #minetest
16:50 cat5e how can I store data in a node?
16:50 way hi there
16:51 Jellonator You store data in a node with metadata
16:51 Jellonator You can get the metadata of a node with minetest.get_meta(pos), where pos is the position of the node
16:52 cat5e does minetest have a reference manual like lua?
16:52 Jellonator From there, you can use http://dev.minetest.net/NodeMetaRef as a reference for how to get and set metadata for a node
16:52 T4im reference: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
16:52 cat5e uh
16:52 Jellonator welp i was too slow
16:52 cat5e anything that isn't sent to the client?
16:53 T4im if you store a lot of data, you might want to save it to a file instead of saving it to the node
16:53 cat5e would be too floody
16:53 cat5e can I use sqlite from a mod?
16:53 T4im there is a function to convert the position to a single number, which you can use to fill or lookup a table
16:53 T4im (and convert it back to a position again)
16:53 cat5e can I use sqlite from a mod?
16:54 ElectronLibre joined #minetest
16:54 T4im and then you can serialize that lua table to a file
16:54 Jellonator Probably not, it would require for anyone with the mod to install it and that would get weird
16:54 lumidify joined #minetest
16:55 cat5e doesn't minetest include sqlite?
16:55 Jellonator Does it?
16:55 T4im not for mods
16:55 T4im only for the map
16:56 cat5e T4im, eh does it export the sqlite symbols?
16:56 thePalindrome Not always iirc
16:56 T4im ?
16:56 cat5e because if so I can just use the FFI
16:56 thePalindrome I may be wrong, but I think you can compile out sqlite
16:56 thePalindrome no, never mind
16:56 T4im forget about sqlite or actual databases, unless you want to go really complicated :D
16:56 T4im of course adding some kind of datastore to the lua api would be nice, if you want to do that
16:57 cat5e T4im, given how much data I'll need to handle, sqlite is actually reasonable
16:57 thePalindrome meh
16:57 agrecascino joined #minetest
16:57 cat5e does minetest have threads?
16:57 Jellonator what kind of data are you storing?
16:57 Calinou cat5e: yes
16:57 Calinou map generation is done in separate threads for example
16:57 Jellonator And how often are you changing it?
16:57 Calinou "emerge thread"
16:57 T4im well lua async is available, but never tried how well it works with minetest
16:57 T4im coroutines*
16:58 cat5e Calinou, can I spawn threads from Lua or something?
16:58 T4im lua coroutines
16:58 cat5e T4im, proper threads
17:00 cat5e Jellonator, each node placed or removed needs to update the data
17:00 cat5e and the datasets may be HUGE
17:01 T4im what are you trying to store? O_o
17:01 sea` NSA collected metadata.
17:01 T4im there are certainly lua modules available that you can require() for sqlite support
17:01 cat5e altho each node will only affect a single row at a time
17:03 cat5e T4im, I'd rather use minetest's built-in sqlite and some FFI, that way I can support all OSes without packing a bunch of binary modules
17:04 T4im you don't know if minetest comes with squlite, somoene might choose to use another backed for the world
17:04 cat5e I need sqlite, or another DB
17:05 cat5e (I could have a config to select the DB I guess)
17:06 T4im ffi only works on luajit, unless you also add some ffi module, and then why not add a direct sqlite one instead?
17:06 agrecascino alright
17:06 agrecascino i need some help here
17:07 T4im what you could possibly store as "huge" data, for a single node?
17:07 T4im its history? :D
17:07 agrecascino i need help
17:07 T4im was sea` right after all?
17:07 cat5e T4im, each node stores not much data
17:07 agrecascino seriously
17:07 agrecascino something fucked up bad
17:07 cat5e well uh
17:08 T4im agrecascino: how so?
17:08 cat5e except some specific nodes may store a few MB of data
17:08 T4im o_O
17:08 agrecascino like 40+ errors at once in console
17:08 agrecascino and things crashing all the time
17:09 cat5e altho that'd be stored in an item (can items have metadata?)
17:09 T4im agrecascino: stack trace?
17:09 Jellonator why is it storing MBs of data
17:09 Jellonator what kind of data are you storing to warrant that
17:09 cat5e Jellonator, because it's a compiler
17:09 cat5e all sorts of data
17:09 T4im yes, althoug items is a broad thing, nodes and tools are both items
17:09 cat5e macros, code, debug info
17:09 cat5e everything
17:09 Jellonator ...you're storing a compiler inside a node?
17:10 agrecascino i can't find it in my screen
17:10 T4im o_O
17:10 cat5e Jellonator, nah compilers are tiny
17:10 cat5e the things they compile can be huge tho
17:10 agrecascino cat5e, computers minetest?
17:10 cat5e agrecascino, nope
17:10 Jellonator I think it would be fine though, when you place it and set the metadata its fine after that
17:10 agrecascino what then?
17:11 T4im Jellonator: metadata is send to the client though, not good storing mb's of data there
17:11 cat5e agrecascino, a compiler
17:11 agrecascino pastebin.com/iXtbhNe6
17:11 agrecascino cat5e, for what
17:11 cat5e agrecascino, for...
17:11 T4im seems he wants to use minetest as a laguage
17:11 cat5e well
17:11 T4im language*
17:11 cat5e everything
17:11 T4im x)
17:11 agrecascino also
17:11 cat5e because LLVM
17:11 agrecascino that pastebin is what the errors look like
17:12 Nosrick joined #minetest
17:12 cat5e so I need to pack LLVM module, thread module, sqlite module, what else?
17:12 T4im agrecascino: wrong mapgen set?
17:13 agrecascino T4im, that should be ethereal and fun_caves
17:13 cat5e that's looking to have double the size of minetest itself...
17:13 cat5e :/
17:13 Nosrick Argh, this damn null pointer exception is killing my progress
17:13 sea` minetest will contain its own compiler now?
17:13 T4im cat5e: what you are trying to do doesn't seem to be anything you can distribute for common gameplay anyway; and those academic projects, who cares if they are twice as big?
17:14 Krock sea`, yes there's a Lua compiler bundled
17:14 cat5e T4im, I want it usable
17:14 T4im for what?
17:14 cat5e and it's not an academic project
17:14 cat5e it's so I can use it
17:15 cat5e oh
17:15 cat5e I also need HTTPD module
17:15 T4im why would a normal player want to have source code stored in a node? or to compile something from inside the game? if that is not experimental/academic, then what is it? :D
17:15 cat5e T4im, user-friendly
17:16 agrecascino c compiler for minetest in lua when?
17:16 agrecascino asm.lua
17:16 cat5e no not asm.lua
17:16 cat5e that'd be an LLVM to lua transpiler
17:17 T4im but why run it from inside a minetest game?
17:17 cat5e T4im, last I checked I tried to run a whole OS inside a game
17:17 T4im :o
17:18 T4im yea, i don't think i heard about that part yet
17:18 cat5e T4im, uh so I tried making this thing called LibIngame https://github.com/LibIngame
17:19 cat5e it was meant to be effectively a whole OS inside games
17:19 Nosrick For what purpose?
17:19 cat5e technically, libingame itself would be more like a kernel
17:20 cat5e then there'd be the UI module (effectively a WM), the web browser module (a... well, a web browser)
17:20 cat5e etc
17:20 agrecascino does anyone know why i'm getting more errors than lines on stdout?
17:20 T4im agrecascino: check your mod structure, does the underlying game actually define biomes?
17:20 T4im do multiple mods mess with the biomes?
17:20 agrecascino yes
17:21 T4im like one registeres, another cleares and reregisters
17:21 Lukc joined #minetest
17:21 T4im well, then that is likely your problem
17:21 agrecascino fun_caves and ethereal, but i'm pretty sure that the creator of fun_caves made it compatible etheral
17:21 agrecascino with ethereal*
17:21 T4im maybe to another version?
17:25 agrecascino alright
17:26 agrecascino so now fun_caves just decided it's going to fail to start
17:26 agrecascino that's nice
17:28 Markow joined #minetest
17:29 theTroy joined #minetest
17:31 DI3HARD139 joined #minetest
17:38 agrecascino WHAT THE ACTUAL FUUUUUUUUUCK
17:38 agrecascino ARHHHHHHHGGGGGGGGGGGGGGGGDS}g[FJMSK<FKP}|}GF
17:39 agrecascino GSDPKG:"MM<"OKE#(P%{I%^KTG{FGL:SF"Klfd
17:39 agrecascino WAKE ME UP
17:39 agrecascino CANT WAKE UP
17:39 agrecascino SAVE ME
17:39 Nosrick Nice meme bro
17:40 agrecascino NONE OF THIS EVEN MAKES SENSE ANYMORE
17:40 agrecascino >put fun_caves in mods
17:40 agrecascino >enable it in world.mt
17:40 agrecascino >doesn't load whatsoever, even though it was running before
17:41 Nosrick You know what time it is
17:41 Nosrick It's time to die
17:41 Calinou load world.mt in LibreOffice, change font to Comic Sans MS, save
17:41 Krock +1 for Calinou's advice
17:41 Nosrick I think I'm doing something bad to Minetest.
17:42 Nosrick I'm making it very, very unhappy.
17:42 sfan5 agrecascino: https://w0bm.com/b/1443839445.webm
17:43 Nosrick Okay, so I'm redefining an entity's on_punch method, outside of its declaration.
17:43 Nosrick This seems to REALLY upset Minetest.
17:44 Nosrick Because when it gets called, the game hard crashes into a null pointer exception.
17:45 agrecascino i found it
17:45 agrecascino dmobs needs mobs
17:45 agrecascino however
17:45 sfan5 doesn't it tell you in the error log?
17:45 agrecascino i need to ask the question
17:46 agrecascino how do i get the simple mobs mod without getting the mobs
17:46 agrecascino as in
17:46 agrecascino just the api
17:46 Nosrick I use https://forum.minetest.net/viewtopic.php?f=11&amp;t=9917
17:46 Nosrick It contains just the API
17:46 Nosrick sfan5, you asking me?
17:46 sfan5 nah
17:49 cat5e can minetest use system modules or do I need to pack them?
17:49 sfan5 never heard of "packing" modules
17:49 sfan5 it can use system modules
17:49 xSmurf joined #minetest
17:50 Calinou cat5e: IRC mod uses Luasocket
17:50 Calinou so, I think so
17:55 Nosrick Would redefining an on_punch method after initialisation cause a crash?
17:55 sfan5 possible
17:55 Nosrick It certainly seems to make Minetest very, very unhappy.
17:55 proller joined #minetest
17:56 agrecascino how do i set v7 mapgen
17:56 sfan5 have you tried redefining register_entity instead?
17:56 Calinou agrecascino: you can use the world creation GUI in the client
17:56 agrecascino on a server
17:56 Calinou on a server, set mg_name = v7 in minetest.conf before creating the world
17:56 sfan5 (or do it afterwards but then you'll need to delete map.sqlite)
17:56 Calinou maybe setting it in world.mt and deleting map.sqlite can work
17:56 Calinou yeah, what sfan5 said
17:56 cat5e sfan5, so, how to deal with luajit 2GB limit?
17:57 sfan5 let me restate
17:57 sfan5 <sfan5>30 if you need that much i'd suggest just modding the engine directly in C++
17:57 cat5e I thought C++ mods weren't a thing?
17:57 cat5e also, I much prefer C
17:57 Calinou you can mod the client using C++
17:57 Calinou the open source nature of Minetest has gone nowhere
17:58 Nosrick I'd rather have my project be a mod, not a subgame.
17:58 cat5e Calinou, perhaps don't pick a shitty language next time
17:58 nuzzle rewrite it
17:58 cat5e (C++ I mean)
17:58 prrpx rewrite it in rust
17:59 sfan5 yes
17:59 prrpx yes
17:59 prrpx rust is literally the future
17:59 prrpx and you cannot stop it
17:59 sfan5 cat5e: there is not support for C++ mods
17:59 Calinou Rust is not a great gamedev environment right now, and it's still slower than C++
17:59 sfan5 but you can just change the engine and call it that
17:59 Calinou and consider that it is very young, thus its library ecosystem is relatively small
17:59 sfan5 hm
17:59 prrpx Calinou: bollocks. in regards to the "still slower than C++" part
18:00 Calinou the tiny performance improvement of C is not worth the fact it's more obtuse to use, also note that we don't go overboard with OOP unlike some other projects
18:00 sfan5 cat5e: what i meant to say: you can't write c++ mods like you'd write a lua mod;; but you can change the engine and call that a "c++ mod"
18:00 agrecascino prrpx, no one likes your shitty borrow checker
18:00 prrpx agrecascino: no one likes u
18:00 prrpx oh. burn.
18:00 cat5e sfan5, garbage
18:00 sfan5 minetest is garbage yes
18:00 agrecascino prrpx, no one likes you either
18:00 cat5e sfan5, can I write a C mod and call the minetest module through Lua?
18:00 prrpx agrecascino: u don't have to say that out loud =(
18:01 sfan5 cat5e: no
18:01 cat5e that way I don't really deal with the 2GB limit
18:01 sfan5 or
18:01 sfan5 yes you can
18:01 sfan5 but it's a horrible idea
18:01 sfan5 just mod the engine directly
18:01 celeron55 joined #minetest
18:01 prrpx luajit is meme. luajit is abandonware
18:01 prrpx it's time to get rid of luajit. and lua, too
18:01 cat5e sfan5, perhaps if you had a C or RPC API instead of this hardcoded bullshit >.>
18:02 cat5e I wish we had Lua 5.3 :/
18:02 sfan5 there's a patch somewhere
18:02 sfan5 but
18:02 cat5e proper ints and all :/
18:02 ssieb joined #minetest
18:02 sfan5 it is designed to be a scripting api
18:02 Calinou if we have Lua 5.3, we have no LuaJIT
18:02 Calinou which means, terrible performance
18:02 sfan5 for that reason it's not c or rpc
18:02 sfan5 theoretically someone could add a c++ api
18:02 sfan5 but well
18:02 sfan5 there's none
18:02 Calinou prrpx: do you suggest JavaScript and V8? :)
18:03 cat5e sfan5, no thanks I'll never touch a C++ API even if I should
18:03 cat5e (thankfully C wrappers exist and they kinda work)
18:03 sfan5 well then s/C++/C/
18:03 sfan5 the thing is we have the one and only scripting api for lua
18:03 sfan5 nothing else
18:03 cat5e Calinou, who cares about performance?
18:03 sfan5 for anything advanced you'll need touch the engine's C++
18:03 Krock let's use assember - there must be some compilers around that could be bundled with minetest!
18:03 Calinou everyone.
18:04 thePalindrome hush
18:04 Calinou it matters both on the client (in case we get client-side scripting) and server
18:04 cat5e Calinou, just give it an LLVM module so ppl can write their own JITs
18:04 Calinou it's how servers can be lag-free
18:04 thePalindrome :brb:
18:04 celeron55 joined #minetest
18:04 T4im nah, some people use their computers to heat the apartment, performance would be counter productive
18:05 Krock ^ doing that right now
18:05 thePalindrome back
18:06 sfan5 Krock: pentium 4?
18:06 Krock wb thePalindrome, I'm so glad you're back
18:06 thePalindrome lel
18:06 Krock sfan5, sadly not. Athlon 64 4000+
18:06 thePalindrome I still say having a compiled api would not go over so well
18:06 Krock but still heats with ~80 Watts
18:06 cat5e everyone knows AMD is hotter than intel
18:06 thePalindrome Because otherwise I will never have an osx or windows user run my mods :P
18:06 thePalindrome s/otherwise/if so/
18:06 cat5e if you know what I mean ;)
18:07 Calinou yeah, the problem is that it gets platform-specific
18:07 cat5e thePalindrome, RPC solves that
18:07 Calinou that's really bad for beginner mod developers
18:07 thePalindrome Not all of it
18:07 Calinou sure, cross-compilation (even to macOS using osxcross!) is a thing, but it's complex to set up
18:07 Krock cat5e, in popularity or temperature? the last one is 39.2°C here right now
18:07 thePalindrome ew nonono
18:07 Calinou and don't get me started on compiling for Windows, MinGW vs MSVC…
18:07 sfan5 mingw works
18:07 sfan5 usually.
18:07 thePalindrome rpc doesn't solve things like endianess
18:07 cat5e implement the RPC protocol in python, lua, etc and you get free cross-platform
18:07 Calinou my CPU is at +32°C right now
18:07 Calinou some cores at +25-28°C
18:07 thePalindrome But then there's more abstraction to deal with
18:08 cat5e thePalindrome, then design a RPC protocol that uses sane-endian
18:08 Calinou cat5e: where's the speed benefit then?
18:08 cat5e (aka network byte order)
18:08 Krock but it depends on the CPU model where they mounted the temperature sensor
18:08 T4im :D
18:08 cat5e Calinou, who cares about speed when you can have the best of both worlds?
18:08 T4im "our cpu's don't get hot, as our sensor behind the cooling system shows"
18:08 T4im become*
18:08 shamoanjac how can you see into my eyes
18:08 shamoanjac like open door
18:08 shamoanjac s
18:08 cat5e you can use C, you can use Lua, you can use LuaJIT, you can use Python, you can use node.js you can use V8 etc
18:08 thePalindrome feh, either way
18:08 cat5e all at the same time
18:09 cat5e even multiple versions of Lua at the same time
18:09 shamoanjac please C API for Minetest
18:09 IhrFussel joined #minetest
18:09 shamoanjac please ANSI C
18:09 thePalindrome The problem isn't specific to the language
18:09 thePalindrome it's the api imo
18:09 shamoanjac please Scheme API for Minetest
18:09 cat5e Calinou, you can't get any of that with the current bullshit
18:09 sfan5 cat5e: the difficulty is having an RPC for our use case
18:09 thePalindrome we can't get a ton of the info we need from the engine
18:09 sfan5 how do you register for events?
18:09 thePalindrome Otherwise I'd write the thing :P
18:09 Krock cat5e, you can even load C modules with Lua
18:09 thePalindrome String return values?
18:09 shamoanjac (setnode (getnode pos))
18:09 Calinou also, supporting multiple languages would create tons of fragmentation
18:09 shamoanjac (setnode (getnode pos) pos)
18:09 Calinou possibly inconsistency or random weirdness
18:10 Calinou like, "why is my JavaScript API not camelCase?"
18:10 thePalindrome minetestrpc.callback_on_punch("MURDERPUNCHMAN"
18:10 cat5e sfan5, they're sockets, just use a mutex and write events
18:10 cat5e actually screw that
18:10 Calinou (hint: we're dealing with that at Godot right now)
18:10 cat5e use dbus
18:10 cat5e way easier
18:10 Calinou we'll have a C# API, but in snake_case :p
18:10 sfan5 >dbus
18:10 sfan5 ayyy
18:10 sfan5 no
18:10 sfan5 just no
18:10 thePalindrome C#? ew no
18:10 cat5e sfan5, lots of dbus modules available for a bunch of shit
18:10 Calinou C# performs well, is relatively easy to write, and Unity uses it (= gamedevs know it)
18:10 shamoanjac snake_case_is_the_only_righteous_case
18:10 cat5e way less effort than the current bullshit
18:10 thePalindrome Calinou: I call BS on all of that
18:10 sfan5 yeah no
18:11 shamoanjac typedef struct node_t {
18:11 sfan5 i guarantee you that using dbus is a lot of effore
18:11 Calinou Java is the alternative, we could support Avian... technically we can support any statically-typed language such as Go or Rust with the new C API we're developing
18:11 sfan5 s/e/t/
18:11 thePalindrome Java is worse
18:11 thePalindrome remember, with java you can redefine the value of a private function!
18:11 Calinou users are free to contribute bindings
18:11 thePalindrome The other voxel game abused that :P
18:11 cat5e sfan5, I looked at dbus for python
18:11 Calinou even Nim could work I guess
18:11 sfan5 cat5e: how about we have a C api and someone writes a dbus thing for that?
18:11 Void7 joined #minetest
18:11 cat5e do you know how much effort dbus for python is?
18:11 sfan5 also everything is easier in python
18:11 cat5e literally 0
18:11 cat5e less than 0 even
18:11 Calinou thePalindrome: there are at least two Java voxel games
18:11 Calinou Minecraft and Terasology :p
18:11 T4im you can play with local or upvalues with lua too, thePalindrome
18:11 sfan5 have you tried working with JSON in e.g. C?
18:11 cat5e so just use dboost or something that combines boost and dbus and it'll be way easier in C++ too
18:12 thePalindrome Yeah, but only one of them has the official title "The other voxel game" :P
18:12 T4im debug lib has some nasty cobble going on, if you let it
18:12 sfan5 ok you mentioned boost
18:12 sfan5 congrats
18:12 * thePalindrome used to mod for minecraft
18:12 * Calinou boosts all the things
18:12 sfan5 boost is the only library that is actually banned from minetest
18:12 thePalindrome I gave up when 1.8 broke everything modding related
18:12 * cat5e uses boost license everywhere
18:12 Calinou my cat uses Boost
18:12 sfan5 before getting boost into minetest
18:12 sfan5 you'll need to murder the entire dev team
18:12 thePalindrome You probably use systemd as well -.-
18:13 sfan5 minetest doesn't support systemd socket activation or startup signalling
18:13 sfan5 so no
18:13 thePalindrome I don't have the d on my system :P
18:13 thePalindrome So I know that :P
18:13 cat5e sfan5, another option is to write a custom RPC, shove it into python, then call dbus from python
18:13 IhrFussel Mod question: Is it enough to remove the lines containing lava inside bucket.register_liquid() of the bucket mod? My goal is to disable lava buckets
18:13 cat5e sfan5, or something like that
18:13 shamoanjac it's 0.4.14 and Minetest still doesn't support inotify()
18:14 sfan5 i think a c api would be most straightforward
18:14 sfan5 if people want rpc they can write one based on the c api
18:14 sfan5 IMO
18:14 Nosrick Python
18:14 cat5e yes
18:14 cat5e that's how it should be
18:14 cat5e but you don't want that
18:14 Nosrick PYTHON
18:14 Calinou IhrFussel: I'd like to see a mod that disables lava bucket pouring (but not collecting), but *only* above sea level
18:14 sfan5 i don't?
18:14 Calinou is there such a mod?
18:14 Calinou Krock ^
18:14 thePalindrome I'd actually start with a lua rpc, just so that issues in lua code can't crash the server
18:14 cat5e sfan5, you don't seem to
18:14 sfan5 i just don't want a dbus or boost-dbus whatever api
18:15 sfan5 a c api is perfectly fine
18:15 cat5e so grab lua and put dbus on top?
18:15 sfan5 no
18:15 sfan5 write a seperate c api that works like the lua one
18:15 Krock Calinou, IhrFussel: https://github.com/SmallJoker/base_game/blob/master/mods/default/nodes.lua#L535-L551
18:15 sfan5 the thing is probably nobody will take that work upon themselves
18:16 cat5e so grab lua.so and replace it with dbus.so?
18:16 thePalindrome why would you ever do that?
18:16 cat5e thePalindrome, at least I'd be able to use multiple lua versions
18:16 sfan5 there. is. no. dbus. involved.
18:16 * thePalindrome leaves to be productive
18:16 Krock and the same protection for buckets: https://github.com/SmallJoker/base_game/blob/master/mods/bucket/init.lua#L76-L82
18:16 Krock sorry, it's not up-to-date
18:17 Calinou it'd be great if somebody made a simple mod for that
18:17 Markow joined #minetest
18:17 Calinou this could even get into minetest_game, like, "safe_buckets = true"
18:18 T4im mod would be super unintrusive
18:18 FirePowi joined #minetest
18:20 T4im with #2250 you could even just check for spilling over a specific position via protection mods
18:21 cat5e sfan5, why do you hate dbus so much?
18:21 Void7 joined #minetest
18:21 cat5e I'm using dbus to talk to you
18:21 sfan5 i'm not
18:21 sfan5 dbus feels like a lot of effort for not much
18:23 cat5e does minetest support APNGs?
18:23 T4im a for alpha or animated?
18:23 Calinou no
18:23 Calinou nobody does
18:24 Calinou FLIF is the superior compiler (I guess nobody will get the reference :p), but sadly its license prevents mass adoption
18:24 sfan5 animations are supported as frames stacked vertically
18:24 Calinou http://flif.info/
18:24 Calinou also, we do what sfan5 does, which works pretty well in practice
18:25 sfan5 you can even edit them without advanced magic
18:25 cat5e sfan5, but the timings aren't stored in the image
18:25 cat5e unless you append them as a .zip
18:25 sfan5 timings are stored in lua
18:25 Calinou I think it'd be nice if timings and other stuff were stored in .txt files
18:25 cat5e (did you know a .png can also be a .zip?)
18:25 Calinou so that texture packs can modify it
18:26 Calinou right now, it's defined by server, which is pretty stupid
18:26 agrecascino is flif the opus of pictures?
18:27 Calinou pretty much
18:27 Krock life is life.. nana nanan
18:27 Krock wait. wrong opus
18:27 Calinou it can do almost everything, lossless or lossy, animated or not, 16-bit, 8-bit or grayscale/paletted
18:27 cat5e can it do 1080p 60fps 30 minute videos?
18:28 Calinou use video formats for that
18:28 cat5e so it's shit, just like APNG
18:28 Calinou you should never use image formats (not even .gif) for long stuff like that
18:28 Calinou video formats use compression that's specific to them for a reason
18:28 cat5e give me an image format that supports video and I'll be happy
18:29 Krock you'd end up with gigabytes of data without compression - even for short videos
18:29 sfan5 > image format that supports video
18:29 sfan5 found your problem
18:29 Krock gif gif gif gif
18:29 sfan5 gif is fine for what they're used for right now (quality is bad though)
18:29 cat5e sfan5, MNG is a video format that's optimized for images/animations
18:29 sfan5 but it makes no sense to change that
18:29 Krock or apng
18:29 cat5e why can't an image format do both?
18:29 sfan5 png is good too
18:29 way joined #minetest
18:29 sfan5 use actual videos for everything else
18:30 cat5e also, streaming
18:30 sfan5 mng is not a video format btw
18:30 cat5e sfan5, so how do you explain the video/mng type?
18:30 sfan5 bad decisions
18:30 sfan5 or missing categories
18:30 sfan5 because it is more than just an image
18:31 Amaz joined #minetest
18:31 cat5e maybe we need the slideshow/ mime category thingy
18:31 sfan5 maybe
18:31 Calinou Doom WADs have their MIME type
18:31 Calinou we can question how the MIME committee or whatever it is chooses what deserves a type
18:32 Calinou time to have world/minetest type for world.mt files
18:32 Krock yes, we want to register the .mt files ^^
18:40 Tux[Qyou] joined #minetest
18:41 Hijiri Nosrick: maybe we should discuss in IRC
18:41 Hijiri instead of on the Github issue
18:41 Nosrick Perhaps we should, yes.
18:41 Nosrick Let me explain:
18:41 Nosrick I'm using the mobs mod API to register my entities. This assigns its own on_punch method to the callback. What I'm doing is redefining the on_punch method of that registered entity _after_ initialisation, by basically adding my on_punch method onto the end of the call.
18:42 sfan5 that doesn't sounds like it would work
18:42 Hijiri If you want it to behave like a mob you shouldn't be applying damage separately from the mobs on_punch
18:42 Hijiri maybe you could still apply the punch callbacks if you wanted those to happen
18:43 Krock why not? if you do a good job it would work
18:43 Nosrick Hang on, let me gist what I'm doing.
18:43 agrecascino mng is bad
18:43 Hijiri is it separate from the one you already gisted?
18:43 agrecascino just go with apng
18:44 Hijiri Nosrick: mobs on_punch already handles damage
18:44 Hijiri if you apply damage also, it double-counts it
18:44 Krock unless you make your own functions 1st priority
18:44 Nosrick Which I have.
18:45 Krock (so you can return on success, so it doesn't get counted twice)
18:45 Hijiri Nosrick: in the zombie sample you posted though, you called both
18:45 Nosrick Oh, did I post that already?
18:45 Hijiri yes
18:45 Nosrick Sorry, my memory is poop.
18:45 Hijiri https://gist.github.com/Nosrick/5cbfbfeb9a6a204ecd8558a5cc8bc7a2
18:45 Nosrick Ah, so I did!
18:45 Nosrick So how would I go about making it handle it properly?
18:46 Hijiri This is what I would do:
18:46 Hijiri give momtest.on_punch a new parameter for the old on_punch
18:46 SmugLeaf joined #minetest
18:46 Hijiri If the old on_punch doesn't exist, apply damage and call the callbacks
18:46 Hijiri If it does exist, don't apply damage, just multiply the damage groups in the capabilities by your boost and pass it to the old on_punch
18:47 Hijiri Then call the punch callbacks
18:48 Hijiri actually, I should ask first:
18:48 Hijiri What is the purpose of the punch callbacks?
18:48 Hijiri Calculating damage, or doing special things after a punch?
18:48 Hijiri If the answer is "both", I think you should separate them
18:49 Hijiri some callbacks may want to know the final values, which it won't get if it's called in the middle
18:49 Hijiri Also if you defer to the old on_punch for handling, you won't know the "actual damage"
18:49 Hijiri so you may need to change your callback parameters, or not call them
18:49 Void7 joined #minetest
18:50 Hijiri I wouldn't calculate the base damage in a callback
18:50 Hijiri (base damage, including boosts)
18:50 Nosrick Alright, cobbling this together now.
18:51 hmmmmm joined #minetest
18:53 Nosrick Hijiri: The callbacks are mostly for adding flat bonus damage.
18:53 Nosrick A few of them do special things after a punch.
18:53 Hijiri do they depend on the damage?
18:53 Nosrick No.
18:53 Hijiri Ok
18:54 Hijiri If you don't plan on having special ones that depend on the damage, you could have callbacks not take damage
18:54 Hijiri If the only damage modification you are doing are boosts, you could just handle boosts directly
18:54 Hijiri make an API for adding and removing boosts
18:54 Hijiri If it's a common use case it would remove some boilerplate
18:55 Hijiri You can have flat boosts separate from multiplying boosts
18:55 Hijiri If you do think you will have other damage modification then you could keep it this way
18:56 Hijiri but you could have just one callback that manages the boosts, and which provides a similar API
18:57 Hijiri The damage of mobs from mobs redo is predictable enough though, so I guess you could still calculate damage
18:57 Hijiri it just might not extend necessarily to other kinds of entities
18:58 Krock Archievement unlocked: 10 messages in a row! Congratulations. You might continue now.
18:59 Nosrick I was thinking of actually having my init.lua replace all of the registered entities' on_punch functions with my own.
18:59 Nosrick And pass in their old on_punch as the last parameter.
18:59 Nosrick So it'd work with everything!
18:59 Nosrick Or break everything.
19:00 Hijiri reading some stuff I'm not actually sure if defining on_punch disables automatically default damage handling
19:00 Hijiri I would think it does though, because the api docs don't provide any other way of disabling it
19:00 Nosrick It does, as far as I've found.
19:00 Nosrick When I redefine an on_punch with a stub function, it doesn't do anything.
19:00 Hijiri alright
19:02 Hijiri actually there is a hackish way you could calculate damage in general
19:02 Hijiri record the health before and after calling the old on_punch, and subtract
19:03 Hijiri so yeah, that's away
19:03 Nosrick Did I post my actual on_punch code?
19:03 Hijiri yes
19:03 Krock you did, on github
19:03 Hijiri https://gist.github.com/Nosrick/732c30a4e180bc3381d9febb5aeee2c5
19:03 Hijiri oh that's the wrong one
19:03 Hijiri https://gist.github.com/Nosrick/5ba6bc81445f80eaaf3665bb354e4b2b this I think
19:03 Nosrick Yeah, that one.
19:03 Nosrick Let me update it.
19:04 Nosrick There, updated.
19:06 Hijiri you could move the tmp assignment outside the loop, since it doesn't depend on group and is the same each time
19:06 T4im table.containsKey(table, element) :D
19:06 Hijiri when you call oldPunch you should boost the damage groups in toolCapabilities
19:06 Hijiri if you want it to receive boosted damage
19:07 T4im why not just "if mytable[key] then..." if you want to check if it has the key
19:07 Hijiri this is why you would want to handle boosts outside a callback
19:07 Krock T4im, why not simply if you can not make it hard?
19:07 Nosrick Ah, I don't do damage group boosts.
19:07 Hijiri Nosrick: also you are still doing damage processing after calling the old on_punch
19:07 Krock or something like that
19:08 Hijiri Nosrick: mobs on_punch code does damage calculations using the tool capabilities
19:08 Nosrick I know, I'm trying to make my mod compatible with that.
19:08 Hijiri either you have to remove that and hope that the code still works, or you need to give it the boosts it needs to know the desired damage
19:09 Nosrick If I remove it, it makes the mobs a lot less responsive.
19:09 Amaz joined #minetest
19:09 Hijiri I mean remove the damage calculations from mobs somehow
19:09 Nosrick Ah.
19:09 Nosrick Wouldn't I have to edit the API to do that?
19:09 Hijiri yes
19:09 Nosrick Aaaaaa
19:10 Nosrick This is turning into a great clusterfuck.
19:10 Hijiri I'm just trying to direct you towards boosting the damage groups
19:10 Hijiri I don't consider it a serious option
19:11 Nosrick Actually, if I rewrite it to use the damage groups boosts, I won't even need the on_punch override.
19:11 Hijiri rewrite the mob api?
19:11 Hijiri or your function
19:11 Nosrick I might just write my own damn mob API.
19:11 Nosrick But I was talking about my function.
19:11 Hijiri I was thinking there should be a common mob interface
19:12 Nosrick There should, and it should not suck huge turds.
19:12 Hijiri so that multiple mob frameworks can produce mobs that can be treated uniformly, in addition to there own special functions
19:12 Nosrick I don't think I could produce something that was good.
19:12 Hijiri I was going to make a forum post about it but keep procrastinating
19:12 T4im relevant xkcd: https://xkcd.com/927/
19:12 Nosrick If you want some help chucking ideas around, give me a shout.
19:12 Hijiri alright
19:13 Hijiri T4im: this is different from a new framework
19:13 Hijiri This would be like an interface you provide implementations of
19:13 Hijiri it's important to allow different mods to make mobs differently, because one framework is unlikely to provide everything you want
19:13 Hijiri but on the other hand, there are certain common things between mobs that we expect, like attacking them, knowing whether they are a mob in the first place, etc.
19:14 Hijiri Currently there is no such standard, so I wouldn't be making a new competing standard
19:14 Hijiri At the very least their luaentities can carry an "is_mob" flag to tell whether it is something to target
19:15 Hijiri instead of heuristics like checking the immortal armor group or the name of the entity
19:15 Hijiri 9 lines, not 10 yet
19:15 Nosrick C-c-c-c-combo breaker
19:16 Hijiri minetest needs more libraries and library evangelism
19:16 agrecascino yeah fuck this shit
19:16 Nosrick Shall we develop a standard then, Hijiri?
19:16 agrecascino i am never using the fun caves mod again
19:18 Hijiri Nosrick: maybe
19:18 Hijiri probably need to discuss with existing mob modders
19:18 Hijiri if there is no adoption it will fail
19:18 Nosrick True.
19:19 T4im Hijiri: every mob framework already provides some sort of standard, if you really want to create a uniform one you either need to get one upstream-ish, or you sit together with the big mob maintainers out there and get them to take part
19:19 Hijiri T4im: discussing with them was the idea
19:19 T4im well, what you just said
19:19 T4im x)
19:19 Hijiri part of the reason I haven't posted a topic yet, I'm not sure how to pitch it
19:19 Hijiri but mostly because I was being lazy
19:21 T4im Calinou: didn't you write a mob framework? how does Hijiri pitch it to you?
19:21 T4im burli: aren't you writing one right now? :)
19:21 T4im 10+ not here, hm, who else?
19:22 Calinou T4im: I didn't
19:22 Hijiri by the way I would just be pitching the reasons to have a common interface, not the specific elements yet
19:22 T4im oh, must have confused that then :o
19:22 Hijiri the forum topic would be used for deciding that
19:22 basxto joined #minetest
19:22 Hijiri actually I'll just make the topic, since I've already posted in here
19:23 TC01_ joined #minetest
19:24 Nosrick I think I've found the problem.
19:24 Nosrick It's when the mob turns to hit the player.
19:25 Nosrick Then BAM null reference.
19:29 Megaf joined #minetest
19:30 Megaf Am I the only one here who likes this? http://uploadpie.com/VzMfN (That's just a nerdy sysadmin screenshot)
19:30 Megaf those are the consoles of some of my servers
19:31 Calinou tmux?
19:31 Megaf !server Megaf
19:31 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/1 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 11ms
19:31 Megaf Calinou: yep
19:31 Calinou AC/DC lol
19:31 * Calinou listens to paniq right now
19:31 Megaf yep :)
19:31 Calinou I should learn tmux, I only know GNU screen
19:31 Megaf Calinou: the thing is, run screen inside tmux
19:32 Megaf so, in your host or desktop open a tmux
19:32 Megaf then a tmux window for each server
19:32 Megaf each server a screen
19:32 Megaf profit
19:32 shamoanjac agrecascino, what happened with fun caves
19:33 Megaf Calinou: tmux = screen, tmux attach = screen -x, ctrl + b = ctrl + a
19:33 Megaf Calinou: ctrl + b + " = create window under the current one
19:33 Megaf Calinou: ctrl + % create window besides
19:33 Calinou ok
19:33 Megaf aka, split vertical vs split horizontal, % = one beside another
19:33 Freejack joined #minetest
19:34 sfan5 >screen -x
19:34 Megaf done, that was your crash course on tmux
19:34 sfan5 what's that i have never done that
19:34 Megaf sfan5: you serious?
19:34 sfan5 basically you only need tmux {,attach} and ctrl + b d
19:34 sfan5 yes
19:34 Megaf that attach to a running screen session
19:34 sfan5 i use screen -r for that
19:34 Megaf oh
19:34 Nosrick GOT THE BASTARD
19:35 Megaf lol Nosrick
19:35 agrecascino shamoanjac, it broke everything
19:35 Nosrick Hijiri: Why would there be a null reference exception on toolCapabilities.full_punch_interval, when toolCapabilities is NOT nil?
19:35 Megaf so, today I played a bit of Truck Simulator from steam, a free demo. It was fun piling up on lots of cars and cops
19:36 Void7 joined #minetest
19:37 Megaf fun fact, the Test console is my minetest server
19:38 Megaf very fun uh?
19:39 Megaf nevermind
19:40 Hijiri Nosrick: I don't think those are related, since if toolCapabilities was nil, you would get an error from LUa
19:41 Nosrick Yeah, you might be right.
19:41 Nosrick I think it might be a coincidence.
19:41 Nosrick If I could debug minetest, that'd be great.
19:41 Hijiri I'm pretty sure nils aren't represented by null pointers
19:41 Hijiri Nosrick: you could use gdb
19:41 Hijiri actually if it's a release it might be stripped
19:41 agrecascino rebuild with debug symbols
19:41 Nosrick Nils aren't null pointers, normally.
19:42 Krock there are no pointers in Lua
19:42 Krock but sometimes the C API throws errors when it got something else than expected
19:43 Nosrick Yeah, I think that's what's happening.
19:43 Krock like a numeric value instead of table
19:43 Nosrick But right now, I'm totally stuck because of this.
19:43 jojoa1997 joined #minetest
19:43 Nosrick And I'm just flailing.
19:43 rubenwardy joined #minetest
19:46 Megaf another terminal screenshot http://uploadpie.com/zP2ap
19:47 Krock Nosrick, please include a link to the discussion on github
19:47 Krock some people might wonder what you discussed
19:55 Nosrick How would I do that?
19:57 Krock Nosrick, edit the github comment, add http://irc.minetest.net/minetest/2016-08-09#i_4674679, press save, done.
19:58 Nosrick Done!
19:58 Krock cool :)
20:03 Out`Of`Control !server liberty land
20:03 MinetestBot Out`Of`Control: Liberty Land | mt.rbose.org | Clients: 22/50, 10/25 | Version: 0.4.14-dev / ayntest | Ping: 16ms
20:06 Nosrick Made a little extra post on the github issue.
20:07 Krock http://pastebin.com/raw/Jz2KyqKK
20:09 Krock oh cool. it uses landrush <3
20:10 sfan5 !server address:ae34
20:10 MinetestBot sfan5: No results
20:10 Out`Of`Control <3 landrush
20:10 sfan5 !server addr:ae34
20:10 MinetestBot sfan5:  | 2a02:214b:8115:f900:a55d:69cb:86a5:ae34 | Clients: 1/100, 1/1 | Version: 0.4.13.7 / default | Ping: 109ms
20:10 sfan5 ^ this server doesn't look like it should be on the list :D
20:10 Krock too less max clients
20:10 Krock that's the ultrafast freeminer
20:12 Out`Of`Control WE beat minetest_game ?
20:12 Krock btw sfan5, I was able to run the KittenThread by chat command - also made it detecting ores to dig. Your code was really a big help :)
20:13 sfan5 yeah that's not hard to do
20:13 Out`Of`Control Krock:  how you generate that list?
20:13 Krock Out`Of`Control, magic
20:13 Krock got a C# program to fetch the server list
20:13 T4im KittenThread?
20:13 T4im O_o
20:13 Krock T4im, nothing important ;)
20:16 Nosrick This is frustrating.
20:18 Nosrick It's making me sad.
20:19 * Krock gives Nosrick some fresh baked cookies
20:24 YannB64 joined #minetest
20:26 Krock http://abzurd.com/
20:26 Krock Donate now for more internet!
20:28 Krock (not related to http://www.turnofftheinternet.com/ or http://hmpg.net/ )
20:28 aix so i had this fake unknown node mod and placed a few blocks in spawn then removed it and didn't even realize lol
20:28 Nosrick I FOUND THE PROBLEM!
20:28 Nosrick FOR REALZ THIS TIME
20:29 Nosrick It's in my register_on_punchplayer(). It's not passing the player object in properly.
20:29 aix calm
20:30 KaadmY heh
20:31 KaadmY i found the end of the internet
20:31 KaadmY it's flash
20:35 VargaD joined #minetest
20:39 aix >tests game
20:39 aix >forgets to move it
20:48 Hijiri https://forum.minetest.net/viewtopic.php?f=47&amp;t=15331
20:48 Hijiri standard mob interface proposal
20:49 Tmanyo joined #minetest
21:03 Hijiri client-side scripting would open up so many possibilities
21:03 Hijiri I could finally have my bitcoin mining farm
21:03 T4im hah
21:05 Krock lol
21:05 T4im that's what i thought Krock would write as mod a few years ago, actually
21:05 T4im !mods coin
21:05 T4im !mod coin
21:05 MinetestBot T4im: Bitcoins [Bitcoins] by DistroGeeks-MilesDyson - https://forum.minetest.net/viewtopic.php?t=5014
21:05 T4im hm
21:06 Krock !mod bitch
21:06 MinetestBot Krock: BitChange (money) [bitchange] by Krock - https://forum.minetest.net/viewtopic.php?t=7821
21:06 T4im ah
21:06 Krock nice keyword, heh?
21:07 Calinou !mod blocks
21:07 MinetestBot Calinou: More Blocks [moreblocks] by Calinou - https://forum.minetest.net/viewtopic.php?t=509
21:07 Calinou :>
21:08 Krock !mod less
21:08 MinetestBot Krock: Useless Mod [useless_mod] by general3214 - https://forum.minetest.net/viewtopic.php?t=7377
21:08 Calinou !server KRISTALL
21:08 MinetestBot Calinou: KRISTALL | 163.172.10.77 | Clients: 9/15, 10/14 | Version: 0.4.14 / minetest | Ping: 13ms
21:09 Calinou "Minetest server powered by the love for nekomimi"
21:09 Calinou do I try to join it or does sfan5 try first
21:09 sfan5 what
21:09 sfan5 where
21:09 sfan5 give
21:09 T4im "Brainwave Cat Ears" wait what?
21:09 Calinou sfan5: it's on the list
21:10 sfan5 cool
21:10 sfan5 chunks load slowly
21:10 sfan5 havent seen any nekomimi yet
21:11 sfan5 man chunk loading sure is slow
21:12 * T4im gives sfan5 some yarn to play with in the meantime
21:14 Krock Calinou, I was there. It's totally vanilla
21:14 Hijiri !server KRISTALL
21:14 MinetestBot Hijiri: KRISTALL | 163.172.10.77 | Clients: 14/15, 10/14 | Version: 0.4.14 / minetest | Ping: 12ms
21:16 Calinou !server Calinou
21:16 MinetestBot Calinou: Calinou [Europe/Paris] (survival - minimal mods) | hugo.pro:30002 | Clients: 0/32, 2/10 | Version: 0.4.14-dev / minetest | Ping: 10ms
21:16 Hijiri !server Hijiri
21:16 MinetestBot Hijiri: No results
21:26 STHGOM joined #minetest
21:26 STHGOM joined #minetest
21:26 swift110 joined #minetest
21:28 swift110 joined #minetest
21:31 Void7 joined #minetest
21:41 DonBatman joined #minetest
21:46 Megaf !server Megaf
21:46 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/1 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 6ms
21:46 Megaf MinetestBot: that was quick uh
21:46 Megaf same second reply
21:47 Megaf !server Megaf
21:47 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/1 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 6ms
21:47 Megaf amazing
21:47 Megaf !server Calinou
21:47 MinetestBot Megaf: Calinou [Europe/Paris] (survival - minimal mods) | hugo.pro:30002 | Clients: 0/32, 1/10 | Version: 0.4.14-dev / minetest | Ping: 14ms
21:47 Megaf Megaf Server beats other servers ping badly
21:49 aix Can I have one button to climp down and another for "use" ?
21:51 STHGOM !mod temperature
21:51 MinetestBot STHGOM: Temperature and Humidity HUD [tempidity] by HeroOfTheWinds - https://forum.minetest.net/viewtopic.php?t=9439
21:51 Megaf shift and left click?
21:51 Megaf aix: ^
21:51 aix uhm
21:51 aix i mean in the key bindings
21:52 aix i want to be able to use e to climb down but i also want to use fast in water and on ladders
21:52 Megaf the default is shoft to climb down and e to go fast
21:53 Megaf you can use both at the same time
21:53 Megaf aix: ^
21:53 aix but i hate shift
21:53 Megaf so use z
21:53 aix also unless i use the default, there's no way to go fast in water
21:54 Megaf just assign whatever button you want to whatever function you wish
21:54 aix there's no "climb down" function
21:54 Megaf dont make me open minetest please
21:55 aix just a switch to make an already defined function key the same for climb down
21:55 aix https://sr.ht/0PVX.png
21:55 aix here
21:55 Megaf I dont want to open a web browser either
21:56 aix okay, say I want to use q to go fast and e to climb down
21:56 Megaf not much memory left
21:56 aix i set use to q
21:57 aix but there's no option for down i can se
21:57 aix see
21:57 aix hm, sneak could do it
21:57 aix oh fuck that works lol
21:57 aix never mind
21:59 Megaf hm, Debian 32 bit is much more efficient than 64 bit in memory use
21:59 aix ugh everything is awkward
22:00 aix is it?
22:00 Megaf debian 32 bit using 18 MB after boot to console, debian 64 bit using 28 MB
22:00 Megaf identical installations and hardware
22:00 Megaf but one is Wheezy 32 bit and other is Wheezy 64 bit
22:00 Megaf 32 bit uses less space too
22:01 Megaf 367 MB in / 389 MB
22:01 Megaf interesting
22:04 agrecascino joined #minetest
22:04 Megaf and so far 32 bit has been faster
22:04 agrecascino shamoanjac, you there?
22:04 Megaf I wonder why use 64 bit then
22:05 Fixer Megaf: it is expected
22:05 Fixer Megaf: if you have <2Gb ram - use 32bit OS
22:05 Megaf I understand the size and memory use smaller on 32 bit
22:05 Megaf but performance better too?
22:06 Darkside_ yes
22:07 Darkside_ for its ability to deal with larger chunks of data faster
22:07 Fixer Megaf: some benchmark say that it can be faster
22:07 Darkside_ im not a expert on it but somebody explained me something on that once that made sense but i already forgot most he said :/
22:08 Megaf wonder how faster a MT can be on 32 bit
22:09 Megaf a MT server*
22:09 Fixer Megaf: 64bit should be slightly faster iirc
22:09 sofar MT doesn't benefit much from 64bit cpu's
22:09 Fixer Megaf: difference is small
22:10 Megaf I'm deploying a minimalistic Debian desktop to check what I need extra to run my portable binary build of Minetest
22:10 sofar it wouldn't surprise me if stock MT 64bit is slower than stock MT 32 bit
22:10 Megaf installing TWM as window manager :)
22:10 sofar since I doubt that we properly optimize the MT builds
22:11 aix TWM? damn
22:11 Megaf XDM as login manager
22:11 Megaf and I quite like TWM man, good old days :D
22:12 DMackey joined #minetest
22:12 celeron55 no login manager for the win!
22:12 Megaf lol celeron55
22:13 Megaf and I made a mistake, started TWM and forgot to install xvt (smaller terminal emulator than xterm)
22:13 Fixer startx
22:13 Megaf alt gr + f1 to the rescue
22:14 Megaf (VBox VM)
22:14 Fixer Megaf: why are you obsessed so much with ram? you run it on raspberry? last time I was obsessed with ram it was P4 2.8 with 512mb ram
22:15 Megaf Fixer: my VMs have 512 MB each
22:15 Megaf the host has 4 GB
22:15 Nosrick I think my mod will be released for testing in the next few weeks.
22:15 Megaf and I want everything to be as efficient as possible
22:16 Fixer ._.
22:16 aix fair nuff
22:16 aix Megaf: then use luakit
22:16 aix not firefox
22:16 aix or dwb
22:16 aix and i3 is great for a wm that doesn't remind you of the 90s
22:17 * Megaf uses w3m
22:19 aix wow
22:19 * aix bows down
22:19 theTroy joined #minetest
22:20 agrecascino Megaf, we all know the best combination of browser and OS are Microsoft edge and windows 10
22:20 Megaf agrecascino: of course
22:20 celeron55 but what if you want a wm that does remind you of the 90s?
22:20 Megaf running on a Microsoft VirtualPC VM inside Windows Milenium
22:20 agrecascino celeron55, icewm
22:21 Megaf yep
22:21 celeron55 agrecascino: yes; the obvious choice
22:21 Megaf celeron55: I'd say WindowMaker
22:21 Megaf NextStep FTW
22:21 agrecascino rip nextstep
22:21 agrecascino actually
22:22 agrecascino rip openstep
22:22 Megaf I actually used to have wmaker as default WM
22:22 Megaf ok, w3m installed in the VMs, need to put my binary fork somewhere so I can download it easily
22:22 Megaf Megaf Server it is
22:23 Megaf and rsync to the rescue
22:24 Markow joined #minetest
22:24 agrecascino is there any way to make a construction to really annoy people using doors?
22:25 TGminer joined #minetest
22:25 Darkside_ sure with mesecons buttons switches etc :D
22:26 * Megaf listening to Marilyn Manson - Resident Evil Main Title Theme (Corp. Umbrella) (SX Long)
22:26 Megaf That is awesome
22:26 Megaf (on mpv)
22:27 Darkside_ depends ofcource on what you want the doors to do, some guy in minecraft made a simple redstone construction that made the doors open and close realy fast with the sounds realy annoying ;D
22:27 agrecascino Darkside_, that's what i want to do in minetest
22:28 Markow joined #minetest
22:28 Calinou https://github.com/Calinou/modern
22:28 Calinou added flowers, mushrooms, sandstone brick textures
22:29 agrecascino hmm
22:29 agrecascino had no idea xfwm was based on fvwm
22:31 sofar xfwm4 is ... old :)
22:32 Fixer fuck microsoft, fuck avast, fuck 5400 rpm hdds
22:33 Fixer time to update minetest
22:33 Fixer "Latest commit b6d845a 7 days ago"
22:34 Fixer current minetest-dev mood: "everyone is dead and trees are humming" (c)
22:36 Fixer "I have the exact same problem and i can tell you for sure that's Avast's fault. Or, to be precise, it's the updater's fault: once the boot has ended the updater starts and for some unknown reason it absolutely trashes the hdd -  in, usually, over 2 minutes it manages to make more than 40,000 I/O Reads and over 20,000 I/O Writes. It uses the hdd so much that the entire OS (XP SP3 in my case) is absolutely frozen"
22:36 Fixer top quality AV development
22:38 DonBatman joined #minetest
22:58 * Megaf getting tired of manually compying libs, compressing, uploading, downloading, extracing, ldding
22:58 Megaf compilying
23:02 Megaf and somehow ldd is seg faulting now
23:04 agrecascino joined #minetest
23:06 Void7 joined #minetest
23:07 twoelk gone in a flash?
23:09 Megaf I was copying the libs to a libs folder and trying to run the fork
23:09 Megaf unfortunetally LD_LIBRARY_PATH=libs ldd dont work
23:10 twoelk no thats wrong it was a dish that ran away with the spoon
23:10 Megaf and ldd alone dont show all missing libs, it show a set of missing libs, then when those libs are added it shows another set
23:11 twoelk depencycascade
23:11 Megaf yep, so the first set was easy to resolve
23:11 Megaf but now I have to keep running and seeing what lib it complains it dont have
23:12 Megaf and adding one my one
23:12 Megaf each tipe repacking and reuploading the thing and downloading it again
23:12 Megaf there must me an easier way of doing that
23:13 Megaf libcrypto.so.1.0.2  libcurl.so.4     libgssapi_krb5.so.2  libIrrlicht.so.1.8  libk5crypto.so.3  liblber-2.4.so.2    libluajit-5.1.so.2  libnghttp2.so.14  libopenal.so.1  libpng16.so.16  libssh2.so.1     libstdc++.so.6      libvorbis.so.0
23:13 Megaf libc.so.6           libgnutls.so.30  libhogweed.so.4      libjpeg.so.62       libkrb5.so.3      libldap_r-2.4.so.2  libm.so.6           libogg.so.0       libpng12.so
23:13 Megaf these are the libs I copied so far
23:13 Megaf twoelk: ^
23:14 twoelk liberatedhogweed sounds like fun, can I smoke that?
23:14 Megaf and imagine when libjpeg gets to version 69
23:16 Megaf 20 MB on libs alone
23:18 * twoelk is trying to parse the libbylist instead of going to sleep
23:21 Fixer hmm, directory opus looks just like worker FM
23:23 * twoelk liberateshisheadofliblistsandgoestosleep
23:24 Megaf twoelk Liberates His Head Of LibList And Goes To Sleep
23:24 demonhunter555 joined #minetest
23:25 demonhunter555 Hi I told you i knew how to get on
23:26 Megaf what are you talking about?
23:26 Fixer https://i.imgur.com/Xe9XpNc.png
23:29 Megaf Minetest requires 7 millions libs for crypto and ssl and sasls and stuff
23:29 Megaf WHY!?
23:30 Megaf libcrypt, libcryto, libssl, libssh, libsasl, link5
23:31 Fixer Megaf: you are overcomplicatinh
23:31 agrecascino shamoanjac,
23:31 agrecascino shamoanjac,
23:31 agrecascino shamoanjac,
23:31 agrecascino oh god help
23:40 Megaf Can anyone on ANY Linux 64 bit test this please? http://mt.megaf.info/~minetest/MineDigger.tar.gz
23:40 Megaf to run just extract, open the folder and double click RunMineDigger or ./RunMineDigger
23:40 Void7 joined #minetest
23:41 Fixer Megaf: X11 required?
23:41 Megaf wget http://mt.megaf.info/~minetest/MineDigger.tar.gz && tar zxf MineDigger.tar.gz && cd MineDigger && ./RunMineDigger
23:41 Megaf Fixer: without X11 you can try the server, ./RunMineDiggerServer
23:42 Megaf it seg faults on Debian Wheezy
23:42 Megaf =/
23:43 Fixer i have same debian wheezy
23:44 agrecascino help
23:44 Void7 ?
23:44 agrecascino https://github.com/agrecascino/factions/pull/8/commits/1326104d2857949d532da5a41dbb8f641194a631
23:45 agrecascino something is wrong with util
23:45 Void7 It has been my experience so far that saying "something is wrong plzfix" has almost no data and pretty much everybody will ignore it
23:45 Void7 what's the exact error?
23:45 shamoanjac agrecascino,
23:45 shamoanjac what
23:46 agrecascino something with the {}
23:46 shamoanjac what does it say?
23:46 yang2003 joined #minetest
23:46 Void7 what's the problem? the Y coordinate is way off?
23:46 agrecascino no
23:46 shamoanjac does it nil-fault?
23:46 agrecascino expected to close { at line 47
23:46 shamoanjac lel
23:47 Void7 line 50 needs a comma
23:47 shamoanjac yep
23:47 Void7 at the end
23:47 agrecascino also
23:47 agrecascino found a bug
23:48 Void7 what?
23:48 shamoanjac pls tell
23:48 shamoanjac I'll go to bed soon
23:48 agrecascino sorry i'm catting the entire file and it's taking ages
23:49 agrecascino something to do with concatenation and claiming
23:49 shamoanjac do you get an error?
23:49 agrecascino yes
23:49 shamoanjac ok wait a moment
23:49 shamoanjac I'll test it myself
23:51 anthony_ joined #minetest
23:51 wake_me_up left #minetest
23:53 wake_me_up joined #minetest
23:54 wake_me_up pastebin.com/16vWTFZCV
23:56 shamoanjac welp
23:56 shamoanjac I had fixed it
23:57 shamoanjac ah of course
23:57 shamoanjac https://github.com/agrecascino/factions/pull/9
23:57 shamoanjac ^ PR with fix
23:57 shamoanjac and your pastebin is no longer valid
23:59 wake_me_up ?

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