Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wreckfest not working #18

Closed
Macleykun opened this issue Aug 16, 2020 · 10 comments
Closed

Wreckfest not working #18

Macleykun opened this issue Aug 16, 2020 · 10 comments

Comments

@Macleykun
Copy link

wine: created the configuration directory '/home/steam/.wine'
002c:fixme:winediag:__wine_start_process Wine Staging 5.15 is a testing version containing experimental patches.
002c:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:get_local_server_stream Failed: 80004002
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 183
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
0050:err:ole:get_local_server_stream Failed: 800736b7
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0058:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0058:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0060:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not find Wine Gecko. HTML rendering will be disabled.
0094:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0094:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
009c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
009c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not find Wine Gecko. HTML rendering will be disabled.
00bc:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
002c:err:setupapi:SetupDiInstallDevice Failed to start service L"wineusb" for device L"ROOT\\WINE\\WINEUSB", error 1114.
wine: configuration in L"/home/steam/.wine" has been updated.
0024:fixme:file:NtLockFile I/O completion on lock not implemented yet
00d8:fixme:process:CreateProcessInternalW Unsupported attribute 0x20002.
00e0:fixme:process:SetProcessShutdownParameters (00000100, 00000001): partial stub.
00e0:fixme:file:NtLockFile I/O completion on lock not implemented yet
00e4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00e4:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
[220:228:20200816,095843.123:ERROR session_end_watcher.cc:171] CreateWindow: Success. (0)
0108:fixme:ver:GetCurrentPackageId (0031FE34 00000000): stub
011c:fixme:ver:GetCurrentPackageId (1818FEFC 00000000): stub
Commands:
    list - print player list
    bans - print ban list
    admins - print list of user privileges
    clearusers - clear user privileges
    tracks - list tracks
    gamemodes - list game modes
    cars - list cars
    weathers - list weathers
    exit - close application
    ? - list server and event modifiers
Chat commands:
    /message [new message] - send a message to the chat
    /kick [id] - kick a player
    /ban [id] - ban a player
    /bansteamid [steam id] - ban a steam id
    /unban [ban index] - lift a ban, use "bans" for ban indices
    /unbansteamid [steam id] - lift a ban by steam id
    /clearbans - clear all bans
    /balanceteams - balance teams
    /restart - server restart
    /bot - add a bot
    /op [id] - add moderator privileges
    /opsteamid [steam id] - add moderator privileges by steam id
    /admin [id] - add admin privileges
    /adminsteamid [steam id] - add admin privileges by steam id
    /demote [id] - clear admin and moderator privileges
    /demotesteamid [steam id] - clear admin and moderator privileges by steam id
    /password [new password] - set password
    /servername [new server name] - set name of the server
    /welcome [new welcome message] - set the welcome message
    /eventloop - toggle automatic event rotation if configured
* 09:58:53 Starting server...
0024:fixme:ntdll:EtwEventRegister ({47a9201e-73b0-42ce-9821-7e134361bc6f}, 3F006C40, 3F04C208, 3F04C200) stub.
0024:fixme:ntdll:EtwEventRegister ({58a9201e-73b0-42ce-9821-7e134361bc70}, 3F006C40, 3F04C240, 3F04C238) stub.
0024:fixme:ntdll:EtwEventRegister ({3fa9201e-73b0-43fe-9821-7e145359bc6f}, 3F006C40, 3F04C1D0, 3F04C1C8) stub.
0024:fixme:ntdll:EtwEventRegister ({1432afee-73b0-42ce-9821-7e134361b433}, 3F006C40, 3F04C278, 3F04C270) stub.
0024:fixme:ntdll:EtwEventRegister ({4372afee-73b0-42ce-9821-7e134361b519}, 3F006C40, 3F04C2B0, 3F04C2A8) stub.
0024:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0130:fixme:iphlpapi:NotifyAddrChange (Handle 0x18f001ec, overlapped 0x18f001f0): stub
014c:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
014c:fixme:wbemprox:client_security_SetBlanket 6795E768, 10CD3660, 10, 0, (null), 3, 3, 00000000, 0x00000000
014c:fixme:wbemprox:client_security_Release 6795E768
0088:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
0088:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
014c:fixme:wbemprox:enum_class_object_Next timeout not supported
0088:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0088:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
0088:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0088:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
* 09:58:54 Server creation failed. Is Steam client running?
process 29: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 3543.
This is normally a bug in some application using the D-Bus library.
process 29: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 3543.
This is normally a bug in some application using the D-Bus library.
0130:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
process 29: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 3543.
This is normally a bug in some application using the D-Bus library.
process 29: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 3543.
This is normally a bug in some application using the D-Bus library.

