Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
55 user(s) are online (35 user(s) are browsing Forum)

Members: 0
Guests: 55

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +165€

Current balance: 105€
(last updated 02/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 84 users playing Freelancer on 39 servers.
April. 13, 2021

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Is it possible to remove the client side server timeout kick?

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 40
Offline
When developing various plugins for the server-side of things, I will often employ debugging with breakpoints to check if stuff is working, but the client seems to disconnect itself if it doesn't get any input from the server after some seconds.

I am wondering if anyone knows how I can disable this 'self-kick' the client does if it doesn't detect the server is still active?

Posted on: 2/24 11:58
Way too ambitious for his own good.
Top
Re: Is it possible to remove the client side server timeout kick?

Joined:
2009/10/29 16:45
Group:
Registered Users
Posts: 46
Offline
If you can figure this out please post it here - I am doing some experiments getting Freelancer to run on an Android ARM tablet via QEMU, and one approach I tested runs into what I suspect is a similar timeout issue.

The really peculiar part is my "timeout" happens before it reaches the Main Menu - before selecting either single or multiplayer. I suspect this reveals something about the architecture of the game as a whole in that it may treat single player as a sort of in-process "server".

To be more precise, I get the same error you normally get when the FL Account ID in the registry is missing or corrupt when you try to connect to a multiplayer server - except I get it before the main menu loads. It takes ~30 minutes to get to the error from the full-screen "Freelancer" splash image. The amount of time it takes is why I suspect its some kind of internal timeout. Clicking OK just exits the game...

Yes, I know 30 minutes to start FL is unacceptable but this is a research project.

Posted on: 3/2 18:02
Top
Re: Is it possible to remove the client side server timeout kick?
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1985
Offline
Quote:
I am wondering if anyone knows how I can disable this 'self-kick' the client does if it doesn't detect the server is still active?

I think it comes from DirectPlay itself, so I don't believe there's much that can be done.

Posted on: 3/6 9:30
Top
Re: Is it possible to remove the client side server timeout kick?
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1985
Offline
Quote:
The really peculiar part is my "timeout" happens before it reaches the Main Menu - before selecting either single or multiplayer.

Looks like SP has a one-minute timeout for the server to perform an update (MP is five seconds). The one you're seeing is to load the save games. Here's a patch to remove those timeouts, letting it take as long as it needs.

Code:
freelancer.exe 1A8A41 05->00 = remove a timeout ~adoxa


Posted on: 3/9 7:17
Top
Re: Is it possible to remove the client side server timeout kick?

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 40
Offline
I am assuming that this was a single player only patch. I took a bit of a dig around DirectPlay, but couldn't find anything at a glance.

Posted on: 3/9 11:14
Way too ambitious for his own good.
Top