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

Computer ID Change (Different from last post)

Started by nateracecar5, 30 March 2014 - 08:01 PM
nateracecar5 #1
Posted 30 March 2014 - 10:01 PM
Sometimes when you log into a world, the ID's of computers can change. My pocket computer ID changed, and so I had to copy over my programs. Also, I was testing Lyqyd's pgps, and it stopped getting GPS signals. Turned out, my GPS computers changed their ID's as well, and the startup program telling them to run the GPS host command wasn't there. It was just rom.

I don't know what caused this, or if it was a bug on my part, but something happened that made a lot of computer's in my world change their ID's…
Keridos #2
Posted 31 March 2014 - 11:44 AM
Had that too, somehow it reset my labels/ignored the old ones. For some reason although lastid.txt was at 163, my pocket computers id was below 4 and it tried to run the gps host command that was saved on the computer with that id. Since I had no valuable data on the computers yet I decided to just reset the whole computer folder, basically deleting everything related to computers. I am not sure about what caused that tbh.
Bomb Bloke #3
Posted 02 April 2014 - 02:54 PM
Dan's probably aware, but just for the record, Pocket Computer IDs are still bugged under CC 1.61.

I've started to notice some correlation to the state of the "computers" folder: Say you make a bunch of computers, and mess with their file systems in some way. This generates a folder for each system, numbered after its ID.

Say you build a computer and don't mess with its file system. "lastid.txt" will be updated as usual, but a folder for that specific computer won't be generated.

Now say you make a pocket computer. It'll get an ID according to "lastid.txt", which is fine - but restarting MineCraft may result in it being re-assigned an ID according to the first free computer folder… and then subsequent pocket computers might later switch their ID to that plus however many other pocket computers have been made. Other actions - such as crafting the pocket device together with a modem - may also result in an ID change, but best I can make out that's usually only by +/-1 of the old ID.

Note also that pocket computers are only affected by one reboot, and whether they've already had their ID changed by a modem craft doesn't seem to prevent that. So I'm thinking there're multiple triggers at play here. Thus far in my tests it seems everything works as intended until at least one of the things has been bugged during modem crafting, then after that it turns into a mess across the board.