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
This is very likely due to my program using both
event, button, x, y = os.pullEvent("mouse_click")
os.pullEvent = os.pullEventRaw
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?
 
        