<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Börngen-Schmidt IT Consulting &#187; HowTo</title>
	<atom:link href="http://www.boerngen-schmidt.de/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.boerngen-schmidt.de</link>
	<description>Die Summe der Kleinigkeiten ergibt das Ganze.</description>
	<lastBuildDate>Mon, 07 Nov 2011 20:00:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Überhitzendes MacBook Pro</title>
		<link>http://www.boerngen-schmidt.de/2010/08/uberhitzendes-macbook-pro/</link>
		<comments>http://www.boerngen-schmidt.de/2010/08/uberhitzendes-macbook-pro/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 18:58:26 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Macintosch]]></category>
		<category><![CDATA[Hitze]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[MacBook]]></category>

		<guid isPermaLink="false">http://www.boerngen-schmidt.de/?p=253</guid>
		<description><![CDATA[Schon seit längerem plagt mich mein oft sehr heiß werdendes MacBook Pro, besonders in letzter Zeit wurde es immer extremer bis hin, dass es sich unter Bootcamp mit Windows 7 ganz abgestellt hat. Lösung des ganzen Problems bestand letztendlich darin, dass ich das MacBook nach einer Anleitung (Heatpipe) von www.ifixit.com auseinander gebaut habe, dann die <a href='http://www.boerngen-schmidt.de/2010/08/uberhitzendes-macbook-pro/'>[...]</a>


Keine verwandten Artikel gefunden.]]></description>
			<content:encoded><![CDATA[<p>Schon seit längerem plagt mich mein oft sehr heiß werdendes MacBook Pro, besonders in letzter Zeit wurde es immer extremer bis hin, dass es sich unter Bootcamp mit Windows 7 ganz abgestellt hat.</p>
<p>Lösung des ganzen Problems bestand letztendlich darin, dass ich das MacBook nach einer Anleitung (Heatpipe) von www.ifixit.com auseinander gebaut habe, dann die Lüfter, Heatpipe und den Rest vom Staub befreit habe (ja echt viel Staub!). Da ich das Book eh schon offen hatte, habe ich im gleichen Atemzug auch noch die Wärmeleitpaste zwschen CPU, GPU und Controller ausgetauscht. Benutzt dazu habe ich:</p>
<ul>
<li>Arctic Cleaning</li>
<li>Arctic Silver V Wärmeleitpaste</li>
<li>Microfastertuch</li>
<li>Wattestäbchen &amp; Taschentücher</li>
</ul>
<p>Besonders das vorherige entfernen der alten Wärmeleitpaste ist wichtig und bei der scheint Apple nicht gerade sparsam zu sein. Hierbei war das Actric Cleaning echt eine große Hilfe, denn die Paste war schon leicht festgebrannt. Nachdem alles sauber ist wirklich nur 2-3 Tupfer von der Wärmeleitpaste jeweils auf CPU, GPU, Controller und die Oberflächen auf der Heatpipe auftragen. Am besten lässt sich die Paste mit um einen Finger gespannte Frischhaltefolie verteilen.</p>
<p>Nun noch das Book wieder zusammen bauen und hoffen, das man keine Schrauben, Anschlüsse etc. vergessen hat. Im Falle das alles geklappt hat startet das Book einwandfrei. Jetzt sollte man aber noch darauf achten, wie warm der Prozessor und der Rest wird.</p>
<p>CPU Idle: vorher ~ 60ºC, danach ~40ºC<br />
CPU full: vorher ~82ºC, jetzt ~65-70ºC</p>
<p>Dies ist ein erstaunlicher Unterschied, denn gerechnet habe ich mit maximal 5-8ºC. Meine Empfehlung also ganz klar:</p>
<blockquote><p>Öfters mal das MacBook sauber machen!</p></blockquote>


<p>Keine verwandten Artikel gefunden.</p>]]></content:encoded>
			<wfw:commentRss>http://www.boerngen-schmidt.de/2010/08/uberhitzendes-macbook-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTO: Pear unter Snow Leopard</title>
		<link>http://www.boerngen-schmidt.de/2010/08/howto-pear-unter-snow-leopard/</link>
		<comments>http://www.boerngen-schmidt.de/2010/08/howto-pear-unter-snow-leopard/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 10:00:42 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Macintosch]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.boerngen-schmidt.de/2010/08/howto-pear-unter-snow-leopard/</guid>
		<description><![CDATA[PEAR ist ein Framework und ein Distributionssystem mit dem PHP Softwarepakete verteilt und installiert werden können. Die Installation an sich ist super einfach: # root Rechte mit &#34;richtigem einloggen&#34; und in das richtige Verzeichnis wechseln sudo su - cd /usr/local &#160; # PEAR Installer herunterladen und ausführen curl http://pear.php.net/go-pear &#62; go-pear.php php go-pear.php rm go-pear.php <a href='http://www.boerngen-schmidt.de/2010/08/howto-pear-unter-snow-leopard/'>[...]</a>


Keine verwandten Artikel gefunden.]]></description>
			<content:encoded><![CDATA[<p><a title="Official PEAR Homepage" href="http://pear.php.net/" target="_blank">PEAR</a> ist ein Framework und ein Distributionssystem mit dem PHP Softwarepakete verteilt und installiert werden können.</p>
<p>Die Installation an sich ist super einfach:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># root Rechte mit &quot;richtigem einloggen&quot; und in das richtige Verzeichnis wechseln</span>
 <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> -
 <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># PEAR Installer herunterladen und ausführen</span>
 curl http:<span style="color: #000000; font-weight: bold;">//</span>pear.php.net<span style="color: #000000; font-weight: bold;">/</span>go-pear <span style="color: #000000; font-weight: bold;">&gt;</span> go-pear.php
 php go-pear.php
 <span style="color: #c20cb9; font-weight: bold;">rm</span> go-pear.php</pre></div></div>

<p>Danach können wir eigentlich alles bestätigen und PEAR sollte installiert werden, dennoch lohnt es sich vorher die Pfade zu überprüfen.</p>
<p>Last but not least muss noch die Konfigurationsdatei von PHP angepasst werden.Dazu kann man die mitgelieferte php.ini.default benutzen oder alternativ können zwei verschiedene php.ini (für Development und Production) unter http://wiki.php.net/rfc/newinis gefunden werden.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># PHP.ini editieren</span>
 <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini.default <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
 <span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini</pre></div></div>

<p>Dort den <em>include_path</em> anpassen auf: .:/usr/local/PEAR und falls noch nicht geschehen <em>date.timezone</em> setzen (z.B. auf Europe/Berlin). Zu guter letzt noch ein Neustart des Apache Webservers via <strong>apachectl restart</strong></p>


<p>Keine verwandten Artikel gefunden.</p>]]></content:encoded>
			<wfw:commentRss>http://www.boerngen-schmidt.de/2010/08/howto-pear-unter-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 3G downgrade von iOS 4 auf iOS 3.1.3</title>
		<link>http://www.boerngen-schmidt.de/2010/07/iphone-3g-downgrade-von-ios-4-auf-ios-3-1-3/</link>
		<comments>http://www.boerngen-schmidt.de/2010/07/iphone-3g-downgrade-von-ios-4-auf-ios-3-1-3/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 10:16:21 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Macintosch]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.boerngen-schmidt.de/?p=245</guid>
		<description><![CDATA[Das Iphone 3G ist einfach grauenhaft langsam, wenn man das iOS 4 darauf installiert hat. Selbst die neuen Features wie Multitasking sind gar nicht erst aktiviert und selbst das aktivieren durch einen Jailbreak verursacht eine nur noch größeren Geschwindigkeitsverlust. Daher habe ich mich, wie scheinbar viel andere auch, dazu entschlossen ein Downgrade auf die Firmware <a href='http://www.boerngen-schmidt.de/2010/07/iphone-3g-downgrade-von-ios-4-auf-ios-3-1-3/'>[...]</a>


Keine verwandten Artikel gefunden.]]></description>
			<content:encoded><![CDATA[<p>Das Iphone 3G ist einfach grauenhaft langsam, wenn man das iOS 4 darauf installiert hat. Selbst die neuen Features wie Multitasking sind gar nicht erst aktiviert und selbst das aktivieren durch einen Jailbreak verursacht eine nur noch größeren Geschwindigkeitsverlust. Daher habe ich mich, wie scheinbar viel andere auch, dazu entschlossen ein Downgrade auf die Firmware 3.1.3 vorzunehmen.</p>
<h3>Neue &#8220;alte&#8221; Firmware runterladen und installieren</h3>
<p>Als erstes brauchen wir die passende Firmware. Eine gut gepflegte Liste mit Download-Links direkt von Apple habe ich bei <a title="iSzene" href="http://iszene.com/thread-29469.html" target="_blank">iSzene</a> gefunden.</p>
<p>Ich habe bei meinen Nachforschungen zum Downgrade öfters gelesen, dass es wohl einige Probleme gibt, die alte Firmware auf das iPhone zu spielen. Eine mögliche Lösung und weitere Links gibt es beim <a href="http://www.apfelwerk.de/2010/06/downgrade-iphone-3g-firmware-3-1-3/" target="_blank">Apfelwerk</a>.</p>
<p>Mein Weg war etwas härter, hat aber auch ohne zusätzliche Tools funktioniert. Ich habe das iPhone in den DFU-Modus mit hilfe des Pwnage Tools gebracht und dann via iTunes die alte Firmware installiert. Dies hat nicht direkt geklappt, da iTunes einen Fehler gemeldet hat. Davon aber nicht irritieren lassen, sondern iTunes schließen, neustarten und einfach nochmal versuchen. Eventuell das iPhone nochmals in den DFU Modus versetzen.</p>
<blockquote><p>Wenn man mit gedrückter ALT-Taste auf Wiederherstellen in iTunes klickt, kann man eine Firmwaredatei auswählen. Ansonsten wird die aktuellste von iTunes automatisch ausgewählt.</p></blockquote>
<h3>Wiederherstellen des iPhones aus einem Backup</h3>
<p>Wer nach der erfolgreichen Installation von iOS 3.1.3 versucht, sein iPhone aus einem Backup wiederherzustellen, dass er mit dem iOS 4 gemacht hat wird leider von iTunes enttäuscht mit der Fehlermeldung</p>
<blockquote><p>Das Backup kann nicht wiederhergestellt werden, da es mit einer neueren Version &#8230;.</p></blockquote>
<p>Doof! Aber man kann sich hier mit einem Trick behelfen.</p>
<p>Unter <strong>/Users/&lt;username&gt;/Library/Application Support/MobileSync/Backup </strong>findet man die Backups, die iTunes vom iPhone gemacht hat und geht wie folgt vor:</p>
<ul>
<li>iTunes schließen!!</li>
<li>Suchen des neusten Backupsordners</li>
<li>Dort die info.plist öffnen und nach folgendem suchen

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;key<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Product Version<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/key<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>und den string darunter auf 3.1.3 abändern. Fertig sieht das dann so aus</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;key<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Product Version<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/key<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

</li>
<li>Jetzt iTunes neustarten und den Sync geschehen lassen</li>
</ul>
<p>Das sollte alles sein um das iPhone down zu graden vom langsamen iOS 4.</p>


<p>Keine verwandten Artikel gefunden.</p>]]></content:encoded>
			<wfw:commentRss>http://www.boerngen-schmidt.de/2010/07/iphone-3g-downgrade-von-ios-4-auf-ios-3-1-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wiederherstellen von Mail.app nach Neuinstallation</title>
		<link>http://www.boerngen-schmidt.de/2010/03/wiederherstellen-von-mail-app-nach-neuinstallation/</link>
		<comments>http://www.boerngen-schmidt.de/2010/03/wiederherstellen-von-mail-app-nach-neuinstallation/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 12:48:11 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Macintosch]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.boerngen-schmidt.de/?p=219</guid>
		<description><![CDATA[<!--:de-->Timemachine.app ist ein nettes kleines Programm um von seinem Mac ein Backup zu machen. Dennoch hatte ich bis jetzt immer das Problem, dass ich nicht wusste wie ich Mail.app wieder herstellen konnte, nachdem ich das System neuinstalliert hatte.<!--:-->


Keine verwandten Artikel gefunden.]]></description>
			<content:encoded><![CDATA[<p>Im Prinzip ist es jedoch sehr einfach da es einfach. Es müssen nur ein Verzeichnis und eine Datei kopiert werden. Danach einfach wie gewohnt Mail.app starten und den Einrichtungsassistenten die E-Mails importieren lassen.</p>
<p>Zu kopieren vom Backup sind:</p>
<pre>&lt;Homedir&gt;/Library/Mail
&lt;Homedir&gt;/Library/Preferences/com.apple.mail.plist</pre>
<p>Danach müssen nur noch die Passwörter für die Accounts wieder eingegeben werden und alles sollte funktionieren.</p>


<p>Keine verwandten Artikel gefunden.</p>]]></content:encoded>
			<wfw:commentRss>http://www.boerngen-schmidt.de/2010/03/wiederherstellen-von-mail-app-nach-neuinstallation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doctrine und Agavi</title>
		<link>http://www.boerngen-schmidt.de/2009/04/howto-configure-doctrine-and-agavi/</link>
		<comments>http://www.boerngen-schmidt.de/2009/04/howto-configure-doctrine-and-agavi/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 22:06:59 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Agavi]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://www.boerngen-schmidt.de/?p=141</guid>
		<description><![CDATA[Bei Agavi hat man die Qual der Wahl wie man eine Datenbankverbindung herstellt. Zum einen sind dort Propel und Doctrine als Verfechter der ORMs, zum anderen aber auch die klassischen Methode ala PDO.

Heute möchte ich gerne ein paar Worte dazu verlieren wie man Doctrine zusammen mit Agavi einrichtet und zum laufen bekommt.


Keine verwandten Artikel gefunden.]]></description>
			<content:encoded><![CDATA[<h2>Doctrine Librarys</h2>
<p>Als erstes sollte man sich die Librarys von Doctrine besorgen. Ich selber speichere alle externen librarys im Verzeichnis <strong>%project_dir%/libs</strong> ab.</p>
<p>svn co <a href="http://svn.doctrine-project.org/tags/1.1.0/lib/">http://svn.doctrine-project.org/tags/1.1.0/lib/</a> libs/doctrine</p>
<p>nun haben wir schon einmal die Librarys im Verzeichnis %project_dir%/lib/doctrine.</p>
<p><strong>Konfiguration in Agavi</strong></p>
<p>Damit Agavi nun diese auch läd müssen sie zur autoload.xml hinzugefügt werden.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Doctrine --&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;autoload</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Doctrine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>/path/to/project/libs/doctrine/Doctrine.php<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/autoload<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Zum anderen sollte in settings.xml <em>use_database</em> auf true gesetzt werden, damit Agavi überhaupt zu Datenbanken verbindet. Als nächstes ist nun die database.xml an der Reihe. Die hier angegebene Konfiguration sollte immer an die eingenen Wünsche angepasst werden!</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:configurations</span> <span style="color: #000066;">xmlns:ae</span>=<span style="color: #ff0000;">&quot;http://agavi.org/agavi/config/global/envelope/1.0&quot;</span> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">&quot;http://agavi.org/agavi/config/parts/databases/1.0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;databases</span> <span style="color: #000066;">default</span>=<span style="color: #ff0000;">&quot;doctrine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;database</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;doctrine&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;AgaviDoctrineDatabase&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameters<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;dsn&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>mysql://<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>:<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>@<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;host<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;databasename<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;attributes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameters<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;AUTOLOAD_TABLE_CLASSES&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;VALIDATE&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>LENGTHS<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;AUTO_ACCESSOR_OVERRIDE&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameters<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;manager_attributes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameters<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;model_loading&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>conservative<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameters<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ae:parameter</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;load_models&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>%core.lib_dir%/doctrine<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:parameters<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/database<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/databases<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ae:configurations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<h2>Entwicklungsumgebung</h2>
<p>Hier habe ich mir angewöhnt die Sachen für die DB Entwicklung unter dev/db ab zuspeichern. Hier sollten folgende Verzeichnisse erstellt werden.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> dev<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>data,data<span style="color: #000000; font-weight: bold;">/</span>fixtures,data<span style="color: #000000; font-weight: bold;">/</span>sql,migrations,models,schema<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Zudem erzeugen wir in dev/db noch die Datei doctrine.php, welches wir zur Konfiguration der Doctrine CLI verweden werden. Auch hier gilt, bitte anpassen!</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// Backup argv, otherwise stripped by agavi</span>
<span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'argv'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'../../libs/agavi/agavi.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'../../app/config.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
Agavi<span style="color: #339933;">::</span><span style="color: #004000;">bootstrap</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'development.benjamin'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">spl_autoload_register</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Doctrine'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'autoload'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Let Agavi create the connection</span>
<span style="color: #000088;">$con</span> <span style="color: #339933;">=</span> AgaviContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'console'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getDatabaseConnection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$dir</span> <span style="color: #339933;">=</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$config</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'data_fixtures_path'</span>  <span style="color: #339933;">=&gt;</span> AgaviConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'doctrine.fixture_dir'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dir</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/data/fixtures'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'models_path'</span> <span style="color: #339933;">=&gt;</span> AgaviConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'core.lib_dir'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/doctrine'</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'migrations_path'</span> <span style="color: #339933;">=&gt;</span>  AgaviConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'doctrine.migration_dir'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dir</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/migrations'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'sql_path'</span> <span style="color: #339933;">=&gt;</span> AgaviConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'doctrine.migration_dir'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dir</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/data/sql'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'yaml_schema_path'</span> <span style="color: #339933;">=&gt;</span>  AgaviConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'doctrine.schema_dir'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dir</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/schema/schema.yml'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'generate_models_options'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
		<span style="color: #0000ff;">'suffix'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'.class.php'</span>
	<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Configure Doctrine Cli</span>
<span style="color: #000088;">$cli</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Doctrine_Cli<span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$cli</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">run</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Kommen wir nun zur letzten kleine Hürde. Wir brauchen noch eine entsprechende Datei die uns die doctrine.php von oben aufruft. Diese platziere ich immer in dev/ und sie sieht so aus.</p>
<pre lang="bash" file="doctrine">
#!/usr/bin/env php
<?PHP
chdir(dirname(__FILE__).'/db');
include('doctrine.php');
?>
</pre>
<p>Noch ein abschließendes chmod +x doctrine und man kann los legen.</p>


<p>Keine verwandten Artikel gefunden.</p>]]></content:encoded>
			<wfw:commentRss>http://www.boerngen-schmidt.de/2009/04/howto-configure-doctrine-and-agavi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call of Duty 4 Server für Mac</title>
		<link>http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/</link>
		<comments>http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 00:17:11 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Macintosch]]></category>
		<category><![CDATA[COD4]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.boerngen-schmidt.de/?p=83</guid>
		<description><![CDATA[Heute habe ich meine Kopie von Call of Duty 4: Modern Warfare bekommen und zwar für MacOSX. Die Demo unter Windows hat ja schon richtig Spaß gemacht, aber jedesmal Windows dafür zu booten um einfach eine Runde spielen zu können war und ist mir einfach zu nervig. Zudem sollte man geniale Spiele die für ein <a href='http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/'>[...]</a>


Keine verwandten Artikel gefunden.]]></description>
			<content:encoded><![CDATA[<p>Heute habe ich meine Kopie von Call of Duty 4: Modern Warfare bekommen und zwar für MacOSX. Die Demo unter Windows hat ja schon richtig Spaß gemacht, aber jedesmal Windows dafür zu booten um einfach eine Runde spielen zu können war und ist mir einfach zu nervig. Zudem sollte man geniale Spiele die für ein geniales OS erscheinen unterstützen.</p>
<p>Nur das Online Spielen gestaltet sich als etwas schwierig, da CoD4 für den Mac nur in Version 1.5 vorhanden ist und inzwischen 1.7 aktuell ist. Dementsprechend gibt es wenige, bis garkeine Server! Hier nun ein kleines HowTo wie man einen dedicated Server unter Linux in Version 1.5 aufsetzt.</p>
<h3>Deutsch</h3>
<ol>
<li>Download der passenden Linux Version<sup><a href="http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#footnote_0_83" id="identifier_0_83" class="footnote-link footnote-identifier-link" title="http://treefort.icculus.org/cod/cod4-linux-server-01312008.tar.bz2">1</a></sup></li>
<li>Entpacken

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-jxvf</span> cod4-linux-server-01312008.tar.bz2</pre></div></div>

</li>
<li>Nun müssen entweder die Ordner <strong>main/</strong> und <strong>zone/</strong> aus dem Ordner <em>Call of Duty 4 Data</em> auf den Server kopiert werden, oder entsprechend von einem anderen Server geladen werden. Am besten Google benutzen.<sup><a href="http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#footnote_1_83" id="identifier_1_83" class="footnote-link footnote-identifier-link" title="http://www.google.de/search?q=intitle%3A%22index+of%22+cod4_lnxded">2</a></sup></li>
<li>Nun eine im Ordner <strong>main/</strong> eine server.cfg und weapons.cfg erstellen. (Siehe unten für ein Beispiel)</li>
<li>Eventuell noch den Map Cycle verbessern.<sup><a href="http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#footnote_2_83" id="identifier_2_83" class="footnote-link footnote-identifier-link" title="http://gw-2.de/miniscripts/cod_config/mapcycle.php">3</a></sup></li>
<li>Server starten

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>cod4<span style="color: #000000; font-weight: bold;">/</span>cod4-linux-server<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-A</span> <span style="color: #660033;">-m</span> <span style="color: #660033;">-d</span> <span style="color: #660033;">-S</span> cod4_15 .<span style="color: #000000; font-weight: bold;">/</span>cod4_lnxded +<span style="color: #000000; font-weight: bold;">set</span> net_port <span style="color: #000000;">28960</span> +<span style="color: #7a0874; font-weight: bold;">exec</span> server.cfg +<span style="color: #000000; font-weight: bold;">set</span> fs_basepath <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>cod4<span style="color: #000000; font-weight: bold;">/</span>cod4-linux-server<span style="color: #000000; font-weight: bold;">/</span> +<span style="color: #000000; font-weight: bold;">set</span> fs_homepath <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>cod4<span style="color: #000000; font-weight: bold;">/</span>cod4-linux-server<span style="color: #000000; font-weight: bold;">/</span> +map_rotate +<span style="color: #000000; font-weight: bold;">set</span> loc_language <span style="color: #000000;">2</span></pre></div></div>

<p>Der Parameter loc_language wird nur benötigt wenn ihr nicht eine englische Version von CoD4 besitzt. In unserem Fall bedeutet die 2 Deutsch.</li>
</ol>
<h3>English</h3>
<ol>
<li>Download suitable Version<sup><a href="http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#footnote_3_83" id="identifier_3_83" class="footnote-link footnote-identifier-link" title="http://treefort.icculus.org/cod/cod4-linux-server-01312008.tar.bz2">4</a></sup></li>
<li>Extract

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-jxvf</span> cod4-linux-server-01312008.tar.bz2</pre></div></div>

</li>
<li>Now the folders <strong>main/</strong> and <strong>zone/</strong> need to be copied from <em>Call of Duty 4 Data</em> to the server or use google to find some server to download them from<sup><a href="http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#footnote_4_83" id="identifier_4_83" class="footnote-link footnote-identifier-link" title="http://www.google.de/search?q=intitle%3A%22index+of%22+cod4_lnxded">5</a></sup></li>
<li>Now create in <strong>main/</strong> a <strong>server.cfg</strong> and <strong>weapons.cfg</strong> (see codeblock at the buttom for an example)</li>
<li>You also might want to adjust the map cycle to your needs<sup><a href="http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/#footnote_5_83" id="identifier_5_83" class="footnote-link footnote-identifier-link" title="http://gw-2.de/miniscripts/cod_config/mapcycle.php">6</a></sup></li>
<li>Now we are ready to start the Server

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>cod4<span style="color: #000000; font-weight: bold;">/</span>cod4-linux-server<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-A</span> <span style="color: #660033;">-m</span> <span style="color: #660033;">-d</span> <span style="color: #660033;">-S</span> cod4_15 .<span style="color: #000000; font-weight: bold;">/</span>cod4_lnxded +<span style="color: #000000; font-weight: bold;">set</span> net_port <span style="color: #000000;">28960</span> +<span style="color: #7a0874; font-weight: bold;">exec</span> server.cfg +<span style="color: #000000; font-weight: bold;">set</span> fs_basepath <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>cod4<span style="color: #000000; font-weight: bold;">/</span>cod4-linux-server<span style="color: #000000; font-weight: bold;">/</span> +<span style="color: #000000; font-weight: bold;">set</span> fs_homepath <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>cod4<span style="color: #000000; font-weight: bold;">/</span>cod4-linux-server<span style="color: #000000; font-weight: bold;">/</span> +map_rotate +<span style="color: #000000; font-weight: bold;">set</span> loc_language <span style="color: #000000;">2</span></pre></div></div>

</li>
</ol>
<h3>Config Files</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Call of Duty <span style="color: #000000;">4</span>: Modern Warfare - Dedicated Server Config File
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Autor:
<span style="color: #000000; font-weight: bold;">//</span> Website:
<span style="color: #000000; font-weight: bold;">//</span> Datum: Nov, <span style="color: #000000;">2007</span>
<span style="color: #000000; font-weight: bold;">//</span> Config-Typ: standard mode, ranked
<span style="color: #000000; font-weight: bold;">//</span> Version: <span style="color: #000000;">0.9</span> BETA
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> Server Information
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
sets sv_hostname <span style="color: #ff0000;">&quot;Servername&quot;</span>
sets _Admin <span style="color: #ff0000;">&quot;&quot;</span>
sets _Email <span style="color: #ff0000;">&quot;&quot;</span>
sets _Website <span style="color: #ff0000;">&quot;http://www.shooter-szene.de&quot;</span>
sets _Location <span style="color: #ff0000;">&quot;Germany&quot;</span>
sets _Irc <span style="color: #ff0000;">&quot;&quot;</span>
sets _Mod <span style="color: #ff0000;">&quot;&quot;</span>
sets _ModVer <span style="color: #ff0000;">&quot;&quot;</span>
sets _ModUpdate <span style="color: #ff0000;">&quot;&quot;</span>
sets _Maps <span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_motd <span style="color: #ff0000;">&quot;Willkommen sterblicher&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> General Settings
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Log Settings
<span style="color: #000000; font-weight: bold;">set</span> g_logsync <span style="color: #ff0000;">&quot;2&quot;</span>           <span style="color: #000000; font-weight: bold;">//</span> <span style="color: #000000;">0</span>=no log, <span style="color: #000000;">1</span>=buffered, <span style="color: #000000;">2</span>=continuous, <span style="color: #000000;">3</span>=append
<span style="color: #000000; font-weight: bold;">set</span> logfile <span style="color: #ff0000;">&quot;1&quot;</span>             <span style="color: #000000; font-weight: bold;">//</span> <span style="color: #000000;">0</span> = NO log, <span style="color: #000000;">1</span> = log <span style="color: #c20cb9; font-weight: bold;">file</span> enabled
<span style="color: #000000; font-weight: bold;">set</span> g_log <span style="color: #ff0000;">&quot;games_mp.log&quot;</span>     <span style="color: #000000; font-weight: bold;">//</span> Name of log <span style="color: #c20cb9; font-weight: bold;">file</span>, default is games_mp.log
<span style="color: #000000; font-weight: bold;">set</span> sv_log_damage <span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Network options
<span style="color: #000000; font-weight: bold;">set</span> net_ip <span style="color: #ff0000;">&quot;&quot;</span>      <span style="color: #000000; font-weight: bold;">//</span> Set your servers IP address
<span style="color: #000000; font-weight: bold;">set</span> net_port <span style="color: #ff0000;">&quot;&quot;</span>            <span style="color: #000000; font-weight: bold;">//</span> Set your port number
<span style="color: #000000; font-weight: bold;">set</span> com_hunkMegs <span style="color: #ff0000;">&quot;512&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> net_noipx <span style="color: #ff0000;">&quot;1&quot;</span>                 <span style="color: #000000; font-weight: bold;">//</span> Allow ONLY tcp<span style="color: #000000; font-weight: bold;">/</span>ip protocol, player<span style="color: #000000; font-weight: bold;">/</span>server communications
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Server Network Mode
<span style="color: #000000; font-weight: bold;">set</span> dedicated <span style="color: #ff0000;">&quot;2&quot;</span>                 <span style="color: #000000; font-weight: bold;">//</span> <span style="color: #000000;">0</span> = Listen, <span style="color: #000000;">1</span> = LAN, <span style="color: #000000;">2</span> = Internet
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Master servers
<span style="color: #000000; font-weight: bold;">set</span> sv_master1 <span style="color: #ff0000;">&quot;cod4master.activision.com&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master2 <span style="color: #ff0000;">&quot;cod4authorize.activision.com&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master3 <span style="color: #ff0000;">&quot;cod4master.infinityward.com&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master3 <span style="color: #ff0000;">&quot;cod4update.activision.com&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master4 <span style="color: #ff0000;">&quot;master.gamespy.com:28960&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master5 <span style="color: #ff0000;">&quot;master0.gamespy.com&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master6 <span style="color: #ff0000;">&quot;master1.gamespy.com&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_master7 <span style="color: #ff0000;">&quot;clanservers.net&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_gamespy <span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Password Settings
<span style="color: #000000; font-weight: bold;">set</span> rcon_password <span style="color: #ff0000;">&quot;&quot;</span>            <span style="color: #000000; font-weight: bold;">//</span> RCON must supply pw to use
<span style="color: #000000; font-weight: bold;">set</span> sv_privatePassword <span style="color: #ff0000;">&quot;&quot;</span>       <span style="color: #000000; font-weight: bold;">//</span> Private slots, non-public slots
<span style="color: #000000; font-weight: bold;">set</span> g_password <span style="color: #ff0000;">&quot;&quot;</span>                <span style="color: #000000; font-weight: bold;">//</span>Server password
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Player slots setup
<span style="color: #000000; font-weight: bold;">set</span> sv_maxclients <span style="color: #ff0000;">&quot;32&quot;</span>         <span style="color: #000000; font-weight: bold;">//</span> MAX server player slots, this is TOTAL player slots
<span style="color: #000000; font-weight: bold;">set</span> sv_privateclients <span style="color: #ff0000;">&quot;&quot;</span>       <span style="color: #000000; font-weight: bold;">//</span> Number of private player slots, maxclients - privateclients = public slots
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Ping
<span style="color: #000000; font-weight: bold;">set</span> sv_minPing <span style="color: #ff0000;">&quot;0&quot;</span>             <span style="color: #000000; font-weight: bold;">//</span> MIN player <span style="color: #c20cb9; font-weight: bold;">ping</span> on CONNECT, any lower and player isnt allowed to connect
<span style="color: #000000; font-weight: bold;">set</span> sv_maxping <span style="color: #ff0000;">&quot;0&quot;</span>           <span style="color: #000000; font-weight: bold;">//</span> MAX player <span style="color: #c20cb9; font-weight: bold;">ping</span> on CONNECT, any higher and player isnt allowed to connect
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Client Download Settings <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span>=off<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>=on<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_allowdownload <span style="color: #ff0000;">&quot;1&quot;</span>
seta sv_wwwDownload <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">//</span>seta sv_wwwBaseURL <span style="color: #ff0000;">&quot;&quot;</span>
seta sv_wwwDlDisconnected <span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Rate
<span style="color: #000000; font-weight: bold;">set</span> sv_maxRate <span style="color: #ff0000;">&quot;20000&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> FPS
<span style="color: #000000; font-weight: bold;">//</span><span style="color: #000000; font-weight: bold;">set</span> sv_fps <span style="color: #ff0000;">&quot;20&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Drop inactive players
<span style="color: #000000; font-weight: bold;">set</span> sv_timeout <span style="color: #ff0000;">&quot;300&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_zombietime <span style="color: #ff0000;">&quot;1&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_inactivity <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_inactivityspectator <span style="color: #ff0000;">&quot;0&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> AntiFlooding Settings
<span style="color: #000000; font-weight: bold;">set</span> sv_floodProtect <span style="color: #ff0000;">&quot;1&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_reconnectlimit <span style="color: #ff0000;">&quot;3&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Anti Cheat Settings
<span style="color: #000000; font-weight: bold;">set</span> sv_disableClientConsole <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> cl_autocmd <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_cheats <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_pure <span style="color: #ff0000;">&quot;1&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_banIPs <span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_no_script_spam <span style="color: #ff0000;">&quot;1&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_punkbuster <span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Temporary Ban duration, <span style="color: #000000; font-weight: bold;">in</span> seconds
<span style="color: #000000; font-weight: bold;">set</span> sv_kickBanTime <span style="color: #ff0000;">&quot;3600&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> In-game voice communication system
<span style="color: #000000; font-weight: bold;">set</span> sv_voice <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> sv_voiceQuality <span style="color: #ff0000;">&quot;1&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> voice_deadChat <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> voice_global <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> voice_localEcho <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> winvoice_mic_mute <span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Team-Balance and Voting
<span style="color: #000000; font-weight: bold;">set</span> scr_teambalance <span style="color: #ff0000;">&quot;1&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_allowvote <span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> Other Gameplay Settings
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> General
<span style="color: #000000; font-weight: bold;">set</span> scr_game_allowkillcam                     <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_game_onlyheadshots                   <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_game_deathpointloss             <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_game_suicidepointloss           <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_team_teamkillpointloss          <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_game_spectatetype               <span style="color: #000000;">1</span>         <span style="color: #000000; font-weight: bold;">//</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> Disabled, Team<span style="color: #000000; font-weight: bold;">/</span>Players Only, Free
<span style="color: #000000; font-weight: bold;">set</span> scr_game_forceuav                   <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_game_hardpoints                 <span style="color: #000000;">1</span>         <span style="color: #000000; font-weight: bold;">//</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> i.e. artillery, uav, helicopter
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Hardpoints
<span style="color: #000000; font-weight: bold;">set</span> scr_hardpoint_allowartillery        <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_hardpoint_allowuav              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_hardpoint_allowhelicopter       <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Teams
<span style="color: #000000; font-weight: bold;">set</span> scr_team_fftype                     <span style="color: #000000;">1</span>         <span style="color: #000000; font-weight: bold;">//</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> Disabled, Enabled, Reflect, Shared
<span style="color: #000000; font-weight: bold;">set</span> scr_team_teamkillspawndelay         <span style="color: #000000;">20</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_team_kickteamkillers            <span style="color: #000000;">3</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Player
<span style="color: #000000; font-weight: bold;">set</span> scr_player_maxhealth                <span style="color: #000000;">100</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_player_suicidespawndelay        <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_player_healthregentime              <span style="color: #000000;">5</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_player_forcerespawn                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_player_sprinttime                    <span style="color: #000000;">4</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> UI
<span style="color: #000000; font-weight: bold;">set</span> scr_hardcore                             <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_oldschool_mw                         <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> ui_hud_obituaries                         <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> ui_hud_showobjicons                     <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> Other Settings
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> sv_allowAnonymous <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_antilag <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">set</span> g_compassShowEnemies <span style="color: #ff0000;">&quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">//</span>ui_maxclients <span style="color: #000000;">32</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> Gametype Settings
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> First gametype to load...
<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #ff0000;">&quot;dm&quot;</span>   - <span style="color: #c20cb9; font-weight: bold;">free</span> <span style="color: #000000; font-weight: bold;">for</span> all deathmatch
<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #ff0000;">&quot;dom&quot;</span>  - domination
<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #ff0000;">&quot;koth&quot;</span> - headquarters
<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #ff0000;">&quot;sab&quot;</span>  - sabotage
<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #ff0000;">&quot;sd&quot;</span>   - search <span style="color: #000000; font-weight: bold;">&amp;</span>amp; destroy
<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #ff0000;">&quot;war&quot;</span>  - team deathmatch
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> g_gametype <span style="color: #ff0000;">&quot;war&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> MAPROTATION
<span style="color: #000000; font-weight: bold;">set</span> sv_mapRotation <span style="color: #ff0000;">&quot;gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Deathmatch
<span style="color: #000000; font-weight: bold;">set</span> scr_dm_scorelimit                           <span style="color: #000000;">150</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dm_timelimit                           <span style="color: #000000;">10</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dm_roundlimit                          <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dm_numlives                            <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dm_playerrespawndelay                <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dm_waverespawndelay                   <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Domination
<span style="color: #000000; font-weight: bold;">set</span> scr_dom_scorelimit                        <span style="color: #000000;">200</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dom_timelimit                           <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dom_roundlimit                        <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dom_numlives                           <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dom_playerrespawndelay              <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_dom_waverespawndelay                <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Teamdeath Match
<span style="color: #000000; font-weight: bold;">set</span> scr_war_scorelimit                        <span style="color: #000000;">750</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_war_timelimit                           <span style="color: #000000;">10</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_war_roundlimit                        <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_war_numlives                           <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_war_playerrespawndelay              <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_war_waverespawndelay                <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> Sabotoge
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_scorelimit                        <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_timelimit                           <span style="color: #000000;">20</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_roundlimit                        <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_roundswitch                        <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_numlives                           <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_bombtimer                          <span style="color: #000000;">30</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_planttime                          <span style="color: #000000;">2.5</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_defusetime                        <span style="color: #000000;">5</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_hotpotato                          <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_playerrespawndelay              <span style="color: #000000;">7.5</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_sab_waverespawndelay                <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> King of the Hill
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_scorelimit                        <span style="color: #000000;">250</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_timelimit                        <span style="color: #000000;">15</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_roundlimit                        <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_roundswitch                      <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_numlives                          <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_playerrespawndelay              <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_koth_waverespawndelay                <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_autodestroytime                      <span style="color: #000000;">60</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_spawntime                             <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_kothmode                               <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_capturetime                           <span style="color: #000000;">20</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_destroytime                           <span style="color: #000000;">10</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_delayPlayer                           <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">set</span> koth_spawnDelay                             <span style="color: #000000;">60</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> The following class<span style="color: #000000; font-weight: bold;">/</span>perk-settings might not be needed <span style="color: #000000; font-weight: bold;">in</span> the default-config<span style="color: #000000; font-weight: bold;">!</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> Class<span style="color: #000000; font-weight: bold;">/</span>Perk Settings
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> limits the number of players that can choose each class <span style="color: #7a0874; font-weight: bold;">type</span>
<span style="color: #000000; font-weight: bold;">set</span> class_assault_limit                           <span style="color: #000000;">99</span>
<span style="color: #000000; font-weight: bold;">set</span> class_specops_limit                           <span style="color: #000000;">99</span>
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_limit                     <span style="color: #000000;">99</span>
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_limit                      <span style="color: #000000;">99</span>
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_limit                           <span style="color: #000000;">99</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> perks
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_parabolic              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_gpsjammer              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_holdbreath              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_quieter                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_longersprint           <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_detectexplosive       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_explosivedamage       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_pistoldeath           <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_grenadepulldeath       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_bulletdamage           <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_bulletpenetration    <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_bulletaccuracy         <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_rof                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_fastreload              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_extraammo              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_armorvest              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_fraggrenade           <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_specialty_specialgrenade         <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_c4_mp                              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_claymore_mp                       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> perk_allow_rpg_mp                              <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> assault class default loadout
<span style="color: #000000; font-weight: bold;">set</span> class_assault_primary                          m16
<span style="color: #000000; font-weight: bold;">set</span> class_assault_primary_attachment              gl
<span style="color: #000000; font-weight: bold;">set</span> class_assault_secondary                        beretta
<span style="color: #000000; font-weight: bold;">set</span> class_assault_secondary_attachment            none
<span style="color: #000000; font-weight: bold;">set</span> class_assault_perk1                            specialty_null
<span style="color: #000000; font-weight: bold;">set</span> class_assault_perk2                            specialty_bulletdamage
<span style="color: #000000; font-weight: bold;">set</span> class_assault_perk3                            specialty_longersprint
<span style="color: #000000; font-weight: bold;">set</span> class_assault_grenade                          concussion_grenade
<span style="color: #000000; font-weight: bold;">set</span> class_assault_camo                               camo_none
<span style="color: #000000; font-weight: bold;">set</span> class_assault_frags                            <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_assault_special                          <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> specops class default loadout
<span style="color: #000000; font-weight: bold;">set</span> class_specops_primary                          mp5
<span style="color: #000000; font-weight: bold;">set</span> class_specops_primary_attachment              none
<span style="color: #000000; font-weight: bold;">set</span> class_specops_secondary                        usp
<span style="color: #000000; font-weight: bold;">set</span> class_specops_secondary_attachment            silencer
<span style="color: #000000; font-weight: bold;">set</span> class_specops_perk1                            c4_mp
<span style="color: #000000; font-weight: bold;">set</span> class_specops_perk2                            specialty_explosivedamage
<span style="color: #000000; font-weight: bold;">set</span> class_specops_perk3                            specialty_bulletaccuracy
<span style="color: #000000; font-weight: bold;">set</span> class_specops_grenade                          flash_grenade
<span style="color: #000000; font-weight: bold;">set</span> class_specops_camo                               camo_none
<span style="color: #000000; font-weight: bold;">set</span> class_specops_frags                            <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_specops_special                          <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> heavygunner class default loadout
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_primary                      saw
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_primary_attachment           none
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_secondary                    usp
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_secondary_attachment        none
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_perk1                         specialty_specialgrenade
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_perk2                         specialty_armorvest
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_perk3                         specialty_bulletpenetration
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_grenade                      concussion_grenade
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_camo                           camo_none
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_frags                         <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_special                      <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> demolitions class default loadout
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_primary                      winchester1200
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_primary_attachment           none
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_secondary                    beretta
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_secondary_attachment        none
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_perk1                         rpg_mp
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_perk2                         specialty_explosivedamage
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_perk3                         specialty_longersprint
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_grenade                      smoke_grenade
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_camo                           camo_none
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_frags                         <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_special                      <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> sniper class default loadout
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_primary                             m40a3
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_primary_attachment               none
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_secondary                           beretta
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_secondary_attachment             silencer
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_perk1                                specialty_specialgrenade
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_perk2                                specialty_bulletdamage
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_perk3                                specialty_bulletpenetration
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_grenade                             flash_grenade
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_camo                                camo_none
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_frags                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_special                             <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> class_assault_movespeed                          <span style="color: #000000;">0.95</span>
<span style="color: #000000; font-weight: bold;">set</span> class_specops_movespeed                          <span style="color: #000000;">1.00</span>
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_movespeed                     <span style="color: #000000;">0.875</span>
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_movespeed                     <span style="color: #000000;">1.00</span>
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_movespeed                          <span style="color: #000000;">1.00</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> scr_enable_nightvision                          <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_enable_music                                 <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> scr_enable_hiticon                               <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
<span style="color: #000000; font-weight: bold;">//</span> Execute other Config-Files
<span style="color: #000000; font-weight: bold;">//</span>=================================================================================
&nbsp;
<span style="color: #000000; font-weight: bold;">//</span> The following execute-command might not be needed <span style="color: #000000; font-weight: bold;">in</span> the default-config<span style="color: #000000; font-weight: bold;">!</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exec</span> mp_weapons.cfg</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">//</span> The following weapon-settings might not be needed <span style="color: #000000; font-weight: bold;">in</span> the default-config<span style="color: #000000; font-weight: bold;">!</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Enables Dropping of Specified Weapon Class
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> class_assault_allowdrop                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_specops_allowdrop                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_heavygunner_allowdrop               <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_demolitions_allowdrop                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> class_sniper_allowdrop                       <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Assault Rifles
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m16                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_ak47                              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m4                                  <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_g3                                  <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_g36c                              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m14                                <span style="color: #000000;">1</span>           
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_mp44                              <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Assault Attachments
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>           
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_assault_none                    <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_assault_gl                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_assault_reflex                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_assault_silencer              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_assault_acog                  <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> SMG
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_mp5                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_skorpion                           <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_uzi                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_ak74u                              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_p90                                <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> SMG Attachments
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_smg_none                       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_smg_reflex                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_smg_silencer                    <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_smg_acog                       <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Shotguns
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m1014                              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_winchester1200                    <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Shotgun Attachments
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_shotgun_none                    <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_shotgun_reflex                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_shotgun_grip                    <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> LMG
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_saw                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_rpd                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m60e4                              <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> LMG Attachments
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_lmg_none                       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_lmg_reflex                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_lmg_grip                       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_lmg_acog                       <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Sniper Rifles
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_dragunov                           <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m40a3                              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_barrett                            <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_remington700                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_m21                                <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Sniper Attachments
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_sniper_none                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_sniper_acog                     <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Pistols
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_beretta                            <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_colt45                            <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_usp                                <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_deserteagle                       <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_deserteaglegold                  <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Pistol Attachments
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_pistol_none                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> attach_allow_pistol_silencer                <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">//</span> Grenades
<span style="color: #000000; font-weight: bold;">//******************************************************************************</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_frag_grenade                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_concussion_grenade              <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_flash_grenade                     <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">set</span> weap_allow_smoke_grenade                     <span style="color: #000000;">1</span></pre></div></div>

<ol class="footnotes"><li id="footnote_0_83" class="footnote"><a href="http://treefort.icculus.org/cod/cod4-linux-server-01312008.tar.bz2">http://treefort.icculus.org/cod/cod4-linux-server-01312008.tar.bz2</a></li><li id="footnote_1_83" class="footnote"><a href="http://www.google.de/search?q=intitle%3A%22index+of%22+cod4_lnxded">http://www.google.de/search?q=intitle%3A%22index+of%22+cod4_lnxded</a></li><li id="footnote_2_83" class="footnote"><a href="http://gw-2.de/miniscripts/cod_config/mapcycle.php">http://gw-2.de/miniscripts/cod_config/mapcycle.php</a></li><li id="footnote_3_83" class="footnote"><a href="http://treefort.icculus.org/cod/cod4-linux-server-01312008.tar.bz2">http://treefort.icculus.org/cod/cod4-linux-server-01312008.tar.bz2</a></li><li id="footnote_4_83" class="footnote"><a href="http://www.google.de/search?q=intitle%3A%22index+of%22+cod4_lnxded">http://www.google.de/search?q=intitle%3A%22index+of%22+cod4_lnxded</a></li><li id="footnote_5_83" class="footnote"><a href="http://gw-2.de/miniscripts/cod_config/mapcycle.php">http://gw-2.de/miniscripts/cod_config/mapcycle.php</a></li></ol>

<p>Keine verwandten Artikel gefunden.</p>]]></content:encoded>
			<wfw:commentRss>http://www.boerngen-schmidt.de/2008/10/howrto-call-of-duty-4-server-for-mac-gamers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

