Annoying Error

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

Annoying Error

by Josh » Thu Jul 26, 2012 03:50

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
Last edited by Josh on Thu Jul 26, 2012 03:51, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Jul 26, 2012 08:23

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)
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Jul 26, 2012 17:14

The same error occurs with furnaces also (or did when I last checked, a few days ago)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Jul 26, 2012 17:17

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.
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Fri Jul 27, 2012 03:06

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?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Jul 27, 2012 10:48

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
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron