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

Extending GC funcionality with commends / reports #7

Open
toorisrael opened this issue Aug 2, 2022 · 3 comments
Open

Extending GC funcionality with commends / reports #7

toorisrael opened this issue Aug 2, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@toorisrael
Copy link

Hi. So I see you've added handling GC messages, are you planning to add commending and/or reporting players?

@yourmnbbn
Copy link
Owner

Hey, the feature itself is not complicated to implement, but since we don't have a GUI so this has to be done by some console commands, currently all the console inputs are being sent to server as stringcmd. I don't have a good idea about a user friendly local command system so far. After finishing some prior todos of tiny server I'll take a look into this. It may take long cuz I don't have much free time this month.

@yourmnbbn yourmnbbn added the enhancement New feature or request label Aug 3, 2022
@toorisrael
Copy link
Author

I think command line arguments like -steamid64, -report/commend, -reasonid would be enough. After connecting to server we could check if player with steamid64 is on server and send gc message.

@yourmnbbn
Copy link
Owner

I think command line arguments like -steamid64, -report/commend, -reasonid would be enough. After connecting to server we could check if player with steamid64 is on server and send gc message.

It's a convenient implementation but it has two flaws. One is since the client is originally focused on the connection and communication so we don't have a entity packet parser, we can't get any information about players including steamid(but for now through console we can get the steamid by command status). The other is there are lots of fun stuff in GC messages, it's not a good implementation to create several command lines for each of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants