Jump to content




[Error] Weird error after running program.


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

#1 Zoinky

  • Members
  • 144 posts
  • LocationWellington, New Zealand

Posted 14 October 2012 - 03:53 AM

Hey, I was trying to make a antivirus (And did it) but the code is somewhat weird and messy. I was wondering if anyone had any suggestions on how to make the code more efficient or cleaner. Here it is:

Spoiler

Oh and I added the 'os.reboot()' line because I was getting a weird error (scan:78:bad argument: string expected, got nil) when I tried to run the Lua interface after I scanned a program. If anyone could figure that out I'd be grateful. Thanks in advance! :)/>

#2 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 14 October 2012 - 04:21 AM

your overwriting the read function, a global, stahp

#3 Zoinky

  • Members
  • 144 posts
  • LocationWellington, New Zealand

Posted 14 October 2012 - 05:47 AM

Oh right! Thanks :)/> I'll fix it up once I get home. :)/>





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users