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

Java library - Privacy Message #230

Open
emas80 opened this issue Oct 25, 2013 · 3 comments
Open

Java library - Privacy Message #230

emas80 opened this issue Oct 25, 2013 · 3 comments

Comments

@emas80
Copy link

emas80 commented Oct 25, 2013

Hi, I get many exceptions regarding the privacy flag, thrown by this lines of code

if (profile.hasElement("privacyMessage")) {
throw new SteamCondenserException(profile.getString("privacyMessage"));
}

at line 355 of SteamId.java.

I was wondering if information like steam nickname, steamid 64, vac banned fields are public.
If that's the case, I would suggest to manage the privacy issue in a different way. For example, I just need only the steam nickname and the vac banned value, and the call to the method throw an Exception and I can't use it.

What would you suggest in this case? Is there any other way to get vac banned status and personaname?

@ghost ghost assigned koraktor Oct 25, 2013
@koraktor
Copy link
Owner

Thanks for your report. I'll try to reproduce and fix this ASAP.

Do you have one or more profiles where this error occurs?

@emas80
Copy link
Author

emas80 commented Oct 26, 2013

Thank you very much. It is not really a bug, looking at the code it seems more like the desired behaviour.

For example steam id 76561198098058712.

@koraktor
Copy link
Owner

Yes, this is currently the desired behaviour.
But maybe version 2 of the library might be a good opportunity to change this. I'm not entirely sure how, but there's room for improvement here.

@koraktor koraktor removed their assignment Feb 3, 2018
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