Minetest logo

IRC log for #minetest-hub, 2018-12-30

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

All times shown according to UTC.

Time Nick Message
00:05 benrob0329 joined #minetest-hub
00:15 rdococ hmm
00:17 rdococ "Items" are rigid entities that may only vary in properties like type and tool wear, which makes it difficult for innovation to occur in an economy-based server.
00:18 rdococ I want to find ways around this, either by adding more variables (in the form of item metadata) and a complex system for creating tools where these properties vary, or with something else entirely.
00:19 rubenwardy That would be cool
00:19 rubenwardy I was planning on having quality tiers, and then research used to unlock things
00:19 rubenwardy For example, researching new clothes
00:20 rubenwardy It's hard to do true innovation though
00:20 rubenwardy But a research system helps
00:55 tumeninodes joined #minetest-hub
00:55 tumeninodes sofar: is there a way to stop mcimport via terminal?
01:33 ANAND joined #minetest-hub
02:55 luk3yx How can I get minetest.localplayer from a CSM on MT 0.5? "minetest.register_on_connect()" doesn't work.
03:00 luk3yx minetest.send_chat_message doesn't error but silently ignores messages.
03:01 ssieb joined #minetest-hub
05:18 GreenDimond joined #minetest-hub
05:47 tumeninodes joined #minetest-hub
05:48 tumeninodes any forum mods who might be awake, want to remove the images, etc from this members post? https://forum.minetest.net/viewtopic.php?p=339376#p339376
05:48 tumeninodes bad enough kids prob find this stuff on their own without being pointed to it from here
05:49 tumeninodes the point could have been made without the direct references
05:53 tumeninodes disregard, it was promptly taken care of :)
06:06 FrostRanger joined #minetest-hub
07:09 Ruslan1 joined #minetest-hub
07:20 FrostRanger left #minetest-hub
07:33 CWz joined #minetest-hub
08:35 Krock joined #minetest-hub
11:20 ANAND joined #minetest-hub
11:24 aerozoic joined #minetest-hub
11:49 Fixer joined #minetest-hub
12:18 CWz joined #minetest-hub
12:56 ANAND joined #minetest-hub
13:11 Krock joined #minetest-hub
13:26 ANAND Is it possible to make a function passed to minetest.after return something?
13:30 ANAND I'm running minetest.after in a loop, and I want to pass the value returned by minetest.after in one iteration to the next.
13:30 Krock if it were C/C++ I'd suggest to use local static variables
13:30 Krock global variable then.
13:31 Krock return global_var = my_returnvalue / magic;
13:31 Krock not sure if that works as expected
13:31 ANAND I'll try it out, thanks
13:32 rubenwardy pipelines!
13:33 Krock pipelines in Lua?
13:33 rubenwardy huh, I can't find my code snippet
13:33 rubenwardy I wrote a lua library where you gave it a list of functions, and it would pass the results of one into the next
13:34 rubenwardy https://gist.github.com/rubenwardy/ca8b39276dd53aad5a7a1996fe0e84c9
13:34 rubenwardy ANAND ^
13:34 ANAND Oh cool
13:35 rubenwardy pipeline(INTERVAL, LIST_OF_FUNCS)
13:35 ANAND Neat
13:36 Krock you could use that pipeline function to write a RPN interpreter in Lua
13:37 Krock eh, not an interpreter but calculator would work
13:41 jluc joined #minetest-hub
14:04 Gael-de-Sailly joined #minetest-hub
14:15 jluc joined #minetest-hub
15:13 IhrFussel joined #minetest-hub
15:14 IhrFussel Hi guys... I need some kind of math formular that ensures that for example a L.1 player who kills another L.1 gets more EXP than a L.5 when they kill a L.1 ... so basically the higher player1 is the less they should get for killing lower levels
15:28 _Xenon joined #minetest-hub
15:29 Krock IhrFussel: https://en.wikipedia.org/wiki/Elo_rating_system
15:31 T4im https://en.wikipedia.org/wiki/Glicko_rating_system
15:37 CWz joined #minetest-hub
16:13 jluc joined #minetest-hub
17:17 BillyS How do I spawn a dropped item?
17:18 BillyS Ive gotten to the minetest.add_entity(<pos>, "__builtin:item") part, but I don't know how to make it a specific item
17:18 BillyS I'm guessing I have to pass it some staticdata ...
17:25 BillyS oh, staticdata is a string, not a table
17:25 BillyS derp
17:42 Krock add_item(pos, itemstack)
17:43 Krock builtin entities have API functions
17:43 Krock falling node has spawn_falling or something similar
18:23 Ruslan1 joined #minetest-hub
18:42 luk3yx Don't think anyone saw my last message, but in (my build of) MT 5.0, CSMs are broken and can't register_on_connect and sent chat messages are ignored.
18:44 Krock disable the CSM restrictions or edit your client to play on multiplayer
18:44 Krock broken by design (TM)
18:44 * luk3yx did disable the CSM restrictions unless 5.0 has more in place
18:46 Krock set the setting to 0
18:46 Krock csm_restriction_flags = 0
18:47 luk3yx Oh, I see
18:48 Krock did it fix your issue?
18:48 luk3yx Going to try it
18:51 luk3yx It works.
18:51 * luk3yx set it to 60 after reading the description
18:52 Krock !next
18:52 MinetestBot Another satisfied customer. Next!
18:52 luk3yx Actually™,
18:52 luk3yx Why aren't CSMs restricted by signature (maybe sha256sum the whole mod) as well?
18:53 Krock who would check the signature?
18:53 Krock in open-source projects the server has no control about what the client does
18:53 Krock it can only restrict it so that the actions are similar to a regular player
18:56 Krock so you would be kinda developing anticheat and realistic NPCs at the same time
19:17 Calinou Krock:  I don't, I was just linked the comment on Discord
19:19 Krock oh okay. So someone on Discord is reading Reddit
19:21 Calinou pretty much
19:21 Calinou I browse subreddits by proxy, I guess :P
19:22 Krock human proxy
19:36 CWz joined #minetest-hub
19:41 IhrFussel There is no way for a particle to ignore certain nodes for collision detection correct?
19:41 IhrFussel I find no callback for something like that
19:42 Krock no, neither can you change it for any objects or players
19:42 Krock collision applies the same for all nodes
19:45 IhrFussel Just what I thought...one of my players asked me if I could let the "smoke" go through nodes with holes in them
19:45 IhrFussel For their chimney
20:18 lumberJ joined #minetest-hub
20:29 scr267 joined #minetest-hub
21:21 T4im joined #minetest-hub
22:02 rdococ I'm working on a "base 12" currency mod with denominations of 1, 2, 6, 12, 24, 72, etc.
22:51 Fixer https://twitter.com/catovitch/status/1079489087680086016
23:01 Gael-de-Sailly joined #minetest-hub

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