The display issues could be fixed by giving (error 0050):

Xvfb :0 -screen 0 1024x768x16 &

Am i'm doing something wrong?
I only run ./build.sh wreckfest and ./start_server.sh wreckfest

@sirsquidness
Copy link
Collaborator

Hello! Can you try running the container directly (not with the shell script), for example, docker run -it --rm --net=host wreckfest and see if that makes a difference?

After the Server creation failed message, can you do help in the console still, or is the game server totally crashed?

Is this your first time trying to use wreckfest server? Did it work for you previously

I'll try and reproduce the problem and find a fix in the next few days

It might be that Wreckfest isn't compatible with a newer version of wine, I might need to look at pinning an older wine version

@Macleykun
Copy link
Author

Macleykun commented Aug 17, 2020 via email

@Macleykun
Copy link
Author

Macleykun commented Aug 23, 2020 via email

@fritogotlayed
Copy link

fritogotlayed commented Aug 26, 2020

I can confirm that I'm having trouble getting wreckfest to launch as well. It doesn't appear to matter if I'm running via the helper .sh scripts or if I run directly via the docker command. Every thing that I have tried debugging wise has not helped. I tried some poking around last night too see about debugging and one thing I noticed is during the build it appears to use "FROM base" instead of FROM wine when building the container. Could this be at play here? I suspect it's because WINE is no longer a base image on docker hub.

For completeness here are the runs I have tried:

  • ./start_server.sh wreckfest
  • docker run -it --rm --net=host wreckfest
  • docker run -it --rm --net=host -v /home/my-user/git-source/gameservers-docker/wreckfest/server_config.cfg:/steam/wreckfest/server_config.cfg wreckfest wine Wreckfest.exe -s server_config=server_config.cf
    • with this one I had updated the config to run on lan and wanted to bypass the config cat just to be sure

EDIT 1

I should note that it appears that the server starts. You can type commands like "cars" and "help" that yield results. The problem is that no matter how the server is started the message Server creation failed. Is Steam client running? is emit. Also, it does not matter if your server is started with lan=0 or lan=1. The wreckfest game cannot find the server. This does not appear to be a firewall issue either as the computer that the docker container ran on typically hosts wreckfest races via the non-dedicated server option.

@Macleykun
Copy link
Author

Macleykun commented Aug 27, 2020 via email

@sirsquidness
Copy link
Collaborator

Hello again! Quick update...

I was able to reproduce your issue, but so far no luck in a fix.

I had a 12 month old version of the container about. Starting that I could confirm that (outdated) Wreckfest worked (although outdated so I could see it but not join the game). I updated the game inside that container, and it no longer works. No other changes - same wine version, same OS, libraries, etc.

This suggests that there has been a change in Wreckfest that either is no longer compatible with WINE, or there are dependencies that have changed which need to be added.

It might not be fixable.

Re: the FROM wine suggestion.. the wine image being referenced is built from the wine/ folder in this repo.

@Macleykun
Copy link
Author

I was afraid that would be the case, i suggest if your ok with it, to remove the wreckfest support and to close the issue then.
Seems that the game is only runnable on pure windows servers, thank you for all your time however!

@gOOvER
Copy link

gOOvER commented Dec 23, 2021

Old Error, but here is the solution (because i found this on google)

add:
+@sSteamCmdForcePlatformType windows

when you download it via steamcmd

Then the ..is steam running? error is gone

@Macleykun
Copy link
Author

To the command line? Perhaps it's handier to make a pull so every user can use this fix aswell :) (in the readme/script)
and thanks for finding this issue!

@gOOvER
Copy link

gOOvER commented Dec 23, 2021

To the command line? Perhaps it's handier to make a pull so every user can use this fix aswell :) (in the readme/script) and thanks for finding this issue!

yes to cmd line:

as example
./steamcmd.sh +@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir ../csgo_ds +app_update 740 validate +quit

I run Wreckfest on Pterodactyl in Docker under Wine 7.0-rc2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants