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

Players that have swapped usernames aren't handled properly #12

Closed
gdude2002 opened this issue May 3, 2015 · 4 comments
Closed

Players that have swapped usernames aren't handled properly #12

gdude2002 opened this issue May 3, 2015 · 4 comments
Assignees
Milestone

Comments

@gdude2002
Copy link
Member

Below is a transcript from the BukkitDev page.


Greenman1805

My Server crashes when a special player joins. How can I fix this problem?

Here is the log: I replaced the name of the player with http://pastebin.com/nshuEypR

gdude2002

What version of ArchBlock are you using? Have you tested one of the development builds?

This is an old bug that I thought I fixed quite some time ago - I'll take a look at the code now and reply again.

gdude2002

The latest code looks alright to me - Basically what's happening here is a UUID is being inserted into a table that's already in there. However, as one can see at this link, I have checks in place for this.

I would suggest ensuring you're on the latest version of ArchBlock, or trying out the latest development build if you already are. If you decide to test again, you may also like to enable debug mode to get some more verbose output.

If you're on IRC at irc.esper.net, feel free to send a message to me on there - my username is g and I tend to hang about in #bukkitdev.

Greenman1805

Thank you :) Yes, I'm on the latest version. The player has no data because I can't disown the blocks of the player with /disownplayer. It says player not found. Can I delete the player data but only of this player?

gdude2002

The reason for that is that their username has been changed; you /could/ disown their stuff using their old username but it wouldn't fix the problem.

Would you be able to turn on debug mode and reproduce the error? The long between when the player joins and the server crash will have more information that I'll be able to use.

gdude2002

I noticed a miniscule typo. I don't think it'll fix the problem - I'd still appreciate getting some debug output from you - but I've uploaded it for you below. Note that this is a development build.

http://bamboo.gserv.me/browse/PLUG-BLOCK-158/artifact/shared/Plugin-JAR/ArchBlock-0.1.0b.jar

Feel free to try it - I don't think it'll fix your problem, but I couldn't see much else wrong in that block of code unfortunately.

Greenman1805

Thank you for the build I'll try it. I've enabled debug mode now but I have to wait for the player to join the Server. I'll send you the debug log as soon as possible.

Greenman1805

Here's the log with debug mode enabled. I found out that there's another player where this error appears and they both changed their names. Maybe thats the problem.

Here's the log: http://pastebin.com/7yPD5xna

gdude2002

Alright, so I've had a think and a look over stuff, and the only possibility I can think of is that your two players have swapped usernames with each other.

This is something my plugin doesn't take into account, and would explain why it's failing - I'm going to attempt to fix that now, and make the updates work.

gdude2002

Alright, give this one a try. I'm hoping that it fixes the problem, but I don't really have any way to test this myself unfortunately.

http://bamboo.gserv.me/browse/PLUG-BLOCK-159/artifact/shared/Plugin-JAR/ArchBlock-0.1.0b.jar

Thanks for your patience, by the way. Most people wouldn't be willing to go through with this. :P

gdude2002

Also, just FTR, I've created a GitHub issue, if you have an account then feel free to use that.

@gdude2002 gdude2002 self-assigned this May 3, 2015
@gdude2002 gdude2002 added this to the 0.1.0 milestone May 3, 2015
@gdude2002
Copy link
Member Author

This was fixed; forgot to close the issue

@gdude2002
Copy link
Member Author

@Marfjeh Looks like your email has been compromised, please check your login details and fix the issue

@Marfjeh
Copy link

Marfjeh commented Sep 25, 2015

Great my email got hacked ;/
sorry for the inconvenience, i going to fix this now.

Edit: I have changed my e-mail password. this won't happen agian.

@gdude2002
Copy link
Member Author

Don't worry, it happens to the best of us. Just make sure 2-factor is enabled and you'll be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants