Jump to content




Api Help


21 replies to this topic

#21 Ninjawolf0007

  • Members
  • 46 posts

Posted 28 July 2013 - 07:20 PM

View PostHellkid98, on 28 July 2013 - 03:24 PM, said:

View PostNinjawolf0007, on 27 July 2013 - 09:03 PM, said:

I'm having an issue... I'm trying to load my api from a resource pack and in
 os.loadAPI(" *path goes here* ")
I don't know what I should write for the path because if I write
os.loadAPI("rom/apis/t")
I get a "File not found" error... I have the api in a resource pack, but I don't know how to use it or load it from the resource pack. Could anyone help me?
Spoiler
Are you sure it's in the rom/apis folder? .-.
Or do you just have it on the computer?
If you do you could just do
os.loadAPI("Api Name Here")
But i'm not sure since I haven't installed the new CC version and I'm not sure how the resource packs work etc.

EDIT: Btw.. I think if you have it in the apis folder it should load automatically :)
Yea, I put it in resourcepacks/ComputerCraftCode/assets/computercraft/lua/rom/apis... It's just not always loading :/ *sigh* I'll figure it out eventually and post here once I get it...

Edit: I got it after I unzipped my resource pack with my api and then re-zipped it... hmm... I wonder if I can have a resource pack that isn't zipped for computercraft... I doubt it...

#22 Ninjawolf0007

  • Members
  • 46 posts

Posted 28 July 2013 - 07:59 PM

You can't have a non-zipped resourcepack for Computercraft :(





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users