Posted 24 February 2015 - 03:31 PM
Hi!
I am currently starting a project in computercraft where I will recreate Internet (Not World Wide Web) in Minecraft. Internet, in real life, is made out of nodes, where if you want to send data from node A to node B it will send the data by taking the shortest way between the nodes. But if 1 node break, it will try to find another way. This is the think I want to recreate. I know it sounds very hard (Because computercraft computers has a range of a limited amount of blocks), but I already have the idea in my head on how to do this. There is 1 problem though. Chunks. Minecraft is built up using Chunks. 1 Chunk is 16x16x256, and contains blocks about the world. Chunks are also used for saving and loading. While game is loaded and the player is in the world, it has a number of chunks loaded around the player. When blocks and chunks are outside that area around the player, they are no longer loaded into the game, though, if you run redstone out in unloaded chunks the chunks will load when the redstone gets a redstone power. Now to computers, computers in ComputerCraft are also blocks. and when the computer blocks gets in unloaded chunks, they shutdown and stops working. There's a problem. Because for Internet to work, the computers at the node has to be loaded all the time. This doesn't happen in real life, because in real life there is no chunks, nor loading and saving. So you could say that in real life, all the chunks are loaded at the same time, and all computers and nodes are always running. Back inside Minecraft, if you want to send a message via rednet to a computer in unloaded chunks, you could use redstone to load the chunk, and then run the computer, put there's no point in doing that because then there's no point of using wireless modems, which I want (and which also is best in my case).
So now comes the problem. if you can't use redstone to send pulses to the chunk, to keep it loaded, how do you make computers in unloaded chunks stay loaded even if the player exit the chunk?
I am currently starting a project in computercraft where I will recreate Internet (Not World Wide Web) in Minecraft. Internet, in real life, is made out of nodes, where if you want to send data from node A to node B it will send the data by taking the shortest way between the nodes. But if 1 node break, it will try to find another way. This is the think I want to recreate. I know it sounds very hard (Because computercraft computers has a range of a limited amount of blocks), but I already have the idea in my head on how to do this. There is 1 problem though. Chunks. Minecraft is built up using Chunks. 1 Chunk is 16x16x256, and contains blocks about the world. Chunks are also used for saving and loading. While game is loaded and the player is in the world, it has a number of chunks loaded around the player. When blocks and chunks are outside that area around the player, they are no longer loaded into the game, though, if you run redstone out in unloaded chunks the chunks will load when the redstone gets a redstone power. Now to computers, computers in ComputerCraft are also blocks. and when the computer blocks gets in unloaded chunks, they shutdown and stops working. There's a problem. Because for Internet to work, the computers at the node has to be loaded all the time. This doesn't happen in real life, because in real life there is no chunks, nor loading and saving. So you could say that in real life, all the chunks are loaded at the same time, and all computers and nodes are always running. Back inside Minecraft, if you want to send a message via rednet to a computer in unloaded chunks, you could use redstone to load the chunk, and then run the computer, put there's no point in doing that because then there's no point of using wireless modems, which I want (and which also is best in my case).
So now comes the problem. if you can't use redstone to send pulses to the chunk, to keep it loaded, how do you make computers in unloaded chunks stay loaded even if the player exit the chunk?