Sign in to follow this  
Waughee

Animal Spawns

Recommended Posts

I've been hearing that animal spawns are moving in consistant directions. In cryptography there is a common mistake that could be simillar here and is hard to notice. So I thought I would through it out there in case it helps. Not truly knowing the code base, I fully admit that things are probably working different then I assume, so only the devs will know if this suggestion is helpful at all. Also, I have seen incredibly smart developpers make this mistake and not notice it, so I just wanted to mention it in case it helps.

 

Assumptions

There is an array of possible directions (probably wrong, but issue is in how random is applied to any finite set)

Each tick an animal pulls a random number n. The direction is determined by grabbbing directions[n%len(directions)]

maxN is the maximum random number

 

Issue

maxN%len(directions) != 0 therfore the lower indexed directions will be called slightly more often than higher indexed directions. This difference is incredibly small, however every maxN times an animal moves, it would statisticly move those lower directions directions one more time than the rest. So over enough time they would migrate in that direction.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

I don't know the programming and code involved but I do know most real life animal migrations are seasonal and cyclical. They tend to make it back to the starting point at the appropriate season. Wurm migration seems to be one direction only. It would be nice if they migrated back to their spawn spots after a time instead of just parking on the far edge of the server.

Share this post


Link to post
Share on other sites

there was a recent change.. killing the north high spawns(spawn + movement in that direction).. it's kind of boring around north nowdays, sad new reality

Share this post


Link to post
Share on other sites

It's dead here in mid Xan. Ran into one agro today and I was riding all over the place. :(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this