Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Adding RCON Connector #68

Merged
merged 18 commits into from
Nov 2, 2019
Merged

Adding RCON Connector #68

merged 18 commits into from
Nov 2, 2019

Conversation

strifel
Copy link
Contributor

@strifel strifel commented Jun 27, 2019

Add an RCON Connector for standard RCON protocols.
I used this protocol description of RCON, but it should work with every RCON compatible Game.

There is an Input Impl and an Output Impl.
Both have one function.
Input Impl has getCommandOutput.
Output Impl has sendCommand.

sendCommand will just return if the command was sent successfully (Warning: RCON does never return if the command was executed successfully.).
If returned true this means that the command should be tried executing by the server.
It will return false if the Connection is not there (anymore) or the Authentication was unsuccessfully.

getCommandOutput will return the response to that command.
It will return null if the Connection is not there (anymore) or the Authentication was unsuccessfully.

This changes need a change in API, too. See PR 8 in API.

This will close issue #62

DragonCoder01 and others added 2 commits July 8, 2019 17:35
@J0B10 J0B10 changed the base branch from master to develop July 8, 2019 19:47
@sebinside sebinside added this to the pre-alpha 3 milestone Jul 13, 2019
Copy link
Member

@J0B10 J0B10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tried to test it but it doesn't even compile. Apearantly you forgot some functions.
I also found some smaller things that should be imroved.

@strifel strifel requested a review from J0B10 October 27, 2019 19:55
J0B10 added a commit that referenced this pull request Nov 2, 2019
@J0B10 J0B10 merged commit c509b13 into codeoverflow-org:develop Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants