06-05-2018, 03:53 AM
(06-04-2018, 03:11 AM)DerVVulfman Wrote: BASTICHES!!!! THEY TOOK MILLISECONDS OUT OF THE TIME CLASS!
I GOT IT!!!!! THEY HID IT!!!!
Code:
time = Time.now
ms = time.to_f.to_s.split(".").last[0..2]
p time.strftime("%H:%M:%S.#{ms}")
They disabled the tv_usec and usec properties which made immediate calls to retrieve the Milliseconds from the time class. BUT... the above code shows that the milliseconds STILL EXIST!!! I can still retrieve the data!
Now the fun part is to see about making the most UBER accurate wait system for RPGMaker which can be set to the millisecond!!! Um... wait... Erm, to 1/1000th of a second may be too much. So instead of the millisecond, how does a centisecond (1/100th) sound?