Jump to content




Space limit config not working


  • You cannot reply to this topic
11 replies to this topic

#1 CometWolf

  • Members
  • 1,283 posts

Posted 01 May 2014 - 08:22 PM

I've recently hit the space limit on my computer while working on my latest project, mainly due to the github files being store in the computer folder aswell. Anyways, i've tried changing the config file "ComputerCraft.cfg", specifically this part
# The disk space limit for computers and turtles, in bytes
I:computerSpaceLimit=100000000000
However, after creating a fresh computer in a new world, it outputs 999488 when i run fs.getFreeSpace"/", and my old computer sadly still outputs 0. Anyone got any ideas? Im on single player CC 1.58, FTB monster.

entire config file
Spoiler

Edited by CometWolf, 01 May 2014 - 08:22 PM.


#2 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 01 May 2014 - 10:59 PM

Without having FTB to test with, my only guess would be that you've set the limit too high so it's being automatically reset by CC to the default value (instead of the highest valid value). I'm probably wrong, but it wouldn't be too hard to test - just set the limit a small amount above the default and see if it works. If that doesn't work, set it to less than the default and see if that works. Then at least you'll at least know if the config value is having any effect.

#3 CometWolf

  • Members
  • 1,283 posts

Posted 01 May 2014 - 11:18 PM

setting it to 1000 does indeed lower it, setting it to 1000000, does nothing. That's just 1 added 0. 0 Which i thought was unlimited dosen't work either.

#4 ExDomino

  • Members
  • 44 posts

Posted 01 May 2014 - 11:21 PM

Maybe the default value is the highest value too.

#5 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 01 May 2014 - 11:38 PM

Hmmm...ExDomino may be right. Next thing I can think of is to try a vanilla CC install to see if you run into the same problem. If there is a hardcoded limit (or other associated issue) it may be worth investigating in 1.63 as well. If it only happens in the FTB pack, that's going to be fun to track down...

#6 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 02 May 2014 - 01:08 AM

 CometWolf, on 01 May 2014 - 11:18 PM, said:

0 Which i thought was unlimited dosen't work either.

Apparently not. I doubt there are any bugs here - just some unintuitive behaviours that're probably worth documenting if anyone susses them out.

#7 ExDomino

  • Members
  • 44 posts

Posted 02 May 2014 - 04:26 PM

I'm wondering how you could use the whole space of a computer tough.

#8 blipman17

  • Members
  • 92 posts

Posted 04 May 2014 - 03:52 PM

Did you tried null?

#9 CometWolf

  • Members
  • 1,283 posts

Posted 04 May 2014 - 03:53 PM

 Bomb Bloke, on 02 May 2014 - 01:08 AM, said:

 CometWolf, on 01 May 2014 - 11:18 PM, said:

0 Which i thought was unlimited dosen't work either.

Apparently not


#10 blipman17

  • Members
  • 92 posts

Posted 04 May 2014 - 04:09 PM

 CometWolf, on 04 May 2014 - 03:53 PM, said:

 Bomb Bloke, on 02 May 2014 - 01:08 AM, said:

 CometWolf, on 01 May 2014 - 11:18 PM, said:

0 Which i thought was unlimited dosen't work either.

Apparently not
comet, your post is empty.

#11 CometWolf

  • Members
  • 1,283 posts

Posted 04 May 2014 - 04:48 PM

I am aware. I was pointing out, as Bomb already did, that there is no unlimited option. Ergo, null wouldn't make any sense.

#12 blipman17

  • Members
  • 92 posts

Posted 04 May 2014 - 04:56 PM

 CometWolf, on 04 May 2014 - 04:48 PM, said:

I am aware. I was pointing out, as Bomb already did, that there is no unlimited option. Ergo, null wouldn't make any sense.
Ah, didn't got that.
Maybe a suggestion for cc1.6.x?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users