ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.71k stars 626 forks source link

[Half-Life 1] Player physically freezing in place after singleplayer level transition #338

Closed UndeadScottsman closed 11 years ago

UndeadScottsman commented 11 years ago

I was told this issue has to do with the clockwindow function. Basically, after a level transition in singleplayer, Gordon will occasionally freeze in place shortly (but not directly) afterwards. You can even get stuck in midair. The game itself hasn't froze, just the player's movement. It doesn’t last long, but it does disrupt the flow of the game.

Turning “clockwindow” from “0.5” to “0” fixes the problem, but I’m curious if there’s a solution that could be put into the game as a default. I’m told this function has to do with preventing online cheating, would it be possible to disable the functionality in singleplayer games?

I'm running Half-Life in OpenGL mode at 1920x1080 with V-synch and everything turned up to max.

System Information

Processor Information: Vendor: GenuineIntel Speed: 2942 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information: Network Speed:

Operating System Version: Windows 7 (64 bit) NTFS: Supported Crypto Provider Codes: Supported 311 0x0 0x0 0x0

Video Card: Driver: NVIDIA GeForce GTX 460

DirectX Driver Name: nvd3dum.dll Driver Version: 9.18.13.1090 DirectX Driver Version: 9.18.13.1090 Driver Date: 29 Dec 2012 Desktop Color Depth: 32 bits per pixel Monitor Refresh Rate: 60 Hz DirectX Card: NVIDIA GeForce GTX 460 VendorID: 0x10de DeviceID: 0xe22 Number of Monitors: 1 Number of Logical Video Cards: 1 No SLI or Crossfire Detected Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 26.65" x 15.00" (30.55" diag) 67.7cm x 38.1cm (77.6cm diag) Primary Bus: PCI Express 16x Primary VRAM: 1024 MB Supported MSAA Modes: 2x 4x 8x

Sound card: Audio device: Speakers (ASUS Xonar DX Audio D

Memory: RAM: 8190 Mb

Miscellaneous: UI Language: English Microphone: Not set Media Type: DVD Total Hard Disk Space Available: 1632479 Mb Largest Free Hard Disk Block: 502867 Mb OS Install Date: Dec 31 1969 Game Controller: None detected

ghost commented 11 years ago

confirm. When it happens I get stucked in the air or props

LevShisterov commented 11 years ago

In Xash (possibly can be done similar in GoldSource):

void SV_ActivateServer( void ) { // tell what kind of server has been started. if( svgame.globals->maxClients > 1 ) { MsgDev( D_INFO, "%i player server started\n", svgame.globals->maxClients ); Cvar_Reset( "clockwindow" ); } else { // clear the ugly moving delay in singleplayer Cvar_SetFloat( "clockwindow", 0.0f ); MsgDev( D_INFO, "Game started\n" ); }

alfred-valve commented 11 years ago

I'll remove clockwindow applying for single player games.