Page 1 of 1

Error Ocurrede in server

PostPosted: Mon Oct 14, 2013 20:21
by BrunoMine
What is it?
[spoiler=Debug]
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
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=14 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=14 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=18 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=18 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=23 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=23 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=35 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=35 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=36 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=36 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=38 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=38 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=40 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=40 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=127 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=127 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=129 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=129 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=131 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=131 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=141 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=141 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=142 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=142 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=146 m_static_exists=true but static data doesn't actually exist in (12,2,9)
WARNING: StaticObjectList::remove(): id=146 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=147 m_static_exists=true but static data doesn't actually exist in (12,2,8)
WARNING: StaticObjectList::remove(): id=147 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=156 m_static_exists=true but static data doesn't actually exist in (12,2,9)
WARNING: StaticObjectList::remove(): id=156 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=163 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=163 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=164 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=164 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=166 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=166 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=167 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=167 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=223 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=223 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=224 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=224 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=226 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=226 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=227 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=227 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=229 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=229 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=238 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=238 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=239 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=239 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=241 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=241 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=242 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=242 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=245 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=245 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=246 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=246 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=248 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=248 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=249 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=249 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=250 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=250 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=251 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=251 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=253 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=253 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=254 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=254 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=260 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=260 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=261 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=261 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=263 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=263 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=264 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=264 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=271 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=271 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=272 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=272 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=274 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=274 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=275 m_static_exists=true but static data doesn't actually exist in (14,3,8)
WARNING: StaticObjectList::remove(): id=275 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=283 m_static_exists=true but static data doesn't actually exist in (9,2,3)
WARNING: StaticObjectList::remove(): id=283 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=284 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=284 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=301 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=301 not found
17:15:29: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=332 m_static_exists=true but static data doesn't actually exist in (9,2,6)
WARNING: StaticObjectList::remove(): id=332 not found
17:15:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: allow_metadata_inventory_put should return a number
17:15:32: ERROR[main]: stack traceback:

In thread 1208:
..\..\src\minetest\src\main.cpp:2181: main: Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 1208:
#0  main
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  ServerMap::save)
(Leftover data: #3  ServerMap::saveBlock)
(Leftover data: #4  ItemStack::serialize)
[/spoiler]
who solved?

PostPosted: Mon Oct 14, 2013 20:25
by sfan5
17:15:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: allow_metadata_inventory_put should return a number
This means a mod function called allow_metadata_inventory_put didn't do what was expected by Minetest.

Find out which mod caused it and disable it

PostPosted: Mon Oct 14, 2013 20:59
by BrunoMine
sfan5 wrote:17:15:32: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: allow_metadata_inventory_put should return a number
This means a mod function called allow_metadata_inventory_put didn't do what was expected by Minetest.

Find out which mod caused it and disable it


me a hint. what kind of bug is this?

PostPosted: Mon Oct 14, 2013 23:35
by fairiestoy
Github link to API doc

allow_metadata_inventory_put = func(pos, listname, index, stack, player),
^ Called when a player wants to put something into the inventory
^ Return value: number of items allowed to put
^ Return value: -1: Allow and don't modify item count in inventory

PostPosted: Tue Oct 15, 2013 01:49
by BrunoMine
I have two guesses:

1 - In a "description" wrong (I changed some)
2 - Mod "exchange"(performs exchanges Player to player)

What is the true evil? 1 or 2?

PostPosted: Tue Oct 15, 2013 10:40
by PilzAdam
brunob.santos wrote:I have two guesses:

1 - In a "description" wrong (I changed some)
2 - Mod "exchange"(performs exchanges Player to player)

What is the true evil? 1 or 2?

Probably 2, since the bug has to do with formspecs.

PostPosted: Tue Oct 15, 2013 14:44
by BrunoMine
PilzAdam wrote:
brunob.santos wrote:I have two guesses:

1 - In a "description" wrong (I changed some)
2 - Mod "exchange"(performs exchanges Player to player)

What is the true evil? 1 or 2?

Probably 2, since the bug has to do with formspecs.


Thank you!

Before I create a thread just for that.
Reealizar can tell me if this type of change.

Before:
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
-- mods/default/nodes.lua

minetest.register_node("default:stone", {
    description = "Stone",
    tiles = {"default_stone.png"},
    is_ground_content = true,


After:
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
-- mods/default/nodes.lua

minetest.register_node("default:stone", {
    description = "Pedra",
    tiles = {"default_stone.png"},
    is_ground_content = true,


I just translate. I like that because minetest was described as totally Portuguese. I want to translate only items that will Viewed in inventory. What do you think?

PostPosted: Wed Oct 16, 2013 04:50
by tinoesroho
Should be fine.