This vessel is currently docking. (100%)

Forum for general requests for support for players. Both staff members and veteran players can help new players with problems they encounter. No chatting in this forum, please.

Moderators: Public Relations Department, Players Department, Programming Department

User avatar
sanchez
Administrator Emeritus
Posts: 8742
Joined: Thu Jan 26, 2006 6:37 pm

This vessel is currently docking. (100%)

Postby sanchez » Sat Oct 18, 2014 7:29 pm

The boat should have been in range to instant dock to shore. If not, it should show 75% until the next sailing tick. Has something changed recently to instant docking? Help! My char is a sitting duck.
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: This vessel is currently docking. (100%)

Postby EchoMan » Sun Oct 19, 2014 11:22 am

Here is the announcement for the most recent change to the sailing system. It was also announced in-game:

viewtopic.php?p=531264&f=1#p531264
User avatar
SekoETC
Posts: 15523
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: This vessel is currently docking. (100%)

Postby SekoETC » Sun Oct 19, 2014 1:06 pm

This is the first time anyone has ever reported this. It sounds like a bug, but it's weird that it would manifest itself for the first time months after the system was changed. It's a fact that if it says 75%, it will dock at next turn, so it should never say 100% in any case.
Not-so-sad panda
User avatar
sanchez
Administrator Emeritus
Posts: 8742
Joined: Thu Jan 26, 2006 6:37 pm

Re: This vessel is currently docking. (100%)

Postby sanchez » Sun Oct 19, 2014 3:53 pm

Thanks. I saw the announcement. However, these changes ought not to have rendered instant docking impossible, no matter the location. I’ve managed it to ships and to harbours.

The boat should have been close enough to shore. And it was, hence 100%. But it didn’t dock until the next sailing tick. This is potentially life or death for a char, so should be fixed.

If it’s not a bug, then there are a couple of possibilities coming from the recent changes. I did notice that the boat changed direction when I initiated docking. To start, that’s a clearly exploitable error, if the boat’s direction is automatically reset to the optimal docking position. One only has to initate the docking far enough out to cancel, then continue that course and be sure of success. So it’s both too easy and too hard to instant dock to land now, oddly. It should never be impossible to tell if your boat has a good chance to instant dock, nor should it be guaranteed by exploiting this direction change. Cancelling docking should return your boat to its original course and speed.

What I suspect might be this case, is that it was a fairly unusual location. A sandy peninsula with undocking points in many directions. If the closest point to the boat when docking was initiated was e.g. North-West, instead of West, and these points are defined at greater distance from the shore, that distance got added once the boat was redirected from its course, so incremental docking was initiatiated even though the boat was as its target before then. I hope this is not what happened, as it would render such a town, with too many docking points, almost a fortress. Such locations should not exist, and certainly not for this reason.

The other possibility is that the map graphic is off, which is common. But it still oughtn’t have reported 100%. It’s a problem that needs to be solved.
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: This vessel is currently docking. (100%)

Postby Greek » Mon Oct 27, 2014 10:26 pm

I've finally tracked down this bug. It's caused by round-off error when comparing ships' speed and its distance from docking target.
It will be fixed soon.


sanchez wrote:What I suspect might be this case, is that it was a fairly unusual location. A sandy peninsula with undocking points in many directions. If the closest point to the boat when docking was initiated was e.g. North-West, instead of West, and these points are defined at greater distance from the shore, that distance got added once the boat was redirected from its course, so incremental docking was initiatiated even though the boat was as its target before then. I hope this is not what happened, as it would render such a town, with too many docking points, almost a fortress. Such locations should not exist, and certainly not for this reason.

Well, I don't understand. What is the closest point to the boat? There are two points: the boat and the docking location.


sanchez wrote:The other possibility is that the map graphic is off, which is common. But it still oughtn’t have reported 100%. It’s a problem that needs to be solved.

Every sailing ship in the game has two positions: one is defined as integer - like every location in the game; another - floating point value - used to avoid (reduce) rounding errors. Map pixels can't precisely project such position, so visual representation will always have to be just an approximation.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
User avatar
sanchez
Administrator Emeritus
Posts: 8742
Joined: Thu Jan 26, 2006 6:37 pm

Re: This vessel is currently docking. (100%)

Postby sanchez » Mon Oct 27, 2014 11:17 pm

Thanks, Greek!

Greek wrote:Well, I don't understand. What is the closest point to the boat? There are two points: the boat and the docking location.

What I wondered about here, was what is used to determine the optimal docking course where it's now adjusted? Is the speed also adjusted?

And, was there anything specific about this location that made finding a course for instant docking more difficult?

Return to “General Support”

Who is online

Users browsing this forum: No registered users and 1 guest