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

Fix Landblock loading. Portaling collisions are now much more responsive #1054

Merged
merged 11 commits into from
Oct 9, 2018

Conversation

Mag-nus
Copy link
Member

@Mag-nus Mag-nus commented Oct 9, 2018

Before, landblocks were loading all their assets in the ctor on the same thread.

Now, we off-load that loading onto separate threads and use an actionQueue to perform the resulting work in the landblock Tick.

Cleaned up the IsTeleporting flag. This should only be set/managed by the function that actually does the teleportation.

NetworkSession has timers that control how often we send messages to the client. The check was > but should have been >=. If an end-user wants to set a time of 0, > would not have worked.

Removed undeveloped/legacy LandBlockStatus code. This was used for our WinForms diagnostics app. We can redevelop this for the current state of ACE in the future if/when we have a diagnostics API.

Fixed a crash in EmoteManager from player being null (after teleportation)

@Mag-nus Mag-nus merged commit d2a4dcf into ACEmulator:master Oct 9, 2018
@Mag-nus Mag-nus deleted the ImmediatePortalOnCollision branch October 9, 2018 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants