173 posts
                
                    
                        Location
                        The hall of 1000 monkeys and only 1 typewriter
                    
                
             
            
                Posted 09 October 2016 - 11:37 AM
                Ok. I'm currently doing a complete re-write of HydrOS as the old one was ugly, unfinished and buggy.
I've recently been working on
 the login program, but there's a problem.
Well, there are multiple problems.
List of problems [
You have to double click the text boxes to enable typing.
Time flickers.
Can flicker between day mode and night mode at random intervals for short periods of time.
I can't break the loop via "break" or "shell.run" which means a few programs break :/
Edit: I forgot to mention the main reason. The login button doesn't work at all
]
Could someone aid in debugging it?
Edit2:I got rid of the screen flicker :)/>
Edit3: 
basic API, 
ks API 
                
                    Edited on 09 October 2016 - 09:59 AM
                
             
         
        
        
            
            
                
                    
                
                463 posts
                
                    
                        Location
                        Star Wars
                    
                
             
            
                Posted 09 October 2016 - 11:54 AM
                Yeah, it is really buggy…
So buggy like a program with the error:
'login:24: attempt to index ? (a nil value)'.
I downloaded it via pastebin into login and started it and it errors.
                
                    Edited on 09 October 2016 - 09:55 AM
                
             
         
        
        
            
            
                
                    
                
                173 posts
                
                    
                        Location
                        The hall of 1000 monkeys and only 1 typewriter
                    
                
             
            
                Posted 09 October 2016 - 11:56 AM
                Yeah, it is really buggy…
So buggy like a program with the error:
'login:24: attempt to index ? (a nil value)'.
I downloaded it via pastebin into login and started it and it errors.
Oh. I forgot I used APIs. Lemme go upload those quick
 
                
             
         
        
        
            
            
                
                    
                
                122 posts
                
                    
                        Location
                        France
                    
                
             
            
                Posted 12 October 2016 - 04:26 PM
                Yeah, it is really buggy…
So buggy like a program with the error:
'login:24: attempt to index ? (a nil value)'.
I downloaded it via pastebin into login and started it and it errors.
Oh. I forgot I used APIs. Lemme go upload those quick
I fixed your code to make it executable to all the community
Code: 
pastebin get Cz0pvFXA login
 
                
             
         
        
        
            
            
                
                    
                
                54 posts
                
                    
                        Location
                        Italy
                    
                
             
            
                Posted 12 October 2016 - 05:34 PM
                I fixed your code to make it executable to all the community
Code: 
pastebin get Cz0pvFXA login
Thanks Redall
I've found another bug :rolleyes:/>
It actually takes the cursor to x=1 y=2 if you click twice anywhere out of the text boxes after selecting both (one by one). It won't make you write anything, thought.
It will also make it other times, but that's the most stable way I've found.
Image:
Spoiler

 
                
                    Edited on 12 October 2016 - 03:36 PM
                
             
         
        
        
            
            
                
                    
                
                173 posts
                
                    
                        Location
                        The hall of 1000 monkeys and only 1 typewriter
                    
                
             
            
                Posted 14 October 2016 - 02:51 PM
                could you guys help with that, too?
                
             
         
        
        
            
            
                
                    
                
                54 posts
                
                    
                        Location
                        Italy
                    
                
             
            
                Posted 14 October 2016 - 04:31 PM
                I'm not really good at programming, but I'll certainly try to help ;)/>
                
             
         
        
        
            
            
                
                    
                
                122 posts
                
                    
                        Location
                        France
                    
                
             
            
                Posted 13 November 2016 - 06:07 PM
                could you guys help with that, too?
If I would have had the time, I could help you, but actually tomorrow I will be at School.