Minetest logo

IRC log for #minetest, 2018-02-23

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

All times shown according to UTC.

Time Nick Message
00:03 p_gimeno joined #minetest
00:18 blaise nether sucks
00:19 blaise I'm going to have to nuke my map and start over
00:19 blaise god damnit
00:24 twoelk|2 joined #minetest
00:24 blaise lol
00:24 blaise that royaly sucks
00:27 nowhere_man joined #minetest
00:31 blaise okay, new map is pretty cool
00:31 blaise looks like something out of final fantacy
00:31 blaise Sketch2: so yeah
00:32 blaise Sketch2: what ever you do do NOT use the stupid nether mod
00:32 Sketch2 k.
00:32 Sketch2 maybe if you did some heavy editing to the code, toned it down some
00:33 blaise nah, I don't like it
00:33 Sketch2 that's one-a those 'give an inch, take a mile' kinda mods
00:33 blaise yueah
00:33 blaise lol
00:36 Sketch2 this sux.  Think I'm running into this-  https://github.com/minetest/minetest/pull/4391
00:36 Sketch2 they make it sound like you can call  redef_wrapper  from a mod
00:37 Sketch2 but I've only seen it used with a patched  item.lua
00:38 rubenwardy say it says  redef_wrapper(core, 'node_punch')
00:38 rubenwardy then you should replace   core.node_punch
00:38 rubenwardy or   minetest.node_punch rather
00:38 Sketch2 in lua, can't you just basically redefine anything?
00:39 rubenwardy ?
00:39 rubenwardy minetest is just a table
00:39 rubenwardy so you can reassign any values in it
00:39 Sketch2 right
00:39 rubenwardy function minetest.node_punch(...)    end
00:39 rubenwardy is syntactic sugar for    minetest.node_punch = function(...)    end
00:40 Sketch2 yea.  maybe my brain's too tired.  I'll come at it tomorrow
00:40 Sketch2 I'm sure you're right
00:42 blaise one day its hot as hell, like 100+ degrees, then the next day is almost below zero
00:42 blaise back and for th back and forth..
00:42 blaise WTF IS GOING ON HERE!!!
00:42 blaise rubenwardy: I think mother nature is trying to kill us
00:43 Sketch2 the other day it downpoured hard as hell for 5 seconds flat, then dead silence
00:44 Sketch2 nothing before or after, completely outta nowhere
00:44 blaise wow, I really like this new map
00:44 blaise my spawn town is MUCH better this time
00:44 Sketch2 cool
00:44 blaise Sketch2: yeah, like I said.. mother nature is trying to kill us
00:45 Sketch2 oh man, this was a bad idea.   print(dump(minetest))
00:45 * blaise facepalms
00:45 Sketch2 lmao.  it's like 7 miles long
00:48 Sketch2 yea, I'll figure it out tomorrow.  def' progress tho
00:48 Sketch2 food, then veg out to some youtube
00:49 Helwyr hello
00:51 Helwyr attention player : hameer have fun taking me rights on my server, pay attention to him
00:52 Helwyr sorry for the bad new
00:52 Tux[Qyou] joined #minetest
00:52 Helwyr his IP 73.144.29.150
00:53 lumberJuice hameer, that guy?
00:53 lumberJuice i banned him from my server so many times
00:53 Helwyr yes, i have log
00:53 lumberJuice the first time he was asking to be admin
00:53 lumberJuice thats his game i guess
00:53 Helwyr ah ok, i'm not alone
00:53 lumberJuice did you give him privs
00:54 Helwyr ok
00:55 lumberJuice did he take your privs on your server, Helwyr?
00:55 Helwyr my bad, mistake configuration
00:55 Helwyr now it's fixed
00:55 lumberJuice ok
00:56 Helwyr i'm a noob ;)
00:57 lumberJuice probably you shouldn't host a public server, if thats the case, especially if you care about the server/map
00:58 Helwyr my mistake was not to log in with my admin account, but I understood
00:58 Helwyr serveur creative and survival working very nice
00:58 Helwyr no problems
00:59 Helwyr juste for advise
01:00 Helwyr it is by making mistakes that we learn
01:01 Helwyr good night all
01:01 blaise you're welcome to come build on my server
01:01 blaise good night
01:01 Helwyr bonne nuit
01:02 lumberJuice personally, if i worked hard on a server, i would not want to make mistakes on it for other players to come ruin my work. i'd rather learn to be admin on a private server first
01:02 lumberJuice but that is just my advice.
01:02 blaise yeah
01:02 blaise I have a world saved on a postgresql server that wont load for some reason
01:02 lumberJuice if you don't care about the map/server it doesn't matter much i guess. as long as someone doesn't own the server hosting your game
01:03 Sketch2 that happened to me long ago
01:03 Helwyr ok, juste my skyworld ruined not bad
01:03 blaise I'm saving it for a time when someone might be able to help me figure it out
01:03 blaise there's nothing wrong with it per say, but it just won't load
01:03 blaise I was in the middle of building a centerfuge array to enrich plutonium
01:04 blaise actually I had finally finished it
01:04 Shara Most of the lessons to be learned about running a server, you learn because players show up and break things, teaching you your mistakes
01:04 blaise it was cranking out fuel rods for about 2 hours and then the server went down and refused to come back up
01:04 blaise no error in the logs, just crash
01:04 Helwyr no it's just a take over of admin rights, now it's fixed
01:05 Shara Helwyr: Have seen it happen to people before. You won't make the same mistake again :)
01:05 Helwyr i hav 48 old, i'm not a noob ;)
01:05 blaise a 1948 oldsmobile you say?
01:05 blaise were they around yet?
01:05 Shara That's good then. I'm totally noob at this
01:06 blaise I don't know how, you're supposed to be hard set in the config file
01:06 blaise no one can take your give and take priv pf priv away
01:07 Helwyr I control, you do not make it for me, I have the logs, this i my server on my house ;)
01:07 blaise I think the english is not the first of the languages to be of the spoken
01:08 Helwyr my error: don't connect with my admin account for setting a password :(
01:08 blaise lol
01:08 Helwyr je parle français ;)
01:08 blaise don't tell people
01:08 Helwyr voila, merci à tous
01:08 Helwyr thanks
01:09 Shara Since the error was noticed and it seems fixed, it's good to mention anyway.. maybe will prevent someone else making that mistake
01:09 Helwyr yes, all good
01:09 Helwyr [Fixed]
01:09 blaise I have scratch servers I grant everyone all privs on just for fun
01:10 Helwyr yes fun is good
01:10 lumberJuice blaise, 'all" privs?
01:11 blaise yeah.. lol
01:11 Helwyr no all privs i hope
01:11 blaise then I log with guest accout and spectate the mess that ensues
01:11 Helwyr it's like a "honeypot" ?
01:11 blaise yea'
01:12 Helwyr nice
01:12 lumberJuice is it on your machine or vps?
01:12 Sketch2 lols
01:12 Sketch2 sounds pretty epic
01:12 Helwyr my server is a raspberry pi clone
01:12 Helwyr i don't care
01:13 blaise i rent an 8 core VM..
01:13 Helwyr with a backup every day
01:13 Helwyr 8 core rented? hos much ?
01:13 Helwyr how much
01:13 blaise it's 15 I think
01:14 blaise funtoo linux containers
01:14 blaise 60GB ssd
01:14 Helwyr omg too much ;)
01:15 blaise I don't rent for the deal
01:15 blaise even though it's not bad
01:16 blaise I originally started renting becuase I wanted to give back to the funtoo linux community which I have gained so much from
01:16 blaise then  I really didn't know what to do with the VM..
01:16 Helwyr i'm working on armbian debian stretch-backports
01:16 blaise so I was like, I'll just host a minetest server on it
01:17 Helwyr asus tinkerboard you know ?
01:17 blaise yes
01:17 Helwyr working nice with a cable connexion
01:17 blaise I like the udoo x86 ultra
01:18 Helwyr what a nice piece of HW the udoo x86
01:19 blaise the late panda isn't too shabby either
01:19 blaise any one of these machines would make good minetest servers
01:20 Helwyr my first pi is for ADSB tracking (planes)
01:20 Helwyr plug and forget ;)
01:20 blaise pi zero?
01:21 blaise that thing runs on like no power
01:21 Helwyr no pi 2
01:21 blaise pi zero uses less than 1/4th of an amp, right?
01:21 Helwyr with a usb card rtl-sdr and a antenna homemade
01:21 blaise 200mv or something?
01:21 Helwyr 2 watts
01:22 blaise yeah, but what's the amperage
01:22 blaise 5 volts, so device that by two I guess
01:22 Helwyr on 5 volts ~ 300 mA
01:22 blaise 2.5 amps
01:22 blaise becuase volts times amps = watts
01:23 Helwyr no lesser max 0.5 A
01:23 Helwyr P = U * I
01:23 blaise so yeah.. like no power
01:23 Helwyr 2.5 watts @ 500mA
01:23 blaise you could run it off the solar panel ripped out of a cheap calculator from the dolar store
01:24 Helwyr like a phone charger
01:24 raymoo[m] can a calculator solar panel really produce 2 watts
01:24 Helwyr mm sora panel is the next step
01:24 raymoo[m] If that was true why wouldn't they use something cheaper, since it probably has even lower power requirements than an rpi zero?
01:25 blaise at 5 volts, it's nothing
01:25 blaise you generate more power dragging your feet across the carpet with socks on
01:25 blaise raymoo[m]: we're talking about the pi zero
01:25 Helwyr why not, solar panels
01:26 raymoo[m] blaise: is the pi zero less powerful than a calculator?
01:26 raymoo[m] I did say zero though
01:26 blaise yeah, a little dinky do panel with a craptacular lithium ion battery.. it would last forever
01:27 raymoo[m] so how much power does a cheap calculator draw
01:27 blaise raymoo[m]: no, it's computational power far exeedes a pos calculator from the dollar store
01:27 blaise raymoo[m]: probably close to three quarter amp at 8v
01:28 Hijiri then why should a cheap calculator's solar panel be enough
01:28 Hijiri by the way I am raymoo[m]
01:28 Hijiri I just have some problem where desktop notifications don't work properly and freeze applications that show them for a bit
01:28 blaise becuase 8 amps is not 5 amps and the rpi zero uses 200ma at 5v
01:29 blaise you could run two rpi zero off that crap solar panel
01:29 Helwyr my tinker take 2 A on compiling
01:29 Hijiri blaise: sorry, I didn't see your numbers for the calculator
01:29 Hijiri where did you get those numbers
01:29 Helwyr but 550 mA is correct for idle
01:29 blaise with a multimeter and current monitor
01:30 Hijiri ah
01:30 blaise the calculator doesn't use the full power the little panel produces
01:30 Helwyr no screen, no keyboard no wifi etc
01:30 blaise a lot of them have crappy nicad cell batteries in them for when there is low light conditions
01:31 blaise and I doubt that a properly installed wifi module would use much power
01:31 blaise the usb dongles are not efficient at all
01:32 Helwyr ok wifi don't take power i true
01:32 blaise but even then, if you need more power get a 5 pack of those crappy calculators and then you have 5 panels
01:32 Hijiri I am still surprised that a tiny solar panel can produce 2 watts from ambient lighting
01:33 Helwyr solar panels is the futur
01:33 Helwyr and now
01:33 blaise it pushes 8 volts
01:33 blaise some get better amps than others
01:34 blaise so it's a good idea to have a decent 18650 li-ion as a buffer
01:35 blaise and then use dc to dc converter to propery stage it from the solar panel/s
01:35 Helwyr good choice
01:36 blaise a friend and I built like 20 rpi machines in 5 gallon buckets and placed them around the city in trees to build a mesh wifi network
01:36 Helwyr in the UK ?
01:37 blaise no, in western north carolina, usa
01:37 Helwyr Ok
01:37 Helwyr nice project
01:37 blaise it's still running strong
01:37 lumberJuice blaise, what city. i'm in Asheville?
01:37 blaise people use it for all kinds of stuff
01:37 blaise lumberJuice: Hendersonville
01:37 blaise lol
01:38 lumberJuice nice, i think VanessaE lives in this neck of the woods too
01:38 blaise you're like right up 26
01:38 lumberJuice its a small world
01:38 blaise I moved up to maryland in 08 to try and get to know my mom before alzhiemers and wet brain takes her
01:39 blaise I drive down to visit every once in a while though
01:39 VanessaE lumberJuice: I do.
01:39 VanessaE Waynesville, to be more exact.
01:39 blaise I think VanessaE helped me set up my first minetest server way back in the day
01:40 lumberJuice probably so, i think VanessaE is a minetest OG
01:40 blaise I went to Edneyvill HS
01:40 lumberJuice (original gamer)
01:41 blaise they turned it into a police academy in 96
01:41 Helwyr the movie ?
01:41 blaise opened up north hendersonville
01:41 blaise no, they turned my old highschool into an actual police academy
01:41 lumberJ i didn't go to school up here, but i've been living here since 2003
01:42 blaise I cooked at the waffle house at the biltmore square mall for 2 years
01:42 blaise lol
01:42 lumberJ sweet
01:42 blaise cooked at the waffle house at the asheville airport for a year
01:43 lumberJ work that night shift?
01:43 blaise yeah
01:43 blaise I was at the asheville airport when the concord landed at the end of her maden voyage
01:43 blaise that sonic boom scared the crap out of me
01:44 blaise I was working at the berry patch cafe at the time as a cashier
01:45 lumberJ r.i.p. biltmore square mall
01:45 blaise what happened?
01:45 lumberJ its asheville outlets now
01:45 Helwyr I would like to live near an airport
01:45 blaise =O
01:45 Helwyr not for the niose but
01:45 lumberJ it was on its last leg anyway. hardly anyone shopped there
01:46 lumberJ now its super packed all the time
01:46 blaise and super expensive I well imagine
01:46 blaise even though the name would suggest otherwise
01:46 lumberJ eh, about normal
01:46 Helwyr what about "freeshops" ?
01:46 blaise yeah, but an outlet should be at bulk prices
01:47 Helwyr or dutyfree
01:47 lumberJ better than shopping in regular department store.
01:47 blaise Helwyr: they don't do that in usa
01:47 lumberJ You have to go to Goodwill outlet to buy in bulk :P
01:47 Helwyr oh no? i'm from europa
01:47 lumberJ Helwyr are you a freegan?
01:48 blaise unfortunetly, in the usa they will steal your clothes and try to sell them back to you if they think they can get away with it
01:48 Helwyr freegan ? idk
01:48 Helwyr i'm a poor geek
01:48 lumberJ freegans only consume free items
01:49 lumberJ they do a lot of dumpster diving :D
01:49 blaise up here there's a gettysburg outlet.. you don't have to buy in bulk, but you pay bulk prices
01:49 blaise so it's dirt cheap
01:49 Helwyr ok i am freegan too
01:49 blaise oh no
01:49 Helwyr no wast
01:50 * blaise makes sad face
01:50 Helwyr why ?
01:51 indiana are there any mods for this channel around right now?
01:53 * blaise jumps around waving his arms at anyone with the @ symbol in front of their nick names
01:53 lumberJ there are several indiana
01:53 blaise lol
01:55 indiana i'm looking to report something, so i'd like to find one who's currently active if possible (or at the very least, someone who's not a bot so they'll see the report later)
01:56 lumberJ they will see it.
01:57 lumberJ if its a technical issue, it would be best to make an issue on github though, most likely
01:57 indiana it's not technical
02:09 Cornelia joined #minetest
02:35 AndroBuilder joined #minetest
02:37 YuGiOhJCJ joined #minetest
02:45 YuGiOhJCJ joined #minetest
02:54 YuGiOhJCJ joined #minetest
03:10 CBugDCoder joined #minetest
03:11 CBugDCoder joined #minetest
03:25 AndroBuilder_ joined #minetest
03:29 indiana joined #minetest
03:37 wilkgr joined #minetest
03:42 el joined #minetest
03:55 paramat joined #minetest
04:04 Hawk777 joined #minetest
04:06 Billr joined #minetest
04:12 paramat joined #minetest
04:17 UCAdmin joined #minetest
04:24 Hawk777 joined #minetest
04:54 Darcidride_ joined #minetest
04:55 Elite-Epochs joined #minetest
04:56 Darcidride joined #minetest
05:03 nowhere_man joined #minetest
05:09 ssieb joined #minetest
05:43 H-H-H joined #minetest
06:13 blaise joined #minetest
06:37 paramat joined #minetest
06:50 aheinecke joined #minetest
07:34 Cork joined #minetest
07:37 bas080 joined #minetest
07:37 JMatZNC joined #minetest
07:53 Hawk777 joined #minetest
07:53 DMackey-Den joined #minetest
07:53 Billre joined #minetest
07:53 celeron55 joined #minetest
07:53 Robby joined #minetest
07:53 ericxdu[m] joined #minetest
07:53 Darkriser joined #minetest
07:53 grumble joined #minetest
07:57 aheinecke joined #minetest
07:57 imr joined #minetest
07:57 Taoki joined #minetest
07:57 MarisaG_ joined #minetest
07:57 Pie-jacker875 joined #minetest
07:57 Void7 joined #minetest
07:57 jff_[m] joined #minetest
07:57 aix joined #minetest
07:57 xenkey joined #minetest
07:57 snek joined #minetest
07:57 jbb[m] joined #minetest
07:57 jfred[m] joined #minetest
08:02 bas080 joined #minetest
08:02 blaise joined #minetest
08:09 CWz joined #minetest
08:22 celeron55 joined #minetest
08:22 DMackey-Den joined #minetest
08:22 Robby joined #minetest
08:22 Hawk777 joined #minetest
08:22 Darkriser joined #minetest
08:22 grumble joined #minetest
08:23 Billre joined #minetest
08:30 ensonic joined #minetest
08:33 Pie-jacker875 joined #minetest
08:33 imr joined #minetest
08:33 imr joined #minetest
08:33 aix joined #minetest
08:33 xenkey joined #minetest
08:33 Taoki joined #minetest
08:33 MarisaG_ joined #minetest
08:34 aheinecke joined #minetest
08:48 Void7 joined #minetest
09:00 bas080 joined #minetest
09:02 sameyepatch[m] joined #minetest
09:14 wilkgr joined #minetest
09:23 fireglow[m] joined #minetest
09:23 jff_[m] joined #minetest
09:23 Elon_Satoshi[m] joined #minetest
09:23 Wysteriary[m] joined #minetest
09:23 yusf joined #minetest
09:23 ericxdu[m] joined #minetest
09:23 Milan[m] joined #minetest
09:23 jfred[m] joined #minetest
09:23 raymoo[m] joined #minetest
09:23 silwol joined #minetest
09:23 desttinghim[m] joined #minetest
09:23 jbb[m] joined #minetest
09:23 M-anomie joined #minetest
09:23 snek joined #minetest
09:23 M-JLuc joined #minetest
09:24 Etzos[m] joined #minetest
09:24 LNJ[Ellenjott][m joined #minetest
09:24 celeron55 joined #minetest
09:37 Fritigern joined #minetest
09:46 Sigyn joined #minetest
10:05 t20kdc joined #minetest
10:24 Telesight joined #minetest
10:29 enricom joined #minetest
10:32 CWz joined #minetest
10:34 Wuzzy joined #minetest
10:35 Peppy joined #minetest
10:37 red-001 joined #minetest
10:39 fireglow !mod sauth
10:39 MinetestBot fireglow: SQLite Auth [sauth] by shivajiva - https://forum.minetest.net/viewtopic.php?t=18604
10:39 ensonic joined #minetest
10:44 t20kdc joined #minetest
10:45 paramat joined #minetest
11:15 bas080 joined #minetest
11:31 grumble joined #minetest
11:39 Sketch2 mornin'
12:14 fireglow shivajiva
12:15 fireglow hi, are you around?
12:15 fireglow having a bit of trouble with sauth
12:24 draco_kun joined #minetest
12:24 fireglow I'll post in the thread about it
12:25 fireglow Is there any support for non-sqlite-rollbackdbs yet?
12:30 derixithy @blaise i spawned in the ocean, can't find my way back, no coords...
12:31 M6HZ joined #minetest
12:32 fireglow derixithy: what happens if you type in /spawn ?
12:33 derixithy invalid command, tried it already
12:33 derixithy I'll explore a litle untill he is back
12:33 yusf How can I modify the default node particle spawner?
12:37 shivajiva hi fireglow
13:03 BillyS joined #minetest
13:03 BillyS joined #minetest
13:04 lumberJ joined #minetest
13:20 LazyJ joined #minetest
13:24 Telesight joined #minetest
13:37 yang2003 joined #minetest
13:37 YuGiOhJCJ joined #minetest
13:43 Sketch2 Does anybody know of a mod that lets you right-click an enemy with a tool/weapon for a different function?
13:45 Sketch2 it seems that everything I do doesn't return a 'pointed_thing' when aimed at an enemy
13:47 shivajiva what about invhack mod
13:48 shivajiva hmm or is that left-click
13:48 Sketch2 dunno, I'll look.  was looking at harrypotterwands
13:49 Sketch2 but that only targets at a distance
13:49 shivajiva idk that one
13:51 Sketch2 might have to do 2 tools.   1 weapon, 1 helmet
13:52 Sketch2 don't wanna, that'll slow the gameplay down, but I don't know if there's a trick to do it
13:53 Sketch2 I'll do it this way for now, then look into the right-click thing later
13:53 shivajiva fireglow: I've just tested sauth on a small authfile <3600 entries and on a large auth file >100k entries and it behaves as expected importing the first fully and dumping an sql file for the second
14:12 Sketch2 are 'animated inventory images' a thing?
14:12 BillyS I dont think so
14:17 Sketch2 Was hoping to make the energy blast wiggle
14:42 Sketch2 joined #minetest
14:46 Sketch2 think I figured out a way to animate weapon icon
14:57 BillyS nice
14:57 BillyS I didn’t know that was possible.
14:58 Sketch2 not sure yet.  trying to use a globalstep timer to change   minetest.registered_tools['paradroid:weapon'].inventory_image = 'bullet.png'
14:58 Sketch2 http://dev.minetest.net/minetest.register_globalstep
14:58 sfan5 that doesn't work
14:58 Sketch2 doesn't seem to
14:58 sfan5 item/node/whatever definitions are sent once at startup
14:59 sfan5 if you change what's stored inside minetest.registered_* you'll probably just confuse some parts of the server-side code
14:59 Sketch2 oh, ok.  no way to request a refresh?
14:59 sfan5 no
15:00 Sketch2 dang.  alright, well on to other things then
15:02 Sketch2 but hey, you can manipulate player inventory
15:02 Sketch2 I could register 2 items, then have it flip between 'em every 3rd of a second or so
15:11 Fixer joined #minetest
15:30 Sketch2 is  'minetest.settings'  userdata for the player?
15:38 Sketch2 print(dump(minetest.settings))   says it's <userdata>
15:38 sfan5 what?
15:38 Sketch2 but you can't do something like   minetest.settings:get_inventory()   as far as I can tell
15:40 Sketch2 I'm just trying to find out where the player inv is stored in that big minetest lua list
15:46 sfan5 <userdata> just means it's an object managed by the C++ code in minetest
15:46 Sketch2 that's what I was guessing
15:46 sfan5 what you're looking for is minetest.get_player_by_name(...):get_inventory()
15:47 Sketch2 oh ok, tyvm
15:48 Krock joined #minetest
16:01 MinetestBot [git] SmallJoker -> minetest/minetest: Registration dialog: Larger text field with scrollbars (#7047) 5741811 https://git.io/vAaB2 (2018-02-23T16:01:05Z)
16:03 MinetestBot [git] nOOb3167 -> minetest/minetest: CMakeLists use the source_group command to improve look and feel when… 4118e15 https://git.io/vAaBQ (2018-02-23T16:02:02Z)
16:03 MinetestBot [git] nOOb3167 -> minetest/minetest: CMakeLists pass windows sources (manifest and resource file) to execu… cbf891e https://git.io/vAaB7 (2018-02-23T16:02:02Z)
16:06 Taoki_1 joined #minetest
16:06 Sketch2 lmao.  had to do some loopy logic to achieve it, but it can be done
16:15 Sketch2 man, I kinda wanna reprogram mice into MicroMachines, then race 'em
16:17 Sketch2 would need some kinda look-ahead code, for them to sense the track
16:24 Sketch2 k, cool.  it's coming together.  might tweak a crossbow for bullet physics
16:26 nowhereman_ joined #minetest
16:27 Alcyone joined #minetest
16:28 Gael-de-Sailly joined #minetest
16:31 paramat joined #minetest
16:46 adfeno joined #minetest
17:06 Markow joined #minetest
17:12 raymoo[m] Sketch2: You can access a player's inventory from the player's ObjectRef
17:13 rubenwardy either    player:get_inventory()
17:13 rubenwardy or  minetest.get_inventory({ type = "player", name = player_name })
17:14 Sketch2 that second method would work.  the 1st can only be used from a callback, otherwise you have no 'player' to reference
17:15 rubenwardy well, you can do  minetest.get_player_by_name
17:15 rubenwardy but there's no need unless you need other stuff from player
17:15 rubenwardy like position
17:15 Sketch2 I ended up setting a variable when the player joins, and did that 3rd method
17:15 Sketch2 the 2nd is 'prolly better
17:16 raymoo[m] You can get a player's ObjectRef with minetest.get_player_by_name or all players with minetest.get_connected_players too
17:17 Sketch2 that's cool.  I'll keep that in the back of my mind for later
17:17 Sketch2 might need it for blasting everyone
17:18 Sketch2 one of the bots has a disruptor cannon
17:20 raymoo[m] There's also get_objects_in_radius
17:20 rubenwardy it's currently more efficient to use get_connected_players rather than get_objects_in_radius
17:20 Sketch2 even better.  does players and mobs?
17:20 Sketch2 oh, ok
17:20 Sketch2 then just do a loop and map distance?
17:21 rubenwardy yeah, make sure to do sq dists
17:21 rubenwardy avoid square roots as much as possible
17:21 rubenwardy as computers struggle with them
17:21 Sketch2 sq?  pythag
17:21 raymoo[m] Map distance?
17:21 raymoo[m] get_objects_in_radius gets both, btw
17:22 raymoo[m] What are you mapping
17:22 rubenwardy so do      local delta = vector.subtract(player:get_pos(), my_pos)
17:22 rubenwardy if delta.x*delta.x + delta.y*delta.y < 100 then   -- distance of 10 = 100
17:22 rubenwardy tbh
17:22 Sketch2 k, that's doable
17:22 rubenwardy hopefully get_objects_in_radius will be efficient by 0.5.90
17:22 rubenwardy oops
17:22 rubenwardy -9
17:22 rubenwardy so maybe it's best to use that
17:23 Sketch2 when's 0.5.90 due, 3rd quarter of 2032?
17:24 rubenwardy nah
17:25 Sketch2 oh man, my lil brain.  this is cool
17:25 rubenwardy !c 2018+90/2
17:25 MinetestBot 2063.0
17:25 rubenwardy given our current release schedule ^
17:25 rubenwardy I meant 0.5.0 though
17:26 Pie-jacker875 joined #minetest
17:28 Sketch2 Contemplating how to merge the crossbow bolts.  They're firing way above my head, 'cuz I got a mouse-eye view
17:28 Darcidride_ joined #minetest
17:31 Krock given to our release schedule 0.5.90 won't be released
17:32 Krock might however be something like 0.9.3 in 2063
17:33 Beton joined #minetest
17:34 red-001 2263 you mean?
17:35 nowhere_man joined #minetest
17:36 Tux[Qyou] joined #minetest
17:36 Krock no, the cooperation with the logic-aimed Vulcans would boost the version incredibly, way higher than 0.9.x
17:37 red-001 I see
17:41 Darcidride_ joined #minetest
17:44 bas080 joined #minetest
17:59 Sketch2 crossbpw bolts fly sideways
18:00 Sketch2 X coord is the long axis, whereas it ought to be Z
18:00 Sketch2 if it were going by MT coord system
18:05 bas080 joined #minetest
18:14 Sketch2 I won't fault him for it tho.  Does what it's supposed to.
18:14 Sketch2 Just wondering if putting in a new weapon model will skew things
18:16 whitephoenix joined #minetest
18:18 red-045 joined #minetest
18:18 ensonic joined #minetest
18:26 Sketch2 ugh.  the collisionbox for 'em doesn't rotate
18:27 Sketch2 'prolly for speed tho.  or if not, that's what I'm going with
18:28 lumberJ joined #minetest
18:29 Sketch2 problem is, at such tiny levels, the xbow bolts bounce backwards a block when they collide w/ the ground
18:33 imr joined #minetest
18:33 imr joined #minetest
18:52 loggingbot_ joined #minetest
18:52 Topic for #minetest is now Welcome to #minetest, official Minetest channel | Spam in PM? Do /umode +R | Latest version: 0.4.16 (2017-06-03) | Responses may take a while, be patient | Rules: http://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: http://minetest.net/servers | IRC logs: http://irc.minetest.net/minetest/
18:53 Elon_Satoshi[m] joined #minetest
18:53 silwol joined #minetest
19:07 bas080 joined #minetest
19:07 thePalindrome joined #minetest
19:10 MarisaG_ joined #minetest
19:11 loggingbot_ joined #minetest
19:11 Topic for #minetest is now Welcome to #minetest, official Minetest channel | Spam in PM? Do /umode +R | Latest version: 0.4.16 (2017-06-03) | Responses may take a while, be patient | Rules: http://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: http://minetest.net/servers | IRC logs: http://irc.minetest.net/minetest/
19:18 Sketch2 woo, have some kinda blaster bolt going on now
19:19 Sketch2 there's a reload function I need to get rid of
19:19 Sketch2 fire on every click, not every-other
19:20 YuGiOhJCJ joined #minetest
19:29 bas080 joined #minetest
19:32 blaise_ joined #minetest
19:33 blaise_ joined #minetest
19:51 YuGiOhJCJ joined #minetest
20:20 Sketch2 trying to get mice to spawn indoors
20:22 Lone-Star place a spawner in the house
20:22 bas080 joined #minetest
20:25 Sketch2 well I changed the  nodes they spawn on to 'wool:dark_grey' so they ought'a
20:30 Sketch2 ceiling's made of wool too tho, so maybe they're spawning up there instead :P
20:36 erudition joined #minetest
20:42 ensonic joined #minetest
20:47 morpho_ joined #minetest
21:07 twoelk joined #minetest
21:16 Sketch2 if only I could get these mice to spawn indoors
21:16 Sketch2 then it'd be a halfway decent game
21:18 bas080 joined #minetest
21:33 Sketch2 I 'prolly typo'd something in the code.  just d/l again and start fresh
21:40 rud0lf is it proper place for asking mod developement related questions? and if not, could you please point me toward a right direction?
21:44 Sketch2 it's ok.  if there's a better spot, we'll direct you
21:45 rud0lf i've hit a mental bottom trying to enumerate registered player names
21:45 Sketch2 sometimes we know the answers, but sometimes ya gotta bounce to the forums or GitHub
21:45 Sketch2 yea?
21:45 rud0lf for player, _ in pairs(minetest.auth_table) do -- looks weird
21:46 Sketch2 well, it's a  "key, value"  pair.  in that regard, value is unnamed, so it would be unused
21:46 Sketch2 do you only need the key?
21:46 rud0lf just the key, which is player name
21:47 rud0lf i wonder if auth_table is legal way to gather the names
21:47 Sketch2 um.  one sec
21:47 Sketch2 it was pointed out to me just earlier today
21:47 rud0lf it's inner logic of auth.lua, and it's not documented to be official way
21:48 Sketch2 try   minetest.get_connected_players  instead
21:48 rud0lf but i mean all accounts
21:48 Sketch2 oh.  hmm, well if it's a lua table
21:49 Sketch2 just do   print(dump(minetest.auth_table))   and look at the console output
21:49 rubenwardy don't use in logic of auth_lua
21:50 rubenwardy argh
21:50 rubenwardy don't depend on minetest.auth_table or how auth.lua works
21:50 rud0lf it doesn't provide iterate :(
21:50 rubenwardy your mod will be broken
21:50 rud0lf that's why i'm asking here
21:50 rubenwardy there's no guarantee that it will stay the same, and it definitely won't work with better auth handlers like sauth
21:51 rubenwardy why do you need to iterate through the users?
21:51 rud0lf no particular need atm
21:51 Gael-de-Sailly joined #minetest
21:53 rud0lf rubenwardy: btw, many thanks for such detailed introduction to minetest modding.. it's awesome :)
21:54 Sokomine joined #minetest
21:55 CBugDCoder joined #minetest
21:55 MrBlueEyes joined #minetest
22:00 MrBlueEyes Hello
22:03 rud0lf hi
22:03 MrBlueEyes How are you
22:04 Shakira MrBlueEyes: Ola guapo
22:11 Sketch2 oh, 'chance' is inverted in mobs
22:11 Sketch2 that's why nothing was spawning
22:20 red-045 well elitebnc is down again?
22:21 corsehock joined #minetest
22:25 red-001 joined #minetest
22:29 morpho__ joined #minetest
22:43 LazyJ joined #minetest
22:48 LazyJ joined #minetest
22:56 Tux[Qyou] joined #minetest
23:38 blaise_ wow, I really want to use streets mod but it's b0rKeD
23:39 blaise_ =(
23:42 Sketch2 any functional forks?
23:43 LazyJ Which version of Streets: cheapie's or webdesigner97's?
23:50 Sketch2 neither, it was Sega's version: Streets of Rage
23:50 LazyJ Ooo... haven't heard that title in ages.
23:50 Sketch2 lols
23:51 LazyJ I had a Sega CD back in the day.
23:51 Sketch2 ahh sweet
23:52 Billre left #minetest
23:53 Sketch2 if you get one of 'em running, lemme know blaise_
23:53 blaise_ say what?
23:53 Sketch2 I might throw some track down & race some mice later on
23:54 Sketch2 Lazy says there's two track mods
23:54 Sketch2 which one was borked?
23:55 blaise_ https://forum.minetest.net/viewtopic.php?t=2984
23:55 blaise_ that one
23:55 blaise_ lol
23:56 blaise_ apparently cheapie had a hand in it too
23:56 blaise_ which was why I was confused
23:56 Sketch2 https://forum.minetest.net/viewtopic.php?t=13904
23:56 blaise_ the villages road material is too much like gravel
23:57 blaise_ so I wanted to replace it with asphalt
23:58 blaise_ Sketch2: clearly what you're pointing me to is a much better choice
23:58 blaise_ thank you
23:58 blaise_ I don't know why that didn't come up on my searches

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