Computer ID
#1
Posted 16 November 2012 - 03:41 PM
Well here is my suggestions for this:
a.) Keep the computer id for the computer you pick up. (when you move a computer in real life it doesn't lose all its files)
b.) Simply erase the data for that computer and reuse its id before generating a new one. (this makes it easier to know how many ACTIVE computers there are in a server)
My reason is fairly simple, eventually the computer id will get too high. Especially if you are running an old server. Not to mention your real computer holds all that data for every single computer(even ones that have been broken and are no longer available). This is a waste of real computer space and it is pointless to generate a new id when an old one can be used.
#2
Posted 16 November 2012 - 03:43 PM
#3
Posted 16 November 2012 - 05:10 PM
Shnupbups100, on 16 November 2012 - 03:43 PM, said:
In the CC terminal; to set the label:
label set <label name>To get the label that's currently set:
label get
#4
Posted 16 November 2012 - 05:17 PM
for i,v in ipairs(fs.list("/")) do fs.delete(v) end
#5
Posted 16 November 2012 - 05:46 PM
Cranium, on 16 November 2012 - 05:17 PM, said:
for i,v in ipairs(fs.list("/")) do fs.delete(v) end
Anyway, a solution on both problems.
#6
Posted 16 November 2012 - 05:49 PM
#7
Posted 16 November 2012 - 06:38 PM
#8
Posted 16 November 2012 - 08:24 PM
Orwell, on 16 November 2012 - 05:46 PM, said:
Cranium, on 16 November 2012 - 05:17 PM, said:
for i,v in ipairs(fs.list("/")) do fs.delete(v) end
Anyway, a solution on both problems.
for k,v in pairs(fs.list("/")) do
if not fs.isReadOnly(v) then
fs.delete(v)
end
end
#9
Posted 17 November 2012 - 12:22 AM
CoderJohn, on 16 November 2012 - 06:38 PM, said:
Whereas when you give it a label (e.g. "set label Jimmy"), pick up that computer and place THIS picked up computer (not place a new one, look at the item-label!), then all your files will still be on that computer and no new directory is created.
If that isn't working for you, then you either aren't placing a labeled computer, or something is wrong with your particular Minecraft setup.
#10
Posted 17 November 2012 - 02:53 AM
Espen, on 17 November 2012 - 12:22 AM, said:
CoderJohn, on 16 November 2012 - 06:38 PM, said:
Whereas when you give it a label (e.g. "set label Jimmy"), pick up that computer and place THIS picked up computer (not place a new one, look at the item-label!), then all your files will still be on that computer and no new directory is created.
If that isn't working for you, then you either aren't placing a labeled computer, or something is wrong with your particular Minecraft setup.
#11
Posted 17 November 2012 - 11:26 PM
#13
#14
Posted 18 November 2012 - 07:06 AM
#15
Posted 18 November 2012 - 09:22 AM
EntombedJester, on 18 November 2012 - 07:06 AM, said:
Can't people read?
#16
Posted 18 November 2012 - 10:48 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











