Luanti logo

IRC log for #minetest, 2022-08-26

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
6 more elements. Show/hide.
02:28 Icalasari My code is driving me nuts. I hate error handlers sometimes -.-
02:30 Icalasari Was wondering if anybody could take a look to see why it's being like this?
02:37 MTDiscord <Jonathon> dont ask to ask, just ask. pastebin code + error so people can take a look
02:40 Icalasari Ah sorry. The code snippet causing issues (the rest works fine, I've checked). https://pastebin.com/Ew6KrgYd
02:40 Icalasari ...t-5.5.1-win64\bin\..\mods\mindeca\Mindeca Main/crops.lua:43: unexpected symbol near '}'
02:40 Icalasari I can't spot what the error could be at all, and I am 99.99% positive my indenting is correct and not hiding something obvious
02:42 MTDiscord <Jonathon> your on construct is missing an end
02:42 MTDiscord <Jonathon> i think
02:43 MTDiscord <Jonathon> https://pastebin.com/5aYNuhdQ
02:43 Icalasari That just makes it end the entire register node, unfortunately
02:44 MTDiscord <Jonathon> uh, no?
02:46 MTDiscord <Jonathon> hold on
02:46 MTDiscord <Jonathon> needs end,
02:46 MTDiscord <Jonathon> with a comma
02:48 MTDiscord <Jonathon> see https://pastebin.com/tEYELVsX
02:48 MTDiscord <Jonathon> boots in minetest for me
02:52 Icalasari Not on my end. Dammit, then it is something sooner in the code that only popped up now
02:54 Icalasari Thanks Jonathon, turns out there was an excess line way earlier that decided it wouldn't bother anything until I added that bit at which point it acted up
02:55 Icalasari Thus making it seem like there was NOTHING wrong with any of the other code
02:55 Icalasari Which... Really baffles me that it worked before that
02:56 Icalasari Basically it had:
02:56 Icalasari for name,def in pairs(mindeca.melon) do
02:56 Icalasari for name,def in pairs(mindeca.mflow) do
02:56 Icalasari [code]
02:57 Icalasari But the two tables have different definition names so I have no idea how the hell it actually ran before
14 more elements. Show/hide.
10:17 Lesha_Vel i again here
43 more elements. Show/hide.

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