Time Nick Message 08:32 twoelk \o 08:32 twoelk o/ 08:33 MTDiscord o/ 08:45 shivajiva \o 08:56 twoelk \o/ 08:56 Krock | 08:56 Krock / \ 08:56 shivajiva ur a letter short of alignment Krock 08:57 Krock no I'm not 08:57 shivajiva clearly you are =) 08:58 Krock https://i.postimg.cc/sXgvC9P2/grafik.png gonna blame Freenode for this one 08:58 Krock the logs don't contain the space either 09:00 shivajiva Konversation doesn't left align the nicks so you never line up with twoelk over here 09:01 Krock too bad 09:01 shivajiva but yea formatted like that everything aligns 09:01 twoelk we can't stand in in line on freenode? 09:01 Krock you can - with hexchat 09:01 twoelk no inline online 09:03 twoelk notinline while beeing online with KVIrc 09:04 shivajiva I don't mind the alignment I have, makes the messages easier to read, not as bland as left aligned coloured nicks 09:05 shivajiva *right 09:39 shivajiva Okay potentially fixed sban failing to kick on ban occasionally, please update if you use it and report any issues 13:08 shivajiva rubenwardy: I'd appreciate you testing the latest sban, see if it removes the problem 13:09 rubenwardy I've updated, will see if it's reported again 13:09 shivajiva everything points to it sorting it out, ah thanks 13:10 shivajiva it's logged so it would be interesting to know how much the log entry appears 13:11 shivajiva wait, you don't log at that level so you won't be able to say 13:12 shivajiva I'm sure something will filter back from other users 13:13 rubenwardy the log appears in stdout / journalctl 13:13 rubenwardy but it won't be logged to disk 13:13 rubenwardy so I'd have to check close to when it's logged 13:13 rubenwardy like, within 6 hours 13:13 rubenwardy it should be a warning, those are logged to disk 13:14 shivajiva so there is potential then, what token string is that? 13:14 rubenwardy token string? 13:14 shivajiva like 'action' or 'info' 13:15 rubenwardy my debug_log_level = warning 13:15 rubenwardy that .log should probably be a warning though 13:15 rubenwardy if it shouldn't happen - ie time out 13:16 shivajiva it's currently using 'action' for minetest.log event 13:17 shivajiva what's weird if you look at the query function I use is that's it should pick up a timeout and log it anyway 13:17 shivajiva clearly it doesn't though 13:26 shivajiva hmm actually no, that doesn't pipe through any trap when I back trace unless dev = true 13:53 MTDiscord Can you use string.find() to check whether one or both words are found? 13:54 rubenwardy what do you mean by one or both? 13:55 Krock match 13:55 MTDiscord Let's say, have this also work if the weapon wielded is called 'axe' if string.find(player:get_wielded_item():get_name(), "sword") then 13:55 MTDiscord Or more accurately, contains either "axe" or "sword" 13:56 rubenwardy Patterns don't support alternatives 13:56 MTDiscord just do 2 string.find calls... 13:56 Krock don't match like that 13:56 rubenwardy patterns are much lighter weight than regex 13:56 rubenwardy you should also probably use groups, if available 13:56 Krock if you look for "axe" you'll also find an axe in "climaaxextreme" 13:57 rubenwardy also, why do you care about whether it's a sword or axe? If it's about damage, then use damage groups 13:57 MTDiscord It's just about adding sounds. The code in that line isn't mine. 13:57 MTDiscord I will sometimes use heuristic matches, but I wouldn't do it based on the technical name. 13:57 rubenwardy choppy for axe, fleshy for swords, cracky for pick axes, ... 13:57 MTDiscord I was trying to start from 100% scratch for a while, but I don't know enough about programming. 13:57 MTDiscord damage groups or toolcaps sound good 13:57 Krock you can also copy&paste bad code and it'll work too in most cases 13:58 MTDiscord This was the only base I found that would not interfere with the damage calculations or other weapon on_use. 13:58 MTDiscord what I usually do for this kind of thing is (1) check group registrations for specific overrides, and then (2) fall back on a heuristic. 13:58 Krock try this: dump(player:get_wielded_item():get_tool_capabilities()) 13:58 Krock and check what you can use there 13:59 MTDiscord I have to admit I'm struggling to adapt the code because of how many nested if statements it contains. 13:59 MTDiscord I've only done a tiny bit of progamming in python and it looks pretty different. 13:59 Krock looks different but isn't that different 14:00 shivajiva Warr1024: nothing stopping you asking for voice in -hub ya know 14:01 MTDiscord Oh shoot, didn't realise I was posting in the irc. 14:01 MTDiscord Apologies. 14:01 Krock your message is forwarded/bridged to IRC 14:01 Krock doesn't really matter 14:02 shivajiva ^ 14:03 MTDiscord I just meant it's probably more appropriate for the discord modding channel. 14:04 shivajiva guess that depends who's around, there's a lot of knowledge in here 14:04 Krock or #minetest on IRC 14:36 shivajiva okey that should satisfy https://github.com/shivajiva101/sban/blob/master/init.lua#L860 14:36 Warr1024 shivajiva: I think I already have voice in hub...? But I don't see much difference between posting in discord vs IRC when I'm on both the same people will see it either way, so mostly I just answer in whatever I have open. 14:38 shivajiva Oh okay, noticed you without voice at the bottom 14:54 Jordach Krock, niiiiiiice 15:48 Jordach i did say that the fix for first person entities was alarmingly simple 17:48 Krock can ContentDB be grep-ed? https://github.com/minetest-mods/mesecons/pull/533#issuecomment-691523465 17:49 Krock the archives would need to be unzipped, though. 20:14 rubenwardy Krock: just found zipgrep 20:16 rubenwardy heh, it just unzips 20:21 * rubenwardy wonders how big he made /tmp 20:24 rubenwardy ok, this is taking a whil 20:25 rubenwardy I also have only 3GB remaining 20:33 rubenwardy argh, I used the wrong search string