Minetest logo

IRC log for #minetest-hub, 2018-05-13

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

All times shown according to UTC.

Time Nick Message
00:05 aerozoic IhrFussel, IMO if you own the server there is no requirement to ask, but i probably would just as a courtesy.
00:06 Shara Fussel, it somewhat varies. If they build something on a public server, they are already consenting for it to be viewed publically.
00:07 Shara Doesn't mean it's not worth asking if you can
00:07 Shara But I also usually only post to the server website, not the forums
00:31 Sokomine most screenshots from servers seem to be overviews or larger projects. in general posting a screenshot of a building ought to be ok as long as the one posting the screenshot states who created it
01:39 Tmanyo joined #minetest-hub
01:40 NathanS21 joined #minetest-hub
02:08 AndroBuilder joined #minetest-hub
04:14 lumberJ joined #minetest-hub
07:18 lumberJ joined #minetest-hub
08:59 sniper338 joined #minetest-hub
09:03 Krock joined #minetest-hub
09:39 red-001 joined #minetest-hub
10:53 longerstaff13-m joined #minetest-hub
11:19 IhrFussel joined #minetest-hub
11:21 IhrFussel Is it a known issues that signs from the signs_lib mod apparently cannot be placed on chests when shift-clicking?
11:22 IhrFussel issue*
11:23 IhrFussel Nevermind, I think the version is just too old and I need to update
11:39 Fixer joined #minetest-hub
11:40 xerox123_ Hello
11:41 Fixer hello
11:41 sniper570 joined #minetest-hub
11:42 sniper570 joined #minetest-hub
11:43 IhrFussel ^ I fixed my problem by getting the newest mod version
11:56 CWz joined #minetest-hub
12:33 IhrFussel o.o
12:34 shivajiva joined #minetest-hub
12:38 rdococ o._a
12:52 longerstaff13 o.O
13:02 rdococ The longerstaff is yayed
13:04 rdococ The longerstaff13 is a unicornâ„¢
13:04 longerstaff13 hi
13:04 rdococ Unicorns are delicious
13:04 aerozoic joined #minetest-hub
13:06 longerstaff13 rdococ: unicorn killer :O
13:07 rdococ >:D
13:07 rdococ The yays will have killed the unicorn
13:07 rdococ The past of a future that has been modified by the past and no longer exists as of the present past future tense
13:08 * longerstaff13 says a simple "eh?"
13:09 rdococ Small talk is weird, but Smalltalk is yayâ„¢
13:10 longerstaff13 brb
13:10 rdococ The brb has yayed
13:17 rdococ Bacon is not greasy enough and it's too chewy
13:28 longerstaff13 bacon is delicious
13:49 Ruslan1 joined #minetest-hub
13:50 rdococ The Ruslan has yay
13:56 sniper570 joined #minetest-hub
13:56 * Shara confiscates all yay
13:56 * Shara goes afk to suitably dispose of it
13:59 xerox123 aww
14:01 * rdococ replants his yay garden by manipulating the DNA of the yey
14:02 ANAND rdococ, what is with you and 'yay'? :)
14:02 ANAND is it*
14:02 rdococ Yay is the ultimate expression of yay
14:02 rdococ Yay transcends everything
14:04 rdococ And soon it will transcend all, even Shara and their magical yay disposal system
14:09 entuland joined #minetest-hub
14:13 * longerstaff13 giggles
14:17 Sokomine help! where did i end up? :)
14:18 * Sokomine flees from some mysterious yays
14:18 Krock Sokomine, it's the yay invasion
14:19 * rdococ infests the channel with yay
14:19 longerstaff13 eek!
14:19 IhrFussel Devs: If 2 different mods define a hpchange() callback with a "true" flag at the end which makes the value final, how does the engine determine which callback to run last?
14:24 sfan5 you shouldn't (and can't) rely on the order of callbacks
14:25 IhrFussel So it's randomly decided?
14:26 sfan5 probably just the order in which they were registered
14:26 ANAND Are both callbacks even called
14:26 ANAND ?
14:26 sfan5 in this case, no
14:26 ANAND One gets called, returns true
14:26 ANAND So the second won't even get called, right?
14:27 IhrFussel That would explain why wear on armor didn't work until today, cause I use an own custom HP system which overrides the default
14:28 sfan5 if you use a custom system what you should do is:
14:28 sfan5 1) ensure it's loaded first (like builtin)
14:28 IhrFussel I fixed it by adding armor:punch(player) to my custom HP callback and removing it from 3d_armor
14:28 sfan5 2) imitate the real APIs
14:29 sfan5 if you do that you won't need to worry about fixing third-party mods because everything will just work
14:29 rubenwardy table.insert(minetest.registered_on_X, 1, function(...)  end)
14:29 rubenwardy forces a callback to run first
14:29 rubenwardy no matter the mod load order
14:30 IhrFussel But there is no workaround for hpchange() with true at the end correct?
14:31 IhrFussel Cause only 1 instance will run
14:35 sfan5 you need to provide register_on_player_hpchange from your mod for this to work
14:40 rubenwardy you can iterate through the table yourself
14:42 Out`Of`Control joined #minetest-hub
14:43 xerox123 somebody enlighten me as to what's going on here please :D https://paste.ubuntu.com/p/4ZJfYPwkj4/
14:44 ANAND rubenwardy, this looks like the same error from CTF ^
14:44 rubenwardy yeah, that's a known issue in 0.4.17-dev
14:44 ANAND attempt to index local 'node' (a nil value)
14:45 ANAND rubenwardy: also, how 'bout going back to 0.4.16 until this issue is resolved?
14:46 xerox123 doing that right now
14:50 IhrFussel I don't have that issue on my server...my 0.4.17 is from Dec though
14:51 sfan5 yes that's a newer issue
14:52 Out`Of`Control hi
14:55 * shivajiva wonders how busy Calinou is =)
14:57 shivajiva Hi Out`Of`Control hows LibertyLand doing?
14:58 Out`Of`Control good
15:00 shivajiva never played there but sometimes hear my players mentioning it
15:00 Out`Of`Control i see
15:01 Out`Of`Control its very old server
15:02 shivajiva yes it's been around longer than me
15:04 Out`Of`Control i did not create it. Older than me too
15:04 shivajiva The owner of minetest.rbose.org has configured their web site improperly. To protect your information from being stolen, Firefox has not connected to this web site
15:05 shivajiva that needs sorting :)
15:05 Out`Of`Control you need accept cert
15:06 Out`Of`Control https://mt.rbose.org/
15:06 Out`Of`Control shivajiva: there is nothing special just map
15:07 shivajiva yea but it's expired fwiw, slightly off putting
15:08 Out`Of`Control oh sec i update
15:08 shivajiva :)
15:10 DI3HARD139 joined #minetest-hub
15:10 Out`Of`Control shivajiva: try now
15:11 shivajiva that is better :)
15:11 Out`Of`Control thanks
15:54 Calinou hi :)
15:54 Calinou shivajiva: is there anything I need to do?
15:54 paramat joined #minetest-hub
15:54 Calinou I guess you're talking about https://github.com/minetest-mods/maptools/pull/11
15:59 Calinou shivajiva: it seems to work locally, adding a message when the player attempts to drop it would make sense
16:25 zorman2000 joined #minetest-hub
16:26 zorman2000 Hi all, does anyone knows why I'm I getting this error?
16:26 zorman2000 2018-05-13 12:24:27: ACTION[Server]: 'zorman2000' submitted formspec ('advanced_npc:dedicated_trading_offers') but server hasn't sent formspec to client, possible exploitation attempt
16:27 zorman2000 I'm using 0.5.0
16:34 IhrFussel zorman2000, do you define the formspec server side?
16:34 IhrFussel And do you use minetest.show_formspec(player, formspec) to display it to the client?
16:34 zorman2000 Yes to both questions
16:35 zorman2000 I mean, formspec defined server side means it is defined on a server side mod, right
16:35 zorman2000 Not a CSM
16:36 Krock yes, it must be sent by the server
16:36 IhrFussel Make sure the formspec name is really the same on both sides (if you can modify it on the client) ... if it still doesn't work open an issue
16:36 Krock also it's minetest.show_formspec(player_name, formspec_name, formspec)
16:39 IhrFussel zorman2000, to make sure it's really an engine issue create a new test mod with a simple formspec (just a letter or something) and show it to the client ... then in receive_fields() check for the "quit" action
16:40 zorman2000 Yes, ok, I will do that...
16:41 zorman2000 If anyone would like to check, this is the code in question: https://github.com/hkzorman/advanced_npc/blob/a7d5900e656ce55c142a4261c879022bffb377d6/trade/trade.lua#L249
16:41 zorman2000 Then on the on_player_receive_fields is where the server shows the log: https://github.com/hkzorman/advanced_npc/blob/a7d5900e656ce55c142a4261c879022bffb377d6/trade/trade.lua#L674
16:42 zorman2000 And it doesn't execute the on_player_receive_fields function
16:44 IhrFussel minetest.register_on_player_receive_fields(function (player, formname, fields) << doesn't get called at all? That sounds like a bug
16:45 zorman2000 It does, it just doesn't execute rest of function body
16:46 Krock huh? if the function is called only Lua hooks can stop the function from executing
16:46 Krock this means you're aborting the rest of the function by yourself
16:47 zorman2000 You can see the code, I linked it above, and I don't that... let me check if it actually being called or not
16:49 zorman2000 My bad, it doesn't call  minetest.register_on_player_receive_fields() at all
16:52 zorman2000 Not sure if it has something to do with it, but the formspec where is causing issue is actually a second formspec that was called from a on_player_receive_field()
16:52 zorman2000 So basically a formspec is shown first, user clicks button, a second formspec is shown
16:53 zorman2000 Do I have to close the original formspec in order to proceed to second one?
16:53 zorman2000 Maybe this is what is happenning?
16:53 Krock hmm let me check this on SP
16:54 zorman2000 Krock, sorry, SP?
16:54 Krock SinglePlayer
16:55 zorman2000 Ah ok
16:56 Krock the fields callback is called in my shop node https://github.com/SmallJoker/bitchange/blob/master/shop.lua#L184-L186 .. cloning your mod now
16:58 zorman2000 You will need three mods if you intend to run it... mobs_redo, advanced_npc and this:
16:58 zorman2000 https://github.com/hkzorman/mg_villages_npc.git
16:59 Krock and afterwards I'll give myself a trader?
16:59 zorman2000 Start on creative mode, get an NPC Spawner, then right click somewhere with the eggs... you can leave the basic settings and click Spawn
17:00 Krock 2018-05-13 18:59:49: ERROR[Main]: /data/Minetest/run/bin/../mods/mg_villages_npc/init.lua:5: attempt to concatenate local 'path' (a nil value)
17:00 Krock ah
17:00 Krock it must be npcS
17:00 zorman2000 Ah yes
17:00 zorman2000 Right, I have to fix that yet
17:01 Krock consider adding a mod.conf there with name = mg_villages_npcs to correct it automatically
17:01 zorman2000 Once the NPC spawns right click with an object in hand
17:01 zorman2000 Thanks, this mg_villages_npc mod is WIP still
17:01 Krock err. npc.info is nil
17:01 zorman2000 Oh God...
17:02 zorman2000 Let me check as well
17:02 Krock fix_your%20mods.png
17:04 zorman2000 Can you give me the last two lines of the error?
17:05 zorman2000 Nvm, update mg_villages_npc, should be ok now I guess
17:06 Krock well great.. changing the dir name back
17:06 Krock 2018-05-13 19:06:50: ERROR[Main]: ...test/run/bin/../mods/mg_villages_npc/data/names_data.lua:4: attempt to index field 'info' (a nil value)
17:07 zorman2000 So, have you enabled mobs_redo, advanced_npc and mg_villages_npcs?
17:07 Krock mobs_redo is up to date
17:07 zorman2000 SOunds like advanced_npc is not enabled?
17:08 Krock no, these mods depend on each other. I wouldn't get any error from that mod if either mobs or advanced_npc weren't found
17:08 zorman2000 Ok, I will do fresh checkout and see what is going... thanks for the help though
17:09 Krock maybe you're sending two formspecs at once, but the first sent arrives after the 2nd
17:11 zorman2000 I'm sending one formspec after the other, but maybe I have to close the first one? I have read something about it in lua_api I think
17:12 Krock no, sending a new one will update it correctly in the server code
17:15 rdococ is there an open-source translation service?
17:17 zorman2000 Krock, if you are still up for testing, I found the issue, I was very stupid
17:17 zorman2000 You need to "git checkout clean_api" on advanced_npc folder
17:29 Krock 2018-05-13 19:28:57: ERROR[Main]: /data/Minetest/run/bin/../mods/mg_villages_npc/init.lua:15: attempt to call field 'set_mg_villages_entity_name' (a nil value) <-- zorman2000
17:30 Krock advanced_npc is at commit "Spawner: Decouple logic in spawner and generalize, also include more features"
17:30 zorman2000 Yes, got it... my bad... if you happen to have mg_villages mod, you need it enabled as well
17:31 * zorman2000 is assuming many things with this mod as it is WIP
17:43 Krock zorman2000, please try to write a mod which can cause this bug on an easier way
17:43 Krock I was able to reproduce it but the code is too nested to follow the right path
17:44 zorman2000 No problem, I'll try, thanks for the help
17:45 Krock and now it's time for a debug build and some gdb - these crashes annoy me
17:45 Fixer yeah, I've stopped using ghostery long ago
17:46 Fixer engine has entered into unstable territory it seems
17:59 Krock I'm surprised how fast the debug mode binary is
18:00 Krock with the MSVC builds I always got around 5 FPS - whereas it's here almost the original speed. feels like I'm doing something wrong
18:01 shivajiva Calinou: any preference on the message, I was thinking S([maptools] You cannot drop that!)
18:29 IhrFussel What's the best way to say it when I want to state in my game rules "do not try to kill players without their consent" ... I mean if players are AFK or don't expect to be killed
18:31 Krock "Only kill players which agree on fighting"
18:31 shivajiva "No PvP without mutual consent"
18:34 paramat hehe i expect all players would say "do not kill me" in a fight
18:37 Krock just kill them fast enoguh
18:37 Krock so they can't say anything in the fight (only agree before)
18:37 Krock lava and diamond sword help to finish the fight quickly and painful
18:38 IhrFussel In my case it's not for PvP ... it's toggable but even when disabled bad players can try to kill them with lava/falling anvils/custom traps and I want to forbid that
18:40 shivajiva use an afk command to protect them?
18:41 Fixer this is crappy way
18:41 Fixer instead do /pvp thing
18:41 Fixer if both want pvp - they enable it via /pvp console command
18:41 Fixer also, minetest chat sucks a lot
18:41 IhrFussel I guess I could check in hpchange() how long they were idle and if it exceeds 3 minutes modify all damage to 0
18:43 Krock or just set them immortable by armor groups
18:44 Krock that's most likely the proper solution for that issue you were looking for
19:15 Dargod joined #minetest-hub
19:19 paramat joined #minetest-hub
19:21 Tmanyo joined #minetest-hub
20:20 pauloue joined #minetest-hub
21:05 Gael-de-Sailly joined #minetest-hub
21:17 Fixer CHACHA
21:29 rdococ Let's do the yay
21:29 * rdococ yays
21:54 Fixer joined #minetest-hub
22:25 Fixer joined #minetest-hub
22:26 longerstaff13-m joined #minetest-hub

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