Jump to content

%rconpassword% not showing


julianw

Recommended Posts

Hello,

 

I have just setup all my e-mail templates

 

but when I try it out on a new account, everything seems to work but this:

 

Rcon Password: %rconpassword%

 

 

 

it does not show me anything in the e-mail

 

I was testing this on a Counter-Strike: Source server with rcon password "testrcon"

 

does anybody have a clue about how to fix this?

 

 

 

Julian Wagenhuis

Link to comment
Share on other sites

uhhm did you use this variable in a template not supporting this internal variable? I think it doesnt work with a user welcome email, only in the templates in which the variable is in the dropdown list as well? Just an idea

Link to comment
Share on other sites

uhhm did you use this variable in a template not supporting this internal variable? I think it doesnt work with a user welcome email, only in the templates in which the variable is in the dropdown list as well? Just an idea

 

hmm ...

 

Game Server Automation

 

New Game Server Email Template

 

The attached picture shows that it does show in that list

 

 

 

besides that, if it would be like you say, it would show Rcon Password: %rconpassword%

 

and it shows me:

 

Rcon Password: (nothing here)

 

 

 

so yeah ... :/

rcon.thumb.JPG.2fa79596191eb8e93c8b3f42ab117422.JPG

Link to comment
Share on other sites

Just tried it again:

 

This is my code:

 

<div class="pre"><pre>Game: %gamename%

IP: %serverip%:%serverport%

Slots: %slots%

Rcon Password: %rconpassword%

Private ( 0 = no, 1 = yes ): %isprivate%

Private Password( ignore if Private = 0 ): %privatepassword%</pre></div>

 

 

 

This is what I get:

 

<div class="pre"><pre>

Game: Counter-Strike: Source

IP: 87.117.224.91:27035

Slots: 10

Rcon Password:

Private ( 0 = no, 1 = yes ): 1

Private Password( ignore if Private = 0 ):

</pre></div>

 

It also does not show me my Private Password, while it is a private server !!!

 

 

 

maxXx told me on msn it might be my config file, I'll also add that in here:

 

<div class="pre"><pre>

<?xml version="1.0" standalone="yes"?>

<GAME>

<GAMEID>10</GAMEID>

<NAME>Counter-Strike: Source</NAME>

<SHORTNAME>CS:S</SHORTNAME>

<DEFAULTPORT>27015</DEFAULTPORT>

<DEFAULTQUERYPORT>27015</DEFAULTQUERYPORT>

<DEFAULTRCONPORT>27015</DEFAULTRCONPORT>

<FILESFOLDER>CSS</FILESFOLDER>

<RELATIVEEXECUTABLE>srcds.exe</RELATIVEEXECUTABLE>

<RELATIVEWORKINGDIRECTORY>/</RELATIVEWORKINGDIRECTORY>

<RELATIVEUSERFILES>/</RELATIVEUSERFILES>

<INSTALLEDPATCH />

<FILEMAN_ACCESS>True</FILEMAN_ACCESS>

<FTP_ACCESS>True</FTP_ACCESS>

<IS_VOICE_SERVER>False</IS_VOICE_SERVER>

<DEFAULTCMDLINE>-game cstrike -console +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map de_aztec</DEFAULTCMDLINE>

<DEFAULTCUSTOMCMDLINE>-game cstrike -console +ip %serverip% -port %serverport% +maxplayers %slots% %usercmdline%</DEFAULTCUSTOMCMDLINE>

<PRIVATECMDLINE>-game cstrike -console +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map de_aztec</PRIVATECMDLINE>

<PRIVATECUSTOMCMDLINE>-game cstrike -console +ip %serverip% -port %serverport% +maxplayers %slots% %usercmdline%</PRIVATECUSTOMCMDLINE>

<PBFOLDER />

<PBURL />

<STEAMGAMETYPE>Counter-Strike Source</STEAMGAMETYPE>

<PORTINCREMENT>10</PORTINCREMENT>

<QUERYPORTEXPRESSION />

<RCONPORTEXPRESSION />

<STOPDELAY>3</STOPDELAY>

<CUSTOMPORT1>0</CUSTOMPORT1>

<CUSTOMPORT2>0</CUSTOMPORT2>

<CUSTOMPORT3>0</CUSTOMPORT3>

<CUSTOMPORT4>0</CUSTOMPORT4>

<CUSTOMPORT5>0</CUSTOMPORT5>

<CUSTOMPORT1EXPRESSION />

<CUSTOMPORT2EXPRESSION />

<CUSTOMPORT3EXPRESSION />

<CUSTOMPORT4EXPRESSION />

<CUSTOMPORT5EXPRESSION />

<OS>1</OS>

<COMPATIBILITY>39</COMPATIBILITY>

<COMMANDLINEPARAMETERS>

