Page 1 of 1

Annoying Error

PostPosted: Thu Jul 26, 2012 03:50
by Josh
Whenever i use a chest or maybe when im doing anything i get a warning that says: Warning invise is decapritated use size. Why is this happening

PostPosted: Thu Jul 26, 2012 08:23
by PilzAdam
In the default init.lua the chests inventory is defined like 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
meta:set_string("formspec",
                "invsize[8,9;]"..
                "list[current_name;main;0,0;8,4;]"..
                "list[current_player;main;0,5;8,4;]")

The warning is about the "invsize". Just replace it with "size" and everything will work without a warning. (Maybe you should search and replace every "invsize" with "size" in the default init.lua)

PostPosted: Thu Jul 26, 2012 17:14
by VanessaE
The same error occurs with furnaces also (or did when I last checked, a few days ago)

PostPosted: Thu Jul 26, 2012 17:17
by PilzAdam
VanessaE wrote:The same error occurs with furnaces also (or did when I last checked, a few days ago)

You can fix it with the same method.

PostPosted: Fri Jul 27, 2012 03:06
by Josh
PilzAdam wrote:In the default init.lua the chests inventory is defined like 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
meta:set_string("formspec",
                "invsize[8,9;]"..
                "list[current_name;main;0,0;8,4;]"..
                "list[current_player;main;0,5;8,4;]")

The warning is about the "invsize". Just replace it with "size" and everything will work without a warning. (Maybe you should search and replace every "invsize" with "size" in the default init.lua)


So were the ''invsize[8,9,]''.. is i just replace the invise with the word size & it should work without no errors right?

PostPosted: Fri Jul 27, 2012 10:48
by PilzAdam
Josh wrote:So were the ''invsize[8,9,]''.. is i just replace the invise with the word size & it should work without no errors right?

Yes