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

Small fix #23

Merged
merged 1 commit into from
Dec 15, 2015
Merged

Small fix #23

merged 1 commit into from
Dec 15, 2015

Conversation

ifvictr
Copy link
Contributor

@ifvictr ifvictr commented Dec 15, 2015

This fixes Specters not being able to log in with identical UUIDs, more commonly known as not being able to spawn multiple Specters.

@falkirks
Copy link
Owner

Awesome 👍 👍 👍

falkirks added a commit that referenced this pull request Dec 15, 2015
@falkirks falkirks merged commit 70b08ec into falkirks:master Dec 15, 2015
@PEMapModder
Copy link
Collaborator

Why not send random client IDs?

@falkirks
Copy link
Owner

@PEMapModder I think that would be preferred behaviour in most cases. You can PR if you want.

@ifvictr
Copy link
Contributor Author

ifvictr commented Dec 16, 2015

Random client ID? What would the ranges be? What happens if the same number is drawn twice? I still think using the name is better.

@PEMapModder
Copy link
Collaborator

@GameCrafter the same number is drawn twice? You will see that once in a blue moon.

@ifvictr
Copy link
Contributor Author

ifvictr commented Dec 17, 2015

So what are the minimum and maximum numbers? PHP_INT_MIN and PHP_INT_MAX?

@falkirks
Copy link
Owner

@GameCrafter is correct. We wouldn't want to introduce that collision issue especially with PHP's crappy random number system. The behaviour would be undefined.

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

3 participants