Cannot start game in creative mode..

princessjinifer
Member
 
Posts: 14
Joined: Sun Jun 10, 2012 21:06

Cannot start game in creative mode..

by princessjinifer » Wed Aug 08, 2012 19:03

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
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36

by LolManKuba » Wed Aug 08, 2012 19:58

Hmm, maybe since 0.four.2 has a new creative incentory.
 

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

by sfan5 » Wed Aug 08, 2012 20:10

I think your Minetest Version is outdated
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

princessjinifer
Member
 
Posts: 14
Joined: Sun Jun 10, 2012 21:06

by princessjinifer » Wed Aug 08, 2012 21:02

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?
 

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

by sfan5 » Thu Aug 09, 2012 05:59

I'm using the latest Commit d38b465b7c11e5f22632b60b88d65fd1e72282af and it works just fine for me
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

princessjinifer
Member
 
Posts: 14
Joined: Sun Jun 10, 2012 21:06

by princessjinifer » Thu Aug 09, 2012 13:17

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..
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron