Every time I try to run everness, whether it is in MT 5.4 or 5.6 I get the following error (even when I get the latest version): AsyncErr: Lua: Runtime error from mod 'everness' in callback environment_Step(): attempt to index a nil value
stack traceback:
[C]: in function 'set_stars'
...n64\minetest-5.6.0-win64\bin\..\mods\everness/skybox.lua:795: in function <...n64\minetest-5.6.0-win64\bin\..\mods\everness/skybox.lua:703>
...64\minetest-5.6.0-win64\bin\..\builtin\game\register.lua:429: in function <...64\minetest-5.6.0-win64\bin\..\builtin\game\register.lua:415>
Any ideas on how to get it working? There is no topic in the mods forum for it.
Everness error: attempt to index a nil value in function 'set_stars'
- Neuromancer
- Member
- Posts: 964
- Joined: Tue Jun 12, 2012 22:28
- GitHub: Neuromancer56
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: Everness error: attempt to index a nil value in function 'set_stars'
sure that value is nil = it didn't get any data,
so check and maybe post code, oh took some time to find the source:
https://bitbucket.org/minetest_gamers/e ... rc/master/
skybox.lua:703-704
is dtime set somewhere ? I would search
builtin\game\register.lua:415
406 : function core.override_item(name, redefinition)
414-416:
go there and post this issue,
but a similar issue was just active,
and repost with:
That might help to start it for further usage or testing.
so check and maybe post code, oh took some time to find the source:
https://bitbucket.org/minetest_gamers/e ... rc/master/
skybox.lua:703-704
Code: Select all
minetest.register_globalstep(function(dtime)
timer = timer + dtime
builtin\game\register.lua:415
406 : function core.override_item(name, redefinition)
414-416:
Code: Select all
if not item then
error("Attempt to override non-existent item "..name, 2)
end
go there and post this issue,
but a similar issue was just active,
and repost with:
Code: Select all
Juraj Vajda
There is new setting where you can disable the skybox if this issue still persist
2023-02-26
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
- Neuromancer
- Member
- Posts: 964
- Joined: Tue Jun 12, 2012 22:28
- GitHub: Neuromancer56
Re: Everness error: attempt to index a nil value in function 'set_stars'
Thanks much, very helpful!
- Neuromancer
- Member
- Posts: 964
- Joined: Tue Jun 12, 2012 22:28
- GitHub: Neuromancer56
Re: Everness error: attempt to index a nil value in function 'set_stars'
Thanks much! Based on your comments, I went to init.lua and commented out the following lines :Festus1965 wrote: ↑Thu Mar 23, 2023 06:48sure that value is nil = it didn't get any data,
so check and maybe post code, oh took some time to find the source:
https://bitbucket.org/minetest_gamers/e ... rc/master/
skybox.lua:703-704is dtime set somewhere ? I would searchCode: Select all
minetest.register_globalstep(function(dtime) timer = timer + dtime
builtin\game\register.lua:415
406 : function core.override_item(name, redefinition)
414-416:Code: Select all
if not item then error("Attempt to override non-existent item "..name, 2) end
go there and post this issue,
but a similar issue was just active,
and repost with:That might help to start it for further usage or testing.Code: Select all
Juraj Vajda There is new setting where you can disable the skybox if this issue still persist 2023-02-26
--if Everness.settings.features.everness_feature_skybox then
-- dofile(path .. '/skybox.lua')
--end
And now it works.
Who is online
Users browsing this forum: No registered users and 24 guests