steam-condenser icon indicating copy to clipboard operation
steam-condenser copied to clipboard

Java library - Privacy Message

Open emas80 opened this issue 11 years ago • 3 comments

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?

emas80 avatar Oct 25 '13 16:10 emas80

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

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

koraktor avatar Oct 25 '13 19:10 koraktor

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.

emas80 avatar Oct 26 '13 17:10 emas80

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 avatar Oct 26 '13 19:10 koraktor