Minetest logo

IRC log for #minetest-hub, 2019-04-07

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

All times shown according to UTC.

Time Nick Message
00:00 Fixer [win98 theme intro kicks in]
01:33 benrob0329 joined #minetest-hub
02:37 ANAND joined #minetest-hub
03:33 GreenDimond joined #minetest-hub
06:42 CWz joined #minetest-hub
09:17 _Xenon joined #minetest-hub
09:48 Krock joined #minetest-hub
09:52 Emerald2 Krock o/
10:00 Krock o/ Emerald2
10:03 ANAND o/ Krock & Emerald2
10:03 Emerald2 o/ ANAND
10:04 kaeza joined #minetest-hub
10:08 ANAND joined #minetest-hub
10:16 Krock o/ Amaz
10:16 Krock o/ ANAND
10:17 ANAND Krock: https://github.com/minetest/minetest/pull/8409#discussion_r272823570 (If you haven't seen it yet) :)
10:19 Krock well, you can't iterate well through unordered maps
10:19 Krock since the ordering is not guaranteed
10:19 Krock using vectors you can use .find() to check whether it's in the set
10:20 Krock and there are a few more enums which have a _MAX value to indicate the end
10:20 ANAND How about std::map?
10:20 Krock oh. or just iterate through es_CameraModes lol
10:20 Krock since it contains all possible combinations
10:20 Krock i.e. wait for null termination
10:20 ANAND XD
10:22 ANAND Much cleaner, I like it
10:24 kaeza joined #minetest-hub
10:33 Fixer joined #minetest-hub
11:37 Fixer Calinou: poke, https://forum.minetest.net/viewtopic.php?f=42&t=15802
11:42 kaeza joined #minetest-hub
11:45 calcul0n_ joined #minetest-hub
12:37 Fixer this reminds me of giant water ocean griefs in Just Test server http://youtube.com/watch?v=1AEG8QBG3_E
12:54 NathanS21 joined #minetest-hub
13:10 Peppy joined #minetest-hub
13:10 IhrFussel joined #minetest-hub
13:11 IhrFussel Hi guys...how is this possible to crash the server? The nil check has already passed at this point:
13:12 IhrFussel LINE 73 if entity.driver LINE 74 and entity.driver == player then LINE 75 entity.driver = nil LINE 76 end
13:12 IhrFussel The crash is in line 74
13:13 IhrFussel 'entity' is apparently nil but passed line 73??
13:15 IhrFussel Here the full error 'mount.lua:74: attempt to index local 'entity' (a nil value)'
13:15 rubenwardy the error is on line 73
13:15 IhrFussel Why does lua tell me 74?
13:16 rubenwardy you probably meant       if entity and entity.driver == player then
13:16 rubenwardy because Lua is sill
13:16 rubenwardy y
13:16 IhrFussel Does lua internally merge lines if they contain conditions?
13:16 rubenwardy maybe
13:16 rubenwardy LuaJIT is more likely too
13:18 IhrFussel Okay then...well I already thought that the missing 'if entity and' is the culprit...lua's error just threw me off...thanks then^^
13:25 DI3HARD139 joined #minetest-hub
13:29 xerox123 joined #minetest-hub
13:52 Rafi59 joined #minetest-hub
14:02 TommyTreasure joined #minetest-hub
14:02 TommyTreasure joined #minetest-hub
14:14 aerozoic joined #minetest-hub
14:41 scr267a joined #minetest-hub
15:00 Ganome317 joined #minetest-hub
15:28 FrostRanger joined #minetest-hub
15:46 IhrFussel Some players go so far and retype 2 commands every 20 seconds just to be able to fly for free (usually you must pay on my server to have fly)
15:47 IhrFussel That was fixed now, but it can't imagine how tedious this must've been to abuse this exploit
15:47 IhrFussel but I*
15:47 VdjangoV joined #minetest-hub
15:47 Krock uhm.. csms?
15:48 VdjangoV left #minetest-hub
15:49 IhrFussel Could be used but makes it very obvious in the chat log... the players had to reduce the typing as much as possible to not flood the log with those commands
16:44 IhrFussel So...you can ride your boat through unloaded mapblocks
16:44 IhrFussel The game just stutters a lot when doing it
17:20 ANAND_ joined #minetest-hub
17:37 diemartin joined #minetest-hub
17:48 srifqi joined #minetest-hub
18:54 Miner_48er joined #minetest-hub
19:49 Ganome317 joined #minetest-hub
19:54 sofar how do you cleanup a chernobylite grief in survival, lol?
20:37 Fixer what?
22:08 Fixer_ joined #minetest-hub
22:15 Peppy joined #minetest-hub
22:23 Fixer joined #minetest-hub
22:41 TommyTreasure is there a tutorial on adding mods to stairsplus?  seems like one of my homedecor updates broke some of my xtraores stairs
22:44 srifqi left #minetest-hub
23:05 NathanS21 Probably not a tutorial, but I think you just need to use the API.
23:05 NathanS21 I helped somebody with this a while back.
23:05 NathanS21 let me find the message I sent them.
23:09 NathanS21 hmm, too many ways I talk with people. LOL
23:09 NathanS21 I'll just go dig in the code.
23:11 NathanS21 ah, you'll find it in moreblocks/stairsplus/stairs.lua
23:12 NathanS21 stairsplus:register_stair(modname, subname, recipeitem,fields)
23:12 Fixer rubenwardy: wake up :}
23:12 NathanS21 or stairsplus:register_all(modname, subname, recipeitem, fields)
23:13 NathanS21 if you want to register all the stairs, slabs, slopes, panels, and microblocks.
23:13 rubenwardy Qué
23:14 Fixer rubenwardy: i've noticed one probRem in CDB, those releases lag, for example a bug was fixed in maptools, lots of time passed, CDB has old version, ???
23:14 Fixer this part worries me
23:14 rubenwardy Who is maptools by?
23:15 Fixer rubenwardy: calinou https://github.com/minetest-mods/maptools/pull/7
23:15 Fixer it says in Releases: 2018-04-21 literally a year passed...
23:16 Fixer there were bug fixes
23:16 Fixer :honking:
23:17 Fixer and it is not the first package with that "outdated!" problem
23:17 rubenwardy I have more important things right now than this, I suggest poking sofar or Calinou, or volunteering to get the privs to do it yourself
23:18 Fixer will poke
23:19 rubenwardy sofar already has the privs to release updates for any package on cdb
23:20 Fixer ok, ty
23:37 Peppy_ joined #minetest-hub
23:39 Peppy joined #minetest-hub
23:49 TommyTreasure NathanS21: thanks.  i found a way.  stairs.register_stair_and_slab
23:49 TommyTreasure didn't need all the fancy circular saw stuff on these nodes anyway

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