Numbers are pseudo-random, but it is *EXTREMELY* unlikely a player will be able to figure out the sequence, thereby knowing the next number. Check out random.c included with the circle distribution for an example of how random numbers might be implemented. >---------- >From: Brian Langenfeld[SMTP:00206205@BIGRED.UNL.EDU] >Sent: Wednesday, January 07, 1998 2:17 PM >To: CIRCLE@POST.QUEENSU.CA >Subject: Random number calls > >This may seem like a stoopid question, but when a random number is called >for in the code (such as for hitpoint gains or offensive spells), is that >number truly random? Or is there a way that a mort could somehow know >when to have the random number called if he/she wanted a certain result? >I've heard something to this effect (that the numbers aren't truly >random) somewhere.. thanks. > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST