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

Attempted fix for Error: No Object #205

Merged
merged 3 commits into from
Oct 16, 2021
Merged

Attempted fix for Error: No Object #205

merged 3 commits into from
Oct 16, 2021

Conversation

diwako
Copy link
Owner

@diwako diwako commented Oct 8, 2021

Currently it looks like the issue is with the server sync. The server sees dead and nulled units in the group, while a player does not.

The attempted fix is to filter out null objects during the sync and also in the radar's cacheloop on the player side to squash any possibilities of null objects to exist within a group.

@diwako diwako added the bugfix label Oct 8, 2021
@diwako diwako added this to the 1.9.3 milestone Oct 8, 2021
@diwako diwako requested a review from jokoho48 October 8, 2021 08:55
@diwako
Copy link
Owner Author

diwako commented Oct 14, 2021

It appears the server sees some units as objNull while they are still alive and kicking. Filtering out objNulls would be bad. The sync is at fault as the server sees groups completely different.

Solution should be the sync is done by a client which can see the actual group properly.

@diwako diwako force-pushed the filter_null_objects branch from be4e389 to 638e104 Compare October 14, 2021 16:24
@diwako diwako merged commit 4f8fa8f into master Oct 16, 2021
@diwako diwako deleted the filter_null_objects branch October 16, 2021 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants