loktar00 / guihacker

Ridiculous output to make you look like an amazing hacker.
http://guihacker.com
76 stars 17 forks source link

What does this part do exactly? #5

Open b3ck opened 2 years ago

b3ck commented 2 years ago

What does this part do exactly?

gui_hacker_code_01

Just wanted to know if there was a way to have it run for a certain time, then once it reaches it's time limit what happens?

loktar00 commented 2 years ago

Sorry for the late response... didn't see this notification.

That all just controls the actual text on the bottom. So the "isProcessing" is just a flag for showing the dots, when it does like

some message.......

Then after X time period it resets it with last process,

which does

some message......
new message

Then the "isProcessing" is flipped to true, and the dots are added, and the process repeats,.

lines 205 - 226 here, https://github.com/loktar00/guihacker/blob/master/public/javascripts/hack.js#L205