Minetest logo

IRC log for #minetest, 2018-07-12

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

All times shown according to UTC.

Time Nick Message
00:00 entuland joined #minetest
00:05 ehlodex_ joined #minetest
00:24 Cornelia joined #minetest
00:36 ManElevation how do i make it so that when your at 0,1100,0 your breath goes down like if you were in water?
00:37 entuland there should be some facility that let you run some code every n time, ManElevation
00:38 entuland and probably some variable to lower the oxygen bar
00:39 entuland set_breath() on the player object will tackle that
00:39 entuland https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4920
00:40 entuland I'm not able to find any "free" timer you could run though, only attached to nodes
00:41 Cornelia joined #minetest
00:41 entuland ah
00:42 entuland register_globalstep() probably: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3421
00:42 ManElevation hum..
00:42 entuland then you just need to check for the player position
00:42 ManElevation could i make a air node?
00:42 entuland sure you can
00:42 entuland I'm not sure it's the best way to tackle that
00:43 ManElevation hum... idk ill see
00:43 ManElevation btw thx
00:43 entuland the idea you had should work, with the above facilities
00:43 entuland yw
00:51 ManElevation i found this, its from basic_machines mod, it takes breath of you and kills you if you are not in a protected radius
00:51 ManElevation https://pastebin.com/49WFS1BQ
00:51 ManElevation well i can just change just for my new mod https://forum.minetest.net/viewtopic.php?f=9&t=20462
00:51 ManElevation joined #minetest
00:51 ManElevation joined #minetest
00:52 ManElevation and change player:set_hp(hp-10); to player:set_breath(-10);
01:04 swift110 joined #minetest
01:21 swift110 joined #minetest
01:23 TheWolf joined #minetest
01:37 lumberJ joined #minetest
01:39 Scotty_Trees joined #minetest
01:43 stormchaser3000 joined #minetest
01:46 TheWolf_ joined #minetest
02:24 twoelk left #minetest
02:50 ehlodex joined #minetest
02:56 rdococ joined #minetest
03:15 shacharr joined #minetest
03:21 ehlodex joined #minetest
04:07 ssieb joined #minetest
04:07 Ruslan1 I have run time error how to fix it
04:14 lumberJ joined #minetest
04:19 ehlodex joined #minetest
04:23 whitephoenix joined #minetest
04:31 jluc joined #minetest
04:40 rdococ joined #minetest
05:04 DanPete_ joined #minetest
05:31 illwieckz_ joined #minetest
05:44 riff-IRC joined #minetest
05:49 comrad joined #minetest
06:28 CWz joined #minetest
06:36 sonicpp joined #minetest
07:22 ehlodex_ joined #minetest
07:50 DanPete_ joined #minetest
07:54 MinetestBot [git] lhofhansl -> minetest/minetest: Reduce block load glitches ba7cf30 https://git.io/fNLf7 (2018-07-12T07:54:00Z)
07:54 DanPete_ Can someone help me with this error: ERROR[Main]: /home/dan/.minetest/mods/minetest_toolranks_master/init.lua:116: Attempt to override non-existent item default:pick_diamond
07:55 DanPete_ I think I have all the dependencies installed so I am not sure what the problem is
07:59 lumberJ DanPete_ Assuming default:pick_diamond is the right item name, you probably need to add default to depends.txt
08:02 DanPete_ Hmm, I am having multiple problems the same thing is happening with Ethereal NG - but with default item pine_needles.
08:02 DanPete_ Are many of the mods outdated and I shouldn't try using them?
08:03 sfan5 it looks like the mod you're using is not made to support Ethereal NG (or anything that isn't minetest_game really)
08:03 lumberJ no, i would guess something is wrong with your installation
08:04 DanPete_ This is the full error: 2018-07-12 11:01:49: ERROR[Main]: ModError: Failed to load and run script from /home/dan/.minetest/mods/ethereal/init.lua:
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /home/dan/.minetest/mods/ethereal/leaves.lua:36: Attempt to override non-existent item default:pine_needles
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: stack traceback:
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: [C]: in function 'error'
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:389: in function 'override_item'
08:04 lumberJ could be mod compatibility
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /home/dan/.minetest/mods/ethereal/leaves.lua:36: in main chunk
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: [C]: in function 'dofile'
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /home/dan/.minetest/mods/ethereal/init.lua:89: in main chunk
08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: Check debug.txt for details.
08:04 lumberJ please post that in pastebin next time
08:04 DanPete_ Oh sorry, oops
08:05 wilkgr joined #minetest
08:05 DanPete_ I'm trying to use it on Voxelgarden, but it is the same erros on minetest too. Am I probably just using conflicting mods?
08:05 ehlodex joined #minetest
08:07 lumberJ i'm assuming voxelgarden has different mods than minetest game or has removed items so the mods aren't compatible
08:08 lumberJ if they aren't working on minetest game, they are perhaps mutually incompatible. i would test each one independently on a fresh world and see if they still don't work
08:09 DanPete_ Alright, thank you.
08:10 lumberJ there is no diamond pick in voxelgardens
08:10 lumberJ so that is that issue
08:10 DanPete_ Oh, hmmm, so can I add it with a different dependency, or it's not possible?
08:11 lumberJ you would just have to keep modifying toolranks until it works probably
08:11 DanPete_ Oh, I see
08:11 lumberJ if you commented out the code for the items that don't exist in voxel it might work
08:12 wilkgr joined #minetest
08:12 lumberJ but i'm not intimately familiar with either one's code base so i can't say for sure
08:12 DanPete_ does diamond pick even exist in Minetest-game? Because I am getting the same error.
08:13 lumberJ yes
08:14 lumberJ no other mods it could be conflicting with?
08:14 DanPete_ Yes, probably other mods conflicting... I got too excited and put a lot in. :)
08:14 DanPete_ So, I'll just have to clean it up I guess.
08:15 lumberJ add the ones that effect the map first
08:15 lumberJ affect*
08:15 lumberJ then one at a time add the others and debug as you go
08:15 lumberJ will probably make it a little less frustrating
08:19 DanPete_ Great, yea that sounds like a good idea. Thanks
08:20 sfan5 DanPete_: ethereal tries to change how pine needles work, but voxelgarden doesn't have these
08:20 sfan5 which is why i'm guessing that only minetest_game is supported
08:20 ehlodex joined #minetest
08:21 DanPete_ Oh, I see so I'd have to use minetest. Is voxelgarden equivalent to a modpack almost?
08:21 DanPete_ It seems more fun than minetest, but I assume I can just add all its features through separate mods?
08:22 DanPete_ I'm very new to minetest, just installed it yesterday.
08:22 lumberJ its a game, so its sort of meant to be more self contained
08:22 lumberJ where as minetest_game is sort of just a base game that is more suited to mod on top of
08:23 DanPete_ Oh, alright. So, it'd be less frustrating doing the mods in minetest
08:23 lumberJ other games can be modded the same way, but as you have found many mods are not written with the intention of supporting every game
08:31 nowhere_man joined #minetest
08:31 lumberJ you should be able to add many mods to minetest_game without problems
08:33 DanPete_ Perfect, sounds fun. Thanks for the help
08:33 lumberJ no problem. have fun
08:39 sfan5 !wiki Subgames
08:39 MinetestBot "With Minetest you can run and play games (previously called “subgames”), which are complete playable interactive experiences." - http://wiki.minetest.net/Subgames
08:39 sfan5 ^ DanPete_
08:53 DanPete_ Thanks! Anyone know of a good mod to implement stamina/hunger?
08:56 lumberJ I'd probably use this: https://forum.minetest.net/viewtopic.php?t=19675
08:56 DanPete_ Thanks
09:09 nowhere_man joined #minetest
09:09 Fulgen joined #minetest
09:13 proller joined #minetest
09:26 nowhere_man joined #minetest
09:27 ManElevation joined #minetest
09:30 Tux[Qyou] joined #minetest
09:32 rubenwardy Games not subgames, sfan5
09:32 rubenwardy ;)
09:32 nowhere_man joined #minetest
09:32 Tux[Qyou] joined #minetest
09:33 craigger joined #minetest
10:16 wilkgr joined #minetest
10:17 proller joined #minetest
10:35 ehlodex joined #minetest
10:41 ianaca left #minetest
10:48 proller joined #minetest
10:48 epony joined #minetest
10:48 Fixer joined #minetest
10:48 entuland joined #minetest
11:13 Fixer joined #minetest
11:19 TheWolf joined #minetest
11:19 troller joined #minetest
11:29 troller joined #minetest
11:31 Fulgen joined #minetest
11:41 H-H-H joined #minetest
11:42 nowhere_man joined #minetest
11:48 calculon joined #minetest
11:51 DanPete_ joined #minetest
11:52 Darcidride joined #minetest
12:04 Fulgen joined #minetest
12:19 progysm joined #minetest
12:26 lumberJ joined #minetest
12:27 TheWolf joined #minetest
12:31 cx384 joined #minetest
12:40 ensonic joined #minetest
12:44 ehlodex_ joined #minetest
12:48 illwieckz joined #minetest
12:56 illwieckz joined #minetest
12:58 troller joined #minetest
13:04 Ruslan1 joined #minetest
13:09 illwieckz joined #minetest
13:11 AndroBuilder joined #minetest
13:46 Jousway joined #minetest
13:51 troller joined #minetest
14:01 [k00l]shamoanjac joined #minetest
14:01 illwieckz joined #minetest
14:18 viv796 joined #minetest
14:24 viv796 left #minetest
14:51 Copenhagen_Bram joined #minetest
14:51 Lupercus joined #minetest
15:02 Akberid joined #minetest
15:12 lumberJ joined #minetest
15:18 snowmondaykernel joined #minetest
15:22 antims joined #minetest
15:27 Corvus_ joined #minetest
15:27 illwieckz joined #minetest
15:44 troller joined #minetest
16:02 illwieckz joined #minetest
16:08 swift110 joined #minetest
16:15 ehlodex joined #minetest
16:22 illwieckz joined #minetest
16:24 ehlodex joined #minetest
16:25 garywhite joined #minetest
16:39 Astrobe joined #minetest
16:41 Astrobe I'm overriding the on_use callback of the "hand tool". What should I call if my override action is not applicable, to get the default behavior?
16:41 dracon joined #minetest
16:49 troller joined #minetest
16:50 illwieckz joined #minetest
16:55 illwieckz joined #minetest
17:04 ANAND joined #minetest
17:06 illwieckz joined #minetest
17:07 Tux[Qyou] joined #minetest
17:08 ehlodex_ joined #minetest
17:09 dabbill joined #minetest
17:27 Ruslan1 joined #minetest
17:32 lumberJ joined #minetest
17:32 whitephoenix joined #minetest
17:42 Pie-jacker875 joined #minetest
17:46 ehlodex joined #minetest
17:52 illwieckz joined #minetest
17:56 illwieckz joined #minetest
18:00 ssieb joined #minetest
18:01 ehlodex joined #minetest
18:20 Fulgen joined #minetest
18:28 [k00l]shamoanjac hey, I'm hosting a server and for some reasons players don't have health
18:28 [k00l]shamoanjac but it's not creative
18:28 [k00l]shamoanjac why could that be?
18:30 entuland damage disabled?
18:31 var-g joined #minetest
18:41 [k00l]shamoanjac yes, but how do I enable it?
18:41 [k00l]shamoanjac is it in world.mt?
18:42 [k00l]shamoanjac nvm I found minetest.conf
18:49 entuland never ran a server using the command line or the alike, just tested them from the GUI by flagging "creative" or "enable damage"
18:50 ehlodex_ joined #minetest
18:54 snowmondaykernel Is it possible to convert lua code to lua assembler from cross-platform mod?
18:55 rubenwardy Lua is cross platform
19:00 YuGiOhJCJ joined #minetest
19:07 Astrobe The question makes little sense. Basically lua is a bytecode-based interpreted language. Whay you get when using luac is bytecode, not machine code.
19:08 snowmondaykernel i saw lua assembler utils, but not sure if they have binary dependencies
19:08 Astrobe However, there exists what is called a "JIT", something that compiles on-the-fly lua code into machine code, when running the code.
19:09 nowhere_man joined #minetest
19:11 snowmondaykernel joined #minetest
19:14 snowmondaykernel i would like to create something like computercraft so i need to interpret lua inside of lua. Also i need to be able to split that lua to small parts to save running state of robot
19:17 snowmondaykernel https://github.com/efrederickson/LuaAssemblyTools that is what i found but no idea about it's api
19:19 entuland joined #minetest
19:24 Astrobe oh, right. They use the term "assembler" because the bytecode is actually like machine code for a "Lua virtual machine".
19:24 Astrobe Slightly confusing, but not wrong.
19:30 Astrobe In my opinion, I don't think that yet another "learn to code" mod is a good idea - especially if the learning language is Lua. Modding MT with Lua is already a good and fun way to learn to code.
19:31 swift110 joined #minetest
19:31 snowmondaykernel it's not "learn to code", it's "make robot do boring things for you"
19:32 snowmondaykernel Also, unlike mod writing, you can distribute code more easily to players of same server
19:40 Astrobe I can see that building bridges, tunnels, roads etc. can be boring. Personally I'm looking for ways to let vets contract with newcomers to do that kind of thing.
19:41 Astrobe Hopefully it's less boring to new players in particular when they get "paid" for it.
19:41 [k00l]shamoanjac >arrive home after entire day of being paid for completing a task
19:42 [k00l]shamoanjac >go on computer and get paid virtual money for completing a virtual task
19:42 [k00l]shamoanjac cmon let me have a break from Capitalism
19:42 Astrobe :D
19:43 Astrobe You know how players sometimes say "I'm working on my new weapon", meaning they are grinding some stuff for hours to get the necessary components or gold or whatever?
19:43 chicken joined #minetest
19:43 chicken message
19:43 chicken oops
19:45 Astrobe That said it's more about promoting interaction between players - and even roleplay - than learning capitalism the hard way.
19:46 Astrobe We're talking about an online multiplayer game after all; what's the point if everyone does their own thing in their corner of the world?
19:47 [k00l]shamoanjac I agree
19:48 sonicpp joined #minetest
19:48 Shara When the server is full of children, the point is my sanity :D
19:51 Shara Some people just choose servers over singleplayer so they can benefit from someone else (who hopefully knows what they are doing) handling mods and updates.
19:53 Astrobe I didn't think about that.
19:53 Shara You can also get people who don't want to interact, but do want to build something where it will be seen by others
19:54 ensonic joined #minetest
19:54 Shara It doesn't mean you shouldn't promote interaction though - it would be good to see more that does that
19:55 Astrobe Actually if they want to show but don't interact, there's an interesting contradiction there.
19:55 Shara Not really.
19:56 Shara An artist might not like chatting while they paint, but might very much want their work on a wall to be seen after they are far away
19:58 snowmondaykernel eventual minigames would be more pleasurable way of interaction
19:59 Astrobe Yes, it's the same thing. Yet showing something you've done is a form of communication, even if it's disconnect in space and time.
19:59 Astrobe The only gap is that interaction is communication both ways.
20:01 Shara I can't be bothered to argue definitions, sorry :)
20:03 Shara I would love to see more minigames and things anyway
20:04 Astrobe Ah! my brains hurts anyway.
20:04 Shara Plural? :D
20:06 ensonic joined #minetest
20:07 Astrobe https://www.scientificamerican.com/article/gut-feelings-the-second-brain-in-our-gastrointestinal-systems-excerpt/
20:07 Astrobe Ate something bad, so the second brain hurts too :D
20:07 Shara :D
20:09 proller__ joined #minetest
20:11 TheWolf joined #minetest
20:13 ehlodex joined #minetest
20:14 AndroBuilder joined #minetest
20:15 Astrobe Maybe something inspired from SuperMario? Some players would build levels with blocks and simple mobs, others would play them.
20:15 Astrobe Already doen I bet.
20:18 Astrobe Or maybe something like Solomon's key: https://en.wikipedia.org/wiki/Solomon%27s_Key
20:23 swift110 that would be cool
20:28 illwieckz_ joined #minetest
20:29 Fixer joined #minetest
20:39 nowhere_man joined #minetest
20:40 Fixer_ joined #minetest
20:50 Gael-de-Sailly joined #minetest
21:11 H-H-H joined #minetest
21:13 TheWolf joined #minetest
21:14 proller joined #minetest
21:54 lumberJ joined #minetest
21:55 Pie-jacker875 joined #minetest
21:57 TheWolf joined #minetest
22:15 proller joined #minetest
22:23 nowhere_man joined #minetest
22:23 Lupercus joined #minetest
22:27 nowhere_man joined #minetest
23:09 troller joined #minetest
23:21 paramat joined #minetest
23:40 wilkgr joined #minetest
23:48 whitephoenix joined #minetest
23:50 nowhereman_ joined #minetest

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