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

Personal API Issues

Started by htothe2oh, 16 October 2012 - 03:14 AM
htothe2oh #1
Posted 16 October 2012 - 05:14 AM
I wrote my own API, its just a bunch of random functions I use on most of my turtles, like a short refuel command, and similar things. However, since I loaded this API, whenever I exit and re-enter and world, and all my turtles do their re-set, about 80% of them get 2-10 messages on the screen saying "file not found" and at the bottom, "press any key to continue". These turtles are part of what eventually will be a fully automated solar panel farm, and the idea that I will have to manually reset them every time I log in isn't very appealing… What I would like to know is if the problem is in fact the API, and how to fix it. THANK YOU!

-Htothe2oh
Lyqyd #2
Posted 16 October 2012 - 05:19 AM
We are not psychic. Without seeing the code, we can't help with potential problems in the code.
Sammich Lord #3
Posted 16 October 2012 - 06:02 AM
Post the code if you would like any help.
Doyle3694 #4
Posted 16 October 2012 - 07:57 AM
in the code which you want the API, do

os.loadAPI("The path to the API")
and it will autoload the API