Changes

no edit summary
Line 63: Line 63:  
local rand = math.random()
 
local rand = math.random()
 
local rtnHash = (math.floor(time*265314426625821*rand)-randomizer*time) % 2^32+math.floor(math.random()*1381242451)*randomizer
 
local rtnHash = (math.floor(time*265314426625821*rand)-randomizer*time) % 2^32+math.floor(math.random()*1381242451)*randomizer
local step1 = math.floor(time*265314426625821*rand)
+
-- local step1 = math.floor(time*265314426625821*rand)
local step2 = randomizer*time
+
-- local step2 = randomizer*time
local step3 = step1-step2
+
-- local step3 = step1-step2
local step4 = step3 % 2^32
+
-- local step4 = step3 % 2^32
local step5 = math.floor(math.random()*1381242451)
+
-- local step5 = math.floor(math.random()*1381242451)
local step6 = step5*randomizer
+
-- local step6 = step5*randomizer
local step7 = step4 + step6
+
-- local step7 = step4 + step6
local rtnStr = tostring(step1) .. " | " .. tostring(step2) .. " | " .. tostring(step3) .. " | " .. tostring(step4) .. " | " .. tostring(step5) .. " | " .. tostring(step6).. " | " .. tostring(step7) .. " | " .. tostring(rtnHash)
+
-- local rtnStr = tostring(step1) .. " | " .. tostring(step2) .. " | " .. tostring(step3) .. " | " .. tostring(step4) .. " | " .. tostring(step5) .. " | " .. tostring(step6).. " | " .. tostring(step7) .. " | " .. tostring(rtnHash)
 +
local rtnStr = tostring(rtnHash)
 
return rtnStr
 
return rtnStr
 
-- return (math.floor(time*265314426625821*rand)-randomizer) % 2^32+math.floor(math.random()*1381242451)
 
-- return (math.floor(time*265314426625821*rand)-randomizer) % 2^32+math.floor(math.random()*1381242451)
2,922

edits