Author Topic: clock resetter  (Read 928 times)

druke

  • Hydlaa Notable
  • *
  • Posts: 965
    • View Profile
clock resetter
« on: November 03, 2003, 05:13:34 am »
i have been loking for a program and have been unable to find one of its type
i am trying to find a program that will reset my computer clokc over and over
i am looking for one to use to trick the java.rand program which uses the computer clock to get random numbers. anyone able to help?


my how times have changed.....

explorer

  • Hydlaa Citizen
  • *
  • Posts: 290
    • View Profile
(No subject)
« Reply #1 on: November 03, 2003, 05:21:04 am »
Sorry, dunno that one off the top of my head... But I have to be nosy, why do you want a program that\'ll do that?
Terragen manipulator, photoshop wannabe.

Planeshift name: Demoritus, but you can call me \"god\"
Avast.

sashok

  • Hydlaa Citizen
  • *
  • Posts: 448
    • View Profile
(No subject)
« Reply #2 on: November 03, 2003, 05:27:44 am »
wow, :) you are bored

are you just trying to prove something with this?  
Yes, the random number generator is depending on clock, but I\'m not sure which clock.  Is it the computer\'s clock?  Then you really don\'t want to reset it.  As I\'m guessing it\'s the bios clock or the hardware generated clock.  Can it be reset without going into bios and resetting?  Or maybe I\'m way off :)

druke

  • Hydlaa Notable
  • *
  • Posts: 965
    • View Profile
(No subject)
« Reply #3 on: November 03, 2003, 12:51:51 pm »
i am just really bored


my how times have changed.....

Axsyrus

  • Veteran
  • *
  • Posts: 1119
    • View Profile
(No subject)
« Reply #4 on: November 03, 2003, 04:38:12 pm »
hehe, trying to get around the 30 days trial date eh?

i think most programming languages have a function like this, i can remember Qbasic had something to set the clock..

Axsyrus the Azure - Ruler of the Winds
Member of The Arcane Order\'s Council

Jessyn

  • Hydlaa Citizen
  • *
  • Posts: 249
    • View Profile
(No subject)
« Reply #5 on: November 03, 2003, 07:34:32 pm »
there are two ways to create random numbers from the clock, but only one is easily feasible(as far as i know, there is no analog sine clock in most computers)  so the random is based on making a mathematical hash of the bios clock.  I\'m not sure about java, but in C, pascal, and BASIC, there was a command to set the clock to whatever you desired.  If you figured out the hash(or found it online) you could then set the clock to whatever value you wanted, and force the random command to give you whatever you wanted.  just look up clock reset commands in java.

Jessyn
Most things in life operate, not on reality, but the perception of reality.