Jump to content




API Doesn't Load


  • You cannot reply to this topic
2 replies to this topic

#1 augustas656

  • Members
  • 158 posts

Posted 02 May 2014 - 05:05 PM

I am playing the pre-release 2 version of 1.7.2 computercraft, I have created an API that only has functions in it, nothing else. I've created a program that unloads the API and then loads it again, by looking at lua unloading an API that isn't loaded won't give an error, so I just unload my API just incase, before loading it for the program. Then the program calls a function, I'm using this test program to test wether my API has any malfunctions. The test program recieves an error, attempt to call nil on the line that calls the function. If I run the API using shell.run, it does work! But it works incorrectly.

How can I properly load my API, what am I doing wrong? If this is a bug of the pre-release 2 version I'll post it on the beta testing forums in the bug report section. But I'm not sure, and I don't believe it's a bug as the beta versions don't really change much of the actual lua content.

Regards
Augustas

#2 apemanzilla

  • Members
  • 1,421 posts

Posted 02 May 2014 - 05:07 PM

Can't do much without code.

#3 augustas656

  • Members
  • 158 posts

Posted 02 May 2014 - 05:11 PM

ok, that was like, I was so stuck on this problem, but somehow couldn't solve it, uhh, I made this, xD, nvm, I didn't type my API's name before the function. xD





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users