VanessaE wrote:What he means is minetest_game, as in the subgame content installed in /usr/share/minetest/games, or <your minetest dir>/games, or ~/.minetest/games, or similar.
[...]
If your mese is different from what the mod expects, it's because your copy of minetest_game is too old.
The following words in your search query were ignored because they are too common words: game minetest.
VanessaE wrote:Too old of a minetest_game can also cause mods to crash, as they come to expect certain functions, constants, or content commensurate with newer versions.
That aside, I don't have any ideas how to solve the issues you're having.
Laudrin wrote:Napiophelios wrote:Sounds like you have an old copy of the Minetest Game.
Napiophelios, I'm a little bit confused when you say that the Minetest game sounds like an older version. As I wrote in the posting preceding yours, I use 0.4.13, which is labeled as the most recent version on the Minetest homepage.
VanessaE, depending on if Minetest or one of the mods really turn out to be old, maybe I found a bug:
As soon as a tube tries to drop a node on the ground, Minetest crashes:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2015-12-28 09:20:15: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-12-28 09:20:15: ERROR[main]: Runtime error from mod 'pipeworks' in callback ScriptApiEnv::environment_Step(): ...-win64-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: attempt to index local 'dropper' (a nil value)
2015-12-28 09:20:15: ERROR[main]: stack traceback:
2015-12-28 09:20:15: ERROR[main]: ...-win64-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: in function 'item_drop'
2015-12-28 09:20:15: ERROR[main]: ...minetest-0.4.13\bin\..\mods\pipeworks/item_transport.lua:252: in function 'on_step'
2015-12-28 09:20:15: ERROR[main]: ...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:347: in function <...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:312>
2015-12-28 09:20:15: ERROR[main]: ...64-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:355: in function <...64-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:335>
In thread 1dec:
server.cpp:511: Server::step: A fatal error occurred: Runtime error from mod 'pipeworks' in callback ScriptApiEnv::environment_Step(): ...-win64-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: attempt to index local 'dropper' (a nil value)
stack traceback:
...-win64-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: in function 'item_drop'
...minetest-0.4.13\bin\..\mods\pipeworks/item_transport.lua:252: in function 'on_step'
...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:347: in function <...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:312>
...64-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:355: in function <...64-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:335>
This occurs when a chest is full and another item is transported towards it or when a tube ends without a chest, furnace etc. attached. Once because of a misconfiguration an item was transported back the way it came (towards an chest with space left) and the game also crashed.
If I understand your intention correctly, how the mod should work, the item is supposed to be dropped on the ground (or the tube machine should stop working) if such thing occurs, but not crash the game.
Is there any way one of the other mods I installed (listed here: https://forum.minetest.net/viewtopic.php?p=202400#p202400) altered the item drop function in any way (maybe an explanation why the mese node definition in my game seems to be different from what your pipework mod expects)?
Addition: Now the game crashes 2-3 seconds after starting. :-( I already tried to swap a tube segment and to remove the blinky plant powering the injector, but it seems the injector puts an item into the tube as soon as the game starts, independent of the injector being powered or not.
Is there any way to fix this and get the world and mod running again?
--- item.lua.orig 2016-01-19 05:32:58.259046752 +0100
+++ item.lua 2016-01-19 05:32:31.680995300 +0100
@@ -335,7 +335,7 @@
end
function core.item_drop(itemstack, dropper, pos)
- if dropper.is_player then
+ if dropper and dropper.is_player then
local v = dropper:get_look_dir()
local p = {x=pos.x, y=pos.y+1.2, z=pos.z}
local cs = itemstack:get_count()
2016-01-22 17:08:17: ERROR[Main]: ServerError: Runtime error from mod 'pipeworks' in callback environment_Step(): /home/minetest/minetest/bin/../builtin/game/item.lua:351: attempt to index local 'dropper' (a nil value)
2016-01-22 17:08:17: ERROR[Main]: stack traceback:
2016-01-22 17:08:17: ERROR[Main]: /home/minetest/minetest/bin/../builtin/game/item.lua:351: in function 'item_drop'
2016-01-22 17:08:17: ERROR[Main]: .../mods/pipeworks/item_transport.lua:252: in function 'on_step'
2016-01-22 17:08:17: ERROR[Main]: .../mods/pipeworks/luaentity.lua:347: in function '?'
2016-01-22 17:08:17: ERROR[Main]: ...e/minetest/minetest/bin/../builtin/game/register.lua:355: in function <...e/minetest/minetest/bin/../builtin/game/register.lua:335>
foxz wrote:Hi,
sorry for my poor english... I'm new with minetest (and minetest modded/modding)
I can't understand how extract item from machine (like furnace, chest, etc...) via pipe...
2016-02-20 13:42:58: ACTION[ServerThread]: hallohallo places node default:stone at (-172,-9,715)
2016-02-20 13:42:59: ACTION[ServerThread]: hallohallo digs default:stone at (-171,-9,715)
2016-02-20 13:43:01: ACTION[ServerThread]: hallohallo takes stuff from chest at (-172,-4,733)
2016-02-20 13:43:01: ACTION[ServerThread]: hallohallo takes stuff from chest at (-172,-6,733)
2016-02-20 13:43:04: ACTION[ServerThread]: hallohallo places node technic:mv_cable0 at (-183,-9,716)
2016-02-20 13:43:05: ACTION[ServerThread]: hallohallo takes stuff from chest at (-174,-5,721)
2016-02-20 13:43:05: ACTION[ServerThread]: hallohallo takes stuff from chest at (-174,-5,726)
2016-02-20 13:43:05: ACTION[ServerThread]: hallohallo takes stuff from chest at (-168,-5,722)
2016-02-20 13:43:05: ACTION[ServerThread]: hallohallo places node technic:mv_cable0 at (-182,-9,716)
2016-02-20 13:43:05: ACTION[ServerThread]: hallohallo places node technic:mv_cable0 at (-182,-10,716)
2016-02-20 13:43:07: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2016-02-20 13:43:07: ERROR[main]: Runtime error from mod 'pipeworks' in callback ScriptApiEnv::environment_Step(): ...-win32-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: attempt to index local 'dropper' (a nil value)
2016-02-20 13:43:07: ERROR[main]: stack traceback:
2016-02-20 13:43:07: ERROR[main]: ...-win32-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: in function 'item_drop'
2016-02-20 13:43:07: ERROR[main]: ...minetest-0.4.13\bin\..\mods\pipeworks/item_transport.lua:252: in function 'on_step'
2016-02-20 13:43:07: ERROR[main]: ...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:347: in function <...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:312>
2016-02-20 13:43:07: ERROR[main]: ...32-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:355: in function <...32-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:335>
In thread 1a78:
server.cpp:511: Server::step: A fatal error occurred: Runtime error from mod 'pipeworks' in callback ScriptApiEnv::environment_Step(): ...-win32-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: attempt to index local 'dropper' (a nil value)
stack traceback:
...-win32-msvc\minetest-0.4.13\bin\..\builtin\game\item.lua:338: in function 'item_drop'
...minetest-0.4.13\bin\..\mods\pipeworks/item_transport.lua:252: in function 'on_step'
...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:347: in function <...msvc\minetest-0.4.13\bin\..\mods\pipeworks/luaentity.lua:312>
...32-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:355: in function <...32-msvc\minetest-0.4.13\bin\..\builtin\game\register.lua:335>
2016-02-20 13:43:07: ACTION[ServerThread]: hallohallo leaves game. List of players:
Debug stacks:
DEBUG STACK FOR THREAD 264:
#0 ServerThread::Thread
#1 Server::AsyncRunStep
#2 Server::DeleteClient
(Leftover data: #3 ItemStack::deSerialize)
(Leftover data: #4 ItemStack::serialize)
(Leftover data: #5 getCraftingResult)
(Leftover data: #6 ItemStack::deSerialize)
DEBUG STACK FOR THREAD 318:
#0 EmergeThread::Thread
(Leftover data: #1 ServerMap::loadBlock)
(Leftover data: #2 ServerMap::loadBlock)
(Leftover data: #3 ItemStack::deSerialize)
DEBUG STACK FOR THREAD 10fc:
#0 UpdateThread::Thread
DEBUG STACK FOR THREAD 1600:
#0 CurlFetchThread::Thread
DEBUG STACK FOR THREAD 1a78:
#0 main
#1 Server::step
(Leftover data: #2 ClientEnvironment::step)
(Leftover data: #3 Client::Receive)
(Leftover data: #4 Client::ProcessData)
(Leftover data: #5 MeshUpdateQueue::addBlock)
DEBUG STACK FOR THREAD 1bbc:
#0 UpdateThread::Thread
Marshall_maz wrote:Don't know if this was asked before , but can't the sorting tubes default state be changed to all colors "off" instead of "on" after placing it. It rarely happens that one uses all channels and always have to switch off all the unused ones. Would be easier if all is off by default and just toggle the ones in use on.
2016-05-24 10:54:12: ERROR[Main]: ServerError: Lua: Runtime error from mod 'pipeworks' in callback node_on_punch(): /home/kinder/minetest/bin/../mods/denaid/init.lua:1330: attempt to call method 'is_player' (a nil value)
2016-05-24 10:54:12: ERROR[Main]: stack traceback:
2016-05-24 10:54:12: ERROR[Main]: /home/kinder/minetest/bin/../mods/denaid/init.lua:1330: in function 'allow_metadata_inventory_take'
2016-05-24 10:54:12: ERROR[Main]: ...inder/minetest/bin/../mods/pipeworks/filter-injector.lua:90: in function 'grabAndFire'
2016-05-24 10:54:12: ERROR[Main]: ...inder/minetest/bin/../mods/pipeworks/filter-injector.lua:254: in function 'punch_filter'
2016-05-24 10:54:12: ERROR[Main]: ...inder/minetest/bin/../mods/pipeworks/filter-injector.lua:375: in function <...inder/minetest/bin/../mods/pipeworks/filter-injector.lua:374>
2016-05-24 10:54:12: ACTION[Server]: [mana] Wrote mana data into /home/kinder/minetest/bin/../worlds/jzuij/mana.mt.
2016-05-24 10:54:12: [Server]: [Chatplus] Saving data
2016-05-24 10:54:12: ACTION[Server]: singleplayer leaves game. List of players:
2016-05-24 10:54:13: ERROR[MeshUpdate]: Waiting for texture pipeworks_filter_side.png^[applyfiltersformesh^[crack:1:0^[applyfiltersformesh timed out.
2016-05-24 10:54:14: ERROR[MeshUpdate]: Waiting for texture pipeworks_filter_output.png^[applyfiltersformesh^[crack:1:0^[applyfiltersformesh timed out.
2016-05-24 10:54:14: WARNING[Main]: [xban] Unable to save database: Write failed
2016-05-24 10:54:14: ACTION[Main]: [playereffects] Server shuts down. Rescuing data into playereffects.mt
2016-05-24 10:54:14: ACTION[Main]: [playereffects] Wrote playereffects data into /home/kinder/minetest/bin/../worlds/jzuij/playereffects.mt.
2016-05-24 10:54:14: ACTION[Main]: [mana] Server shuts down. Rescuing data into mana.mt
2016-05-24 10:54:14: ACTION[Main]: [mana] Wrote mana data into /home/kinder/minetest/bin/../worlds/jzuij/mana.mt.
Lejo wrote:I had an Problem with pipeworks in the new version 0.4.14.
If I punch the filter the Server shutdown.
Here the Error:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-05-24 10:54:12: ERROR[Main]: ServerError: Lua: Runtime error from mod 'pipeworks' in callback node_on_punch(): /home/kinder/minetest/bin/../mods/denaid/init.lua:1330: attempt to call method 'is_player' (a nil value)
denaid
Besides, do you really have to create fake players? Isn't there a better solution? It seems awfully hackish and destroys many assumptions modders can make about players. :-(
The problem with your approach is, that it makes is_player() completely mostly meaningless. :-(
Users browsing this forum: Bing [Bot] and 13 guests