Skip to content

Implement NglGame pinging#163

Closed
Hoikas wants to merge 1 commit into
H-uru:masterfrom
Hoikas:b428146d42eb37b30e028db439e4a69890ab53fd
Closed

Implement NglGame pinging#163
Hoikas wants to merge 1 commit into
H-uru:masterfrom
Hoikas:b428146d42eb37b30e028db439e4a69890ab53fd

Conversation

@Hoikas
Copy link
Copy Markdown
Member

@Hoikas Hoikas commented Feb 26, 2012

As noted by branan while stuck in the black screen age...

Evidently, the game connection never actually pinged. Instead, it relied on the propagation of a redundant game message. This is evil because we can sometimes hang out in the loading process for quite some time (eg beyond the socket timeout on either end).

Evidently, the game connection never actually pinged. Instead, it relied
on the propagation of a redundant game message. This is evil because we
can sometimes hang out in the loading process for quite some time (eg
beyond the socket timeout on either end)
@Hoikas
Copy link
Copy Markdown
Member Author

Hoikas commented Feb 26, 2012

Wrong commit range.

@Hoikas Hoikas closed this Feb 26, 2012
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we maybe get something like:

if (pingTimer) {
    AsyncTimerDeleteCallback(pingTimer,...
    pingTimer = 0
}

The extra variable and the assignment in an if are ugly and potentially confusing

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Blame eap. This was a copypasta job.

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.

2 participants