<div dir="ltr">writeconfig doesn&#39;t dump all of the dvars.<br><br>dvarlist does the trick.<br><br>But it&#39;s somewhat manual after you get your dvars out.<br><br>I see a command dvarlist_saved, but it&#39;s not doing what I&#39;m expecting (doesn&#39;t do anything, actually).&nbsp; Must be a deprecated <br>
<br><br><br><div class="gmail_quote">On Tue, Sep 30, 2008 at 12:57 PM, LRC Gaming US <span dir="ltr">&lt;<a href="mailto:gaming@lrc-hosting.com">gaming@lrc-hosting.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="blue" lang="EN-GB">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If I'm correct:</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">/rcon writeconfig config.cfg </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Should create a file named config.cfg with
all your current server side settings/dvars wrote to it.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Then /rcon exec config.cfg should load it
of course.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Anyway, Hope this is what your asking for!!
Let me know how you get on.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Regards</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
Caleb Stephens [mailto:<a href="mailto:csteph9@gmail.com" target="_blank">csteph9@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> 30 September 2008 20:49<div class="Ih2E3d"><br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [cod] variable save</div></span></font><span lang="EN-US"></span></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I give up, ROFL.<br>
<br>
Thx guys</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Tue, Sep 30, 2008 at 12:47 PM, Santiago Reig &lt;<a href="mailto:santireig@gmail.com" target="_blank">santireig@gmail.com</a>&gt; wrote:</span></font></p>


<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Edit that default server config, and add to it the variables you change
trough rcon, thats the way</span></font></p><div><div></div><div class="Wj3C7c">

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008/9/30 Caleb Stephens &lt;<a href="mailto:csteph9@gmail.com" target="_blank">csteph9@gmail.com</a>&gt;</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I think you guys didn&#39;t read the question (no offense).<br>
<br>
My default cfg file has like 3 lines in it.&nbsp; I&#39;ve been tweaking all of the
configs via RCON over the last few days.&nbsp; So, if the server restarts,
those are all gone, and my default server config loads and I&#39;ve lost all of my
customizations.<br>
<br>
<br>
One way to get around this is at the console (preferably at the linux shell),
run dvarlist.&nbsp; Then either write a script or just use excel to isolate the
dvars and their values.<br>
<br>
Then that info can be pasted back into your main server config ... so if you
have a server restart ... you are good to go.<br>
<br>
<br>
Thanks for the responses guys.<br>
<br>
|10|Marduk</span></font></p>

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Tue, Sep 30, 2008 at 12:38 PM, Sparker &lt;<a href="mailto:sparker@bls4sof.com" target="_blank">sparker@bls4sof.com</a>&gt;
wrote:</span></font></p>

<div link="blue" vlink="purple">

<div>

<p><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Another option to what he stated below
is to use SSH and download the files via FTP <br>
<br>
Later<br>
Sparker</span></font><span lang="EN-US"></span></p>

<p><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">&nbsp;</span></font><span lang="EN-US"></span></p>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><font face="Times New Roman" size="2"><span style="font-size: 10pt; font-weight: bold;" lang="EN-US">From:</span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> Santiago Reig [mailto:<a href="mailto:santireig@gmail.com" target="_blank">santireig@gmail.com</a>] <br>

<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, September 30, 2008
2:33 PM</span></font></p>

<div>

<p><font face="Times New Roman" size="2"><span style="font-size: 10pt;" lang="EN-US"><br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [cod] variable save</span></font></p>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">&nbsp;</span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">Search for ./COD4_PATH/main/mp_server.cfg</span></font></p>

<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"><br>
The name of the config file could change to whatever you have set on the
command line<br>
By default config files are at main directory, but also it could change to whatever
you have set in the command line<br>
<br>
In that file change variables as you like, add, remove, etc<br>
That file will be loaded on server start</span></font></p>

</div>

</div>

<div>

<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">2008/9/30
Caleb Stephens &lt;<a href="mailto:csteph9@gmail.com" target="_blank">csteph9@gmail.com</a>&gt;</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">Oh,
sorry, forgot to specify that. I do.&nbsp; Complete root access to the server
it&#39;s running on.<br>
<br>
Thx</span></font></p>

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">&nbsp;</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">On
Tue, Sep 30, 2008 at 12:23 PM, Santiago Reig &lt;<a href="mailto:santireig@gmail.com" target="_blank">santireig@gmail.com</a>&gt;
wrote:</span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">If you don&#39;t have access to the command
line, config files or a web control panel that allows you to change settings I
don&#39;t think it&#39;s possible</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">2008/9/30
Caleb Stephens &lt;<a href="mailto:csteph9@gmail.com" target="_blank">csteph9@gmail.com</a>&gt;</span></font></p>

<div>

<div>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; margin: 5pt 0cm 5pt 4.8pt; padding: 0cm 0cm 0cm 6pt;">


<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">&nbsp;</span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">Hello all - <br>
<br>
I&#39;m looking for a way to export all current variable settings.&nbsp; Something
like PB&#39;s pb_sv_writecfg.&nbsp; But for all of the other configs (for example
SD bomb timer, SAB round limits, etc).&nbsp; I have everything setup nice, but
I&#39;ve been doing all the configs via RCON over the last few days.&nbsp; So in
the event of a server restart, I&#39;ll lose them all.<br>
<br>
I found the writecfg command, but that appears to only export player settings.<br>
<br>
Anyone have any ideas?<br>
<br>
Thanks<br>
|10|Marduk</span></font></p>

</div>

</blockquote>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">&nbsp;</span></font></p>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">&nbsp;</span></font></p>

</div>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">&nbsp;</span></font></p>

</div>

</div>

</div>

<p><font face="Times New Roman" size="2"><span style="font-size: 10pt;" lang="EN-US">No
virus found in this incoming message.</span></font></p>

<div>

<p><font face="Times New Roman" size="2"><span style="font-size: 10pt;" lang="EN-US"><br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">http://www.avg.com</a><br>
Version: 8.0.173 / Virus Database: 270.7.5/1698 - Release Date: 9/30/2008 11:03
AM</span></font></p>

</div>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>

</div></div></div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>

</div>


</blockquote></div><br></div>