I have been trying to write my own apis and when I put it into the apis folder it returns an error (I made sure to fully exit and restart minecraft to give it a chance to load it up), so i decided to load it manually. I have tried various locations on my computer with no success, each time i use loadapi it gives me file not found. just as i wrote this i thought it might be that lua deals with cross-platform file paths differently than java (eg. lua using the specific path syntax of the system instead of java's general syntax). Is this the problem, or is it something else?
0
loadAPI function always returns error message file not found
Started by daman4567, Aug 24 2013 12:49 AM
3 replies to this topic
#1
Posted 24 August 2013 - 12:49 AM
#2
Posted 24 August 2013 - 11:48 AM
Split into new topic.
Where exactly have you tried putting the file?
Where exactly have you tried putting the file?
#3
Posted 16 September 2013 - 02:10 PM
I have tried putting it into the apis folder in the computer craft folder and starting minecraft new. I also tried placing it arbitrarily in my computer and using the full path to reference it.
#4
Posted 16 September 2013 - 03:44 PM
You can't use a full path, the file has to be in the %APPDATA%/.minecraft/saves/<WorldNameHere>/computer/<computerid>, or wherever the map saves to. You can't just have it in a random place on your computer.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users