Time Nick Message 01:25 thePalindrome WebP isn't all that great imo 01:26 thePalindrome Flif is the future :P 05:52 nm0i !server megaf 05:52 MinetestBot nm0i: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/2 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 8ms 08:02 Calinou thePalindrome: problem of FLIF is the license 08:03 Calinou decoder is fine, but encoder is LGPL, which scares lots of people away 08:04 wilkgr I'm following this tutorial to add HUD elements: http://rubenwardy.com/minetest_modding_book/chapters/hud.html 08:04 wilkgr But using that example 08:04 wilkgr I can't run it 08:04 wilkgr player is a nil value 08:05 wilkgr init.lua:2: attempt to index local 'player' (a nil value) 08:05 Calinou you added "local player = minetest.get_player_by_name("username")" 08:05 Calinou with a correct username? 08:06 wilkgr I changed that to singleplayer 08:06 wilkgr (with quotation marks) 08:06 wilkgr I WOULD c&p it if it weren't for the auto-kicker 08:07 wilkgr local player = minetest.get_player_by_name("singleplayer") 08:07 wilkgr local idx = player:hud_add({ 08:07 wilkgr That's the first two line 08:07 wilkgr s 08:08 wilkgr I have "default" and "worldedit?" in the depends.txt 08:08 wilkgr So, yes. 08:08 wilkgr I have no idea :/ 08:09 Calinou maybe the player doesn't exist on world spawning 08:09 Calinou you'd need to delay it using minetest.after 08:09 wilkgr Hmmm... 08:09 wilkgr Perhaps... 08:09 wilkgr Yes. 08:09 wilkgr I'll try that. 08:12 wilkgr Yesssss...it worked. 08:12 wilkgr Thanks Calinou :D 08:13 Calinou np 08:13 wilkgr :D 08:19 wilkgr Ok I'm back with another question 08:19 wilkgr If I have local idx = player:add_hud...etc 08:19 wilkgr Does that mean 08:19 wilkgr that the variable 08:19 wilkgr exists only within the function? 08:20 wilkgr And that I cannot modify it from somewhere else? 08:20 wilkgr If so...How would I remedy this? 08:22 wilkgr Would I have to use global, or something? 08:22 Calinou local variables exist only within the function scope, yes 08:22 Calinou or within the script 08:23 Calinou remove local keyword, and the variable is global 08:23 Calinou but you'll probably get warnings in Minetest console 08:23 Calinou we do not advise using globals at all, except for "modname = {}" for example 08:23 wilkgr Ok. 08:24 wilkgr So...Considering I want to modify the HUD element from a command, how would I then do it? 08:24 Calinou minetest.register_on_chat_command(…) 08:24 Calinou I think 08:25 Calinou it might be chatcommand, not chat_command 08:25 wilkgr Ohhh...thanks :) 08:26 wilkgr "Your search - minetest.register_on_chat_command - did not match any documents." 08:27 wilkgr xD 08:27 wilkgr There is "minetest.register_chatcommand", but does that work within functions? 08:27 Calinou look in lua_api.txt 08:27 wilkgr Oh, k 08:27 Calinou it should 08:27 Calinou oh yes, it is minetest.register_chatcommand 08:27 wilkgr I'll try that. 08:27 Calinou ultimately, functions are just code blocks :P 08:28 wilkgr One last thing - 08:28 Calinou the main thing you're not allowed to do inside them is declare other functions 08:28 wilkgr I can use core.colorize for chat - but can I do that for HUD elements? 08:28 wilkgr core.colorize doesn't seem to work 08:28 wilkgr (No errors, but text is still black) 08:29 Calinou look in lua_api, Ctrl+F for "color" :P 08:30 wilkgr ik that would come... xD 08:31 wilkgr "More than 100 matches" 08:32 wilkgr It says "There are a few exceptions: tab headers, dropdowns and vertical labels can't" 08:32 wilkgr For colors 09:08 JamesTait Good morning all! Happy Thursday, and happy Son and Daughter Day! 😃 09:11 Szkodnix Good morning :) Oh, I didn't know that this kind of holiday exists :) 09:19 wilkgr Hello JamesTait 09:20 JamesTait 👋 Szkodnix, wilkgr 09:20 wilkgr Hullo :) 09:20 wilkgr Wow 09:20 wilkgr I just found out 09:20 wilkgr that when 09:20 wilkgr you press [ESC] 09:20 wilkgr while on 09:20 wilkgr an error screen 09:20 wilkgr the whole game closes 09:20 wilkgr rather than 09:20 wilkgr going to 09:20 wilkgr the main menu 09:21 JamesTait Szkodnix, most of them are nonsense holidays. ☺ 09:24 Megaf nm0i: Hi there, the buckets mod in my server is a mod I made myself 09:24 Megaf they are a drop in replace for default buckets mod 09:24 Megaf You can use them as craft ingredients, for example for homedecor items and you can also craaft them if you have a water_source 09:24 Megaf nm0i: I just granted you interact by the way 09:24 nm0i I 09:24 nm0i I'll probably loose it anyway. 09:25 Megaf nm0i: a bucket or interact? 09:25 nm0i Yes (don't ask or questions). 09:25 Megaf lol 09:25 nm0i What's the reasn behind wn bucket mode?.. 09:26 nm0i s/eas/&o/ 09:26 Megaf griefing. griefers love flooding everything with lava and water 09:26 Megaf And I don't know how areas mod it is now, but in the past they could even flood protected areas 09:27 nm0i You can by making tall dirt tower 09:27 nm0i But IIRC default bucket mod has is_protected or something check. 09:28 Megaf yep 09:28 nm0i I just made few overrides to remove lava, because ratio of players using lava for goot to players using lava to try to grief is nearly zero. 09:28 nm0i s/goot/good/ >.> 09:29 Megaf on a previous server I had, a guy joined, asked for interact, dug and mined to get things to craft a bucket, then he dug more to find a lava lake, went back to spawn and flooded the spawn with water and lava 09:30 JamesTait That's dedication. 09:30 nm0i "We have rollback and hourly backups" sign at spawn helped a little on previvous server, though. 09:32 Megaf That will just be read like, "It's ok, grief at will, we can fix it later and we don't care about anyone else" 09:32 nm0i Yeah, in the end it was so. 09:33 Megaf a lot of work can be lost in one hour and rollback just don't work properly. 09:33 Megaf and it takes too much disk space 09:33 Megaf and it is very slow 09:33 nm0i Same as making server 18+ ensures there will be only kids on it. 09:33 Megaf brb 09:39 Megaf LOL at www.atheros.com 09:39 Megaf !title 09:39 MinetestBot Megaf: HUD - Minetest Modding Book 09:39 Megaf LOL² 09:41 wilkgr Hi Megaf 09:42 Megaf hey wilkgr 09:42 wilkgr Long time no see ;) 09:42 wilkgr What's so funny? 09:42 Megaf yep, 09:42 Megaf wilkgr: atheros is a big company, and the website atheros.com says it works 09:43 wilkgr Oh. 09:43 Megaf wilkgr: we have new players on the server, but you werent there to say welcome to them, they are agaran and Darkside_ :P 09:43 wilkgr Hmmm 09:44 wilkgr I'm playing around on creative on another server atm, sorry Megaf ;) 09:44 Megaf nm0i: you new player too? perhaps I'm not seeing you there again, or am I? 09:44 wilkgr And trying my best to explain a swear filter... 09:44 Megaf wilkgr: I've been thinking about making a clone of the server, but this clone in creative mode 09:44 wilkgr Let's just say it didn't go well ;) 09:44 wilkgr Megaf, great idea! 09:45 Megaf terrible idea, the servers will eat each other 09:45 wilkgr Megaf, would you be interested in a minigames server perhaps? 09:46 wilkgr OMG there's a server called "Absolute Anarchy" xD 09:47 Megaf wilkgr: we have some minigames 09:47 * wilkgr slams head against wall 09:47 Megaf players are making them 09:48 wilkgr Oh, k 09:48 wilkgr I'm working on one in singleplayer 09:48 wilkgr Complete with coloured chat, etc. ;) 09:48 Megaf Megaf Server is the most flexible server there is 09:48 wilkgr Such as 03LEVEL FINISHED 09:48 wilkgr Megaf, "Disclaimer: This might or might not be true at the time of publication" 09:48 wilkgr xD 09:49 Megaf everything is permited there, all languages, habits, dating. You are just now allowed to cause harm in Megaf Server 09:49 Megaf apart from that, you can build and do anything you want 09:49 wilkgr True... 09:49 Megaf want to build a freaking roller coester, do it, space station? fine 09:49 wilkgr I thought PvP (if agreed) is allowed though...? 09:50 Megaf a castle for a PVP area? That's ok 09:50 Megaf are you Japanese and wants to speak Russian? That's lovely 09:50 wilkgr Space station is what you're doing, with the mod I made for you 09:50 wilkgr (hint hint, nudge nudge) 09:50 wilkgr xD 09:50 Megaf PVP is allowed yes, if agreed 09:50 Megaf by both parts 09:51 wilkgr I saw something on another server 09:51 wilkgr that PvP is disabled outside 09:51 wilkgr arenas 09:51 wilkgr So that it actually is impossible to PvP outside... 09:51 wilkgr Or you can go into PvP mode 09:51 wilkgr (which everyone can see) 09:51 wilkgr And then you can hit & take damage from others 09:54 Megaf All this stuff adds unnecessary complixity 09:55 * wilkgr shakes head 09:56 nm0i Megaf: I've been on your server at least year ago, I think. 09:56 nm0i So not new. Just did nthing. 10:06 wilkgr ^^ Same nm0i ;) 10:09 Megaf nm0i: I remember 11:07 Megaf cya, wbbl (See You) (I Will Be Back Later) 11:08 Krock k gj cyal 11:19 Megaf folks, my w3m is broken 11:19 Megaf aix: ^ 11:19 aix ah well 11:20 Megaf w3m text browser showing images and shit http://uploadpie.com/aViXX 11:23 Megaf Thankfully duckduckgo still fine http://uploadpie.com/fB571 11:35 * Megaf trying to figure out why thunderbird no longer open links itself, instead it opens link on external browser 11:38 aix okay so i'm setting up my own email, ftp and xmpp servers 11:38 aix should be fun 11:38 Krock that's funny because thunderbird is basically firefox 11:39 aix ^ 11:39 aix it literally is 11:39 Darkside_ i guess Opera too 11:39 aix uhm no 11:39 aix Opera is great 11:39 aix sort of 11:40 Megaf Krock: the funnier thing is there is a browser extension for thunderbird 11:40 Megaf aix: up to 11.x yes 11:40 Megaf used to be my default browser from Opera 3.x to 12.x 11:40 aix does @.tld look wierd as an email? 11:40 Megaf [12:38:44] okay so i'm setting up my own email, ftp and xmpp servers 11:40 aix yeah 11:40 Megaf been there myself 11:40 aix email is done 11:41 aix pretty hard 11:41 Darkside_ haha ok i never took a closer look at it, good to know for future if i need browser ;) 11:41 aix rest is childsplay 11:41 aix Megaf: wait you've done all three? 11:41 Megaf now a days I just install potifx so my websites can send email 11:41 Megaf aix: yep, including the web mail thing, used squirrel mail 11:41 aix uhm 11:41 Megaf for ftp used proftpd 11:41 aix i used postfix+dovecot 11:41 aix and no silly php apps 11:41 aix squirrel mail is php right 11:42 Megaf for xmpp, the most fun part, the livefire or wildfire or whatever they call it today 11:42 Darkside_ i use filezilla for ftp :) 11:42 Megaf for me the best xmpp server 11:42 aix Darkside_: I use lftp :P 11:42 Megaf fantastic web panel to administer it, easy integration (automatic) with other xmpp servers 11:42 aix ew 11:42 Megaf I used to add my gtalk friends on my own xmpp server account 11:43 aix it's openfire 11:43 aix it's nice but it hogs resources like 11:43 Megaf yep 11:43 Megaf nope 11:43 Megaf it doesnt, it runs fine on little hardware 11:43 Megaf or used to 11:43 Megaf since its java, you can control the amount of memory it can take 11:44 Megaf I should add OpenFire to my CV 11:44 Megaf Or should I? 11:44 aix uhrm no 11:44 aix it's not too hard to use 11:44 aix I much prefer Prosody 11:45 Calinou console.log("Hello world!") 11:45 * Calinou adds Node.js to his resume 11:45 MattJ100 o/ 11:45 Megaf lol 11:45 Megaf 23 minutes left on 12% battery, that's bad isnt it? 11:45 Calinou acceptable, but not very high 11:46 Calinou for ftp used proftpd 11:46 Calinou apparently, proftpd is not in Arch Linux ARM 11:46 Calinou so I use vsftpd there 11:46 Megaf I begun messing with protpd back on Mandriva 2005 11:46 aix i'm a pure-ftpd guy 11:46 Calinou proftpd is what we learned at uni in 1st semester 11:46 Calinou wow, was hard, uncommenting a line in /etc/proftpd.conf 11:46 Megaf then used a bit on Debian Squeeze. now a days rsync it is 11:47 Megaf I use SSH for everything now a days, to open a remote folder on a graphical file manager, to send individual files, for VPN and tunnel things 11:47 Megaf and for remote administration 11:48 Megaf no need for SAMBA, FTP, VNC and things like that 11:48 Megaf SSH does it all 11:48 Calinou SFTP/SSHFS are great 11:48 Calinou but sshfs does not have good Windows support 11:48 Megaf no need for SAMBA, FTP, VNC, VPN and things like that 11:48 Megaf I don't use Windows .... 11:48 Calinou good for you :p 11:49 Megaf and when I'm obligated to use it, because of something, FileZilla as SSH client it is 11:49 Megaf SFTP* 11:49 aix WinSCP FTW 11:49 Megaf or that 11:49 Calinou FileZilla is nice, even though it's full of ads now :p 11:49 Calinou (its updates are "sponsored" now) 11:49 aix *gasp* 11:49 Megaf really? 11:49 Megaf Oo 11:49 Megaf Time to fork it 11:49 Megaf :P 11:49 Calinou yep 11:49 Calinou or create a new, Qt-based FTP client 11:49 Calinou my KDE would be happier with that 11:50 Megaf It would be nice if we could get the core of FileZilla and drop a Qt interface on ti 11:51 Calinou why? just use standard FTP libraries/clients 11:51 Megaf Calinou: because you want KDE thing 11:51 Megaf that's why 11:51 Megaf 20 minutes at 9%, only Qassel running and mpv playing flac 11:52 Megaf brightness almost minimal 11:52 Calinou FLAC decoding is relatively expensive 11:52 Megaf Playing: Twenty One Pilots - Blurryface (2015) [FLAC]/02 - Stressed Out.flac 11:52 Megaf :) 11:53 Calinou here, listening to "Running From Evil - Andrey Avkhimovich - Doom 2 Soundtrack Rebuild" :p 11:53 Megaf ok, put my cores in powersave and disable one core, now I have a one core CPU at 1 GHz 11:53 Calinou with Clementine 11:54 Megaf Playing: ACDC - Are You Ready-The Very Best Of (2016) 2CD MP3/CD 1/01. Thunderstruck.mp3 11:55 Megaf :D 11:55 Calinou Thunderstruck, that's a Quake 3 map 11:55 Calinou (unofficial, was ported to Quake Live too) 11:55 Calinou also in Sauerbraten as sauerstruck 11:55 Megaf 17 minutes left at 9%, powersave and singlecore didng help much 11:55 Megaf didnt* 11:57 Megaf "The battery reports a discharge rate of 7.99 W" 11:59 Megaf one thing that uses lots of battery is the wifi chip 11:59 Megaf I think the driver doesnt support powersaving 12:00 Megaf brb, changing DMs 12:02 Megaf I think quassel is not a good choice for low energy use 12:03 Calinou try irssi for that :p 12:04 Megaf lol, I closed GNOME and came to LXDE, battery use is 2% higher 12:05 Megaf I wish the Linux kernel had some of the cleverness for macOS kernel in power saving 12:06 Megaf anyway, will hibernate this thing and clean the laptop 12:06 Calinou few people use Linux on desktops currently 12:06 Calinou it is on the rise, but still under 3% 12:06 Calinou (by desktops, I also mean laptops) 12:07 Darkside_ i have linux on me laptop and works great :)) 12:07 Calinou it works like crap on all laptops I've had 12:07 Calinou suspend does not work reliably, battery life isn't as good 12:07 Calinou those are non-issues on desktop machines, so I can use Linux just fine on desktops 12:07 Calinou oh, I've had *one* laptop where suspend was reliable 12:08 Calinou but it had no dedicated graphics 12:08 Calinou it was a really tiny netbook 12:10 Fixer Calinou: filezilla has ads? I use portable one and did not see anything 12:11 Calinou Fixer: the update dialog is now sponsored 12:12 Calinou currently by Dreamhost 12:12 Fixer i somewhat dislike its interface 12:12 aix okay so i set up an ftp share 12:15 Darkside_ OS i use atm : Linux 3.18.1-pclos1 (PClinuxOS) KDE SC version 4.14.10 Processor(s) Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz OpenGL/ES version 3.0 Mesa 11.1.1 Render : Gallium 0.4 on AMD RV620 (DRM 2.40.0, LLVM 3.7.0) 12:16 Calinou that's old (both Linux and kDE) 12:16 Darkside_ kernel: unknown lol 12:16 Calinou Mesa 11, too :p 12:16 Calinou try this distro, when you got some time: http://antergos.com/ 12:20 Darkside_ wil do, theres still a computer or two that need some hardware fixes and a proper OS :) 12:30 shamoanjac does anyone know how to document Lua with Doxygen? 12:30 shamoanjac I'm not finding official docs on it 12:40 nuzzle shamoanjac: doxygen is dreadful. check out LPen or how it was named 12:40 nuzzle LDoc 12:40 nuzzle Penlight was the utility library 12:41 nuzzle http://stevedonovan.github.io/Penlight/api/index.html 12:41 nuzzle that's how it looks 12:43 shamoanjac prrpx, stfu 12:43 prr no u 12:43 shamoanjac no 12:43 shamoanjac Y 12:43 shamoanjac O 12:43 shamoanjac U 12:43 prr http://stevedonovan.github.io/Penlight/api/index.html 12:43 prr http://stevedonovan.github.io/Penlight/api/index.html 12:43 prr listen to me for once 12:43 prr o.n.c.e. 12:45 prrpx http://stevedonovan.github.io/Penlight/api/libraries/pl.strict.html# 12:45 prrpx 9>The pl.strict module enforces a simple rule: globals must be 'declared'. This means that they must be assigned before use; assigning to nil is sufficient. 12:45 shamoanjac prrpx, this is fucking 12:45 shamoanjac not what I want 12:46 prrpx no but it's what i want 12:46 prrpx i think i'm actually gone use this 12:47 prrpx each time i see even part of a doxygen page i wanna tear my eyes out 12:47 shamoanjac do it fgt 12:47 prrpx every css line, every html tag it generates 12:48 prrpx is raping my soul 12:48 Krock aagh prrpx, why this eyecancer? 12:48 prrpx it's not perfect but better than doxygen 12:48 prrpx because literally everything is better than doxygen 12:50 shamoanjac u just a hipster lol 12:52 prrpx @defgroup stfu stfu 12:54 prrpx true programmers 12:54 prrpx don't use external documentation 12:55 prrpx they read headers and only headers and when in doubt they read the sources 12:55 agrecascino shamoanjac, hey 12:59 aix my 11th xmpp account is up 12:59 aix how fun 13:00 shamoanjac hey agrecascino 13:01 agrecascino so i had to block the entirety of china yesterday 13:02 Krock it's interesting how much 17 users make. With 120 users it was always quiet and now there's almost no silence anymore 13:03 Krock *how much difference 17 13:04 Nosrick Hey ho folks. 13:05 aix hi 13:06 Darkside_ hi 13:06 Krock hey ho Nosrick 13:09 Nosrick Today, I think I'll work on my research system. 13:09 Nosrick I was thinking of making a game like Candy Crush or something as a mini-game alternative to just waiting for things to complete. 13:10 Krock oh god please no 13:11 Krock this must wait for entity nodes (moveable and attachable etc), otherwise these updates would lag incredibly 13:12 Nosrick Oh, I was going to make it a GUI game. 13:33 Megaf Why can't at least two players be on my server at the same time? 13:33 Megaf there's always one player that is playing a long for hours 13:34 Megaf s/a long/alone 13:34 Megaf !server Megaf 13:34 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 1/24, 0/1 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 8ms 13:37 Nosrick Is there any way to get a unique ID for a mob? 13:38 Krock add another param to the definition and put a random value in 13:38 Nosrick I thought that might be the case. 13:39 Nosrick Looks like I'm not going to have any dependencies for my mod, since it'll be cobbled together from my shitty take on other mods! 13:39 Nosrick I was using playereffects, but the fact is, it doesn't actually allow for non-players to have effects. 13:39 Out`Of`Control hi 13:40 Nosrick So casting your spells on non-players is a no-no with that. 13:40 Krock hi Out`Of`Control 13:40 Nosrick Hello! 13:40 Out`Of`Control anyone here use screen? 13:40 Megaf Out`Of`Control: I do 13:41 Calinou me too 13:41 Calinou 24", Full HD 13:41 Calinou :] 13:41 Out`Of`Control Megaf: do you use any script to open tabs? 13:41 Out`Of`Control Calinou: 27 inch :P 13:41 Megaf Out`Of`Control: oh, no 13:42 Krock 17" here 13:43 Nosrick Poor Little Krock 13:43 Krock it's not little at all 13:44 Nosrick I will resist a joke here. 13:44 Nosrick And just smooth over it. 13:44 Krock no, jokes are good 13:44 Krock gonna sharpen it again 13:45 Out`Of`Control my backup 19 CRT 13:45 Out`Of`Control anyone know what is CRT? 13:45 Out`Of`Control lol 13:45 Nosrick I do! 13:45 Krock yes sure 13:45 Nosrick We're not all kiddies here. 13:45 Krock I've got a ~13" one on my other table 13:45 Nosrick In fact, I'm betting most of us are pretty old compared to Minecraft's community base. 13:46 Nosrick But that's not hard. 13:46 Krock that's illusion 13:46 Krock look into the MC channels on esper net and you'll see that IRC is a good filter 13:46 Calinou Minecraft players used to not be kids 13:47 Calinou back in Alpha era 13:47 Calinou but since Beta, it's all kids :P 13:47 Calinou also, that ^ 13:50 Nosrick How would I go about getting all entities in an area? 13:50 Nosrick minetest.get_objects_inside_radius()? 13:51 Calinou yes 14:03 aix https://sr.ht/fxA9.png i think i aliased out the default stone 14:05 agrecascino http://pastebin.com/ds3FCHm9 14:05 agrecascino this is definitely the prettiest thing i've ever wrote 14:09 Krock use perl 14:19 aix ew 16:39 aix https://github.com/Zeg9/minetest-invsee any way to easily allow taking the contents of the inventory? 16:42 Krock aix, invsee only does a copy of the player's inventory 16:43 aix oh 16:43 Krock it's not a direct reference 16:50 Wuzzy ok, who of you has admin access to dev.minetest.net? 16:51 shangul hi 16:51 Krock Wuzzy, you can request an acocunt on the forums or PM Calinou 16:51 Krock *account 16:52 Wuzzy answer the question please 16:52 Krock I do 16:52 Krock err 16:52 Krock not admin access 16:52 Krock sorry but you can still ask Calinou ;) 16:52 Wuzzy does Calinou have admin access? 16:53 Krock he can create account so he must, yes. 16:53 Wuzzy ok 16:53 Krock Oh great. Can't read and can't write properly today 16:53 Wuzzy I already have an account. 16:53 Wuzzy I ask for a different reason. 16:53 Wuzzy I want some pages to pop up on main page 16:54 Wuzzy hey, Calinou, you there? 16:54 Wuzzy argh, crap 16:54 Wuzzy dev wiki is broken at the moment 16:54 Wuzzy i cant even edit pages 16:55 Wuzzy error 500 >_> 16:55 Krock works fine here 16:55 Wuzzy which means its not my fault :) 16:56 Wuzzy maybe MediaWiki needs updating 16:58 Wuzzy Is Calinou the only admin of dev.minetest.net? 17:06 Krock I have no idea 17:10 Calinou hi 17:10 Calinou Wuzzy: I'm admin on both yes 17:10 Wuzzy ok whats that about with error 500 when I try to edit Mod interoperability? >_> 17:10 shangul hi colang 17:11 Wuzzy do you have it in logs or somewhere? 17:11 Calinou Wuzzy: does the error 500 happen when submitting the edit? 17:11 Calinou I don't have access to server log 17:11 Wuzzy yes 17:11 Wuzzy oh crap 17:11 Calinou ok, I can open the edit page 17:11 Wuzzy I just tried to add 1 line 17:11 Wuzzy namely, “[[Category:Misc]]” at the end 17:12 Wuzzy now you can try to reproduce it 17:12 Wuzzy btw: no access to the freaking logs? what sick world do we live in?? 17:13 Calinou "500 Internal Server Error" indeed, I can reproduce it :( 17:13 Calinou well technically I'm moderator, not administrator :p 17:13 Wuzzy ohhhhhhhhhhhhhh 17:13 Wuzzy ok can you edit the main page at least? 17:13 Wuzzy I would like to have that page I mentioned placed more prominently 17:14 Calinou ok 17:14 Wuzzy currently it is very invisible, not linked anywhere in wiki (or almost not, idk) 17:14 Wuzzy and i dont know where else to put links 17:14 Calinou http://dev.minetest.net/Template:Main_Content_Links 17:14 Calinou done 17:14 Calinou just above "Modding FAQ" 17:14 Wuzzy thx 17:15 Calinou I'll move Misc articles down too 17:17 Wuzzy interoperability is very important to me, especially the modding community should at least *try* to combat duplicate/redundant APIs and the like ;-) 17:23 MinetestBot 02[git] 04Rogier-5 -> 03minetest/minetest: Use the standard to_string() functions for C++11 (#4279) 13b11720a https://git.io/v6B6W (152016-08-11T19:22:40+02:00) 17:35 agrecascino anyone want to help me write a client for an an IRC like protocol 17:36 KaadmY agrecascino: nope, busy enough with my own atm 17:43 Krock KaadmY, you're writing an IRC-like protocol aswell? 17:44 KaadmY Krock: for a game :P 17:45 KaadmY networking mainly 17:45 KaadmY not really a specific protocol 17:45 APNG why not just use CTCP >.> 17:45 APNG (or IRCv3 if you're stupid) 17:47 agrecascino APNG, can you help me write my client? 17:47 agrecascino i'm too lazy to 17:47 APNG no 17:47 APNG just use IRC 17:47 agrecascino can't 17:47 APNG and add CTCP/IRCv3 on top 17:47 Krock this reminds me of my script language I wanted to write.. eww, I feel this will never get done 17:48 APNG agrecascino, https://github.com/SoniEx2/CTCP-S 17:48 agrecascino APNG, i can't 17:48 APNG agrecascino, why not? 17:48 agrecascino it needs to run over wanp 17:48 agrecascino wamp* 17:48 Krock agrecascino, get a coffee and nice background music and let the motivation in 17:48 APNG what's wamp? 17:48 agrecascino Web Application Messaging Protocol 17:48 APNG websockets? 17:49 agrecascino it runs over websocket 17:49 APNG meh 17:49 APNG just use raw websockets 17:49 agrecascino i'm doing it for an internship :\ 17:50 APNG oh 17:50 APNG meh 17:50 agrecascino i'm writing a client in javascript 17:51 * agrecascino continues to bolt features onto the server to waste time 17:52 Krock usain bolt? 17:52 agrecascino Krock, a metal pin or bar, in particular. 17:54 Krock collectgarbage("collect") 17:54 Krock (before this drives off-way) 17:58 Krock KaadmY, pay attention to https://xkcd.com/1354/ 17:59 KaadmY Krock: true 18:00 Hijiri Nosrick: you could write an entity effects system :P 18:00 Hijiri it would require definition support though 18:02 Nosrick Yeah, I think I will. 18:04 Hijiri you could use it alongside playereffects 18:04 Hijiri unless you want to write a player effects system too 18:04 Hijiri a similar API for entities would be possible since effect definitions are static 18:40 APNG what should I name my esolang? 19:04 Calinou call it APNG 19:06 Krock APNG() -- call APNG 19:15 agrecascino i feel at peace with python 19:15 agrecascino i understand why people don't hate this lanuage 19:15 agrecascino language* 19:15 Krock I don't like python 19:16 Krock either you do it for 2.x or 3.x and when you've done your script someone requests it for the other version 19:23 aix i do it for 2. 19:23 aix 3. sucks 19:23 aix i like print 19:23 aix print() is wierd 19:23 aix also if 19:24 Calinou agrecascino: it's not renowned for its speed 19:28 agrecascino prrpx, i also finally understand rust 19:28 agrecascino you abuse the fuck out of singletons and pass-by-reference 19:28 prrpx ahahahahaha 19:28 prrpx no, no singletons 19:28 prrpx you don't do singletons 19:28 prrpx singletons are cancer 19:28 prrpx except in rare cases 19:29 prrpx rare cases like 19:30 prrpx stdout and stderr 19:30 Calinou singletons are love, singletons are life 19:30 Calinou (in game development that is) 19:30 APNG meh 19:30 agrecascino prrpx, is the other half right? 19:31 prrpx yes. ofc 19:31 agrecascino knew it! 19:32 prrpx is that bad? 19:32 aix https://sr.ht/0u3r.txt 19:32 aix only around 80KB of C to do that trick 19:36 agrecascino prrpx, not especially 19:42 Fixer amazingly 19:43 Fixer pos Skype is much tougher on disk i/o than QuiteRSS which loads 300mb database 19:44 Markow my backyard 19:44 Markow https://twitter.com/ejmarkow/status/759765009891229696 19:44 Markow ;) 19:45 Markow Sort of like Minetest ;) 19:46 Fixer minetest has deers? 19:46 Markow Hint hint! 19:47 Markow Minetest has tons of forest and meadows ;) 19:47 Krock but no deers 19:48 Krock I like that guy already now. Using OpenSource C++03 code as background :3 19:49 Markow ;) 19:50 Markow I also enjoy Java (ducking and hiding) 19:53 Krock Do you wear glasses? 19:53 Krock If not, then get some because you can't C#. 19:56 * Krock tries to scribble trough the two messages above with a black pen 19:57 Calinou I can C#! 19:57 Calinou without glasses 19:57 Krock me too :D 19:57 * Krock high fives Calinou 19:58 Krock but with distances > 10m it gets a bit blurred 19:59 Krock Markow, I was like "Oh shit." when I noticed you are the user on twitter. Honestly didn't expect that even you wrote it above (haven't seen it) 19:59 Markow ;) 20:00 Markow Yours truly in the flesh, and digitally here ;) 20:00 Markow lol 20:01 Fixer I can nothing, with or without glasses 20:01 Krock that isn't much at all, Fixer 20:01 Markow Seriously, feels like a Minetest world here (minus deer ... doh!) 20:02 Markow I do own a large pickaxe 20:02 Krock yes, with plantlife, moretrees, some bushes and decorations you get a special and nature-like-looking terrain 20:02 Krock low-end graphics cards will love it *cough* 20:03 Markow I've got an Nvidia GF 210, nothing special, but much better than Intel Integrated graphics 20:04 Krock Hopefully not on Linux. I think you're aware of the sentence "Nvidia, fuck you!" by Linus :P 20:04 Calinou the NVIDIA blob doesn't support pre-Fermi cards anymore 20:04 Calinou (since at least 2 years ago) 20:04 Markow Actually, the proprietary driver from Nvidia, and graphics card, work awesome on Linux 20:04 Markow At least on my machine 20:04 Krock oh, nice to hear 20:05 Markow But that Linus line was indeed a classic one! 20:06 Markow Nvidia graphics support on Linux is much better than Radeon it (proprietary) 20:06 Markow *is 20:06 Calinou the AMD open source driver is good enough now 20:06 Calinou if you aren't after 100% performance 20:06 Calinou it should be stable, and provide decent OpenGL support 20:06 Calinou there's also accelerated video decode 20:06 Calinou and power management 20:07 Markow It really has improved 20:08 Markow The Nouveau driver is horrible 20:08 Calinou even Nouveau is beginning to become usable, it's getting reclocking on Kepler/Maxwell 20:08 Calinou Markow: join #nouveau and see :P 20:08 Markow hehe 20:08 Calinou some users have perfectly working reclocking on their 780 Ti 20:08 Calinou which is still a relatively fast card today 20:09 Markow Nvidia should simply open source their damn code for once! 20:09 Out`Of`Control what about GT710? 20:09 Calinou not gonna happen 20:09 Calinou Out`Of`Control: that's a Maxwell card IIRC, not sure 20:09 Calinou it's still WIP for Maxwell, but getting there 20:09 Calinou (kernel 4.7 just landed in Arch Linux btw) 20:09 Out`Of`Control i am on 4.6 20:10 Markow Calinou: uname -a: Linux galicia 4.7.0-FINAL-git-523d939-Pogorze-Karpackie-CUSTOM-KERNEL #1 SMP Mon Jul 25 14:28:22 CEST 2016 x86_64 x86_64 x86_64 GNU/Linux 20:10 Markow ;) 20:10 Markow I compile my own kernel, always 20:10 Out`Of`Control neat 20:11 Krock I have kernel 5.1 .. but not a linux one 20:11 Markow I'll soon be testing out 4.8 when rc2 hits 20:11 Markow This Sunday 4.8-rc2 gets released 20:12 Markow Krock: What kernel is that 5.1 for? 20:12 Krock Markow, windows. 20:12 * Markow makes an ugly face ;) 20:12 Krock eww no. 20:13 Markow Windows actually has a version # for their kernel? 20:13 Markow amazing 20:13 Krock It's the same as the internal version 20:13 Krock actually almost all files in system32 have the same version 20:14 Markow What's the update frequency for the MS Windows Kernel, 2x per year, less or more? 20:15 Out`Of`Control Markow: i think no more after windows 10 20:15 Markow lol, seriously? 20:17 Krock It's funny that I never thought about the reason why they haven't called Windows 10, 9 instead. They skipped it because programs checked for "^Windows 9" to detect if they're on 95 or 98 20:19 Calinou Windows 10 is 10.0. IIRC 20:20 Krock yes 20:20 Nosrick_ Anyone know why doing this: target:set_hp(target:get_hp - 0) does a full heart of damage? 20:20 Krock * target:get_hp() 20:21 Nosrick_ Ah, woops. 20:21 Nosrick_ Sorry, I'm on nightshift, it messes with me big time. 20:21 Hijiri Nosrick_: and it doesn't without the - 0? 20:21 Krock it doesn't because the one heart damage is done somewhere else in your code 20:22 Nosrick_ And I think I just realised what it is. 20:23 Nosrick_ Is there any way to override the default player on_punch, rather than just add a callback? 20:24 Krock there's a mod (shooter I believe) that adds blood particles when the player was hurt. Check that code, how it's done there 20:25 Hijiri Nosrick_: retrun true from your register_on_punchplayer calllback 20:25 Nosrick_ Hijiri: I'll give that a shot. 20:26 Hijiri it says this in the lua api docs 20:26 Hijiri I thought you would have read it when you decided to use register_on_punchplayer 20:27 Nosrick_ That didn't work. 20:27 Nosrick_ It's been a few days since I last read the API docs, and my memory is complete crap. 20:28 Hijiri maybe the docs are wrong? 20:28 Hijiri or the implementation is broken 20:28 Hijiri or you did something else wrong 20:29 Krock it's always Minetest's fault. Gawd guys, this is like when Minetest crashes and you blame the OS for that 20:30 Hijiri Nosrick_: tested just now, overriding punch damage works for me 20:30 Nosrick_ Damn it. 20:30 Nosrick_ I return true at the end of my function, is that what I'm supposed to do? 20:30 Hijiri did you return true everywhere your function returns? 20:31 Hijiri post your code 20:31 Nosrick_ It only returns in one place; at the end. 20:31 Hijiri it sounds like it should work, so post your code 20:32 Nosrick_ https://gist.github.com/Nosrick/495f685b8c07259da3b7546613817b2a 20:32 Hijiri I don't see any register_on_punchplayer 20:32 Hijiri do you just do register_on_punchplayer(momtest.onPunchPlayer)? 20:33 Nosrick_ Yeah. 20:33 Nosrick_ Sorry, should have included that. 20:34 Hijiri what is oldPunch 20:34 Hijiri Nosrick_: here's your problem 20:34 Hijiri your parameter oldPunch is where damage gets passed in 20:35 Hijiri so "not oldPunch" evaluates to false and it goes to the else branch 20:35 Hijiri wait, that would error 20:35 Hijiri Nosrick_: can you post your call to register_on_punchplayer 20:35 Nosrick_ minetest.register_on_punchplayer(function(player, puncher, time_from_last_punch, tool_capabilities, dir) 20:35 Nosrick_ momtest.onPunchPlayer(player, puncher, time_from_last_punch, tool_capabilities, dir, nil) 20:35 Nosrick_ end) 20:36 Hijiri yes, you lied about what you did 20:36 Nosrick_ It might be wrong. 20:36 Nosrick_ Yeah sorry, I hadn't looked at that bit in a while. 20:36 Hijiri well, look at that callback 20:36 Hijiri does it look like it's returning true anywhere? 20:36 Nosrick_ HAH 20:36 Nosrick_ I'm dumb. 20:37 Nosrick_ I need to add a return onto the start of the onPunchPlayer, don't I? 20:37 Darkside_ nah learning not dumb ;) 20:37 Hijiri Nosrick_: no 20:37 Hijiri you need to return true in the callback you give to register_on_punchplayer 20:37 Hijiri here your callback is function(...) momtest.onPunchPlayer(blah) end 20:37 Hijiri Lua's returns are always explicit 20:37 Hijiri this callback has no return keyword in it, so will return nil 20:38 Hijiri s/always explicit/always explicit except for nil/ 20:38 Hijiri Nosrick_: also when will oldPunch ever not be nil? 20:39 Nosrick_ When, for example, shooting overrides it. 20:39 Hijiri overrides what 20:39 Nosrick_ A player's on_punch. 20:39 Nosrick_ Isn't that what it does? 20:39 Hijiri where do you find a player's on_punch? 20:39 Hijiri there is none, the place for custom punch handling is register_on_punchplayer 20:39 Nosrick_ I have no idea. I asked earlier, and someone said to check out the shooting mod. 20:39 Nosrick_ Ah, I see. 20:40 Krock "someone" 20:40 Nosrick_ I couldn't remember who, sorry. :) 20:41 Nosrick_ Aaaand it now works. Thank you! 20:41 Krock horray! 20:41 Nosrick_ No puny zombie can harm my Blessed self! 20:41 Krock !next 20:41 MinetestBot Another satisfied customer. Next! 20:43 Nosrick_ Now, should I write a detailed stat system for my mobs and players, or just simplify the damage rolls to their averages? 20:43 Krock KISS principe 20:43 Fixer !back 20:44 Hijiri Nosrick_: depends on what you want in your damage system 20:44 Hijiri I guess what you want should also depend on what is good gameplay 20:44 Nosrick_ Well, a stat system would result in less reliable damage. 20:44 Nosrick_ Which I don't really like. 20:45 Hijiri I don't think you need random damages in minetest punching because you already have other factors like aiming 20:45 Nosrick_ And kind of goes against Minetest's current damage system. 20:45 Nosrick_ It wouldn't just be punching, it'd be things like fireballs, holy smite, etc. 20:45 Hijiri maybe if you have a fractional damage you can simulate that with a random point of extra damage weighted bsed on the fraction 20:46 Hijiri I don't think you should add randomness unless you think there is a good reason 20:52 Nosrick_ And I don't think there is a good reason. 20:52 Hijiri I found a stack exchange question on the subject: https://gamedev.stackexchange.com/questions/21331/why-use-random-numbers-when-it-comes-to-rewards-and-stats 20:52 aix https://sr.ht/yT23.png https://sr.ht/o3H1.png 20:53 Hijiri It says randomness is only meaningful for infrequent events with large ranges 20:53 Hijiri in that case you probably don't need to build randomness into your system, because fixed damage from swords etc. will be frequent 20:53 Hijiri you can just do custom random damage in spells, for example 20:54 Hijiri one reason the answer implies is that risky playing can be thrilling for players 20:56 Hijiri you know what would be really painful to implement 20:56 Hijiri mahjong table minetest mod 20:57 Hijiri but tenhou did it in actionscript so it must be achievable 21:01 Fixer Calinou: surprisingly Quassel is pretty Disk IO intensive at boot 21:15 Nosrick_ Hijiri: You know what's going to be painful to implement? Master of Magic-style cities. 21:16 Elysian Hi 21:16 Megaf !server Megaf 21:16 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/2 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 17ms 21:17 Megaf oowhatt!? 21:17 Megaf 17ms!? 21:17 Megaf !server Megaf 21:17 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/2 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 8ms 21:17 Megaf that's better, more like it 21:17 Elysian Ummm 21:17 Elysian Uhhh 21:17 Nosrick_ Oh no, double digit ping! ;) 21:17 Elysian Is my chat visible? 21:17 Megaf meh, Megaf Server ping used to be around 2ms 21:18 Megaf I actually think 8ms pretty huge 21:18 Nosrick_ Yeah, we can see you, Elysian 21:18 Megaf And I never managed to track down what caused this huge increase 21:18 Elysian YES! 21:18 Megaf Elysian: I can read you too 21:18 Elysian ^_^ 21:18 Elysian Hooray. 21:18 Elysian I though I was majorly laggin 21:18 Elysian But I saw chat and I was like.... 21:18 Elysian O_o 21:19 Elysian R u guys on minetest? 21:19 Megaf Nosrick_: so yeah, "Oh No! Double digit ping!" :D 21:19 Megaf Elysian: Not right now 21:20 Megaf gonna call my mom now 21:20 Megaf :) 21:20 Megaf gotta find my headphones 21:20 Elysian Oh 21:20 Calinou !server Calinou 21:20 MinetestBot Calinou: Calinou [Europe/Paris] (survival - minimal mods) | hugo.pro:30002 | Clients: 0/32, 0/3 | Version: 0.4.14-dev / minetest | Ping: 10ms 21:20 Elysian Nice to know xD 21:20 Megaf Calinou: ha! double digit ping! 21:20 Megaf xP 21:21 Elysian !sever Elysian 21:21 Hijiri Nosrick_: what are MoM cities like? 21:21 Elysian Meh didn't work xD 21:21 Megaf lol 21:21 Megaf !server Megaf 21:21 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/24, 0/2 | Version: 0.4.14-Megaf / MegafXploreNext | Ping: 8ms 21:21 Nosrick_ They have population, buildings, and can produce units. 21:21 Megaf Calinou: and my ration players online/max users is better 21:21 Megaf ratio* 21:22 Elysian !server Elysian 21:22 MinetestBot Elysian: No results 21:22 Elysian Brush 21:22 Elysian Bruh 21:22 Megaf Elysian: it will only work if you have a server named Elysian... 21:22 Elysian Ooohhh 21:22 Elysian *~* 21:22 Elysian !server Cashes World 21:22 MinetestBot Elysian: No results 21:23 Hijiri seems less painful than mahjong though 21:23 Megaf Elysian: Calinou has its own server, and its named Calinou, I have my own server and its named Megaf Server 21:23 Elysian !sever Cash's World 21:23 Megaf !server Cash 21:23 MinetestBot Megaf: Cash's World | 67.212.45.191 | Clients: 25/30, 22/28 | Version: 0.4.14-dev / minetest | Ping: 204ms 21:23 Elysian Ok I get it I'll brb in a while 21:23 Megaf there you go 21:23 Hijiri mahjong as originally a board game has more complicated rules and edge cases 21:23 Elysian Uh stupid bot 21:24 Elysian !server Extreme 21:24 MinetestBot Elysian: Extreme Survival Minetest City | 23.28.87.79 | Clients: 15/33, 16/25 | Version: 0.4.14 / extreme_survival | Ping: 126ms 21:24 Elysian Yyyyeeeeaaaaaaa 21:24 Elysian !server Capture 21:24 MinetestBot Elysian: Capture the Flag (Guns!) | minetest.rubenwardy.com | Clients: 18/20, 18/19 | Version: 0.4.13-dev / capturetheflag | Ping: 10ms 21:24 Nosrick_ True. 21:25 Nosrick_ I could never get the hang of mahjong. 21:25 Hijiri I never really have, but I tried to make a mahjong haskell library once 21:26 Hijiri the issue with table games is that often they are full of rules that are designed to apply all over the place 21:26 Calinou Elysian: fun fact: Capture the Flag (Guns!) runs on the same machine as Calinou [Europe/Paris] :) 21:27 Hijiri so now your computer version needs to manage giving access to everything to rules code 21:28 Hijiri ironically that kind of problem might be more practical than integrating RTS elements into Minetest though, depending on the level of detail you want 21:31 Nosrick_ I'm actually going to have players lead their own armies. 21:31 Nosrick_ So no real RTS elements. 21:55 Darkside_ !server The Darkside 21:55 MinetestBot Darkside_: The Darkside | darkside.zapto.org:30003 | Clients: 3/13, 2/3 | Version: 0.4.13-dev / minetest | Ping: 208ms 21:55 Darkside_ ah nice so i don't have to start MT to see ;) 22:11 Nosrick_ Quick question: how do I assign new fields to an entity during registration? Every method I've tried has it coming back with nil. 22:54 Hijiri Nosrick_: put it in the entity definition 22:54 Nosrick_ I thought so. 22:54 Nosrick_ But I might be doing it wrong. 22:55 Hijiri minetest.register_entity("blah", { ..., your_custom_field = blah }) 22:55 Nosrick_ Yup, that's exactly what I'm doing, and it's nil. 22:55 Hijiri post your code 22:55 Hijiri both where you set the field and where you check for it 22:56 Nosrick_ https://gist.github.com/Nosrick/bec477e314dbd13289b250a5aaf8160c 22:56 APNG can I encrypt node metadata? 22:57 Hijiri node metadata fields are strings, so yes 22:57 Nosrick_ There, updated. 22:57 Hijiri if you mean have a node whose metadata is encrypted 22:57 APNG yeah like hide it from the client 22:57 Hijiri Nosrick_: in punch callbacks the hitter and target are ObjectRef 22:58 Hijiri ObjectRef can either be a player or an entity 22:58 Hijiri to get a luaentity you need to do objectref:get_luaentity() 22:58 Hijiri which will be nil if it's a player, otherwise it will be the luaentity 22:58 Hijiri that is where all the extra fields go 22:58 Hijiri not the ObjectRef 22:58 Nosrick_ Ah, okay! 22:59 Hijiri APNG: yeah, but you will have to encrypt it when you call set_whatever 22:59 Hijiri and decrypt it after calling get_whatever 22:59 Hijiri actually set_string and get_string, because you will probably be encrypting to a string 22:59 Hijiri if it's a number you could encrypt the number by applying some function I guess 23:02 Hijiri APNG: make sure each world uses a different crypto key 23:02 APNG Hijiri, yes 23:15 Nosrick_ Hijiri: it's still coming up as nil. 23:16 Hijiri Nosrick_: post new code? 23:17 Nosrick_ https://gist.github.com/Nosrick/bec477e314dbd13289b250a5aaf8160c 23:22 Hijiri it says creatureType is nil? 23:22 Nosrick_ Yup. 23:23 Hijiri you tried printing the value of creatureType? 23:23 Nosrick_ nil every time 23:23 Nosrick_ Only way I can get it to not be nil is to modify the minetest.registered_entities. 23:23 Hijiri that's strange, it should already be in the definition 23:24 Nosrick_ Yeah, it should. 23:25 Hijiri is your entire mod anywhere so someone can test it? 23:28 Nosrick_ Yeah, I'll get the github for you. 23:29 Nosrick_ https://github.com/Nosrick/MoMTest 23:29 Hijiri thanks 23:29 Nosrick_ It's creative-only at the moment, though. 23:29 Hijiri eclipse? 23:29 Nosrick_ You'll want to put down nodes of magic and right-click them with the wooden wand to set them to be owned by you. 23:29 Nosrick_ Yeah. 23:30 Hijiri just a note, it's convention for all the mod stuff to be in the top level folder so it's easier to unpack 23:30 Hijiri if you did that everything in your src folder would be at the top level 23:31 Hijiri don't change it right now though 23:32 Hijiri what is your mod name? 23:32 Hijiri your mod folder needs to either be the mod name, or you need a mod.conf specifying the mod name 23:34 Hijiri I renamed it momtest for now 23:34 Hijiri it looks like your stuff has craft recipes 23:34 Hijiri are fonts of magic nodes of magic? 23:34 Hijiri should I see anything happen when I right click them with the wand? 23:35 Hijiri also what do I do to trigger your bug 23:37 Hijiri Nosrick_: how is your zombie supposed to attack anyone when it doesn't have any code to attack? 23:37 Hijiri (looking at the gist, haven't looked at mod code yet) 23:37 Nosrick_ Ah, it does. It has an on_punch assignment that I excluded because I felt it wasn't relevant. 23:37 Nosrick_ I could stick it in, if you like. 23:38 Nosrick_ Sorry for the slow reply, was getting a burg out of the oven. 23:38 Hijiri Nosrick_: so is it punching the mob that triggers the bug? 23:38 Hijiri or is it getting punched by the mob 23:38 Nosrick_ So, nodes of magic just look like stone blocks. It's easier to search "magic" than it is to find them. 23:39 Nosrick_ It's getting punched, while having Bless on you. 23:39 Nosrick_ Getting punched by a zombie, specifically. 23:39 Hijiri Nosrick_: I'm looking at your code, there is no on_punch for the zombie 23:39 Hijiri is it assigned somewhere other than zombieEntity.lua? 23:40 Nosrick_ No, it's in there, right at the bottom (or should be) 23:40 Hijiri after line 35 onPunch will be nil 23:40 Nosrick_ Damn, okay. 23:40 Nosrick_ Although it works, for some reason. 23:40 Hijiri because minetest.registered_entities["momtest:zombie"].on_punch is not set 23:40 Nosrick_ It actually is, by the mobs mod. 23:41 Hijiri I don't see anywhere you use the mobs mod with momtest:zombie 23:42 Hijiri that's weird, it does attack me 23:42 Hijiri I'll have to look through again 23:43 Hijiri can mobs operate on entities not created with mobs.register_mob? 23:43 Nosrick_ I actually do register it using mobs.register_mob 23:43 Hijiri oh 23:43 Nosrick_ My momtest.register_entity is just a wrapper. 23:43 Hijiri I see, it's momtest:register_entity 23:43 Hijiri not minetest 23:43 Hijiri that was my mistake 23:43 Nosrick_ (Which previously held some functionality to set the creatureType) 23:47 Hijiri Nosrick_: I need the bless book? 23:47 Hijiri (which you didn't mention) 23:47 Hijiri oh 23:47 Hijiri sorry 23:47 Hijiri you did 23:47 Hijiri I should just stop 23:48 Hijiri (not stop helping) 23:48 Hijiri well you didn't mention the book, but you mentioned bless, which I missed 23:48 Nosrick_ Ah, sorry. 23:50 Hijiri are you sure you printed out the value of creatureType? 23:50 Hijiri because I don't think it reaches that code at all 23:51 Hijiri if so then I spent 27 minutes on the assumption that it was confirmed nil 23:51 Hijiri it's printing nothing for me 23:52 Hijiri oh, it is printing 23:52 Hijiri but it's not nil 23:52 Hijiri it's death 23:53 Hijiri it looks like that piece of code iss working 23:54 Hijiri I think I'm out of mana now 23:54 Nosrick_ Huh, weird. 23:55 Hijiri I am taking one heart with bless on 23:55 Hijiri and two hearts without it 23:55 Hijiri is that the expected behavior? 23:56 Nosrick_ No, that's an old version. Let me update, hang on. 23:56 Nosrick_ Sorry, I'm really disorganised these days. 23:57 Nosrick_ I just realised you're running the code that works; it takes the creatureType from the registry, not the passed in instance. 23:57 Hijiri ok, I'll switch it to do that instead 23:58 Nosrick_ I just updated the mod, so you can pull it if you like. 23:58 Nosrick_ And it's got the .git in the right place now :) 23:58 Hijiri .git? 23:59 Nosrick_ The git information folder. 23:59 Hijiri oh, you mean in src 23:59 Nosrick_ Yeah.