Page 1 of 1

Cannot start game in creative mode..

PostPosted: Wed Aug 08, 2012 19:03
by princessjinifer
Okay. Now this is bugging me ._.
When I try to open a local world on my computer, in Creative Mode, it spits back an error:

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
13:55:29: ERROR[main]: ServerError: LuaError: error: ...st/bin/../games/minetest_game/mods/creative/init.lua:67: attempt to perform arithmetic on field 'creative_inventory_size' (a nil value)


Line 67 of the creative init.lua says:

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
local pagemax = math.floor((creative_inventory.creative_inventory_size-1) / (6*4) + 1)


I only started getting it when I started adding mods.. I am guessing it is overflowing the 5 pages of creative inventory, and doesn't know how to make more. I know it can, because I have seen screenshots of people with 9 pages are so.

And, if I remove the creative mod, then everything works perfectly, but I do not have the creative inventory, which I really liked.. Anyone able to help?

Thanks in advance! :)
~Princessjinifer

PostPosted: Wed Aug 08, 2012 19:58
by LolManKuba
Hmm, maybe since 0.four.2 has a new creative incentory.

PostPosted: Wed Aug 08, 2012 20:10
by sfan5
I think your Minetest Version is outdated

PostPosted: Wed Aug 08, 2012 21:02
by princessjinifer
sfan5 wrote:I think your Minetest Version is outdated


You think? :o
I download everything straight from Github, using my little script I 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
#! /bin/bash

# move to minetest folder
cd minetest

# download and merge new engine changes
git pull git@github.com:celeron55/minetest

# move to minetest_game folder
cd games/minetest_game

# download and merger new game changes
git pull git@github.com:celeron55/minetest_game

# move back to minetest folder
cd ../..

# compile
cmake . -DRUN_IN_PLACE=1
make -j2


So maybe it is just too new? And he has not release a fix for it?

PostPosted: Thu Aug 09, 2012 05:59
by sfan5
I'm using the latest Commit d38b465b7c11e5f22632b60b88d65fd1e72282af and it works just fine for me

PostPosted: Thu Aug 09, 2012 13:17
by princessjinifer
sfan5 wrote:I'm using the latest Commit d38b465b7c11e5f22632b60b88d65fd1e72282af and it works just fine for me


Welll, do remember that we are talking about minetest_game (or, one of the mods in it) and not minetest the engine..