Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding Rares: Insight from a Programmer
#10
just because the odds of finding a rare enemy are 1/512 now it doesn't mean that every 512th rappy is a rare one.

in order to pick if an enemy is rare there would still be some sort of randomizing program involved. every randomizer needs to use time, it may not use beat time, it could actually use the gaming console's time clock to pick a random number, but it still needs to use time. i don't know what the program would be like, but in C it would be something like:

int randomhigh=512, randomlow=1;
int randomizer(int high, int low), displayrarebadguy(), displayregularbadguy();

if(randomizer(randomhigh, randomlow)==1) displayrarebadguy();
else displayregularbadguy();


and in the randomizer program is would use some of the functions in the "time.h" header file to obtain the beat time or actual time and make it a number from 1 to 512

for every 512th enemy being rare it would be like:

int badguycount;
int displayrarebadguy(), displayregularbadguy();

if(badguycount==512) displayrarebadguy();
else{ displayregularbadguy(); badguycount++;}


and for both of these, the second part of the program would happen each time you enter a room
Too legit to quit.
Reply


Messages In This Thread
Finding Rares: Insight from a Programmer - by whiteninja - 08-12-2004, 12:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Finding Summit moon Magician X 12 1,132 11-03-2006, 11:12 AM
Last Post: FOREVER1
  Finding the l&k14 combat Magician X 3 560 11-03-2006, 11:09 AM
Last Post: FOREVER1
  rares and gliches speedy14 21 1,421 08-01-2006, 04:27 AM
Last Post: FOREVER1
  questions about soaB rares slayerdemon 4 470 10-09-2005, 09:18 PM
Last Post: whiteninja
  Tips about finding rares ShadowNugget 18 1,030 21-04-2005, 03:24 AM
Last Post: Ghost/Spectre
  Finding Inferno Bozuka from a hlideblue Todd 20 1,300 08-03-2005, 02:12 AM
Last Post: Mog Boy Yezno
  A few tower rares NetNomad 5 465 06-01-2005, 12:33 AM
Last Post: NetNomad
  Finding Rare Items? Dabrasco 3 556 20-12-2004, 11:41 PM
Last Post: Dabrasco
  Ultimate Forest Rares RareHunterAlpha 25 1,343 30-11-2004, 01:11 AM
Last Post: A.S.
  Best Way to Find Rares RareHunterAlpha 48 2,358 16-11-2004, 02:26 AM
Last Post: UltraDefender

Forum Jump:


Users browsing this thread: 1 Guest(s)