Enquirer Home Page | Twitter | Back to Improbable Island

 Forum Index > Season Two > Development New Topic Post Reply
 Monster selector RNG Nudge
 |  Printable Version
CavemanJoe
 Thursday, May 06 2010 @ 07:16 AM UTC (Read 1691 times)  
Forum Admin
Admin

Status: offline

Registered: 02/24/08
Posts: 2281

A little update that isn't worth putting in the MotD, here...

Given that we humans see patterns in everything, to make something "feel" more random, you sometimes have to make it less random. We've all at some point fought the same monster twice in a row, or twice in relatively fast succession; sometimes a Rookie player, subject to the whims of the RNG, will fight the same four monsters over and over again and think there are very few monsters, and get bored and wander off and never give me any bloody money. Mr. Green The new nudger module tries to discourage that from happening.

The nudger intercepts the point in the beginning of battle just after a level has been selected and a monster has been pulled at random from the database - before the monster is sent off to buffbadguy() for any post-selection tinkering. It checks for the monster's unique ID in a list of the last eight monsters you've fought. If there's a match, it throws that monster away and picks a new one, then checks again - and if there's a match, it'll throw the monster away pick a new one and check again, and so on. In total it'll check three times before giving up and letting the main battle script continue (we'd let it try more, but each check is another database query and more server resources, and we don't want to deviate too far from true pseudo-random).

So, you can still fight the same monster twice in a row, or twice in recent succession - but the odds of doing so are now somewhat slimmer. Yay tinkering. Smile


 
Profile Email Website
Quote
Anonymous: james
 Thursday, May 06 2010 @ 11:29 AM UTC  


nice. very nice.


 
Quote
Ochris
 Thursday, May 06 2010 @ 10:44 PM UTC  
Forum Contestant
Contestant

Status: offline

Registered: 10/21/09
Posts: 25

doesn't this also slightly increase the chance of seeing your quest beast?

[edit: perhaps even more than slightly, depending on the number of possible monsters per level]


 
Profile Email
Quote
tehdave
 Thursday, May 06 2010 @ 11:57 PM UTC  
Forum Improbable Badass
Improbable Badass

Status: offline

Registered: 12/17/09
Posts: 429

probably not, since "quest result" is probably its own result in "looking for trouble".
Monster
Improbable Events (jungle-only)
Improbable Events (Jungle + travel)
Quest Monster/Item


is how it probably is, though I could be dead wrong...so the game already knows that it's not your quest monster before this takes effect.


Isn't sanity just a one-trick pony anyway? All you get is one trick: rational thinking. But when you're good and crazy, oooh, oooh, the sky's the limit.
 
Profile Email
Quote
Content generated in: 0.29 seconds
New Topic Post Reply



 All times are UTC. The time is now 04:52 PM.

Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content