-
Notifications
You must be signed in to change notification settings - Fork 5
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
Example Request: RCON handling #3
Comments
That maybe help https://github.com/multiplay/go-battleye |
Hello Lorenz94B, i dont know enough RCON to give you a real good answer. But for your use case, it simpliest to build a little extension that retrieve the ip adress, and send back it through publicvariable internal command. All depends of what you will do with ip adress. Does those informations will be computed by arma server or other external target ? |
Hello code34, |
in golang, it's very simple. you have example here: |
but in fact it's not a real good idea to retrieve the ip adress from dll extension. The ip adress will be local to the client network (..) So the best way is to retrieve it from server effictvely, i don't know if RCON permits to retrieve thoses informations. |
you also have another solution (..) you can build an extension that will ask to a distant http server to register an ip adress + uid through a web page. The extension will only send the UID to a webpage, and the webpage will register the ip + uid. |
The outuput of the RCON command "players" lists ip:port guid and nickname, so data is there, just too noob to work this out myself!
this seems to complicate the whole thing, to me the best logic solution would be to keep things local to the dedicated server and work as much as possible from there. Anyway, thank you for the time you're taking to reply! |
Thank you FairyTale5571, this still be advanced to me |
yes so the best way is to use a soft like FairyTale5571 client on server side :) @FairyTale5571 does your client retrive those kind of informations ? |
So far, it only works on the record. |
Hm, about directly ip, I can add it to my returnHWID.dll in next month, but it only for x64 |
x64 would be enough to the majority of users I think! I really would like to help.. I think the best way to help not working on the code will be to donate! |
This is not necessary) Its for free |
It returned only local ip's |
is it relative to your code, or rcon go library ? |
github.com/multiplay/go-battleye |
i mean does it relative to the go code, or the rcon on arma server side ? |
no more activity concerning this post, that is not relative to the armago extension itself. if you need more informations concerning dev, you can contact me on bis forum or email |
Hi code34,
would you be so kind to provide a code example of an extensions able to connect to rcon locally to the server and to get replies from it in game? What I have in mind is something like:
onPlayerConnected EH triggers the extension, providing UID to it, the extension finds that UID from the player list and sends its IP back to the game.
I'm a real newbie in C and extensions seems not a so easy "first step" to do in this coding language. Sorry if bothering you with a so specific request, you seem to be the perfect confident person to ask to!
The text was updated successfully, but these errors were encountered: