Posted 19 January 2014 - 10:10 AM
hello,
I am trying to make a login system for my PC that involves user-friendly looking windows and supports mouse clicks. However, a major security leak in my program causes, whenever someone tries to ctrl+T their way into my PC, raise an error message saying:
This is very likely due to my program using both
I cant post the full code now, but I might be able to later today.
How can I stop the program from being force-terminated while retaining mouse support?
I am trying to make a login system for my PC that involves user-friendly looking windows and supports mouse clicks. However, a major security leak in my program causes, whenever someone tries to ctrl+T their way into my PC, raise an error message saying:
startup:65: attempt to compare nil with number
It then terminates, allowing anyone to get in like any other poor-quality lock.This is very likely due to my program using both
event, button, x, y = os.pullEvent("mouse_click")
to catch mouse clicks, as well as
os.pullEvent = os.pullEventRaw
to stop the program from terminating.I cant post the full code now, but I might be able to later today.
How can I stop the program from being force-terminated while retaining mouse support?