Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

DarkestSoul1992

Members
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by DarkestSoul1992

  1. /bin/rc.lua:147: bad argument #1 (string expected got table)

    doesn't give any pointers to lines of code in my program...

    Please help

    Computer connected to rolldoor controller from opensecurity and magnetic card reader from the same mod

    server connected to computer through relay and also connected (optionally) to same opensecurity components as the computer

     

    each file stored in /etc/rc.d of client and server respectively

    controld.lua controld-server.lua

  2. So I've (HEAVILY) modified the SGCX code to now include server database support at the core but I've run into a snag...
    The client code (client.zip: ./usr/bin/sgcx.lua) at line 1288 reports:  Attempt to index local 'v' a number value.
    I have included full source for the server and client in the hope someone will be able to pinpoint my mistake.

     

    sgc-server.lua sgcx.lua

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.