Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - new diplo quests
  FAQ FAQ  Forum Search   Register Register  Login Login

Topic Closednew diplo quests

 Post Reply Post Reply Page  <12
Author
bow locks View Drop Down
Forum Warrior
Forum Warrior


Joined: 09 Mar 2010
Status: Offline
Points: 211
Direct Link To This Post Posted: 11 May 2010 at 19:20
Good evening, stormcrow.

I hope im not sounding argumentative since i think this subject is really dead. but since dan is at 0/2, then by definition, there should be around 25% of the population between him and me, thats how come i dont see he's the first eligible.  Must be an interesting algorithm.

sun is shining. its a great game, thanks for all your work. this is a tiny thing.

Bow
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3820
Direct Link To This Post Posted: 11 May 2010 at 22:05
You're welcome, bow.

And just to finally clarify; we try to write efficient code that (hopefully) takes into account the unforeseen.

So what it tried to do (in your case) is to find a nearby city within a certain radius. 

Failing to find one, it tried again on an expanded radius, and then again etc.

Until it reached a point where the code said:
"Sod this for a game of soldiers, I'm not searching the *entire* map for a set of valid cities beyond X radius away from this hermit, but I *need* to return a city to him - otherwise the quest will be entirely broken as it requires a target city as a basic minimum... so let's pick the first city I can think of, which happens to be the nearest one to the center of the map."

As I say, it's now changed.  But you still won't necessarily be getting the nearest city to you, until the general population expands outwards sufficiently in your direction.


Edited by GM Stormcrow - 11 May 2010 at 22:06
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.