Failure: Not allowing to place CONTENT_IGNORE ???

User avatar
tkerwel
Member
 
Posts: 213
Joined: Fri Jan 13, 2012 07:35

Failure: Not allowing to place CONTENT_IGNORE ???

by tkerwel » Fri Jul 06, 2012 13:14

Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "air" at (-66,25,102) (block (-5,1,6))

can somebody explain what this mean's ?
i try to create a tree with a experimental function,

so the trunk is placed without error...

minetest.env:add_node({x=pos.x,y=pos.y,z=pos.z},{type="node",name="default:fence_wood"})
minetest.env:add_node({x=pos.x,y=pos.y+1,z=pos.z},{type="node",name="default:fence_wood"})
minetest.env:add_node({x=pos.x,y=pos.y+2,z=pos.z},{type="node",name="default:fence_wood"})
minetest.env:add_node({x=pos.x,y=pos.y+3,z=pos.z},{type="node",name="default:fence_wood"})
minetest.env:add_node({x=pos.x+1,y=pos.y+3,z=pos.z},{type="node",name="deko:deko_birch_leaves"})

the first mistake comes where the leaves should be set, whats wrong ?
++++ Kung walang tiyaga, walang nilaga. ++++
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Fri Jul 06, 2012 14:21

You're trying to replace air with an unknown block; define it, or fix the name.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Jul 06, 2012 15:50

...or the Chunk is not loaded
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45

by redcrab » Fri Jul 06, 2012 16:51

strange I have same issue with tv mod (from jordach) ...
but all tv nodes exist and are registered ..
and it does the error with block loaded (be close to the tv node)
... I ask myself if this error occurs if we try to change a node with the same node ....
add node tv:screen_5 on at location of a tv:screen_5 node ..
Stupid ?
Last edited by redcrab on Fri Jul 06, 2012 16:52, edited 1 time in total.
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 

Keriz
Member
 
Posts: 20
Joined: Mon Jul 02, 2012 16:04

by Keriz » Fri Jul 06, 2012 17:11

Hi, I had the same problem but I made a lot of try and I found it. http://minetest.net/forum/viewtopic.php?pid=29758#p29758
 

User avatar
tkerwel
Member
 
Posts: 213
Joined: Fri Jan 13, 2012 07:35

by tkerwel » Sat Jul 07, 2012 05:59

thx for the help,
its like Calinou said, i wrote the block defenition wrong, missed a letter, realy need new glases, cause i did not see that a long time
++++ Kung walang tiyaga, walang nilaga. ++++
 

Keriz
Member
 
Posts: 20
Joined: Mon Jul 02, 2012 16:04

by Keriz » Sat Jul 07, 2012 11:31

Ye the game may tell us which block it is trying to place.
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Sat Jul 07, 2012 13:18

if youre using abm's make sure they're not acting on unloaded chunks

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
if node.name == 'ignore' then return end


or use

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
node = get_node_or_nil(pos)
if node then
  -- do stuff
end
"Fuck the hat." - Paulie Gualtieri
 

User avatar
tkerwel
Member
 
Posts: 213
Joined: Fri Jan 13, 2012 07:35

by tkerwel » Mon Jul 09, 2012 10:23

@mauvebic

thx for the tip and advice...
++++ Kung walang tiyaga, walang nilaga. ++++
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 16 guests

cron