Project Red/ComputerCraft

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Are you allowed to post links to other forums like the ComputerCraft forums?

  • No. Why would you be allowed to do that? Don't be stupid Apple,

    Votes: 0 0.0%

  • Total voters
    7
  • Poll closed .

applesauce10189

New Member
Jul 29, 2019
10
0
0
I'm new to ComputerCraft. Love it. Played a little bit of Tekkit a little while after it was well known, I was new to modding then and couldn't tell the difference between IC2, Buildcraft or RedPower, and now I play FTB, now I know ComputerCraft is a separate mod from RedPower and with Project Red out I was wondering 2 things,

1. In the latest mod pack with Project Red, is it compatible with ComputerCraft like RedPower was? It doesn't need to be at all I just want to know if it is in the least or ever plans to.

(I'm a bit special I looked at RedPower 2 on the FTB wiki and it had monitors and such, I may just be confusing memories of monitors and such with ComputerCraft, feel free to call me "special" in the reply section if I'm wrong :p )


2. In the latest version of ComputerCraft if a player leaves a chunk loaded Computer/Turtle does it still turn off? A program I'm making is being stopped dead in its tracks by this bug, especially considering it's an automated never ending mining program.
(If anybody would like to see said program, FTB is needed for it, I don't know if I'm 100% allowed to post links but if I'm not please correct me. http://www.computercraft.info/forums2/index.php?/topic/16321-mining-turtle-program/)
 

Bellaabzug21

New Member
Jul 29, 2019
1,583
0
0
I don't believe that it is. However I do know for a fact that MFR is definitely compatible with computer craft and will work exactly the same way as red power did.
 

VikeStep

New Member
Jul 29, 2019
1,117
0
0
I'm new to ComputerCraft. Love it. Played a little bit of Tekkit a little while after it was well known, I was new to modding then and couldn't tell the difference between IC2, Buildcraft or RedPower, and now I play FTB, now I know ComputerCraft is a separate mod from RedPower and with Project Red out I was wondering 2 things,

1. In the latest mod pack with Project Red, is it compatible with ComputerCraft like RedPower was? It doesn't need to be at all I just want to know if it is in the least or ever plans to.

(I'm a bit special I looked at RedPower 2 on the FTB wiki and it had monitors and such, I may just be confusing memories of monitors and such with ComputerCraft, feel free to call me "special" in the reply section if I'm wrong :p )


2. In the latest version of ComputerCraft if a player leaves a chunk loaded Computer/Turtle does it still turn off? A program I'm making is being stopped dead in its tracks by this bug, especially considering it's an automated never ending mining program.
(If anybody would like to see said program, FTB is needed for it, I don't know if I'm 100% allowed to post links but if I'm not please correct me. http://www.computercraft.info/forums2/index.php?/topic/16321-mining-turtle-program/)
you are definitely allowed to post links, just because it is on another forum doesnt change that :)

1. Well, the compatibility features between computercraft and redpower were strictly down to redstone logic, i dont believe the redpower computers ever truly interacted with the computercraft computers. So yes all the original cross mod interactions shoudl still be there.
(and keep in mind that Project Red doesnt currently have the computers that redpower did)

2. By chunk loaded, i am assuming you are not talking about the miscperipheral chunk loader module, but about using a proper chunkloader such as the world anchor. It definitely should keep the program on however, you must make sure that it doesnt go out of the range. I looked at your code and noticed that as a mining program it does move. If you are still having problems for whatever reason. I recommend you look at the file saving API. what this does is let you save variables as a file on the computer so you can access it if you restart your computer. you could utilise this to store your coordinates (or relative coordinates to the starting point if you want) and when ever it restarts, it knows what step it is up to and will continue on like it never stopped.

I just noticed a possible bug in your program, it could not be it, but on line 44 it is not possible for the turtle to move forward as it has not dug there yet.
 
Last edited:

applesauce10189

New Member
Jul 29, 2019
10
0
0
Well to be honest that chunkloader part was because I had heard somewhere that chunkloaders don't work on computers unless a player is near by, just goes to show you shouldn't always assume rumors to be true heh, I was thinking of getting a Chunk Loader Turtle to follow behind the Mining Turtle, would that work?
 

VikeStep

New Member
Jul 29, 2019
1,117
0
0
well, miscperipherals is no longer in the 1.6 packs so we dont even have it for it to work. but if you are using the 1.5 packs, i think you can make chunkloader mining turtles.

anyways, even if you do use 1.5, I would recommend using an actual chunk loader mainly because of how much easier it is to code in. you dont have to worry about keeping a chunk loading turtle behind it.

also, did you read my comment before. I am sure I found your bug that you are having.
I just noticed a possible bug in your program, it could not be it, but on line 44 it is not possible for the turtle to move forward as it has not dug there yet.
 

applesauce10189

New Member
Jul 29, 2019
10
0
0
well, miscperipherals is no longer in the 1.6 packs so we dont even have it for it to work. but if you are using the 1.5 packs, i think you can make chunkloader mining turtles.

anyways, even if you do use 1.5, I would recommend using an actual chunk loader mainly because of how much easier it is to code in. you dont have to worry about keeping a chunk loading turtle behind it.

also, did you read my comment before. I am sure I found your bug that you are having.

Actually, that bug you mentioned, my program is fully tested and the bug isn't there, the bug is actually a part of my program that is yet to exist, and by that I mean there is no way to check if gravel/sand has fallen in front of a block just broken, which causes the turtle to do weird things such as go to the side, by the way how did you know that bug was there other than looking at the code itself? You were talking as if I've already mentioned it. Unless I have some serious memory loss issues I'm pretty sure I never mentioned that bug on this forum, unless I mentioned it on the ComputerCraft forum thread then in that case, yeah.

Edit: Went to look at the code. Feel stupid as possible. You mean the part where it turns left twice then forward? Yeah, thanks for telling me, much appreciated.
 

VikeStep

New Member
Jul 29, 2019
1,117
0
0
Actually, that bug you mentioned, my program is fully tested and the bug isn't there, the bug is actually a part of my program that is yet to exist, and by that I mean there is no way to check if gravel/sand has fallen in front of a block just broken, which causes the turtle to do weird things such as go to the side, by the way how did you know that bug was there other than looking at the code itself? You were talking as if I've already mentioned it. Unless I have some serious memory loss issues I'm pretty sure I never mentioned that bug on this forum, unless I mentioned it on the ComputerCraft forum thread then in that case, yeah.
You shared the CC forum, and I saw the code for the program, so i looked at it and saw the bug
 

applesauce10189

New Member
Jul 29, 2019
10
0
0
In terms of quotes the spacing is very weird, is it just my computer/browser being weird or is anybody else seeing words mashed together and such in the quotes?[DOUBLEPOST=1387342656][/DOUBLEPOST]
You shared the CC forum, and I saw the code for the program, so i looked at it and saw the bug
Talk about a speedy reply, if I didn't say something and forced the page to refresh I probably wouldn't have seen that reply until tomorrow lol.