LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

7 days to die console connexion script [BUG]

Open tristelune opened this issue 3 years ago • 5 comments

When activating 7dtd console with a password in the (serverconfig.xml) : edit for correction in the serverfiles/sdtdserver.xml

we set the line to true : property name="TelnetEnabled" value="true"

and the password in : property name="TelnetPassword" value="password"

When running the command to stop the server the script is failing to connect to the console to stop the server and kill it.

After debuging i found out that the script do not send the password set in the config file but the value of TelnetEnabled (so it send true instead of the password during the logon process)

to verify this behavior i configured the password with true: property name="TelnetPassword" value="true"

When running the command to stop the server the script is now able to connect to the console to stop the server properly.

So some where in the code the TelnetEnabled var is used instead of the TelnetPassword

So basically we can't set a secure password to have the stop script be able to connect to the console, we have to put true all the time.

tristelune avatar Jun 03 '22 15:06 tristelune

Potential duplicates:

  • [#3860] [BUG] Cant bind IP to 7 days to die (70.24%)

github-actions[bot] avatar Jun 03 '22 15:06 github-actions[bot]

To complement the var : "ControlPanelEnabled" is set to false in my serverconfig.xml file

tristelune avatar Jun 03 '22 15:06 tristelune

Potential duplicates:

* [[[BUG] Cant bind IP to 7 days to die #3860](https://github.com/GameServerManagers/LinuxGSM/issues/3860)] [BUG] Cant bind IP to 7 days to die (70.24%)

Not duplicate, not the same issue

tristelune avatar Jun 26 '22 00:06 tristelune

afaik per default the config serverfiles/sdtdserver.xml is used and not the serverconfig.xml in serverfiles. Please double check this on your side.

h3o66 avatar Jun 26 '22 20:06 h3o66

sorry i replied by mail thinking it will add it to the tread, but no it didn't

Yes i'm talking about serverconfig.xml but of course i'm using serverfiles/sdtdserver.xml to configure the game overwise no other settings will apply (server password to connect, map selection, difficulty setting, drop on death, motd, etc...) so yes the rcon password is indeed configured in the serverfiles/sdtdserver.xml file

sorry for the confusion

tristelune avatar Jul 16 '22 08:07 tristelune

I confirm that the settings are Indeed set in serverfiles/sdtdserver.xml config files otherwise server password, difficulty settings, server name, motd,maps, configuration would not apply on my server, I m hosting a 7dtd server since 4 years with lgsm.


From: Christian @.> Sent: Sunday, June 26, 2022 10:40:50 PM To: GameServerManagers/LinuxGSM @.> Cc: tristelune @.>; Author @.> Subject: Re: [GameServerManagers/LinuxGSM] 7 days to die console connexion script [BUG] (Issue #3888)

afaik per default the config serverfiles/sdtdserver.xml is used and not the serverconfig.xml in serverfiles. Please double check this on your side.

— Reply to this email directly, view it on GitHubhttps://github.com/GameServerManagers/LinuxGSM/issues/3888#issuecomment-1166639720, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXFGO7J7QTCBPMK5CUSJW3VRC55FANCNFSM5XZLUFAQ. You are receiving this because you authored the thread.Message ID: @.***>

tristelune avatar Oct 11 '22 08:10 tristelune

Hello

just coming by to confirm the issue is still present, funny things my reply by mail is now present. it's only as been added 4 month after i send it lol

tristelune avatar Mar 23 '23 16:03 tristelune

7d2d recent update is now released and this should not be resolved

dgibbs64 avatar Nov 26 '23 01:11 dgibbs64