koraktor / steam-condenser

A multi-language library for querying the Steam Community, Source, GoldSrc servers and Steam master servers
https://koraktor.de/steam-condenser
Other
356 stars 67 forks source link

Strange issue with rcon? #258

Closed zack6849 closed 9 years ago

zack6849 commented 9 years ago

Hello, i'm using SteamCondernser's java version in a JSP web application, and im just now running into some VERY strange things, it would seem for some reason creating a SourceServer instance, inisializing it, and then calling getPlayers() with the rcon_password in quick succession results in my IP being banned from rcon for "hacking"

Relevant Code: ContextListener.java (Essentially code tht's run when the webapp is deployed) SourceRcon.java (Just an abstraction away from pure steamcondenser with caching and stuff.) Relevant Output: Servlet Output Garry's mod console output Note: that's literally the only useful information, nothing is shown relevant to rcon before this.

Just before this, i was getting a RCONNoAuthException: Not authenticated yet., I'm not sure how that happened, or how i fixed it, but this is the error that replaced it.

zack6849 commented 9 years ago

Just Confirmed it was indeed also because i'm trying to get online players immediatley after, commenting out getOnlinePlayerIDs() in my init method removed the error.

Edit: I seem to have narrowed down the error to the server.initialize() call, this is the stactrace

zack6849 commented 9 years ago

It would appear that restarting my gmod server fixed this, must've been some sort of strange error gmod side, closing this.

koraktor commented 9 years ago

Ok, thanks for the report though.