<COMMANDLINEPARAMETER>

<GAMEID>10</GAMEID>

<CANSETVALUE>True</CANSETVALUE>

<COMMAND>+exec</COMMAND>

<DENYCHARS />

<DESCRIPTION>Execute config command</DESCRIPTION>

<ENCLOSEQUOTES>False</ENCLOSEQUOTES>

<EQUALSIGN />

<ORDER>1</ORDER>

<SPACEAFTERINPUT>True</SPACEAFTERINPUT>

<SPACEAFTERSIGN>False</SPACEAFTERSIGN>

<SPACEBEFORECOMMAND>True</SPACEBEFORECOMMAND>

<SPACEBEFORESIGN>True</SPACEBEFORESIGN>

<USERACCESS>True</USERACCESS>

</COMMANDLINEPARAMETER>

<COMMANDLINEPARAMETER>

<GAMEID>10</GAMEID>

<CANSETVALUE>True</CANSETVALUE>

<COMMAND>+map</COMMAND>

<DENYCHARS />

<DESCRIPTION>Starting map command</DESCRIPTION>

<ENCLOSEQUOTES>False</ENCLOSEQUOTES>

<EQUALSIGN />

<ORDER>2</ORDER>

<SPACEAFTERINPUT>False</SPACEAFTERINPUT>

<SPACEAFTERSIGN>False</SPACEAFTERSIGN>

<SPACEBEFORECOMMAND>True</SPACEBEFORECOMMAND>

<SPACEBEFORESIGN>True</SPACEBEFORESIGN>

<USERACCESS>True</USERACCESS>

</COMMANDLINEPARAMETER>

</COMMANDLINEPARAMETERS>

<DEFAULTCONFIGFILES>

<CONFIGFILE>

<GAMEID>10</GAMEID>

<CONTENTS>// server name

hostname "%hostname%"

 

// rcon passsword

rcon_password "%rconpassword%"

 

// Server password

sv_password "%privatepassword%"

 

// server cvars

mp_friendlyfire 0

mp_footsteps 1

mp_autoteambalance 1

mp_autokick 0

mp_flashlight 0

mp_tkpunish 1

mp_forcecamera 0

sv_alltalk 0

sv_pausable 0

sv_cheats 0

sv_consistency 1

sv_allowupload 1

sv_allowdownload 1

sv_maxspeed 320

mp_limitteams 2

mp_hostagepenalty 5

sv_voiceenable 1

mp_allowspectators 1

mp_chattime 10

sv_timeout 65

 

// round specific cvars

mp_freezetime 6

mp_roundtime 5

mp_startmoney 800

mp_c4timer 45

mp_fraglimit 0

mp_maxrounds 0

mp_winlimit 0

mp_playerid 0

mp_spawnprotectiontime 5

 

// bandwidth rates/settings

sv_minrate 0

sv_maxrate 0

decalfrequency 10

sv_maxupdaterate 60

sv_minupdaterate 10

 

// server logging

log off

sv_logbans 0

sv_logecho 1

sv_logfile 1

sv_log_onefile 0

 

// operation

sv_lan 0

sv_region 255

 

// execute ban files

exec banned_user.cfg

exec banned_ip.cfg </CONTENTS>

<DESCRIPTION>Server config file</DESCRIPTION>

<DISPLAYNAME>server.cfg</DISPLAYNAME>

<RELATIVEPATH>/cstrike/cfg/server.cfg</RELATIVEPATH>

<EDITOR_CONTENTS />

</CONFIGFILE>

<CONFIGFILE>

<GAMEID>10</GAMEID>

<CONTENTS />

<DESCRIPTION>Server mapcycle file</DESCRIPTION>

<DISPLAYNAME>mapcycle.txt</DISPLAYNAME>

<RELATIVEPATH>/cstrike/mapcycle.txt</RELATIVEPATH>

<EDITOR_CONTENTS />

</CONFIGFILE>

<CONFIGFILE>

<GAMEID>10</GAMEID>

<CONTENTS />

<DESCRIPTION>Contains current maps</DESCRIPTION>

<DISPLAYNAME>maplist.txt</DISPLAYNAME>

<RELATIVEPATH>/cstrike/maplist.txt</RELATIVEPATH>

<EDITOR_CONTENTS />

</CONFIGFILE>

<CONFIGFILE>

<GAMEID>10</GAMEID>

<CONTENTS />

<DESCRIPTION>Message of the day file</DESCRIPTION>

<DISPLAYNAME>motd.txt</DISPLAYNAME>

<RELATIVEPATH>/cstrike/motd.txt</RELATIVEPATH>

<EDITOR_CONTENTS />

</CONFIGFILE>

</DEFAULTCONFIGFILES>

<PATCHES>

<PATCH>

<GAMEID>10</GAMEID>

