Minetest logo

IRC log for #minetest, 2022-06-27

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

All times shown according to UTC.

Time Nick Message
00:01 specing joined #minetest
00:57 Alnotz joined #minetest
01:02 Soni joined #minetest
02:17 fluxionary possibly this is the worst time of the week to solicit input, but for anyone who uses moreblocks, i'd appreciate input on what's brewing: https://github.com/minetest-mods/moreblocks/pull/191
02:31 snowmansoup joined #minetest
02:31 snowmansoup hello
02:31 Guest41 joined #minetest
02:33 snowmansoup i have a question which may seem dumb to a few but im basing it on something i inferred from a minetest wiki.... any help very welcome
02:34 snowmansoup my boss wants to mitigate lag and looking at profiler - pipeworks is a huge resource hog. based on what i think i understand from the globalstep wiki - can the step be changed for local use - so as to slow that mod down?
02:34 fluxionary snowmansoup: your boss?
02:35 snowmansoup well the server owner for whom i volunteer
02:35 fluxionary ok got it :)
02:35 snowmansoup :)
02:35 fluxionary i also volunteer in a similar capacity
02:35 snowmansoup cool!
02:35 fluxionary pipeworks is pretty terrible for lag, but it's the most popular "pipes" mod
02:36 fluxionary if the server isn't incredibly established, i'd recommend looking at tubelib/techpack as an alternative
02:36 snowmansoup ik its great but its kinda gettin on top of things rn
02:36 snowmansoup its 4yo sadly
02:36 fluxionary if it is, not much i can say, except to locate lag-generating machines and ask players to do something differently
02:37 fluxionary i worked on a mod that helps mitigate lag generated by mesecons, and am working on a way to make that a general lag reducing mechanism, but i couldn't even say when that'll be ready
02:38 snowmansoup good advice. im still wondering about this whole thing of "usually" being used in the minetest globalstep wiki tho. suggests to me that dtime can be set to something other than 0,05s and therefore reduced locally - but like i said - i feel kinda dumb on this so... XD
02:38 fluxionary increating the globalstep helps w/ lag more than decreasing it, in my experience
02:39 fluxionary i'd suggest 0.2 (or 0.18)
02:39 snowmansoup aww that sounds awesome fluxionary - i will look out for it
02:39 fluxionary also, reducing the ABM range to 1
02:39 fluxionary (so that a single player can only keep 27 mapblocks active at once)
02:40 snowmansoup ohhhh...... i wouldnt have thought of it like that but looking at profiler printouts that makes sense
02:40 fluxionary that will break some machines, but that can be mitigated w/ "alt" accounts, or by redesigning machines. 27 mapblocks is more than enough volume for almost anything
02:40 snowmansoup hmm so changing globalstep locally?
02:40 snowmansoup sorry
02:40 fluxionary there's no "change globalstep locally"
02:41 fluxionary well, maybe i'll have a mod that'll allow for that by the end of the year, but there's a lot of stuff i'm working on, no promises
02:41 snowmansoup really sorry - so how to change? in luaentity.lua?
02:41 fluxionary how to change... the globalstep? a config option
02:41 Verticen joined #minetest
02:41 snowmansoup minetest.conf?
02:42 fluxionary https://github.com/minetest/minetest/blob/35ad006234ce40edc4c59feee63fb1546f643508/builtin/settingtypes.txt#L1331-L1333
02:42 snowmansoup thankyou very much :)
02:42 ronoaldo joined #minetest
02:42 fluxionary active block range: https://github.com/minetest/minetest/blob/35ad006234ce40edc4c59feee63fb1546f643508/builtin/settingtypes.txt#L1224-L1229
02:43 fluxionary decreasing active_object_send_range can also help a lot https://github.com/minetest/minetest/blob/35ad006234ce40edc4c59feee63fb1546f643508/builtin/settingtypes.txt#L1217-L1222
02:43 fluxionary but that'll e.g. make it so that mobs like sheep and stuff won't be visible in the distance
02:43 snowmansoup ah i think we can live with that lol
02:44 snowmansoup really sorry to be a pest but what do i change in settingstypes? i opened up my own file so maybe i need to add a line
02:44 fluxionary if you want to see the values i used to tune the blocky survival server a couple years ago, they're here https://github.com/BlockySurvival/bls_mods/blob/74a72d89c0be787d10f4310a2e6c1b479a647e31/minetest.conf#L42-L59
02:45 fluxionary snowmansoup, you want to edit minetest.conf
02:45 fluxionary snowmansoup, the actual location of "minetest.conf" for your server can vary wildly, but your admin probably knows
02:45 snowmansoup oh yes i mentioned that b4 - hold on i look
02:46 fluxionary i recommend reviewing *all* possible options and investigating whether anything that sounds interesting actually has an effect
02:46 snowmansoup i think maybe i need to add a line then to minetest. conf?
02:46 fluxionary snowmansoup, that is likely
02:47 fluxionary snowmansoup, it's a good idea to check that there's only one definition of each configuration option
02:47 fluxionary if it's a large file, it's useful to break it up into sections for related configuration stuff
02:47 snowmansoup sorry - i kinda know my way around a few bits of the API but 1) its been a while and 2) this is new to me XD
02:48 fluxionary no problem :)
02:48 fluxionary what server is this? no problem if it's not a public server
02:49 snowmansoup do u happen to know what i need to add..? im looking at the github minetest.conf.example rn to see what but idk what im looking for
02:49 fluxionary snowmansoup, it depends what you want to add
02:49 snowmansoup to alter the step?
02:50 fluxionary i like https://github.com/minetest/minetest/blob/master/builtin/settingtypes.txt better than the minetest.conf.example
02:50 fluxionary oh, dedicated_server_step
02:51 snowmansoup ah i will search ur link for that! thankyou!
03:08 WhiskeyPotato joined #minetest
03:08 WhiskeyPotato hi everyone
03:08 snowmansoup haha hi Whiskey!
03:09 WhiskeyPotato Sup soup
03:09 Pexin snowmansoup: definitely disable teleport tubes
03:10 snowmansoup all good whiskey thanks and you?
03:10 WhiskeyPotato lagging hard lol
03:10 snowmansoup Pexin thats a good idea - thankyou
03:13 WhiskeyPotato Ok so looking through the code of pipeworks and referencing the profiler output, the major lag is coming from the globalstep[1] of pipeworks which im assuming is from the luaentities.lua since it's called first (of the .lua files with a register_on_globalstep) in the dofile list in init.lua
03:19 WhiskeyPotato joined #minetest
03:23 snowmansoup ive forgotten how to PM somebody in IRC XD
03:24 snowmansoup oh wait i can do it lol
03:25 WhiskeyPotato ok just just to verify, reducing active block range to 1 will make any large machines basically non functional correct?
03:29 snowmansoup large i think yes. needn't necessarily be 1 ig. i think that was an example but idk. wouldnt that affecta lot of other things too?
03:30 snowmansoup active blocks... i mean should be the reach of a standard tool imo
03:30 snowmansoup 8ish blocks?
03:30 WhiskeyPotato its 2 right now
03:30 snowmansoup ooh
03:30 WhiskeyPotato and thats not cutting it.
03:30 snowmansoup ok maybe im wrong then lol
03:30 snowmansoup letstry 1
03:31 snowmansoup diff of 2 and 1 surely wont make too much difference...
03:31 YuGiOhJCJ joined #minetest
03:32 snowmansoup tbh im feeling dumber by the minute XD
03:32 snowmansoup lemme know what u think of what i said in DM please!!!
04:00 MTDiscord joined #minetest
04:04 YuGiOhJCJ joined #minetest
04:29 YuGiOhJCJ joined #minetest
04:50 YuGiOhJCJ joined #minetest
05:28 calcul0n joined #minetest
05:30 Lesha_Vel joined #minetest
05:46 TomTom joined #minetest
05:51 toluene joined #minetest
06:16 tyzef joined #minetest
06:18 independent56 joined #minetest
06:33 independent56 joined #minetest
06:35 independent56 joined #minetest
07:48 Alnotz joined #minetest
08:10 harry-wood joined #minetest
08:39 harry-wood joined #minetest
09:33 independent56 What servers put their map.sqlite and other world files public?
09:34 independent56 I do, at 56i.duckdns.org/world. I just want to be able to be an admin in a local copy of other rail networks so i can see how they're built and what i can take.
09:37 independent56 Is it possible to suck mods from a server from the client? Like when you connect, mod content has to be transferred over. Is it possible to suck an entire mod from a server into the client's computer?
09:42 sfan5 the visual parts sure
09:42 sfan5 but what makes a mod is the functionality
10:27 tzf joined #minetest
10:32 Soni joined #minetest
10:51 definitelya joined #minetest
10:54 mrkubax10 joined #minetest
10:59 independent56 Hmm, makes sense
10:59 independent56 Is there a way to in-game change the FOV of a caemra view?
11:03 behalebabo joined #minetest
11:22 appguru joined #minetest
11:43 independent56 joined #minetest
11:51 mrkubax10 joined #minetest
12:01 specing joined #minetest
12:27 calcul0n joined #minetest
12:34 independent56 joined #minetest
12:53 debiankaios joined #minetest
12:56 Alnotz joined #minetest
13:15 Fixer joined #minetest
13:17 fling joined #minetest
13:18 Warr1024 independent56: https://nodecore.mine.nu/world/
13:18 Warr1024 Also, you're missing a LICENSE file :-)
13:26 bdju joined #minetest
13:31 lilac_spice[m] joined #minetest
13:40 independent56 Ohh, cool
13:41 independent56 Thanks for the head's up.
13:42 independent56 *heads-up
13:43 independent56 I'll do some extreme google filtering looking for world.mt with enable_mod_advtrains = true or something
13:43 independent56 I actually used a similar approach to find exposed database configurations and then email the webmasters of the vulnrability
13:44 fling joined #minetest
13:45 Fixer joined #minetest
13:49 independent56 It should be up there at next 02:00
13:49 independent56 Thank god for crontab
13:49 independent56 * Thank AT&T Bell Laboratories for Crontab
13:57 Alnotz joined #minetest
14:03 proller joined #minetest
14:48 independent56 joined #minetest
14:49 tech_exorcist joined #minetest
14:50 tech_exorcist hello, i'm running minetest 5.3.0 from debian's repos, is it possible to change the directory in which minetest looks for worlds?
14:50 tech_exorcist --go --world <path> ends up in a connection timeout
14:55 rubenwardy try map-dir
14:55 rubenwardy it's a setting
14:55 rubenwardy idk if it still works
14:55 rubenwardy alternatively, you could symlink
14:55 rubenwardy also 5.3.0 is ancient, 2+ years old by now. I'd recommend updating to 5.5
14:55 tech_exorcist ill symlink
14:55 tech_exorcist i know
14:56 tech_exorcist it's because i found an old installation (5.2.0) in an ssd i have, and i cloned that ssd to my computer
14:58 tech_exorcist the symlink trick worked, thanks
14:58 tech_exorcist i did think about it, but for some reason i only thought about doing on the entire worlds/ directory and not just on the one of the world i wanted to load
14:59 tech_exorcist also im very glad i found this world in particular, i didnt even know i still had it
14:59 tech_exorcist thanks :)
15:10 Verticen joined #minetest
15:34 debiankaios joined #minetest
15:41 Talkless joined #minetest
15:43 harry-wood1 joined #minetest
15:50 Alnotz joined #minetest
15:53 independent56 How can i access an object in a table from a string in a variable?
15:53 independent56 Like place = "" at the top, and then somewhere else we have print(table.place), going to the location specified in the string?
15:54 rubenwardy table[place]
15:59 giov4[m] does anyone know how to make a player look towards another player? I've seen the set_look_vertical/horizontal functions but I'm not that good with rotation and vectors math ?
16:00 rubenwardy https://gitlab.com/rubenwardy/classroom/-/blob/master/actions.lua#L17
16:00 rubenwardy target is a position to look at
16:00 giov4[m] <independent56> "Like place = "" at the top..." <- if you need to convert a string back to a position you need to use `minetest.string_to_pos(string)`
16:01 independent56 Thanks
16:01 independent56 Just needed basic lua knowledge
16:02 giov4[m] rubenwardy: oh thanks, but how do I set the vertical position too?
16:03 rubenwardy probably the same but with delta.y and  sqrt(delta.x*delta.x + delta.z*delta.z)
16:15 giov4[m] hm, how should I use this value?
16:17 rubenwardy my guess is it's     `player:set_look_vertical(math.atan2(delta.y, math.sqrt(delta.x*delta.x + delta.z*delta.z)) - math.pi / 2)`
16:17 rubenwardy the reason for the sqrt bit is to get the horizontal distance independent of X/Z
16:23 giov4[m] doesn't seem to work unfortunately: if I'm above the target the player looks upward, while if I go much under the target the player looks in front of them
16:29 giov4[m] * doesn't seem to work unfortunately: if I'm above the target the player looks upward, while if I go much under the target the player looks in front of them
16:30 giov4[m] * doesn't seem to work unfortunately: if I'm above the target the player looks upward, while if I go much under the target the player looks in front of them
16:30 giov4[m] edit: oh never mind, I found a different way of doing what I needed to do using just the horizontal look, thanks
16:32 MTDiscord <Warr1024> IIRC I used code based on classroom for a "player look at" thing, but I had to make some corrections or something ... I don't remember the specifics.  I'm, sadly, no longer using that code anywhere, either.
16:42 MTDiscord <luatic> giov4: https://github.com/appgurueu/moblib/blob/06a8c9f71c5525ce4a5c7fcd7f58df9e9fafccc0/main.lua#L127-L131 should work
16:43 harry-wood joined #minetest
16:45 independent56 joined #minetest
16:47 independent56 joined #minetest
16:57 proller joined #minetest
16:58 independent56 How do i stop an interrupt timer?
16:58 independent56 From within code?
17:04 independent56 Let's say that i had interrupt(10) which ran a function. When the function returns "->", then the interrupt timer must stop.
17:12 lebruhgamer[m] joined #minetest
17:20 tyzef joined #minetest
18:13 Alnotz joined #minetest
18:16 independent56 joined #minetest
18:18 wallabra joined #minetest
18:46 independent56 joined #minetest
18:52 independent56 Is it pronounced Mé-sé-cons or Miesecons?
18:52 independent56 Does anyone else think the insulated mesecon looks like a mint sweet? I always think it would taste good.
18:55 sfan5 supposedly mese is pronounced the finish way
18:55 MTDiscord <Warr1024> Pretty sure I've heard it like the "messe" in "messenger"
18:56 MTDiscord <Warr1024> "The Finnish way" is not very helpful to somebody who doesn't know any Finnish though.
18:57 MTDiscord <Warr1024> Does make me wonder whether c55 would have the last word in how all "mese" is pronounced and the mesecons authors would only get to say how "cons" is pronounced, or whether the pronunciation of "mesecons" can be essentially independent of upstream "mese" and entirely at that author's discretion.
18:59 MTDiscord <luatic> re mese: c55 pronounces it somewhere towards the end of the trainwreck livestream, that should be considered the authority here :)
19:00 MTDiscord <luatic> different topic: I just released https://github.com/appgurueu/strictest
19:00 MTDiscord <Warr1024> I should look up that stream and get a timestamp.  Might be a useful bookmark to have on hand because "how do you pronounce mese" comes up at least twice a week.
19:01 independent56 joined #minetest
19:05 Pexin I pronounce it by typing. with my fingers.
19:07 definitelya ku ku ku
19:09 muurkha I pronounce "mese" as "Messi" because Argentina
19:10 muurkha I heard someone pronounce it "Meese" once and thought it was hilarious
19:10 Pexin miiss
19:11 Pexin meeeeees
19:13 Ingar 'that stuff'
19:13 Ingar minetest suffers from bad naming schemes all the way :p
19:13 definitelya Shiny yellow in the deep
19:14 Ingar Insert Balrog joke
19:14 muurkha naw, Minetest's naming schemes are great
19:14 muurkha except the name "Minetest"
19:14 Ingar muurkha: that one yeah ;)
19:15 definitelya I use Jar-Jar as a mentor.
19:15 definitelya Meesa
19:21 specing joined #minetest
19:22 wallabra_ joined #minetest
19:34 independent56 Whilst i woke y'all up, is it even possible to stop an interupt() function repeating again and again in a luacontroller
19:39 independent56 joined #minetest
19:45 tyzef joined #minetest
19:47 orwell96 joined #minetest
19:49 sys4 joined #minetest
19:53 specing joined #minetest
19:54 Verticen joined #minetest
19:58 sys4 joined #minetest
20:01 tyzef joined #minetest
20:15 Sven_vB joined #minetest
20:21 independent56 joined #minetest
20:25 independent_ joined #minetest
20:27 independent_ joined #minetest
21:03 definitelya left #minetest
21:44 independent_ joined #minetest
21:46 independent_ joined #minetest
21:59 Sven_vB joined #minetest
22:17 mrgreymatter joined #minetest
22:31 harry-wood joined #minetest
22:32 panwolfram joined #minetest
22:46 proller joined #minetest
22:58 Lesha_Vel joined #minetest
23:56 MinetestBot [git] Zughy -> minetest/minetest: Remove tile_images and special_materials obsolete code (#12455) 18fbc03 https://github.com/minetest/minetest/commit/18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64 (2022-06-27T23:55:01Z)

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