Page 1 of 1

Errors (builMainAtlas, deactivateFarObjects)

PostPosted: Mon Jan 16, 2012 06:38
by JSonic
Hello.

I often get these errors with Minetest 0.4.dev20120106-1, Puppy Linux, OpenGL 4.0.10243, Radeon 5640HD:
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
ERROR[main]: TextureSource::buildMainAtlas(): Atlas is full, not adding more textures.

(Always when I start playing)
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
ERROR[ServerThread]: ServerEnv: Trying to store id=173 statically but block (3,-3,1) already contains 49 (over 49) objects. Forcing delete.

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
ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=63 m_static_exists=true but static data doesn't actually exist in (1,-2,1)

(These two just sometimes)

They do not seem to affect the game play, but why and where do they come from?
Thanks in advance,
JSonic

PostPosted: Mon Jan 16, 2012 09:03
by Nemo08
what mods you have installed?

PostPosted: Mon Jan 16, 2012 09:23
by Jordach
hardcore mese tnt does this.

PostPosted: Mon Jan 16, 2012 09:27
by Nemo08
also my nparticle does this

PostPosted: Mon Jan 16, 2012 20:04
by JSonic
Mods:
doors, dynamite, farming, flowers, home_mod, nature, nparticle, sethome

So I indeed have Nemo08's nparticle. Thank you.

PostPosted: Mon Jan 16, 2012 23:59
by randomproof
JSonic wrote:
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
ERROR[main]: TextureSource::buildMainAtlas(): Atlas is full, not adding more textures.


This is caused by having a lot of texture files. I think the Atlas is like a cache of the textures. Maybe someone else can elaborate. You can increase the size by changing line 796 in tile.cpp. This should most likely be made with a dynamic size (or as a conf file setting) to fit the large number of mods being made.

JSonic wrote:
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
ERROR[ServerThread]: ServerEnv: Trying to store id=173 statically but block (3,-3,1) already contains 49 (over 49) objects. Forcing delete.


This is saying that there are 49 or more entities in one block. A MapBlock is a cube of 16 MapNodes to a side (16^3=4096 total nodes per block). In your case, most likely from nparticle. It maybe a good idea to increase the limit from 49 upstream. (Search for "49" in enviroment.cpp)

JSonic wrote:
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
ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=63 m_static_exists=true but static data doesn't actually exist in (1,-2,1)


I get this from time to time but I'm not really sure what it means. When using the vehicles mod I have noticed the minecart reappearing sometime after removing it. Usually after riding the cart a far distance away and then riding it back. From glancing at the code, it maybe caused from the block that the entity was stored in was unloaded from memory before the entity was cleared, or something like that. I think that "ServerEnvironment::clearAllObjects()" is the culprit. I'll do a little testing, changing line 804 in to enviroment.cpp to "MapBlock *block = m_map->emergeBlock(obj->m_static_block, false);"


*Please note that these are my observations and you mileage may vary.

PostPosted: Tue Feb 05, 2013 02:13
by Josh
JSonic already posted this error, but now i am getting it:
13:53:23: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=51 m_static_exists=true but static data doesn't actually exist in (0,0,2)

How do i fix this?