<PATCHID>TC1443422167624</PATCHID>

<DESCRIPTION>STEAM # 37</DESCRIPTION>

<FILENAME>update37.zip</FILENAME>

<NAME>Update37</NAME>

</PATCH>

</PATCHES>

<RCONCOMMANDS>

<RCONCOMMAND>

<GAMEID>10</GAMEID>

<RCON_COMMAND>kick</RCON_COMMAND>

<DESCRIPTION>KICK</DESCRIPTION>

<FULL_COMMAND>kick <playername></FULL_COMMAND>

<IS_KICK_COMMAND>1</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>10</GAMEID>

<RCON_COMMAND>ban</RCON_COMMAND>

<DESCRIPTION>BAN</DESCRIPTION>

<FULL_COMMAND>ban <playername></FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>1</IS_BAN_COMMAND>

</RCONCOMMAND>

</RCONCOMMANDS>

</GAME>

</pre></div>

 

and than last, my server.cfg as it shows on the server:

 

<div class="pre"><pre>

// rcon passsword

rcon_password "warserver"

 

// Server password

sv_password "warserver"

</pre></div>

 

 

 

any more suggestions?

Link to comment
Share on other sites

I entered those 2 values ( private and rcon thing ) when I was creating the gameserver from the TCAdmin panel

 

 

 

Private Password:

 

Verify Private Password:

 

RCON Password:

 

Verify RCON Password:

 

I just filled those in.

 

 

 

and the last copy-paste thing is from the server.cfg ( warserver part )

Link to comment
Share on other sites

ok that is weired never had something like this going on yet, did you try to simply recreate the game server after making sure the templates are set up correctly again? What happens from time to time is that i forget a "%" when entering it manually or silly mistakes like that. Then re create it and see if its working. In any other way wait till the TCADMIN guys are on or put in a support ticket.

Link to comment
Share on other sites

  • 2 years later...

Do you have this when server is created or only when you send the email again ?

For second case it's not a bug, the support told me it's because RCON password can be changed by the customer so it doesnt make sense to display it (i dont agree with that but i'm waiting for v2 ;) ).

Link to comment
Share on other sites

tnx for your reply

 

We don't send mails directly after the server is created. We test the server before we send the email to the client.

 

I've tested it to mail directly after creation, that works.

 

But the "send notification now" button in server settings does not send the rconpassword.

 

I understand why, couse the variable can't be parsed from the game config file becouse the password is already set.

 

But there must be an way to mail the rconpassword, but i cant find it right now.

 

Here is an stripped config from one of our games:

 

<NEWEMAILSUBJECT>Uw %gamename% gameserver is created</NEWEMAILSUBJECT>

<NEWEMAILBODY>%username%,

 

 

RCON : %rconpassword%

</REINSTALLEMAILBODY>

<REINSTALLEMAILSUBJECT></REINSTALLEMAILSUBJECT>

<SHOWINCREATELIST>True</SHOWINCREATELIST>

<SHOWCONFIGSICON>True</SHOWCONFIGSICON>

<DEFAULTCONFIGFILES>

<CONFIGFILE>

<GAMEID>TC6855367260716</GAMEID>

<CONTENTS>seta sv_punkbuster 1

wait

pb_sv_enable

 

//******************************************************************************

// Color Codes

//******************************************************************************

// Colors for text. Do not clear the comment in front of the color codes.

// Useful for your server name, motd msg's - Information and ref use only

//

// ^1 = Red

// ^2 = Green

// ^3 = Yellow

// ^4 = Blue

// ^5 = Cyan

// ^6 = pink/Magenta

// ^7 = White

// ^0 = Black

 

////////////////////////////////////

// Server Information

//

// Server Browser Name

set sv_hostname "%hostname%" //This is the name that appears in the server browser

 

// "Message of the Day" -- Not sure if this even works

set g_motd ""

 

// Keywords (maybe a server search function?)

set sv_keywords ""

 

 

 

 

////////////////////////////////////

// Passwords

//

// Server password (needed to get into the server)

set g_password "" // blank means NO password

 

// Private Client Slot Password

set sv_privatePassword "%privatepassword%"

 

// Rconpassword

set rcon_password "%rconpassword%" // Change this to your rcon password!

 

etc.

</CONTENTS>

<DESCRIPTION>Server Config</DESCRIPTION>

<DISPLAYNAME>server.cfg</DISPLAYNAME>

<RELATIVEPATH>/main/server.cfg</RELATIVEPATH>

<EDITOR_CONTENTS />

<ALLOWEDITWHENFMDISABLED>True</ALLOWEDITWHENFMDISABLED>

</CONFIGFILE>

</DEFAULTCONFIGFILES>

<RCONCOMMANDS />

</GAME>

 

Tnx in advance

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use