[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: PRNG for Lua 4.0?
- From: Michael Horvath <mikh2161@...>
- Date: Tue, 10 Sep 2013 05:26:29 -0400
The game developers modified the game I'm modding so that random()
behaves differently. It gets a new seed each time a script is run
regardless of what seed you feed it.
On Tue, Sep 10, 2013 at 5:13 AM, Dirk Laurie <firstname.lastname@example.org> wrote:
> 2013/9/10 Michael Horvath <email@example.com>:
>> OK since this code is not working for me, does anyone have a
>> suggestion for a different PRNG implementation I could use instead?
> What's wrong with Lua 4.0.1's built-in functions?
> $ lua4
> Lua 4.0.1 Copyright (C) 1994-2000 TeCGraf, PUC-Rio
>> for k=1,10 do print(random()) end