Time Nick Message 05:38 MTDiscord why exactly 5.2? 05:38 MTDiscord the latest version is 5.4 why dont you use it 05:38 MTDiscord or are you reffering to something else 06:47 BuckarooBanzai cheapie: fyi: your tls certs on "cheapiesystems.com" are expired :P 09:50 MiniontobyPI so 09:50 MiniontobyPI calcul0n_: 09:51 MiniontobyPI minetest.override_item("default:stone", drop = {max_items = 1, items = {{items = {"default:iron_ore"}, rarity = 1}}}) 09:51 MiniontobyPI this is correct then? 10:05 calcul0n_ MiniontobyPI, i think the def needs to be in braces 10:06 calcul0n_ minetest.override_item("default:stone", {drop = {max_items = 1, items = {{items = {"default:iron_ore"}, rarity = 1}}}}) 10:06 MiniontobyPI ok 10:07 MiniontobyPI letme check 10:09 MiniontobyPI 2021-04-15 05:08:55: ACTION[Main]: Server: Shutting down 10:09 MiniontobyPI 2021-04-15 05:08:56: ERROR[Main]: ModError: Failed to load and run script from /home/Miniontoby/minetest/mods/testmod/init.lua: 10:09 MiniontobyPI 2021-04-15 05:08:56: ERROR[Main]: /home/Miniontoby/minetest/mods/testmod/init.lua:11: Attempt to override non-existent item default:stone 10:09 MiniontobyPI 2021-04-15 05:08:56: ERROR[Main]: stack traceback: 10:09 MiniontobyPI 2021-04-15 05:08:56: ERROR[Main]: [C]: in function 'error' 10:09 MiniontobyPI 2021-04-15 05:08:56: ERROR[Main]: /home/Miniontoby/minetest/builtin/game/register.lua:398: in function 'override_item' 10:09 MiniontobyPI 2021-04-15 05:08:56: ERROR[Main]: /home/Miniontoby/minetest/mods/testmod/init.lua:11: in main chunk 10:10 MiniontobyPI calcul0n_: 10:10 MiniontobyPI should i let it wait untill the game is loaded? 10:13 MiniontobyPI made it an command now 10:15 calcul0n_ no, it should be used at init time, but your mod should depend on the one which defines default:stone 10:15 calcul0n_ ie default i guess 10:16 MiniontobyPI oh 10:16 MiniontobyPI depend = default 10:16 MiniontobyPI right 10:16 MiniontobyPI its depends 10:18 calcul0n_ yep 10:19 MiniontobyPI it gives an unknow item 10:20 MiniontobyPI stupid im too much mc 10:20 MiniontobyPI its stone_with_iron 10:21 calcul0n_ ha, yes 10:21 MiniontobyPI lets try 10:21 MiniontobyPI for key, value in pairs(minetest.registered_nodes) do 10:21 MiniontobyPI if ((string.find(key,"lava") == nil) and (string.find(key,"fire")) == nil and (string.find(key,"water") == nil) and (string.find(key,"air") == nil)) then 10:21 MiniontobyPI local itemstacks = minetest.get_node_drops(key) 10:21 MiniontobyPI for _, itemname in ipairs(itemstacks) do 10:21 MiniontobyPI minetest.log("[drops] "..key.." = "..itemname) 10:21 MiniontobyPI end 10:21 MiniontobyPI end 10:21 MiniontobyPI end 10:21 MiniontobyPI this is what i got for my drop logging but first try it dint went well 10:22 MiniontobyPI seems to work 10:22 MiniontobyPI the drop works 10:24 MiniontobyPI now i need all possible drops 10:25 calcul0n_ make sure you add depends for all the mods you want to avorride then 10:26 calcul0n_ or use minetest.register_on_mods_loaded(function()) but id don't know what you're allowed to do there 10:27 MiniontobyPI i want all mods 10:28 calcul0n_ so the second option might work, i'm just not 100% sure it does :) 10:29 MiniontobyPI minetest.register_on_mods_loaded(function() 10:29 MiniontobyPI ye 10:29 MiniontobyPI works 10:29 calcul0n_ ok 10:29 MiniontobyPI at least i guess it seems to log it 10:34 MiniontobyPI removed doors and all items with numbers 10:35 MiniontobyPI butterflies too 10:36 MiniontobyPI next up i need to get all these records into an array and randomly let the code pick one and set one 10:38 MiniontobyPI switched into two files 10:38 calcul0n_ some numbered items have drops too, like wheat and cotton iirc 10:41 MiniontobyPI ik 10:41 MiniontobyPI but i want to avoid them 10:50 MiniontobyPI im back soon, thanks fo the help 12:49 MiniontobyPI hi 12:50 MiniontobyPI is there a way how to get max players allowed in an csm script? 12:51 MiniontobyPI and the keybind are still not a thing in the csm right? 13:00 specing MiniontobyPI: I don't think the official minetest client supports this, but perhaps dragonfireclient or waspsaliva do 13:00 MiniontobyPI ko 13:00 MiniontobyPI for now i got an command which you need to use to open the thing which i want to open with an key 13:00 MiniontobyPI but yeah 13:00 MiniontobyPI i dont want to build anythin 13:03 MiniontobyPI 13:03 MiniontobyPI btw has ctf_game been fixed with the crashes? 13:03 specing MiniontobyPI: the command ... what what? I didn't understand a thing 13:04 MiniontobyPI 13:04 MiniontobyPI i will tell you 13:04 MiniontobyPI 13:05 MiniontobyPI im making an adv_csm mod which will get lots of functions, and i now got an .online command, which is the csm version of Bosapara´s online_players mod, but yeah it would be nice to havae it open with tab 13:05 MiniontobyPI but yeha for now it will do 13:06 MiniontobyPI maybe lua can bind keys 13:06 specing as said, those two clients may have this 13:06 specing pretty sure it cannot, I think I've tried that already 13:07 MiniontobyPI I want fully official minetest 13:07 MiniontobyPI not an custom/other version 13:08 MiniontobyPI https://github.com/Silverfeelin/Starbound-Keybinds/blob/master/scripts/keybinds.lua 13:08 MiniontobyPI maybe this will wokr 13:15 MiniontobyPI can i just use require or should i use dofile? 13:15 MiniontobyPI i guess dofile 13:16 VanessaE dofile is the usual way, unless you turn that ^ code into a standalone mod 13:16 VanessaE then you could depend on it via mod.conf 13:22 MiniontobyPI idk 13:22 MiniontobyPI I need a proper keybind file first 13:22 MiniontobyPI that code is for a game called starbound 13:22 MiniontobyPI but it might work 13:23 MiniontobyPI im gona test it first 13:23 MiniontobyPI but yeah standalone mods for my adv_csm is not going to eb the best 13:24 MiniontobyPI nope not works 13:25 MiniontobyPI 13:25 MiniontobyPI why doesn´t minetest has a bind key thing? 13:25 MiniontobyPI it had been added to the client mod api thing 13:25 MiniontobyPI but it got removed again or so 13:25 VanessaE you can change key bindings in the pause menu 13:25 VanessaE or via minetest.conf 13:26 VanessaE unless you mean to do something like run a function when you press a certain key? 13:27 VanessaE (I know virtually nothing about CSM though) 13:27 MiniontobyPI yes 13:28 MiniontobyPI i want if i press tab then it opens 13:28 MiniontobyPI i guess 13:28 MiniontobyPI https://forum.minetest.net/viewtopic.php?p=233936#p233936 13:28 MiniontobyPI this is a good thing 13:39 MiniontobyPI i got an playerlist at public servers now 13:40 MiniontobyPI works at ctf server and all others now 13:40 MiniontobyPI really nice 13:42 MiniontobyPI is there a way to get players skins? 13:42 MiniontobyPI could i use optional_depends with csm to use like simple_skins? 13:47 MiniontobyPI im bad at positioning formspecs and things 13:47 MTDiscord ohai miniontoby! 13:48 MiniontobyPI hi 13:48 MiniontobyPI im awway 13:52 calcul0n__ i'd rather say formspecs are bad at positioning things :) 18:20 MiniontobyPI btw yeah thanks calcul0n__ 18:48 imi hi, for some reason in the latest dev I cannot chat. when I press T the console shows up but I cannot enter text (master branch, irrlicht and minetest and minetest game upgraded recompiled tuday). is that a known bug? 18:49 imi seems like I cannot enter any text into any text field 18:53 Krock imi: are you using Minetest irrlicht? 18:54 imi yes 18:54 imi (otherwise it wouldn't even compile) 18:54 Krock perhaps update it? 18:54 Krock and re-compile 18:54 Krock perhaps they're out of sync 18:55 Krock if that did not help, open an issue here: https://github.com/minetest/irrlicht/issues including your setup and the conditions to reproduce it 19:06 ar10ch ugh this webapp is horrible. stuck on windows :( 19:08 Krock wat 19:09 ar10ch rubenwardy: How do u set up a page like u had on ctf the other day telling users that ur not accepting new players atm ? 19:10 ar10ch krock: my machines screwed. setting up win10 on another drive then ill b back to Ubuntu...eventually 19:10 Krock 8 GiB rescue dongle to the rescue 19:11 Krock got a full-fledged ubuntu installation on a 16 GiB drive. the installation took a few hours, but it's pretty usable in such cases 19:11 Krock boot into linux whenever you have access to the boot menu 19:12 ar10ch ha summats up since I "upgraded" from Ubuntu 18 to 20. wish I hadn't. still have a locked root fs on Ubuntu and have to set up windows all over again 19:12 Krock that's weird 19:13 ar10ch its a pain 19:14 ar10ch I don't really use windows. once in a while i'll play elite:dangerous. It's the locked Ubuntu thing that winds me up 19:15 Krock fsck should solve that I suppose 19:15 Krock it's locked for a reason after all 19:15 ar10ch probs. from a live stick? 19:15 Krock yes 19:16 ar10ch aye. I'll give it a go after all this reinstallation nonsense lol 19:17 Krock I fear the day when I'd need to reinstall my Windows partition. It's customized to the point where I don't even remember whether it was changed or not 19:17 Krock dotfiles for Windows would be emazing 19:18 ar10ch haha yeah that would help 19:20 ar10ch how do u set that "welcome screen" to tell players that no new players are being accepted? Full disclosure: I'd like to set "invite-only" if things become.... "problematic" 19:21 Krock add a server password 19:21 Krock https://github.com/minetest/minetest/blob/master/minetest.conf.example#L1315-L1318 19:24 ar10ch i saw that. it wont effect players already with accounts? 19:33 imi Krock: that's the point was updated earlier today 19:33 ar10ch huh? 19:34 ar10ch krock: will it effect players already with accounts? 19:37 dwigton Is it possible to enable mods on a server for an existing game? 19:37 dwigton Turns out it took my kids 3 minutes to reinvent griefing. 19:38 Krock ar10ch: no 19:38 Krock ar10ch: then bisect 19:38 Krock * imi ^ bisect 19:39 Krock dwigton: edit world.mt 19:39 ar10ch ah thanks krock - whoa, bisect? 19:39 Krock ar10ch: sorry, that message is not for you 19:39 ar10ch ah.. 19:40 ar10ch but it wont effect players already with accounts.. 19:40 Krock dwigton: install mods to the mods/ directory of Minetest (NOT games/ !) and add the line load_mod_MODNAME = true to world.mt if you're only working with CLI 19:40 Krock otherwise prepare the world configuration in the client 19:40 Krock ar10ch: right 19:41 ar10ch haha k cool thanks :) 19:41 dwigton Krock: thanks. I wasn't sure if doing that would conflict with the sqlite database or something. 19:42 Krock dwigton: no. you can always add mods of your liking but disabling them again will eventually result in unknown content in-game 19:42 Krock where it might need manual compatibility code to fix it 19:44 ar10ch can u advise with server restart scripts... bash or lua? 19:45 Krock ar10ch: https://linuxhandbook.com/bash-loops/ 19:46 Krock while [ 1 == 1 ]; do minetestserver 2>error_output.log; done 19:46 Krock or something like that 19:47 Krock though it might be better to also rename debug.txt to keep a history of crash reports 19:47 Krock s/1 == 1/true/ 19:48 ar10ch i took a pic of the link - ill look at that in a bit - thanks - hold on new pic... 19:51 imi Krock: what do you mean by bisect? 19:51 Krock imi: git bisect. find the last good build, then build Minetest a few times to figure out the commit that broke it 20:07 ar10ch 66%. ugh. feels like a different dimension 21:40 ar10ch back in linuxland 22:53 Swift110-mobile hey Krock