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

Баг с убийством #9

Open
Str1ker17 opened this issue Aug 17, 2018 · 0 comments
Open

Баг с убийством #9

Str1ker17 opened this issue Aug 17, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Str1ker17
Copy link
Member

Str1ker17 commented Aug 17, 2018

Я (слот 1 на сервере) стоял в правом нижнем углу (координаты 79,23 на карте), а мой враг (слот 0) на предпоследней строчке, и я выстрелил вправо в стену. И убил его, хотя вообще никак этого произойти не могло. Потому что алгоритм трассировки пули смотрит байты за границами массива, и находит там нулевой байт)) и убивает игрока в слоте 0

Лог сервера:
[D] received FIRE from client
[D] KILL event at (80, 23), hunter: 1 'striker', victim: 0 'dostally'
[x] runtime err: 'state->client[tmp_primitive].public_info.position.x == bullet_x'
at bcsgameplay.c:151

@Str1ker17 Str1ker17 added the bug Something isn't working label Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants