Update if you go to here:
http://www.lua.org/cgi-bin/demo
and punch in: print(math.random(1,5000))
and then run
you get a random outputted number, in my case this was 4201, but then
if i go restart punch in the same code and run again i get the same
result.
then i entered this:
print(math.random(1,5000));
print(math.random(1,5000));
print(math.random(1,5000));
print(math.random(1,5000));
print(math.random(1,5000));
print(math.random(1,5000));
print(math.random(1,5000));
print(math.random(1,5000));
and results were as such:
4201
1972
3916
3993
4559
988
1677
3842
i then cleared the code and re-entered it and ran again and.......
the exact same result, i then changed the math.random(1,5000) to
math.random(1,5001) a big change i know but with this change the results were:
only some changed and even then only by adding 1 to the number,
so im not sure why but math.random in lua is actually not very random at all,
it seems to run on a set equation and changes the number based on how many times
math.random had already been called, Anyone got any suggestions for this?