Page 1 of 1

Pipeworks: attempt to index local 'dropper' (a nil value)

PostPosted: Sat Feb 20, 2016 17:53
by HalloHallo
Hello!
Can someone please help me with this:
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-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



I often had problems like that when i was not paying attention and doing mistakes in the building of machine-constructions. But I could always cure it, by finding the problem. So this time i tried to fix the "standard problem-causers" after it broke down, like taking away the power prom the machines to look around, checking boxes for possible overload. but i didn't found anything, so i removed the whole stage where the machines stood that i think caused this problem (all other machines where out of range and later i checked many of them for issues too), but the game still crashes when i start it with the pipeworks-mod enabled. i just don't know what to do now. I could explode!!!

By the way i use the neweset minetest version and i don't have any knowledge of programming.

And please dont kick me from this forum because i have also posted this at pipeworks mod.
I'm just hoping that i have a greater chance for my post to be seen in here :(

Re: ERROR stack traceback

PostPosted: Sat Feb 20, 2016 20:50
by kaeza
Looks the same as Issue #127.
You'll have to update your Minetest version to an unstable* one. Try Krock's or sfan5's builds.

* Ironically, "unstable" versions are sometimes more stable than "stable" versions.

EDIT: Also modified the topic title to be more informative.

Re: Pipeworks: attempt to index local 'dropper' (a nil value

PostPosted: Sun Feb 21, 2016 10:46
by HalloHallo
Thank you very much for answering!

Now I only have one question left:
Cant i just delete the threat in the game that is causing this action?
I mean i have disabled pipeworks and also destroyed all machines and tubes where it could have dropped out from.
So there can't be no 'active cause' for that action causing the error anymore. What makes me think that there is some file in the game taht safed that action and keeps running this when i want to start the server. so i think i could delete it from some file.