Page 1 of 1
Telnet Issue
Posted: 20 Sep 2018, 16:35
by Danedeath
Hi,
I'm kinda stuck here, as its very odd and there isn't much out there about the issue I am having. So, here it goes:
In my main.cs file I have the following line:
Code: Select all
telnetSetParameters(integer, string, string, false);
Having this line uncommented results in my server launching then immediately crashing leaving no contents in the log file.
Is anyone else having this issue?
Regards, Dane
Re: Telnet Issue
Posted: 20 Sep 2018, 21:32
by Nyuton
Hi,
it's a bug they introduced with the 1.4 patch.
This function tries to access the variable $telnet::bindAddress, but accessing it crashes the server. Maybe it's not initialized properly or idk.
As a workaround, you can assign it a value (ideally the server's IP address) and then call the function as usual.
Code: Select all
$telnet::bindAddress = $cm_config::localIpAddress;
telnetSetParameters(port, "writePass", "readPass", false);
I hope it helps
Cheers
Re: Telnet Issue
Posted: 01 Oct 2018, 23:41
by Danedeath
That fixed it, thanks!
Re: Telnet Issue
Posted: 11 Dec 2018, 08:57
by SonnyFly
Here i have a Question the Livemap RCON connect to my server with a PORT and the Command dont work i think it isn#t work because the RCON set a TELNET Port an i cant set my own!
Re: Telnet Issue
Posted: 11 Dec 2018, 10:21
by Nyuton
Livemap RCON isn't using Telnet at all.
Re: Telnet Issue
Posted: 11 Dec 2018, 10:36
by SonnyFly
Okay thats a Prob!
I have from BASIL MOD look for auto Message but i cant login with telnet on the consol!
i have add this too main.cs
$telnet::bindAddress = $cm_config::localIpAddress;
telnetSetParameters(26010, "adminpassword", "listenPassword", "writerPassword", false);