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

PHP Query Bug #32

Closed
lgund opened this issue Jan 9, 2018 · 6 comments
Closed

PHP Query Bug #32

lgund opened this issue Jan 9, 2018 · 6 comments
Assignees

Comments

@lgund
Copy link

lgund commented Jan 9, 2018

System Information

Operating System: Ubuntu 16.04
Operating System Type (x86|x64): x64
TeaSpeak Version: 1.0.14-beta

Issue

Hey Community,
it´s more a wish then a bug. Is it possible that you can change the query motd in the config.yml? It´s important for PHP to end the query socket with \n. It would be great, if you guys can set at the end a \n.

I mean something like that:

query:
#The query welcome message
#Notice: If not like TeamSpeak then some applications may not recognize the Query
#Default TeamSpeak 3 MOTD:
#TS3\n\rWelcome to the TeaSpeak ServerQuery interface, type "help" for a list of commands and "help " for information on a specific command.\n\r
motd: !<!> "TeaSpeak\n\rWelcome on the TeaSpeak ServerQuery interface. \n"

After then First-Coder.de will also Support TeaSpeak!

@WolverinDEV
Copy link
Member

Hello,
Are you 100% sure that you're not able to change it in the config?
I guess it should work xD But I will try it out myself later when I'm at home

@lgund
Copy link
Author

lgund commented Jan 9, 2018

Sure, but cause I support the interface First-Coder I need to be sure, that everyone who use your server dosen´t have the problem with the \n.

The php function fgets wait for a \n at the end of the line.

@Bluscream
Copy link
Contributor

Does the official server send the \n at the end?

@lgund
Copy link
Author

lgund commented Jan 9, 2018

Yes it does. The official Server send like in the config.yml descriped:

TS3\n\rWelcome to the TeamSpeak ServerQuery interface, type "help" for a list of commands and "help " for information on a specific command.\n\r

@Bluscream
Copy link
Contributor

Ah ok, yeah i agree we should make sure that 3rd party teamspeak tools/bots stay working.

@WolverinDEV
Copy link
Member

Should be fixed in TeaSpeak 1.0.15-Beta

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

No branches or pull requests

3 participants