Posted 27 July 2016 - 10:59 PM
Back again with yet another problem I can't make sense of. I understand the error refers to the program not being able to reference the target due to it not existing, but as far as I can understand, it should be able to reference the target without a problem.
My desktop code is supposed to reference a file named .nhuicfg for color settings/etc, creating a table based off of the contents of .nhuicfg for desktop to reference (based on a similar forum post). Thing is, when the supposed table is first called up for a value, it returns an index nil error at line 62. Perhaps the table containing .nhuicfg's values isn't constructing at all? I can't get it to work, but then again I never understood tables quite well (I need to get more practice in with them)
The desktop portion of my UI can be seen here: http://pastebin.com/JUhsDLDd
The .nhuicfg file it references can be seen here: http://pastebin.com/mbD7EU2J
Lastly, the UI installation program can be found here: http://pastebin.com/qExuNAUg
I haven't had much time to search the issue as of late, but I haven't been able to find much on this particular issue. Any point in the right direction would be much appreciated.
Many thanks in advance!
My desktop code is supposed to reference a file named .nhuicfg for color settings/etc, creating a table based off of the contents of .nhuicfg for desktop to reference (based on a similar forum post). Thing is, when the supposed table is first called up for a value, it returns an index nil error at line 62. Perhaps the table containing .nhuicfg's values isn't constructing at all? I can't get it to work, but then again I never understood tables quite well (I need to get more practice in with them)
The desktop portion of my UI can be seen here: http://pastebin.com/JUhsDLDd
The .nhuicfg file it references can be seen here: http://pastebin.com/mbD7EU2J
Lastly, the UI installation program can be found here: http://pastebin.com/qExuNAUg
I haven't had much time to search the issue as of late, but I haven't been able to find much on this particular issue. Any point in the right direction would be much appreciated.
Many thanks in advance!
Edited on 27 July 2016 - 09:00 PM