This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
CometWolf's profile picture

Space limit config not working

Started by CometWolf, 01 May 2014 - 07:22 PM
CometWolf #1
Posted 01 May 2014 - 09: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# Configuration file

####################
# block
####################

block {
# The Block ID for Cables
I:cableBlockID=1229

# The Block ID for Computers
I:computerBlockID=1225

# The Block ID for all Peripherals
I:peripheralBlockID=1226

# The Block ID for advanced turtles
I:turtleAdvancedBlockID=1230

# The Block ID for turtles
I:turtleBlockID=1227

# The Block ID for upgraded turtles
I:turtleUpgradedBlockID=1228
}


####################
# general
####################

general {
# The fuel limit for Advanced Turtles
I:advancedTurtleFuelLimit=100000

# The disk space limit for computers and turtles, in bytes
I:computerSpaceLimit=100000000000

# Enable the "http" API on Computers
B:enableAPI_http=true

# Enable Command Block peripheral support
B:enableCommandBlock=false

# The disk space limit for floppy disks, in bytes
I:floppySpaceLimit=125000

# The range of Wireless Modems at maximum altitude in clear weather, in meters
I:modem_highAltitudeRange=384

# The range of Wireless Modems at maximum altitude in stormy weather, in meters
I:modem_highAltitudeRangeDuringStorm=64

# The range of Wireless Modems at low altitude in clear weather, in meters
I:modem_range=64

# The range of Wireless Modems at low altitude in stormy weather, in meters
I:modem_rangeDuringStorm=16
I:terminal_height=19
I:terminal_width=51

# The frequency that treasure disks will be found in dungeon chests, from 0 to 100. Increase this value if running a modpack with lots of mods that add dungeon loot, or you just want more treasure disks. Set to 0 to disable treasure disks.
I:treasureDiskLootFrequency=1

# The fuel limit for Turtles
I:turtleFuelLimit=20000

# Set whether Turtles require fuel to move
B:turtlesNeedFuel=true
}


####################
# item
####################

item {
# The Item ID for Coloured Floppy Disks
I:diskExpandedItemID=31707

# The Item ID for Floppy Disks
I:diskItemID=31708

# The Item ID for Pocket Computers
I:pocketComputerItemID=31695

# The Item ID for Printouts
I:printoutItemID=31706

# The Item ID for Treasure Disks
I:treasureDiskItemID=31705
}
Edited on 01 May 2014 - 07:22 PM
Dog #2
Posted 01 May 2014 - 11: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.
CometWolf #3
Posted 02 May 2014 - 12:18 AM
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.
ExDomino #4
Posted 02 May 2014 - 12:21 AM
Maybe the default value is the highest value too.
Dog #5
Posted 02 May 2014 - 12:38 AM
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…
Bomb Bloke #6
Posted 02 May 2014 - 02:08 AM
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.
ExDomino #7
Posted 02 May 2014 - 05:26 PM
I'm wondering how you could use the whole space of a computer tough.
blipman17 #8
Posted 04 May 2014 - 04:52 PM
Did you tried null?
CometWolf #9
Posted 04 May 2014 - 04:53 PM
0 Which i thought was unlimited dosen't work either.

Apparently not
blipman17 #10
Posted 04 May 2014 - 05:09 PM
comet, your post is empty.
CometWolf #11
Posted 04 May 2014 - 05: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.
blipman17 #12
Posted 04 May 2014 - 05:56 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.
Ah, didn't got that.
Maybe a suggestion for cc1.6.x?