==================== Type:Software? Bug:Inability, at times, of Ships to dock on POBs ====================
This is a problem that a few have been calling the 'docking bug'.
It appears that when the Server gets a bit laggy, ships can't dock on POBs and they get the 'your papers are not good here' message or one of the other similar messages.
Generally it will go away after a couple of minutes, but I have waited up to 20 minutes before giving up and docking on an NPC Base.
I noticed something last night that was strange, I was following another ship who literally got to the POB about 2 seconds before me. He dock successfully, but I got the 'can't dock here message'.
Whilst I was waiting for the POB to allow me to dock, another ship came along and docked. This left me rather bemused as I still couldn't.
Having slept on it, I have just checked something. My Tag is listed as 1 of the allowable Tags. The 2 Ships that docked were not on the list of allowable Tags, but were allowed due to the Defence Setting Whitelist.
So it might be worth checking if this issue is due to Tags/names added via the /addtag command.
'I would like to be half as clever as some people like to believe they are' Life is full of disappointments, it is how we handle them that helps to define us, as a person
Hello i have also problem in my base. Some times can dock and many times cant dock.
The problem appears 2 weeks ago after the patches. One day the problem fixed. But now we have the same problem in gama.
Posts: 3,702
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager Coding Dev Moderator
This has happened to me before and it's been around for years. I don't think we've ever been able to reliably reproduce it, so the chances of being able to fix it are low.
@Alex. A simple fix would be to do a check on PlayerCntl plugin. If PoB skip rep check.
You can check whether something is a pob by seeing if the nicknames ends with _proxy_base since all pobs have a dock_with element assigned to that.
Posts: 3,702
Threads: 144
Joined: Aug 2009
Staff roles: Server Manager Coding Dev Moderator
(05-25-2020, 11:58 AM)Laz Wrote: @Alex. A simple fix would be to do a check on PlayerCntl plugin. If PoB skip rep check.
You can check whether something is a pob by seeing if the nicknames ends with _proxy_base since all pobs have a dock_with element assigned to that.
Well other than the fact that when playercntl runs IsDockingAllowed we don't have the nickname, just a hash, how does this explain matching fAttitude <= -0.55f?
Edit: I'm also thinking the dock target is probably the unique solar in this context rather than the dock_with base target?
I think the problem is not the defense mod. I have caracter that i have it years and now cant dock. Aslo if you make new caracter and try to dock in any base that have problem, cant dock.
Also in free docking bases.
@Alex. The easy solution would be to just get BasePlugin to have a higher priority in the load order for dock call. Would literally solve all your problems. If you wanted to do an actual safety case, I'd do something like this:
Code:
// Get base from id
struct Universe::IBase *baseinfo = Universe::get_base(base);
// If base doesn't exist, it means that it's a player base or other spawned solar
if (!baseinfo)
{
// default return code
return_code = DEFAULT_RETURNCODE;
return false;
}
Alternatively, you could change the returncode for normal handling to be NOFUNCTIONCALL. That would mean access would be restricted, unless another plugin (i.e. base plugin) changed the access parameters.
==================== Type: Ship Stats Bug: Ship is unable to dock to all POBs that previously allowed it to dock. Furthure more sometimes unable to dock to NPC bases. ====================
The ship in question is called: Ototo
This character been in a long service and has a very detailed map too. If there is any way to fix this I would be very thankful for it.