Velaron / cs16-client

Other
82 stars 19 forks source link

Неверное расположение игроков в overview (обзор карты в режиме наблюдателя, вид сверху) #31

Open Vladislav4KZ opened 1 year ago

Vladislav4KZ commented 1 year ago

Пока не определил движковый ли это баг или клиента.

Такая проблема присутствует и на GoldSource если стоит широкоформатный режим экрана.

Vladislav4KZ commented 1 year ago

В Half-Life если что, почти на всех (если не на всех) серверах, режим наблюдателя отключен. Нет возможности там проверить.

Vladislav4KZ commented 1 year ago

Создал локальный сервер в Half-Life с включённым режимом наблюдателя.

Там такого бага нет. Местоположение игрока на карте с видом сверху (overview) в точности повторяет фактическое местоположение игрока.

Vladislav4KZ commented 1 year ago

Вот как это выглядит в Half-Life crossfire_0000.png

Screenshot_20230521_213813_Xash3D FWGS.png

А в Counter-Strike 1.6 используя CS16Client видно, что игроки будто проходят сквозь стены de_dust2_0000.png

Vladislav4KZ commented 1 year ago

В оригинальном клиенте Counter-Strike 1.6 запущенном на ксаше, эта проблема тоже присутствует.

Vladislav4KZ commented 1 year ago

Сами overview изображения у меня стоят оригинальные, без каких-либо изменений, что в Half-Life что Counter-Strike 1.6

Их разрешение 1024x768, а разрешение экрана 1920x1080

И Half-Life и Counter-Strike 1.6 я проверял с оригинальными стимовскими либами клиента и сервера на ксаше. До этого я проверял кс 1.6 с клиентом CS16Client, и там было то же самое.

Такой баг присутствует именно в кс 1.6

Gerwin2k commented 11 months ago

In my recent tests:

I think it is some regression in client.dll.

Vladislav4KZ commented 11 months ago

@Gerwin2k Steam version of Counter-Strike 1.6 has the same issue as CS16Client, players location indicators on the overview map have an offset from their actual positions on the widescreens.

On the 4:3 aspect ratio, players location indicators indicate their actual position on the map.

Vladislav4KZ commented 11 months ago

Current Steam version of Counter-Strike 1.6

Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 19:53:27 Aug  3 2020 (8684)

Older versions of Counter-Strike 1.6 also have this issue if the widescreen display mode is used.

Make sure you don't use "fixed" map overviews either.

Gerwin2k commented 11 months ago

@Vladislav4KZ Thanks for the additional information. I have no new steam version anymore. As for my tests above in same order: 1) Yes I was using 1024x768 (4:3) when testing original CS16 v2015, Since I was making new overview maps. 2) This Xash observation with older client v2017 was showing it properly in widescreen 1920x1080 (16:9) 3) This Xash observation with current client was also in 16:9. There it fails.

With what you said, If I really want it to work with current client I could consider setting the game to 1440x1080...

Gerwin2k commented 11 months ago

In situation 3 above. Switching to 1440x1080 (4:3) does not improve things. Character locations are still off. Current Xash 0.20, current client.

I am afraid I don't know what a "fixed" map overview is. But I tested it for example with cs_militia unmodified files. Characters appear to move in inaccessible area outside of the map.

Only when I replace client.dll with old one from may 2017 (version between v1.33 and v1.34) the character locations are immediately working properly.