• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Mod General Discussion Discovery Mod Bug Reports Can't reproduce
1 2 3 Next »
[Render] Quitting Freelancer on dx9 (dxwrapper) doesn't actually kill the process

Server Time (24h)

Players Online

Active Events - Scoreboard
Corsair Kills - 0 / 1,000
Lawful Kills - 0 / 1,000
Red Hessian Kills - 0 / 1,000
Unlawful Kills - 0 / 1,000

Latest activity

Pages (2): 1 2 Next »
[Render] Quitting Freelancer on dx9 (dxwrapper) doesn't actually kill the process
Online Loophole
09-17-2025, 11:05 PM,
#1
20yrs & I Only Got This Title
Posts: 42
Threads: 7
Joined: May 2024

Type: Render
Bug: Quitting Freelancer on dx9 (dxwrapper) doesn't actually kill the process

Reproduction Steps:
  • On DSLauncher: click "Render Mode" and select DirectX 9 (dxwrapper); Use Desktop Resolution ON; Windowed Mode OFF (i.e. exclusive fullscreen on)
  • Launch Game, wait for it to load
  • Quit the game
  • Notice how the Freelancer.exe process still exists in the task manager (under the details tab).

Expected behaviour: Kill the Freelancer.exe process. This doesn't happen on DirectX 8 (native).

pvp (sun)
Reply  
Offline Aingar
09-21-2025, 01:30 PM,
#2
Armed to the Teeth Developer
Posts: 1,097
Threads: 65
Joined: May 2011
Staff roles: Coding Developer
King of FLServer

Pushed a renderer related update just now that might have resolved this issue, please retest and report back.

[Image: cu7MfeX.png]
Reply  
Online Loophole
09-21-2025, 08:00 PM,
#3
20yrs & I Only Got This Title
Posts: 42
Threads: 7
Joined: May 2024

Hello. I've updated the launcher and tried again. It seems like it's still happening:
[Image: 5ArDjTO.png]

The launcher recognises the process and prompts to kill it when clicking "Launch Game":
[Image: Y6MsWYN.png]

Clicking "yes" indeed kills the process and starts a new one. Exiting the game doesn't kill the new process:
[Image: cTaQFfD.png]

pvp (sun)
Reply  
Offline Alex.
01-11-2026, 08:13 PM,
#4
Developer
Posts: 3,930
Threads: 145
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

Cannot reproduce

FLHook suggestions
All other dev queries
Please only PM me through the forums for things that need to be private like anticheat etc.
[Image: dI8iG0a.png]
Reply  
Online Loophole
01-11-2026, 09:24 PM, (This post was last modified: 01-11-2026, 09:28 PM by Loophole.)
#5
20yrs & I Only Got This Title
Posts: 42
Threads: 7
Joined: May 2024

Will check again asap.

Still happening.
[Image: P2O950B.png]

[Image: JIDl128.png]

Are there any logs or other kinds of outputs that I could provide to help debug this issue?

pvp (sun)
Reply  
Offline Groshyr
01-11-2026, 10:11 PM,
#6
Member
Posts: 3,840
Threads: 381
Joined: Mar 2018

This occurrs because Freelancer would wait for an indefinitely running thread to finish. The following patch of DAlib.dll by BC46 would prevents Freelancer from running in the background after exiting the game in some cases: offset 0x004BF4, change FF to 00.
Reply  
Offline Alex.
01-11-2026, 10:14 PM,
#7
Developer
Posts: 3,930
Threads: 145
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

Don't we already have that change as of Discovery 5.1, @Groshyr?

FLHook suggestions
All other dev queries
Please only PM me through the forums for things that need to be private like anticheat etc.
[Image: dI8iG0a.png]
Reply  
Offline Groshyr
01-11-2026, 10:15 PM,
#8
Member
Posts: 3,840
Threads: 381
Joined: Mar 2018

Quite sure I didn't bring it. Better double check it. I won't have access to my PC for another hour tho
Reply  
Offline Alex.
01-11-2026, 10:17 PM,
#9
Developer
Posts: 3,930
Threads: 145
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

I am quite sure:
Quote:$ winpty python
Python 3.13.5 (tags/v3.13.5:6cb20a2, Jun 11 2025, 16:15:46) [MSC v.1943 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open('EXE/DALib.dll', 'rb')
>>> f.seek(0x4BF4)
19444
>>> f.read(1)
b'\x00'
>>> exit()
$ git log EXE/DALib.dll
commit 512ec083d7085d159ab889c1c37cd07f5e062579
Author: Aingar <redacted>
Date: Fri May 31 21:15:57 2024 +0200

FF -> 00 dalib.dll 004BF4 BC46 Prevents Freelancer from running in the background after exiting the game in some cases. This occurred because Freelancer would wait for an indefinitely running thread to finish.
We are still missing reliable reproduction steps here.

FLHook suggestions
All other dev queries
Please only PM me through the forums for things that need to be private like anticheat etc.
[Image: dI8iG0a.png]
Reply  
Online Loophole
01-11-2026, 11:36 PM, (This post was last modified: 01-11-2026, 11:42 PM by Loophole.)
#10
20yrs & I Only Got This Title
Posts: 42
Threads: 7
Joined: May 2024

For what it's worth, I also have the same value on that address:
Quote:$ python
Python 3.13.11 (main, Dec 5 2025, 00:00:00) [GCC 15.2.1 20251111 (Red Hat 15.2.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open('dalib.dll', 'rb')
>>> f.seek(0x4BF4)
19444
>>> f.read(1)
b'\x00'

$ md5sum dalib.dll
fcab0566fc7ea38c787d105f676af102 dalib.dll

I'm on Linux atm but I did reproduce the issue on Windows 11.
A note, I do use RTSS to bump the framerate to the highest legal value, and I've got NVIDIA's overlay running too. Could that change anything?

pvp (sun)
Reply  
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2026 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode