Time Nick Message 00:37 Electro_Cloud Hey guys, im back with another problem, my server just crashed... 00:38 Electro_Cloud When i checked the debug,txt the only ERROR that i see is "A serialization error occoured" 00:38 Electro_Cloud what should i try 00:38 Electro_Cloud I feel like this happened to me and i had to like delete a certain file... just forgot... 00:51 rubenwardy Electro_Cloud: are you using 5.0.0? 00:52 Electro_Cloud no, im using 5.1.1 00:52 rubenwardy ok 00:52 Electro_Cloud on the server and client side... 00:52 rubenwardy not sure sure then, that was a known bug in specifically 5.0.0 00:53 Electro_Cloud yeah... all i know is that for the last month or so i have been using an outdated player and authenteracation DB 00:54 Electro_Cloud It does say something else... "ServerEnvironment::loadMeta(): EnvArgsEnd not found!" 00:54 rubenwardy delete env_meta.txt 00:54 rubenwardy or restore from backups 00:54 Electro_Cloud Thanks 00:54 rubenwardy in the world dir 00:55 Electro_Cloud i remember it now 00:55 Electro_Cloud It has happened before... thx 11:08 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fix pathfinder bugs: returning nil frequently, broken A*, jump throug… 13474f3fb https://git.io/JvVan (152020-03-05T11:07:52Z) 11:11 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Fix pathfinder bugs: returning nil frequently, broken A*, jump throug… 13580e7e8 https://git.io/JvVaW (152020-03-05T11:09:44Z) 15:46 Miniontoby hey 15:47 Miniontoby How to make stone invisible at server by using a texture pack and/or csm 15:54 Miniontoby How to make stone invisible at server by using a texture pack and/or csm 15:54 Miniontoby does someone knows?? 18:35 maccraft123 why am i banned? 18:35 maccraft123 celeron55_: ^ 18:42 appgurueu Krock, regarding https://github.com/minetest/minetest/pull/9421 18:42 appgurueu what would you like me to improve? 18:43 appgurueu I would like to get it merged 18:43 Krock please use a field name that's at least half-way self-explaining 18:44 appgurueu In the API or in the code? 18:44 Krock ofc you do. everybody would like to get things merged 18:44 Krock both, if possible 18:44 appgurueu Hmm 18:45 appgurueu Looking at https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L7512 18:45 appgurueu I basically only see number and item as options 18:45 appgurueu But number is already used for colors 18:46 appgurueu Krock, how about changing it in the API only? Or should I send an unneeded field with a proper name? 18:47 sfan5 the fact that "item" is handeled specially in c_content.cpp for waypoints if also bad 18:47 sfan5 is* 18:47 appgurueu Could you elaborate? 18:47 sfan5 if (elem->type == HUD_ELEM_WAYPOINT) [do something] else [do something slightly different] 18:47 appgurueu Yeah 18:47 appgurueu That is because of backwards compatibility 18:48 * Krock gives the microphone to sfan5. No motivation to discuss this sort of things rn 18:48 sfan5 why compatibility? you are just reading the value differently 18:48 appgurueu Yes 18:48 sfan5 with a default of -1 and you add 1 18:48 appgurueu If it is explicitly set, it has a different meaning 18:48 sfan5 while normaly item is read as -1 if not set 18:48 appgurueu Precisely, I golfed it a bit 18:49 appgurueu No, the default is 0 18:49 sfan5 yeah sorry I meant that 18:49 appgurueu Yeah 18:49 sfan5 point is, why can't you leave it like that and then check == -1 on the client side? 18:49 appgurueu And item = 0 means default precision 18:49 appgurueu But if a modder explicitly sets item = 0 they actually intend hide the distance 18:49 appgurueu That's what this thing accounts for 18:49 appgurueu * to hide 18:50 sfan5 and why doesn't that work when the default is -1? 18:50 appgurueu Because it'll set the default to -1 + 1 = 0 if it's not set 18:51 appgurueu Probably I should explain a bit more 18:51 appgurueu I implemented it as follows: 18:51 sfan5 I have read your implementation 18:51 appgurueu precision = item - 1 18:51 appgurueu basically 18:51 sfan5 but why can't the client fall back to precision = 10 if it sees item == -1 18:52 appgurueu because I intended to keep backwards compat 18:52 sfan5 that's perfectly compatible 18:52 appgurueu well, item = -1 is impossible 18:52 appgurueu item is u32 18:53 sfan5 oh hmm I get it now 18:54 appgurueu k 18:54 appgurueu so... should I change it in the API to "precision" ? Should I introduce a new field? 18:54 sfan5 I don't think reusing item internally is bad, but on the Lua side it should definitely be called "precision" 18:55 appgurueu Alright 18:57 Electro_Cloud anyone know what the best way to add IRC to a minetest server> 18:57 Electro_Cloud *? 18:57 sfan5 !mod irc 18:57 MinetestBot sfan5: Internet Relay Chat [irc] by kaeza - https://forum.minetest.net/viewtopic.php?t=3905 18:57 sfan5 that one, probably 18:57 Electro_Cloud nice thanks 19:03 appgurueu Electro_Cloud: You could also consider Advanced Chat - https://github.com/appgurueu/adv_chat 19:03 appgurueu Anyways, renamed it to precision, improved the docs (regarding my PR) 19:07 Electro_Cloud nice irc and discord 19:09 Electro_Cloud looks like it might take a little while to get setup the first time... does it require me to set up a port forward to my server? 19:09 Electro_Cloud My server is currently not available to the public, but would that make it not work> 19:14 sfan5 the IRC thing? not that I know of 19:15 MinetestBot 02[git] 04Jordach -> 03minetest/minetest: set_sky improvements, set_sun, set_moon and set_stars 13946c03c https://git.io/JvV7o (152020-03-05T19:12:19Z) 19:17 Electro_Cloud ok cool 19:18 Electro_Cloud MinetestBot ? 19:18 Electro_Cloud is that for a future game update? Looks neat 19:19 sfan5 it is 19:21 Electro_Cloud =D 19:21 appgurueu it's awesome 19:21 Jordach ? 19:22 Electro_Cloud imagine getting ray tracing in minetest 19:32 Extex Krock with you currently working with waypoints what do you think of the plausibility of https://github.com/minetest/minetest/issues/9447 19:36 Electro_Cloud Very nice addition 19:40 DusXMT I have to say, at first, I found the lack of mobs (well, there are mods for them, but they all seem kinda glitchy to me, perhaps my laptop is just too slow for them) kinda disappointing, but now I've kinda grown to like how calm the game is :) It definitely feels far more sandboxy than the game that shall not be mentioned 19:40 DusXMT Plus, some of the landscapes are just beautiful 19:42 DusXMT I kinda wonder if there is a mod similar to computercraft / opencomputers available to Minetest, I remember enjoying those :) 19:43 appgurueu ? 19:43 appgurueu mobs are inefficient right now 19:44 appgurueu I already have ideas on how to fix it 19:44 appgurueu There have already been attempts 19:44 appgurueu (not by me) 19:45 appgurueu And regarding opencomputers, as MT uses Lua by default, making Lua programmable stuff is quite easy. 19:45 sfan5 (that's not quite the same) 19:45 DusXMT Honestly, after getting back into the game a few days ago, I don't really miss mobs all that much 19:45 appgurueu There are some mods adding luacontrollers and the like (thinking of Mesecons), but I don't have a good overview right now 19:45 sfan5 or rather, doesn't really answer the question 19:46 appgurueu so, I renamed it to precision and improved the docs 19:46 appgurueu would you approve my PR? 19:46 sfan5 when I get another look at it 19:47 DusXMT Yeah, I guess LUA controllers from mesecons might be useful for automation, but I kinda liked how in Computercraft the computers were pretty general purpose, and you could even hook them up to screens... but I guess you might make your own indicator screen using a set of illuminator blocks 19:47 DusXMT with lua controllers 19:48 appgurueu sfan5: saw your review, will address, and probably also cover extex's use case 19:48 sfan5 don't mix image waypoints into this PR 19:49 DusXMT Heh, this made me remember Eloraam's RedPower mod, she had a computer as well in it, running an actual emulated CPU (the 6502 iirc, with forth as the default command interpreter, but you could write your own)... I wonder how hard would it be to make a similar computer in Minetest (but eg. with a Z80 instead, since that's what I'm more familiar with) 19:56 appgurueu sfan5: I improved the code quality and followed your proposals. 19:58 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fix code style to make clang-format happy 13ef09e8a https://git.io/JvV57 (152020-03-05T19:55:29Z) 21:04 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fix potential security issue(s), documentation on minetest.deserializ… 138d6a0b9 https://git.io/JvVFQ (152020-03-05T21:03:04Z) 21:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fix linking failures when compiled with Clang 9 13db95ff2 https://git.io/JvVFh (152020-03-05T21:05:18Z) 21:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fixes around ServerActiveObject on_punch handling 13e774d8c https://git.io/JvVFj (152020-03-05T21:04:23Z) 21:36 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fix memory leak in protocol 38 set_sky 139ca0b37 https://git.io/JvVb5 (152020-03-05T21:36:21Z) 21:41 Electro_Cloud What is the syntax for adding an alloy recipe, and where should i go to add it? 22:02 appgurueu Extex ? 22:02 appgurueu I've thought about your proposal (waypoint images) 22:03 appgurueu It's quite doable (1h effort I estimate) 22:03 appgurueu (or probably less) 22:07 Extex Cool 22:20 Electro_Cloud anyone know how to easily make a block a ingot instead? 22:20 Extex register_alias? 22:20 Electro_Cloud Like when it is done cooking is there a little code snip i can add 22:20 Electro_Cloud yeah 22:20 Extex Oh wait do you mean like completely remove them or cooking 22:21 Extex So you cook the block and you get 9 ingots? 22:21 Electro_Cloud I meant that right now i have a mod where i cook obsidian to get the block, and the block is only used for crafting so i was wanting to make it unplacable 22:22 Electro_Cloud is that possible? 22:22 Electro_Cloud Without going through a bunch of code like moreores 22:22 Extex Ooh so you want it to be just an item 22:22 Extex Not a placable obsidian 22:22 Electro_Cloud yes 22:23 Extex Either do node_placement_prediction = "" 22:23 Extex Or use a fake node image 22:23 Extex Like in carts 22:24 Extex Make it a craftitem and do this as inventory image 22:24 Extex minetest.inventorycube("carts_cart_top.png", "carts_cart_side.png", "carts_cart_side.png"), 22:24 Extex But I wouldn't suggest doing that 22:24 Electro_Cloud why not? 22:25 Extex Becuase it's just an image not a 3d model 22:25 Extex The wielded image will look flat and bot 3d 22:25 Electro_Cloud aah ok 22:25 Extex So I would use node_placement_prediction = "" 22:25 Electro_Cloud is there any other short way? 22:26 Electro_Cloud oh ok 22:26 Extex Just register a node and add that 22:26 Electro_Cloud ok add it right under the description of the node 22:26 Extex Yup 22:27 Electro_Cloud awesome, do i need anything inbetween the "" 22:27 Extex No 22:29 Extex That should work iirc 22:29 Electro_Cloud ok... ill let you know how it goes... im experiencing some difficulties with a recent change and when i opened the game and loaded the mod it showed them all as unknown blocks 22:29 Extex Oke 22:32 Electro_Cloud hmm dosnt seem to be keeping me from placing it 22:37 Electro_Cloud any idea why its not working? 22:37 sfan5 node_placement_prediction = "" just means it won't immediately disappear when you dig it 22:37 sfan5 its use sis somewhat specialized 22:37 sfan5 use is* 22:38 Electro_Cloud :O 22:38 Electro_Cloud oh ok 22:38 Electro_Cloud any suggestion to do what im looking for? 22:38 sfan5 on_place maybe 22:38 sfan5 in any case the documentation should definitely have an answer 22:39 Electro_Cloud just put on_place after the register 22:39 sfan5 oh I said " disappear when you dig it" above, I meant " appear when you place it" 22:48 Electro_Cloud can you leave a link to the minetest documentation 22:49 sfan5 !api 22:49 MinetestBot Someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 22:49 Electro_Cloud or is it the API documentation 22:49 Electro_Cloud oh ok it is thx