http://bugs.winehq.org/show_bug.cgi?id=22291
--- Comment #28 from Marcus Blumhagen marcus.blumhagen@web.de 2012-06-29 12:54:56 CDT --- (In reply to comment #27)
(In reply to comment #26)
So first I would like to ask that it gets added to the list of affected applications.
done, pending
Thanks!
Don't ask the developer to rewrite it, you are right, wine should simply run it and this bug needs to be fixed, further we need the actual version for testing to see if it works when the bug is fixed.
Alright, here is how you get it (but to actually reproduce the bug one needs to create an account, I´m afraid, but it´s free and a throw away email address can be used for that, should you have inhibitions about providing personal data):
1. Download http://www.riseofflightdemo.com/ROF_Demo/ROF_ICE_Unlimited_Demo_1021b.exe
Don´t (!) download the ROF_Free2Play_Client_1025b.zip as is actually recommended, since at least I couldn´t unzip it properly (seems to be a corrupted archive), and because that download is a massive 4.4 GB, that can be quite frustrating. So I used the 1021b version and ran the updater, see below.
2. Create an account
http://riseofflight.com/en/profile/registration
3. Upon arrival of the confirmation email, follow the included activation link and enter the key for the free version:
77777-77777-77777-77777-77771
4. Run ROF_ICE_Unlimited_Demo_1021b.exe once, which will 1st unpack its contents to $PWD/temp_RoF (which will not be automatically removed (!) but can come in quite handy for reinstallation) and run the setup.exe in there. When aksed what else to install after the actual installation is done uncheck everything except "Install MS VC++ 2005 Reditributable".
5. Run rof_updater.exe, which by default is located in $WINEPREFIX/drive_c/Program\ Files/777/Rise\ of\ Flight/bin_game/release, and let it do its thing. After the update is done it will automatically run the DirectX setup, abort that and ignore the warning/error message of rof_updater.exe about an unsuccessful update (the actual game content will have been updated properly).
6. Take one of the template dedicated*.sds files inside Path/to/Program\ Files/777/Rise of Flight/data and edit it, you only need to change the "login" and "password" variables to reflect the email address and password used in step 2.
7. cd to /Path/to/Program\ Files/777/Rise of Flight/bin_game/release and run DServer.exe, optionally you can provide the path to the .sds file as an argument or just open it from the DServer.exe window.
Look for "... Mission loaded successfully" and check the player list in the top right corner to see a spectator with a ping. The server is running now and you can reproduce the bug by either opening or closing a .sds file from the menu or by just exiting or closing the window. The last output on the console will show :
[...] Client #0: Send disconnect Client #0: Send disconnect Server: Client 0 is disconnected
Note: unless you have actually run the game client (ROF.exe) and activated your account from within the game itself you will see an error message just after "... Mission loaded successfully" saying something like "... MIST_SERVERREGISTERONPROXY" and "Unable to check client profile ban". You can ignore that. The bug will be observeable nontheless.
Now running the patched version of wine-1.4.1 (the patch from comment 18) the console output will look like this after clicking close:
[...] Client #0: Send disconnect Server: Client 0 is disconnected [server] stop [acceptor] failed to accept connection url: https://fokker.neoqb.com:443/HttpFrontend/AsyncFrontendHandler.ashx <some more output seemingly from libcurl> [...]
and the program will stay responsive and one can open another .sds file or whatever you like.