Telnet Issue

1
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

2
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

6
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);
cron