Skip to content

refactor: AutoObserve #6787

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

Open
wants to merge 15 commits into
base: master220
Choose a base branch
from

Conversation

timchigaming
Copy link
Contributor

@timchigaming timchigaming commented Apr 14, 2025

Описание

Переписал с использованием не единого списка орбитеров а с отдельным, в который заносятся мобы что смотрят инвентарь.
Переписал так, что теперь кнопки не прожимаются только когда на госте висит трейт.
Переписал случаи отписки от сигналов на обновление поле зрения.
Поправил замыление экрана.
Поправил удаление хайвмайнд языков у рас, когда те заражаются вавилонской лихорадкой.

Тесты

Потестили с типом на локалке, (почти) всё работает теперь идеально.

@timchigaming
Copy link
Contributor Author

@BeebBeebBoob 👋

@dageavtobusnick dageavtobusnick added the testmerge This PR is being tested right now on live test servers. label May 13, 2025
SIGNAL_HANDLER // COMSIG_MOB_UPDATE_SIGHT
SIGNAL_HANDLER

if(orbiting && client)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут ранний ретурн

continue
observe.client.screen += worn_item
else
LAZYREMOVE(inventory_observers, observe)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут сделай отрицание условия в if, затем LAZYREMOVE(inventory_observers, observe) и continue, а затем уже все остальное. if(observe.hud_used) тоже проотрицать и сделать continue.

@timchigaming
Copy link
Contributor Author

Не проверял на локалке изменения, но по идеи ломаться нечему. @dageavtobusnick

ServerSide14 pushed a commit to ServerSide14/Paradise that referenced this pull request May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testmerge This PR is being tested right now on live test servers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants