It was working fine a week ago but suddenly today I found it returning the same numbers again.
math.randomseed(os.time()) for i=1,10 do print(math.random(1,100)) end
I get the same sequence of numbers every time... Is it just me?
Thanks
Possibilities I can think of:
Ctrl+f for "math.randomseed" in http://lua-users.org/wiki/MathLibraryTutorial; it explains a bit on what's going on and offers a couple things you can do to improve the randomness.