D00Med / LegendofMinetest

Minetest game based on Legend of Zelda
15 stars 7 forks source link

Something different with a random call? #37

Closed jcfrosty closed 2 years ago

jcfrosty commented 6 years ago

2018-06-28 15:35:46: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'mobs_loz' in callback luaentity_Punch(): ...games/LegendofMinetest-master/mods/mobs_redo/api.lua:338: bad argument #2 to 'random' (interval is empty) 2018-06-28 15:35:46: ERROR[Main]: stack traceback: 2018-06-28 15:35:46: ERROR[Main]: [C]: in function 'random' 2018-06-28 15:35:46: ERROR[Main]: ...games/LegendofMinetest-master/mods/mobs_redo/api.lua:338: in function 'item_drop' 2018-06-28 15:35:46: ERROR[Main]: ...games/LegendofMinetest-master/mods/mobs_redo/api.lua:406: in function 'check_for_death' 2018-06-28 15:35:46: ERROR[Main]: ...games/LegendofMinetest-master/mods/mobs_redo/api.lua:2067: in function <...games/LegendofMinetest-master/mods/mobs_redo/api.lua:1949> 2018-06-28 15:35:46: ERROR[Main]: [C]: in function 'punch'

D00Med commented 6 years ago

Ooh this is a tricky one, I'll try updating mobs_redo and seeing what happens

jcfrosty commented 6 years ago

forgive me if I seem impatient, I really do appreciate the work, but I am curious what the issue is. I'm starting to feel I need to learn lua more lol. My programming skills are very introductory..

D00Med commented 6 years ago

I don't know what the issue is :/ That's why I'm just going to try updating mobs_redo. But I just had an idea, maybe you're right and it is from a random number. It could be because of something to do with the drop chance of items. What were you doing when you got this error?

D00Med commented 6 years ago

And about your programming skills, mine aren't exactly great either 😅

jcfrosty commented 6 years ago

It happens when I attempted to launch the game.

On Thu, Jul 5, 2018 at 4:28 PM D00Med notifications@github.com wrote:

And about your programming skills, mine aren't exactly great either 😅

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/D00Med/LegendofMinetest/issues/37#issuecomment-402857795, or mute the thread https://github.com/notifications/unsubscribe-auth/ANERGfkuvaFFJ2LEx1LWEFaGspjdsFDDks5uDoTvgaJpZM4U7_Vs .

D00Med commented 6 years ago

Oh :/

jcfrosty commented 6 years ago

OK, I've tested Regnum-3.2.9 . Not sure I understand the point of that game, but OK. It only had one issue with the music loading mod, after i removed that one plugin, Game ran smooth, no other issues.

I figured it could be my version of lua so I upgraded to 5.3.3 from 5.1, no change. So I tried recompiling and installing minetest 4.7.1, no change.

All the errors I get are the same errors no matter what I do.

D00Med commented 6 years ago

Oh :/ that's a shame.

D00Med commented 6 years ago

thing I'm thinking the error has something to do with this. It's pretty frustrating, if other people are getting these errors it's going to seriously mess with situations where the min/max numbers are variable

D00Med commented 6 years ago

I fixed the error in the update branch, but the update branch also now has the incomplete villages I'm working on. Just so you know.

jcfrosty commented 6 years ago

Greatly appreciated! My son is driving me nuts to play this game so I'm trying to setup a local server for just him and me.

On Sat, Jul 7, 2018, 1:43 AM D00Med notifications@github.com wrote:

I fixed the error in the update branch, but the update branch also now has the incomplete villages I'm working on. Just so you know.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/D00Med/LegendofMinetest/issues/37#issuecomment-403193405, or mute the thread https://github.com/notifications/unsubscribe-auth/ANERGQ2Dr1ZNYPKrCf49DVrUDVDk9mLeks5uEFiEgaJpZM4U7_Vs .

mckaygerhard commented 2 years ago

this was fixed since PR #39 was merged with commit 5e4e39e commit 5e4e39e and commit acf7cd2