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

Half-Life (old): RCON Broken #146

Open
Xylemon opened this issue Jun 17, 2015 · 11 comments
Open

Half-Life (old): RCON Broken #146

Xylemon opened this issue Jun 17, 2015 · 11 comments
Labels

Comments

@Xylemon
Copy link

Xylemon commented Jun 17, 2015

Using RCON on Half-Life WON2 (old) servers just gives me the message "hallenge." However, it seems that Steam Half-Life servers are giving proper messages.

@illwieckz
Copy link
Member

Hmm, too bad, I do not have any access to this kind of server to check that! I don't know how to reproduce myself. 😕

@Xylemon
Copy link
Author

Xylemon commented Jun 20, 2015

I host a few. Perhaps I could run a temporary one and email you the rcon password for it?

@illwieckz
Copy link
Member

It could be very nice! I've not many time right now, but perhaps in july/august I will have more free time, I would keep you informed. 😉

@Xylemon
Copy link
Author

Xylemon commented Jun 20, 2015

Alright, just email me xylem2020[at]gmail.com or leave another comment here!

@illwieckz
Copy link
Member

Do you know any other open source rcon tool for old Half Life servers that I can read some source code to see how it works?

@Xylemon
Copy link
Author

Xylemon commented Jun 20, 2015

Sadly the only tool I can think of is QStat, however https://github.com/alliedmodders/amxmodx is a great plugin for HL servers that lets you control rcon. Might be worth looking at.

@illwieckz
Copy link
Member

Can you try multircon (web page, zip sources) to check if his claimed support of HL server is true ?

@Xylemon
Copy link
Author

Xylemon commented Jun 20, 2015

It did work for me with my WON2 servers.

@illwieckz
Copy link
Member

Nice, so we have a reference implementation to compare :-)

@illwieckz
Copy link
Member

What if here: src/rcon.c#L168

You do that:

-       char* mustresponse = "\377\377\377\377challenge rcon ";
+       char* mustresponse = "\377\377\377\377challenge rcon\n";

?

@Xylemon
Copy link
Author

Xylemon commented Jun 21, 2015

Same thing. Nothing different appears.

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

No branches or pull requests

2 participants