Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: Eva on Jun 25, 2019, 04:15 PM

Title: Client doesnt respond after first connect to server
Post by: Eva on Jun 25, 2019, 04:15 PM
Everytime i start vcmp client the first time i want to connect to a server the client doesnt respond.
Then when i restart the client second time it does.
Reproducable: always.
Does anyone know why? and how to solve it?
My os is Win7 Ultimate 64bit
Title: Re: Client doesnt respond after first connect to server
Post by: . on Jun 25, 2019, 06:41 PM
If you use something like Process Explorer (https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer) you will notice that bellow your `vice.exe` process (if you've configured Process Explorer to group parent/child processes) there's something like `gameux.dll`.

That `gameux.dll` is basically windows game explorer (https://en.wikipedia.org/wiki/Games_for_Windows#Games_Explorer) that's part of windows 7 and it tries to attach to your game to (likely) provide some in-game user interface and also to retrieve information about the game from the internet. That second task it does (connecting to the internet) it fails. Actually it doesn't happen so it hangs your game while trying.

This feature of windows cannot be removed (thank MICROSH!T for that) and it happens to more games than just Vice City. All you can probably do is to make windows game explorer forget about your games. IIRC, you can do that by removing some registry entries.

Just look up (i.e. google) how to prevent windows game explorer (or `gameux.dll`) from attaching and hanging your game.
Title: Re: Client doesnt respond after first connect to server
Post by: rww on Jun 25, 2019, 09:11 PM
Looks like here?

https://forum.vc-mp.org/?topic=6766.msg45146#new