<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[TWLan Forum - Tutorials]]></title>
		<link>https://twlan.org/</link>
		<description><![CDATA[TWLan Forum - https://twlan.org]]></description>
		<pubDate>Tue, 29 Sep 2026 01:06:47 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How to change graphics]]></title>
			<link>https://twlan.org/showthread.php?tid=43270</link>
			<pubDate>Tue, 26 Nov 2013 11:28:50 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=161108">Emrik</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=43270</guid>
			<description><![CDATA[I use dslan 1.4, but i dont know how to change Graphics. And when i try all-in-one 1.9 it doesnt works to change language on index or register, and when i try triburile 8.2 dslan 2.1 i dont know how to change language at all! PLEASE HELP <img src="https://twlan.org/images/smilies/sad.png" alt="Sad" title="Sad" class="smilie smilie_8" />]]></description>
			<content:encoded><![CDATA[I use dslan 1.4, but i dont know how to change Graphics. And when i try all-in-one 1.9 it doesnt works to change language on index or register, and when i try triburile 8.2 dslan 2.1 i dont know how to change language at all! PLEASE HELP <img src="https://twlan.org/images/smilies/sad.png" alt="Sad" title="Sad" class="smilie smilie_8" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[TWLan to hosting server]]></title>
			<link>https://twlan.org/showthread.php?tid=43217</link>
			<pubDate>Sat, 11 May 2013 13:22:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=160412">jozef5198</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=43217</guid>
			<description><![CDATA[Hi, I want to place TWLan to normal hosting server. Can somebody help me? I have access to SSH console, and unlimited web hosting.]]></description>
			<content:encoded><![CDATA[Hi, I want to place TWLan to normal hosting server. Can somebody help me? I have access to SSH console, and unlimited web hosting.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[World 2 probelm]]></title>
			<link>https://twlan.org/showthread.php?tid=4770</link>
			<pubDate>Mon, 02 Jan 2012 12:01:14 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=27961">butcher</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4770</guid>
			<description><![CDATA[Hello,<br />
<br />
I asked already on English forum, but the don't have solution, maybe someone here haves.<br />
<br />
When I created second world (I did everything as explained) I registered to world 1, but I am also registered to world 2... how to separate registrations? <hr class="mycode_hr" />
I am using all in one pakete v1.9]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
I asked already on English forum, but the don't have solution, maybe someone here haves.<br />
<br />
When I created second world (I did everything as explained) I registered to world 1, but I am also registered to world 2... how to separate registrations? <hr class="mycode_hr" />
I am using all in one pakete v1.9]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to create world 2]]></title>
			<link>https://twlan.org/showthread.php?tid=4509</link>
			<pubDate>Thu, 14 Jul 2011 07:21:02 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=26039">jafoste</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4509</guid>
			<description><![CDATA[<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/z65eQGtPUZk" frameborder="0" allowfullscreen="true"></iframe><br />
<br />
<br />
<br />
+<span style="color: #32CD32;" class="mycode_color">1</span> ? <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />]]></description>
			<content:encoded><![CDATA[<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/z65eQGtPUZk" frameborder="0" allowfullscreen="true"></iframe><br />
<br />
<br />
<br />
+<span style="color: #32CD32;" class="mycode_color">1</span> ? <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[LIBEAY32.DLL error Solving(not fixed)]]></title>
			<link>https://twlan.org/showthread.php?tid=4402</link>
			<pubDate>Wed, 08 Jun 2011 14:32:38 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=23754">parat26</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4402</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Tutorial</span><br />
<br />
Hello! <br />
<br />
As i said in the Questions I have an error when i starting the 3 cmd programs(dslan_start.bat, apache_start.bat, mysql_start.bat).The error say's: "The ordinal 3879 could not be located in the dynamic link library LIBEAY32.dll.". I know that the team he knows this problem. Finally the only repair that i have found is: I was talking into the persons that have the same problem. Well, just do not open the dslan_start.exe. Well the problem is . . . Why? Well.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Results:</span> When the dslan_start.exe is open the error of LIBEAY32.DLL, will not close. What i mean: You must restart the computer to close the message. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">A small fix</span>: If the message appears when a cmd window is open just close the cmd's windows and the message will not appear any more.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Results:</span> If you open the 3 cmd windows and not the dslan_start.exe you can close the message! <img src="https://twlan.org/images/smilies/tongue.png" alt="Tongue" title="Tongue" class="smilie smilie_5" /><br />
I searching for fixing but for now i haven't found anything.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Tutorial</span><br />
<br />
Hello! <br />
<br />
As i said in the Questions I have an error when i starting the 3 cmd programs(dslan_start.bat, apache_start.bat, mysql_start.bat).The error say's: "The ordinal 3879 could not be located in the dynamic link library LIBEAY32.dll.". I know that the team he knows this problem. Finally the only repair that i have found is: I was talking into the persons that have the same problem. Well, just do not open the dslan_start.exe. Well the problem is . . . Why? Well.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Results:</span> When the dslan_start.exe is open the error of LIBEAY32.DLL, will not close. What i mean: You must restart the computer to close the message. <br />
<br />
<span style="font-weight: bold;" class="mycode_b">A small fix</span>: If the message appears when a cmd window is open just close the cmd's windows and the message will not appear any more.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Results:</span> If you open the 3 cmd windows and not the dslan_start.exe you can close the message! <img src="https://twlan.org/images/smilies/tongue.png" alt="Tongue" title="Tongue" class="smilie smilie_5" /><br />
I searching for fixing but for now i haven't found anything.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Besiegte Gegner im Profil anzeigen]]></title>
			<link>https://twlan.org/showthread.php?tid=4164</link>
			<pubDate>Fri, 29 Apr 2011 17:15:42 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=3333">SlimShady95</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4164</guid>
			<description><![CDATA[Auf Wunsch eines Users hier das "Tutorial" oder der "Fix" des Problemes, dass das nicht angezeigt wurde.<br />
<br />
Anleitung:<br />
<br />
DSLan\htdocs\templates\game_info_player.tpl öffnen und den Inhalt mit folgendem Code ersetzen:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;h2&gt;{&#36;lang-&gt;get("player")} {&#36;info_user.username}&lt;/h2&gt;

&lt;table&gt;&lt;tr&gt;&lt;td valign="top"&gt;

&lt;table class="vis" width="100%"&gt;
    &lt;tr&gt;&lt;th colspan="2"&gt;{&#36;info_user.username}&lt;/th&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td width="80"&gt;{&#36;lang-&gt;get("points")}:&lt;/td&gt;&lt;td&gt;{&#36;info_user.points|format_number}&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("rank")}:&lt;/td&gt;&lt;td&gt;{&#36;info_user.rang}&lt;/td&gt;&lt;/tr&gt;
  {php}
  &#36;query = mysql_query('SELECT * FROM `users` WHERE `id` = ' . &#36;this-&gt;_tpl_vars['info_user']['id']);
  &#36;data = mysql_fetch_assoc(&#36;query);
  {/php}
  &lt;tr&gt;&lt;td&gt;Getötete Einheiten:&lt;/td&gt;&lt;td&gt;{php} print &#36;data['killed_units_altogether']; {/php} ({php} print &#36;data['killed_units_altogether_rank']; {/php}.)&lt;/td&gt;&lt;/tr&gt;
    {if empty(&#36;info_ally.short)}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("tribe")}:&lt;/td&gt;&lt;td&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=info_ally&amp;amp;id=0"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
    {else}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("tribe")}:&lt;/td&gt;&lt;td&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=info_ally&amp;amp;id={&#36;info_ally.id}"&gt;{&#36;info_ally.short}&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
    {/if}

        &lt;tr&gt;&lt;td colspan="2"&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=mail&amp;amp;mode=new&amp;amp;player={&#36;info_user.id}"&gt;&amp;raquo; {&#36;lang-&gt;get("write_mail")}&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
        {if &#36;can_invite}
            &lt;tr&gt;&lt;td colspan="2"&gt;&lt;a href="javascript:ask('{&#36;invite_confirm}', 'game.php?village={&#36;village.id}&amp;screen=ally&amp;mode=invite&amp;action=invite_id&amp;id={&#36;info_user.id}&amp;h={&#36;hkey}')"&gt;&amp;raquo; {&#36;lang-&gt;get("invite")}&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
        {/if}
        
    &lt;/table&gt;&lt;br /&gt;
    
    {&#36;error}



&lt;table class="vis" width="100%"&gt;
    &lt;tr&gt;&lt;th width="180"&gt;{&#36;lang-&gt;get("villages")}&lt;/th&gt;&lt;th width="80"&gt;{&#36;lang-&gt;get("coords")}&lt;/th&gt;&lt;th&gt;{&#36;lang-&gt;get("points")}&lt;/th&gt;&lt;/tr&gt;
        {foreach from=&#36;villages item=arr key=id}
            &lt;tr&gt;&lt;td&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=info_village&amp;amp;id={&#36;id}"&gt;{&#36;arr.name}&lt;/a&gt;&lt;/td&gt;&lt;td&gt;({&#36;arr.x}|{&#36;arr.y})&lt;/td&gt;&lt;td&gt;{&#36;arr.points|format_number}&lt;/td&gt;&lt;/tr&gt;
        {/foreach}
    &lt;/table&gt;

&lt;/td&gt;&lt;td align="right" valign="top" width="240"&gt;

    
&lt;table class="vis" width="100%"&gt;
    &lt;tr&gt;&lt;th colspan="2"&gt;{&#36;lang-&gt;get("profile")}&lt;/th&gt;&lt;/tr&gt;
    {if !empty(&#36;info_user.image)}
        &lt;tr&gt;&lt;td colspan="2" align="center"&gt;&lt;img src="graphic/player/{&#36;info_user.image}" alt="Profilbild" /&gt;&lt;/td&gt;&lt;/tr&gt;
    {/if}
    {if &#36;age!=-1}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("age")}:&lt;/td&gt;&lt;td&gt;{&#36;age}&lt;/td&gt;&lt;/tr&gt;
    {/if}
    {if &#36;sex!=-1}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("sex")}:&lt;/td&gt;&lt;td&gt;{&#36;sex}&lt;/td&gt;&lt;/tr&gt;
    {/if}
    {if &#36;info_user.home!=''}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("location")}:&lt;/td&gt;&lt;td&gt;{&#36;info_user.home}&lt;/td&gt;&lt;/tr&gt;
    {/if}
            
    &lt;/table&gt;
    &lt;br /&gt;
    {if !empty(&#36;info_user.personal_text)}
        &lt;table class="vis" width="100%"&gt;
            &lt;tr&gt;&lt;th&gt;{&#36;lang-&gt;get("personal_text")}&lt;/th&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td align="center"&gt;{&#36;info_user.personal_text}&lt;/td&gt;&lt;/tr&gt;
        &lt;/table&gt;
    {/if}
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</code></div></div><br />
Funktioniert nur bei der 1.4!<br />
<br />
MfG Manuel]]></description>
			<content:encoded><![CDATA[Auf Wunsch eines Users hier das "Tutorial" oder der "Fix" des Problemes, dass das nicht angezeigt wurde.<br />
<br />
Anleitung:<br />
<br />
DSLan\htdocs\templates\game_info_player.tpl öffnen und den Inhalt mit folgendem Code ersetzen:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;h2&gt;{&#36;lang-&gt;get("player")} {&#36;info_user.username}&lt;/h2&gt;

&lt;table&gt;&lt;tr&gt;&lt;td valign="top"&gt;

&lt;table class="vis" width="100%"&gt;
    &lt;tr&gt;&lt;th colspan="2"&gt;{&#36;info_user.username}&lt;/th&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td width="80"&gt;{&#36;lang-&gt;get("points")}:&lt;/td&gt;&lt;td&gt;{&#36;info_user.points|format_number}&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("rank")}:&lt;/td&gt;&lt;td&gt;{&#36;info_user.rang}&lt;/td&gt;&lt;/tr&gt;
  {php}
  &#36;query = mysql_query('SELECT * FROM `users` WHERE `id` = ' . &#36;this-&gt;_tpl_vars['info_user']['id']);
  &#36;data = mysql_fetch_assoc(&#36;query);
  {/php}
  &lt;tr&gt;&lt;td&gt;Getötete Einheiten:&lt;/td&gt;&lt;td&gt;{php} print &#36;data['killed_units_altogether']; {/php} ({php} print &#36;data['killed_units_altogether_rank']; {/php}.)&lt;/td&gt;&lt;/tr&gt;
    {if empty(&#36;info_ally.short)}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("tribe")}:&lt;/td&gt;&lt;td&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=info_ally&amp;amp;id=0"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
    {else}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("tribe")}:&lt;/td&gt;&lt;td&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=info_ally&amp;amp;id={&#36;info_ally.id}"&gt;{&#36;info_ally.short}&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
    {/if}

        &lt;tr&gt;&lt;td colspan="2"&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=mail&amp;amp;mode=new&amp;amp;player={&#36;info_user.id}"&gt;&amp;raquo; {&#36;lang-&gt;get("write_mail")}&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
        {if &#36;can_invite}
            &lt;tr&gt;&lt;td colspan="2"&gt;&lt;a href="javascript:ask('{&#36;invite_confirm}', 'game.php?village={&#36;village.id}&amp;screen=ally&amp;mode=invite&amp;action=invite_id&amp;id={&#36;info_user.id}&amp;h={&#36;hkey}')"&gt;&amp;raquo; {&#36;lang-&gt;get("invite")}&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
        {/if}
        
    &lt;/table&gt;&lt;br /&gt;
    
    {&#36;error}



&lt;table class="vis" width="100%"&gt;
    &lt;tr&gt;&lt;th width="180"&gt;{&#36;lang-&gt;get("villages")}&lt;/th&gt;&lt;th width="80"&gt;{&#36;lang-&gt;get("coords")}&lt;/th&gt;&lt;th&gt;{&#36;lang-&gt;get("points")}&lt;/th&gt;&lt;/tr&gt;
        {foreach from=&#36;villages item=arr key=id}
            &lt;tr&gt;&lt;td&gt;&lt;a href="game.php?village={&#36;village.id}&amp;amp;screen=info_village&amp;amp;id={&#36;id}"&gt;{&#36;arr.name}&lt;/a&gt;&lt;/td&gt;&lt;td&gt;({&#36;arr.x}|{&#36;arr.y})&lt;/td&gt;&lt;td&gt;{&#36;arr.points|format_number}&lt;/td&gt;&lt;/tr&gt;
        {/foreach}
    &lt;/table&gt;

&lt;/td&gt;&lt;td align="right" valign="top" width="240"&gt;

    
&lt;table class="vis" width="100%"&gt;
    &lt;tr&gt;&lt;th colspan="2"&gt;{&#36;lang-&gt;get("profile")}&lt;/th&gt;&lt;/tr&gt;
    {if !empty(&#36;info_user.image)}
        &lt;tr&gt;&lt;td colspan="2" align="center"&gt;&lt;img src="graphic/player/{&#36;info_user.image}" alt="Profilbild" /&gt;&lt;/td&gt;&lt;/tr&gt;
    {/if}
    {if &#36;age!=-1}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("age")}:&lt;/td&gt;&lt;td&gt;{&#36;age}&lt;/td&gt;&lt;/tr&gt;
    {/if}
    {if &#36;sex!=-1}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("sex")}:&lt;/td&gt;&lt;td&gt;{&#36;sex}&lt;/td&gt;&lt;/tr&gt;
    {/if}
    {if &#36;info_user.home!=''}
        &lt;tr&gt;&lt;td&gt;{&#36;lang-&gt;get("location")}:&lt;/td&gt;&lt;td&gt;{&#36;info_user.home}&lt;/td&gt;&lt;/tr&gt;
    {/if}
            
    &lt;/table&gt;
    &lt;br /&gt;
    {if !empty(&#36;info_user.personal_text)}
        &lt;table class="vis" width="100%"&gt;
            &lt;tr&gt;&lt;th&gt;{&#36;lang-&gt;get("personal_text")}&lt;/th&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td align="center"&gt;{&#36;info_user.personal_text}&lt;/td&gt;&lt;/tr&gt;
        &lt;/table&gt;
    {/if}
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</code></div></div><br />
Funktioniert nur bei der 1.4!<br />
<br />
MfG Manuel]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Login Button]]]></title>
			<link>https://twlan.org/showthread.php?tid=4124</link>
			<pubDate>Sun, 24 Apr 2011 18:13:01 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=24823">pro.staemme.2011</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4124</guid>
			<description><![CDATA[Es kam immer wieder die Frage auf:<br />
-Weshalb wird der Login Button nur angezeigt wenn ich im Internet bin?<br />
-Wieso kann ich den Login Button nicht durch austausch der Grafiken verändern?<br />
<br />
Wieso?<br />
Ganz einfach, die Datei start.css in htdocs, holt sich die Grafik von <a href="http://www.die-staemme.de/graphic/lang/de/login.png" target="_blank" rel="noopener" class="mycode_url">http://www.die-staemme.de/graphic/lang/de/login.png</a>.<br />
<br />
Wie können wir das ändern?<br />
<br />
Öffnet euer DS_lan. Öffnet htdocs. Öffnet Start.css mit einem einfach Editor.<br />
<br />
Was sehen wir jetzt?<br />
<div class="spoiler_out"><div class="spoiler_head"> <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<blockquote class="mycode_quote"><cite>Quote:</cite>#login-btn-input{<br />
				display:block;<br />
				line-height:22px;<br />
				height:26px;<br />
				width:106px;<br />
				padding:0;<br />
				margin:0;<br />
				border:0;<br />
				overflow:hidden;<br />
				background:url(<a href="http://www.die-staemme.de/graphic/lang/de/login.png" target="_blank" rel="noopener" class="mycode_url">http://www.die-staemme.de/graphic/lang/de/login.png</a>) no-repeat 0 0;<br />
				float:right;<br />
			}<br />
			#login-btn-input.login-btn-input-hover{<br />
				width:106px;<br />
				background:url(<a href="http://www.die-staemme.de/graphic/lang/de/login.png" target="_blank" rel="noopener" class="mycode_url">http://www.die-staemme.de/graphic/lang/de/login.png</a>) no-repeat -106px 0;<br />
			}</blockquote>
<br />
</div></div>
<br />
Was können wir jetzt ändern, damit wir unsere eigenen Grafiken einsetzen können, oder dass wir auch wenn wir nicht mit dem Internet verbunden sind, diesen Button sehen können?<br />
<br />
Wir können den herkömmlichen Pfad angeben, das sieht dann so aus:<div class="spoiler_out"><div class="spoiler_head"> <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<blockquote class="mycode_quote"><cite>Quote:</cite>#login-btn-input{<br />
				display:block;<br />
				line-height:22px;<br />
				height:26px;<br />
				width:106px;<br />
				padding:0;<br />
				margin:0;<br />
				border:0;<br />
				overflow:hidden;<br />
				background:url(graphic/index/login.png) no-repeat 0 0;<br />
				float:right;<br />
			}<br />
			#login-btn-input.login-btn-input-hover{<br />
				width:106px;<br />
				background:url(graphic/index/login.png) no-repeat -106px 0;<br />
			}</blockquote>
</div></div>
<br />
Sollte es nicht funktionieren überprüfe den dateipfad, oder wende dich direkt an mich.<br />
<br />
Ich hoffe dieses kurze Tut hat irgendjemandem weitergeholfen <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /> (Wenn ja, bewertet mich)<br />
<br />
Noch ein bugfreies Spielen<br />
Pro.staemme.2011<br />
<br />
~edit by bettdecke1:<br />
<br />
Dies ist nur nötig, wenn man ein Grafikpack auf der DSLAN hat, das die neue Startseite enthält.<br />
mfg<br />
]]></description>
			<content:encoded><![CDATA[Es kam immer wieder die Frage auf:<br />
-Weshalb wird der Login Button nur angezeigt wenn ich im Internet bin?<br />
-Wieso kann ich den Login Button nicht durch austausch der Grafiken verändern?<br />
<br />
Wieso?<br />
Ganz einfach, die Datei start.css in htdocs, holt sich die Grafik von <a href="http://www.die-staemme.de/graphic/lang/de/login.png" target="_blank" rel="noopener" class="mycode_url">http://www.die-staemme.de/graphic/lang/de/login.png</a>.<br />
<br />
Wie können wir das ändern?<br />
<br />
Öffnet euer DS_lan. Öffnet htdocs. Öffnet Start.css mit einem einfach Editor.<br />
<br />
Was sehen wir jetzt?<br />
<div class="spoiler_out"><div class="spoiler_head"> <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<blockquote class="mycode_quote"><cite>Quote:</cite>#login-btn-input{<br />
				display:block;<br />
				line-height:22px;<br />
				height:26px;<br />
				width:106px;<br />
				padding:0;<br />
				margin:0;<br />
				border:0;<br />
				overflow:hidden;<br />
				background:url(<a href="http://www.die-staemme.de/graphic/lang/de/login.png" target="_blank" rel="noopener" class="mycode_url">http://www.die-staemme.de/graphic/lang/de/login.png</a>) no-repeat 0 0;<br />
				float:right;<br />
			}<br />
			#login-btn-input.login-btn-input-hover{<br />
				width:106px;<br />
				background:url(<a href="http://www.die-staemme.de/graphic/lang/de/login.png" target="_blank" rel="noopener" class="mycode_url">http://www.die-staemme.de/graphic/lang/de/login.png</a>) no-repeat -106px 0;<br />
			}</blockquote>
<br />
</div></div>
<br />
Was können wir jetzt ändern, damit wir unsere eigenen Grafiken einsetzen können, oder dass wir auch wenn wir nicht mit dem Internet verbunden sind, diesen Button sehen können?<br />
<br />
Wir können den herkömmlichen Pfad angeben, das sieht dann so aus:<div class="spoiler_out"><div class="spoiler_head"> <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<blockquote class="mycode_quote"><cite>Quote:</cite>#login-btn-input{<br />
				display:block;<br />
				line-height:22px;<br />
				height:26px;<br />
				width:106px;<br />
				padding:0;<br />
				margin:0;<br />
				border:0;<br />
				overflow:hidden;<br />
				background:url(graphic/index/login.png) no-repeat 0 0;<br />
				float:right;<br />
			}<br />
			#login-btn-input.login-btn-input-hover{<br />
				width:106px;<br />
				background:url(graphic/index/login.png) no-repeat -106px 0;<br />
			}</blockquote>
</div></div>
<br />
Sollte es nicht funktionieren überprüfe den dateipfad, oder wende dich direkt an mich.<br />
<br />
Ich hoffe dieses kurze Tut hat irgendjemandem weitergeholfen <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /> (Wenn ja, bewertet mich)<br />
<br />
Noch ein bugfreies Spielen<br />
Pro.staemme.2011<br />
<br />
~edit by bettdecke1:<br />
<br />
Dies ist nur nötig, wenn man ein Grafikpack auf der DSLAN hat, das die neue Startseite enthält.<br />
mfg<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Portproblem beheben]]></title>
			<link>https://twlan.org/showthread.php?tid=4097</link>
			<pubDate>Wed, 13 Apr 2011 18:47:48 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=8098">knollenmax</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4097</guid>
			<description><![CDATA[Hi,<br />
<br />
über dieses Thema habe ich schon mal eine kurze Anleitung verfasst, welche dann 20x zitiert wurde, jedoch möchte ich nun ein Tutorial schreiben <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
Wenn ihr z. B. apache_start.bat startet, ist es oft nervig wenn folgende Fehlermeldung kommt:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut1.jpg" loading="lazy"  alt="[Image: ptut1.jpg]" class="mycode_img" /><br />
<br />
Das heißt, dass der Port (in diesem Fall 80) den apache benötigt, noch belegt ist. (Zum Beispiel durch ein anderes xampp, TeamViewer oder Skype etc...). Um dslan starten zu können, müsst ihr erst einmal herausfinden welcher Port belegt ist:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut2.jpg" loading="lazy"  alt="[Image: ptut2.jpg]" class="mycode_img" /><br />
<br />
Wie gesagt ist es hier Port 80 (roter Kasten).<br />
Nun geht ihr auf Start-&gt;Ausführen oder drückt die Windows-Taste und gleichzeitig R. In das Feld gebt ihr cmd ein und drückt Enter:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut3.jpg" loading="lazy"  alt="[Image: ptut3.jpg]" class="mycode_img" /><br />
<br />
Danach erscheint ein schwarzes cmd-Fenster. Gebt dort ein:<br />
<br />
<span style="font-weight: bold;" class="mycode_b">netstat -ano</span> (zwischen netstat und - ist ein Leerzeichen!!!)<br />
<br />
nun erhaltet ihr eine Liste. Merkt euch die Adresse aus apache_start.bat (Bild oben) im blauen Kasten und sucht sie auf der Liste:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut4.jpg" loading="lazy"  alt="[Image: ptut4.jpg]" class="mycode_img" /><br />
<br />
Bei mir ist es gleich der erste Eintrag im roten Kasten. Merkt oder notiert euch nun die PID (=Prozess ID), bei mir 6112, aus dem grünen Kasten. Startet den Taskmanager und wählt "Prozesse" aus. Dann auf Ansicht-&gt;Spalten auswählen und in dem Fenster dann ein Haken auf PID.<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut5.jpg" loading="lazy"  alt="[Image: ptut5.jpg]" class="mycode_img" /><br />
<br />
Sucht nun in der Spalte PID die selbe Zahl wie bei PID im letzten cmd-Fenster. <span style="font-style: italic;" class="mycode_i">(kleiner Tipp: Klickt 1x oder 2x auf PID, damit ihr die Werte sortieren könnt oder geht auf Ansicht-&gt;Aktualisierungsgeschwindigkeit-&gt;Angehalten)</span><br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut6.jpg" loading="lazy"  alt="[Image: ptut6.jpg]" class="mycode_img" /><br />
<br />
Wie man sieht läuft bei mir noch mein xampp... ihr könnt nun alles damit machen, z. B. den Prozess beenden usw...<br />
<br />
Das ganze funktioniert genauso bei mysql_start.bat.<br />
<br />
Obwohl die meisten wissen, dass xampp, skype oder Team Viewer ausgeschaltet sein müssen, habe ich das Tutorial geschrieben, da auch oft Port 443 durch ein unbekanntes Programm belegt ist (Bei Jonsn wars ein Virus xD)<br />
<br />
Vote+1 pls, falls es euch geholfen hat, da dieses Tutorial sehr viel Aufwand benötigt...<br />
<br />
Viel Spaß<br />
knollenmax<br />
<br />
PS: Ich hab keinen Mac sonder nur das Mac-Theme für Windows]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
über dieses Thema habe ich schon mal eine kurze Anleitung verfasst, welche dann 20x zitiert wurde, jedoch möchte ich nun ein Tutorial schreiben <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
Wenn ihr z. B. apache_start.bat startet, ist es oft nervig wenn folgende Fehlermeldung kommt:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut1.jpg" loading="lazy"  alt="[Image: ptut1.jpg]" class="mycode_img" /><br />
<br />
Das heißt, dass der Port (in diesem Fall 80) den apache benötigt, noch belegt ist. (Zum Beispiel durch ein anderes xampp, TeamViewer oder Skype etc...). Um dslan starten zu können, müsst ihr erst einmal herausfinden welcher Port belegt ist:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut2.jpg" loading="lazy"  alt="[Image: ptut2.jpg]" class="mycode_img" /><br />
<br />
Wie gesagt ist es hier Port 80 (roter Kasten).<br />
Nun geht ihr auf Start-&gt;Ausführen oder drückt die Windows-Taste und gleichzeitig R. In das Feld gebt ihr cmd ein und drückt Enter:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut3.jpg" loading="lazy"  alt="[Image: ptut3.jpg]" class="mycode_img" /><br />
<br />
Danach erscheint ein schwarzes cmd-Fenster. Gebt dort ein:<br />
<br />
<span style="font-weight: bold;" class="mycode_b">netstat -ano</span> (zwischen netstat und - ist ein Leerzeichen!!!)<br />
<br />
nun erhaltet ihr eine Liste. Merkt euch die Adresse aus apache_start.bat (Bild oben) im blauen Kasten und sucht sie auf der Liste:<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut4.jpg" loading="lazy"  alt="[Image: ptut4.jpg]" class="mycode_img" /><br />
<br />
Bei mir ist es gleich der erste Eintrag im roten Kasten. Merkt oder notiert euch nun die PID (=Prozess ID), bei mir 6112, aus dem grünen Kasten. Startet den Taskmanager und wählt "Prozesse" aus. Dann auf Ansicht-&gt;Spalten auswählen und in dem Fenster dann ein Haken auf PID.<br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut5.jpg" loading="lazy"  alt="[Image: ptut5.jpg]" class="mycode_img" /><br />
<br />
Sucht nun in der Spalte PID die selbe Zahl wie bei PID im letzten cmd-Fenster. <span style="font-style: italic;" class="mycode_i">(kleiner Tipp: Klickt 1x oder 2x auf PID, damit ihr die Werte sortieren könnt oder geht auf Ansicht-&gt;Aktualisierungsgeschwindigkeit-&gt;Angehalten)</span><br />
<br />
<img src="http://kamml.bplaced.net/filemanager/ptut/ptut6.jpg" loading="lazy"  alt="[Image: ptut6.jpg]" class="mycode_img" /><br />
<br />
Wie man sieht läuft bei mir noch mein xampp... ihr könnt nun alles damit machen, z. B. den Prozess beenden usw...<br />
<br />
Das ganze funktioniert genauso bei mysql_start.bat.<br />
<br />
Obwohl die meisten wissen, dass xampp, skype oder Team Viewer ausgeschaltet sein müssen, habe ich das Tutorial geschrieben, da auch oft Port 443 durch ein unbekanntes Programm belegt ist (Bei Jonsn wars ein Virus xD)<br />
<br />
Vote+1 pls, falls es euch geholfen hat, da dieses Tutorial sehr viel Aufwand benötigt...<br />
<br />
Viel Spaß<br />
knollenmax<br />
<br />
PS: Ich hab keinen Mac sonder nur das Mac-Theme für Windows]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mit anderen DSLan Spielen]]></title>
			<link>https://twlan.org/showthread.php?tid=4039</link>
			<pubDate>Sat, 26 Mar 2011 13:31:07 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=24082">fantasius2</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=4039</guid>
			<description><![CDATA[Hallo,<br />
nachdem ich damit ein Problem hatte und ich nirgends eine Anleitung lesen konnte hab ich hier eine Geschrieben:<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">1.</span> <br />
ds_lan_schnelles_ausführen_3.0.exe starten und auf "Start all" klicken<br />
oder<br />
apache_start.bat<br />
dslan_start.bat<br />
mysql_start.bat<br />
starten und <span style="font-weight: bold;" class="mycode_b">die Fenster nicht schließen!!</span><br />
<br />
<span style="text-decoration: underline;" class="mycode_u">2.</span><br />
Bei den anderen PCs einen Browser öffnen (Internet Explorer, Firefox ...)<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">3.</span><br />
In der Adresszeile eingeben<br />
<a href="http://XXX.XXX.XXX.XXX" target="_blank" rel="noopener" class="mycode_url">http://XXX.XXX.XXX.XXX</a><br />
wobei das X mit der IP Adresse von dem Host-PC ersetzt werden muss.<br />
<span style="font-style: italic;" class="mycode_i">Wie bekomme ich die IP Adresse raus?</span><br />
Start &gt; Ausführen &gt; cmd.exe<br />
Dann "ipconfig" eingeben.<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">4.</span><br />
Anmelden und DSLan zocken :-)<br />
Aber nicht vergessen: Nur ein Acc pro PC, sonst sperrt der Admin dich ;-)]]></description>
			<content:encoded><![CDATA[Hallo,<br />
nachdem ich damit ein Problem hatte und ich nirgends eine Anleitung lesen konnte hab ich hier eine Geschrieben:<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">1.</span> <br />
ds_lan_schnelles_ausführen_3.0.exe starten und auf "Start all" klicken<br />
oder<br />
apache_start.bat<br />
dslan_start.bat<br />
mysql_start.bat<br />
starten und <span style="font-weight: bold;" class="mycode_b">die Fenster nicht schließen!!</span><br />
<br />
<span style="text-decoration: underline;" class="mycode_u">2.</span><br />
Bei den anderen PCs einen Browser öffnen (Internet Explorer, Firefox ...)<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">3.</span><br />
In der Adresszeile eingeben<br />
<a href="http://XXX.XXX.XXX.XXX" target="_blank" rel="noopener" class="mycode_url">http://XXX.XXX.XXX.XXX</a><br />
wobei das X mit der IP Adresse von dem Host-PC ersetzt werden muss.<br />
<span style="font-style: italic;" class="mycode_i">Wie bekomme ich die IP Adresse raus?</span><br />
Start &gt; Ausführen &gt; cmd.exe<br />
Dann "ipconfig" eingeben.<br />
<br />
<span style="text-decoration: underline;" class="mycode_u">4.</span><br />
Anmelden und DSLan zocken :-)<br />
Aber nicht vergessen: Nur ein Acc pro PC, sonst sperrt der Admin dich ;-)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Verschiedene Tech-Systeme]]></title>
			<link>https://twlan.org/showthread.php?tid=3824</link>
			<pubDate>Mon, 03 Jan 2011 12:57:52 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=16718">Molt</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=3824</guid>
			<description><![CDATA[Hey Leute <img src="https://twlan.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
Es wurde die Frage gestellt, ob man verschiedene Tech-Systeme haben kann.<br />
So mach ihr es:<br />
<ul class="mycode_list"><li>Öffnet die Datei <span style="font-style: italic;" class="mycode_i">htdocs/include/config.php</span> in einem (Text)Editor<br />
</li>
<li>Fügt am Ende der Datei, aber <span style="font-weight: bold;" class="mycode_b">vor</span> dem <span style="font-style: italic;" class="mycode_i">?&gt;</span> diesen Teil hinzu:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">// Welches Tech-System soll verwendet werden?
// 0 = 1er-Tech
// 1 = 3er-Tech
// 2 = 10er-Tech
</span><span style="color: #0000BB">&#36;config</span><span style="color: #007700">[</span><span style="color: #DD0000">'tech'</span><span style="color: #007700">] = </span><span style="color: #0000BB">0</span><span style="color: #007700">; 
</span></code></div></div></div></li>
<li>Datei speichern und schliessen<br />
</li>
<li>Die Datei <span style="font-style: italic;" class="mycode_i">htdocs/include/configs/techs.php</span> löschen.<br />
</li>
<li><a href="http://molt101.mo.funpic.de/twlan/techs.php.zip" target="_blank" rel="noopener" class="mycode_url">Diese Datei</a> (ohne Bogenschützen) oder <a href="http://molt101.mo.funpic.de/twlan/techs_bogen.php.zip" target="_blank" rel="noopener" class="mycode_url">diese Datei</a> (mit Bogenschützen) herunterladen, entpacken und nach <span style="font-style: italic;" class="mycode_i">htdocs/include/configs/</span> verschieben</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">Tool</span></span><br />
Es ist auch als Tool verfügbar <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<a href="http://www.twlan.org/de/showthread.php?tid=3831" target="_blank" rel="noopener" class="mycode_url">Tech-System Admin-Plugin</a>, erstellt von <a href="http://www.twlan.org/de/member.php?action=profile&amp;uid=21445" target="_blank" rel="noopener" class="mycode_url">Marc111</a>, <a href="http://www.twlan.org/de/member.php?action=profile&amp;uid=13471" target="_blank" rel="noopener" class="mycode_url">steffengy</a> und mir <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
Have fun <img src="https://twlan.org/images/smilies/biggrin.png" alt="Big Grin" title="Big Grin" class="smilie smilie_4" /><br />
<br />
LG<br />
Molt]]></description>
			<content:encoded><![CDATA[Hey Leute <img src="https://twlan.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
Es wurde die Frage gestellt, ob man verschiedene Tech-Systeme haben kann.<br />
So mach ihr es:<br />
<ul class="mycode_list"><li>Öffnet die Datei <span style="font-style: italic;" class="mycode_i">htdocs/include/config.php</span> in einem (Text)Editor<br />
</li>
<li>Fügt am Ende der Datei, aber <span style="font-weight: bold;" class="mycode_b">vor</span> dem <span style="font-style: italic;" class="mycode_i">?&gt;</span> diesen Teil hinzu:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">// Welches Tech-System soll verwendet werden?
// 0 = 1er-Tech
// 1 = 3er-Tech
// 2 = 10er-Tech
</span><span style="color: #0000BB">&#36;config</span><span style="color: #007700">[</span><span style="color: #DD0000">'tech'</span><span style="color: #007700">] = </span><span style="color: #0000BB">0</span><span style="color: #007700">; 
</span></code></div></div></div></li>
<li>Datei speichern und schliessen<br />
</li>
<li>Die Datei <span style="font-style: italic;" class="mycode_i">htdocs/include/configs/techs.php</span> löschen.<br />
</li>
<li><a href="http://molt101.mo.funpic.de/twlan/techs.php.zip" target="_blank" rel="noopener" class="mycode_url">Diese Datei</a> (ohne Bogenschützen) oder <a href="http://molt101.mo.funpic.de/twlan/techs_bogen.php.zip" target="_blank" rel="noopener" class="mycode_url">diese Datei</a> (mit Bogenschützen) herunterladen, entpacken und nach <span style="font-style: italic;" class="mycode_i">htdocs/include/configs/</span> verschieben</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">Tool</span></span><br />
Es ist auch als Tool verfügbar <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<a href="http://www.twlan.org/de/showthread.php?tid=3831" target="_blank" rel="noopener" class="mycode_url">Tech-System Admin-Plugin</a>, erstellt von <a href="http://www.twlan.org/de/member.php?action=profile&amp;uid=21445" target="_blank" rel="noopener" class="mycode_url">Marc111</a>, <a href="http://www.twlan.org/de/member.php?action=profile&amp;uid=13471" target="_blank" rel="noopener" class="mycode_url">steffengy</a> und mir <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
Have fun <img src="https://twlan.org/images/smilies/biggrin.png" alt="Big Grin" title="Big Grin" class="smilie smilie_4" /><br />
<br />
LG<br />
Molt]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Eigene Einheiten erstellen]]></title>
			<link>https://twlan.org/showthread.php?tid=3710</link>
			<pubDate>Thu, 09 Dec 2010 17:24:07 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=10901">Bettdecke1</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=3710</guid>
			<description><![CDATA[Hallo Community,<br />
<br />
in diesem Tutorial versuche ich euch zu erklären wie man eigene Einheiten erstellt. Funktioniert nur in Version 1.4!<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">Einheit erstellen:</span></span><br />
<br />
1. Die Datei {dslan}/htdocs/include/configs/ units.php mit einem Editor öffnen und am Ende aber vor dem "<span style="color: #FF0000;" class="mycode_color">?&gt;</span>" folgenden Code einfügen:<br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_unit</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"spear"</span><span style="color: #007700">),</span><span style="color: #DD0000">"unit_spear"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"50"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"30"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"10"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_bhprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"1"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"1000"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_att</span><span style="color: #007700">(</span><span style="color: #DD0000">"10"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_def</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defcav</span><span style="color: #007700">(</span><span style="color: #DD0000">"45"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defarcher</span><span style="color: #007700">(</span><span style="color: #DD0000">"20"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_speed</span><span style="color: #007700">(</span><span style="color: #DD0000">"720"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_booty</span><span style="color: #007700">(</span><span style="color: #DD0000">"25"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array());
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_recruit_in</span><span style="color: #007700">(</span><span style="color: #DD0000">"barracks"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_specials</span><span style="color: #007700">(array());
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"foot"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_col</span><span style="color: #007700">(</span><span style="color: #DD0000">"A"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(</span><span style="color: #DD0000">"def"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"spear_des"</span><span style="color: #007700">)); 
</span></code></div></div></div></div></div>
<br />
<br />
1.1 Öffnet die techs.php<br />
<br />
Füge am ende der Datei aber vor dem "?&gt;" folgendes hinzu:<br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_tech</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_techs"</span><span style="color: #007700">, </span><span style="color: #DD0000">"spear"</span><span style="color: #007700">),</span><span style="color: #DD0000">"spear"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"Infanterie"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"256"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"244"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"296"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"2900"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.75"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_maxStage</span><span style="color: #007700">(</span><span style="color: #DD0000">"3"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array());
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'def'</span><span style="color: #007700">,</span><span style="color: #DD0000">'off'</span><span style="color: #007700">,</span><span style="color: #DD0000">'spy'</span><span style="color: #007700">));
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">); 
</span></code></div></div></div></div></div>
<br />
<br />
1.2 Kommen wir nun zum bearbeiten der Einheit.<br />
<br />
Geht wieder in die units.php und bearbeitet den Code, den ihr eingefügt habt, nach euren Wünschen. Hier ein paar Informationen.<br />
<br />
Nehmen wir z.B. den <span style="font-weight: bold;" class="mycode_b">Bauer</span><br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_unit</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"bauer"</span><span style="color: #007700">),</span><span style="color: #DD0000">"unit_bauer"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Name der Einheit.
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierpreis Holz
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierpreis Lehm
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"5"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierpreis Eisen
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_bhprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"1"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Benötigte Bauernhofplätze
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"500"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierzeit
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_att</span><span style="color: #007700">(</span><span style="color: #DD0000">"5"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Angriffswert; + Faktor pro Stufe
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_def</span><span style="color: #007700">(</span><span style="color: #DD0000">"7"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Allgemeine Verteidigung; Faktor
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defcav</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Verteidigung Kavallerie; Faktor 
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defarcher</span><span style="color: #007700">(</span><span style="color: #DD0000">"10"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Verteidigung Bogenschützen; Faktor
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_speed</span><span style="color: #007700">(</span><span style="color: #DD0000">"450"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Truppengeschwindigkeit
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_booty</span><span style="color: #007700">(</span><span style="color: #DD0000">"25"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Beute
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'smith' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">5</span><span style="color: #007700">, </span><span style="color: #DD0000">'barracks' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">10</span><span style="color: #007700">));  </span><span style="color: #FF8000">// Vorraussetung; Gebäude
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_recruit_in</span><span style="color: #007700">(</span><span style="color: #DD0000">"barracks"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierort
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_specials</span><span style="color: #007700">(array()); </span><span style="color: #FF8000">// keine Ahung
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"foot"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitengruppe ( foot, cav )
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_col</span><span style="color: #007700">(</span><span style="color: #DD0000">"A"</span><span style="color: #007700">); </span><span style="color: #FF8000">// A, B, C; Wählt die Spalte in der Schmiede aus.
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(</span><span style="color: #DD0000">"def"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitentyp; off, def oder spy
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"bauer_des"</span><span style="color: #007700">)); </span><span style="color: #FF8000">// Einheitenbeschreibung 
</span></code></div></div></div></div></div>
<br />
<br />
Jetzt die techs.php:<br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_tech</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_techs"</span><span style="color: #007700">, </span><span style="color: #DD0000">"bauer"</span><span style="color: #007700">),</span><span style="color: #DD0000">"bauer"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitenname
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"Infanterie"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitengruppe ( Infanterie, Kavallerie, Belagerungswaffe
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"120"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungspreis Holz; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"120"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungspreis Lehm; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"50"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungspreis Eisen; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"1900"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.75"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungsdauer; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_maxStage</span><span style="color: #007700">(</span><span style="color: #DD0000">"3"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Max. Forschungsstufe
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'smith' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">5</span><span style="color: #007700">, </span><span style="color: #DD0000">'barracks' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">10</span><span style="color: #007700">));  </span><span style="color: #FF8000">// Vorraussetsung Gebäude
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'def'</span><span style="color: #007700">,</span><span style="color: #DD0000">'off'</span><span style="color: #007700">,</span><span style="color: #DD0000">'spy'</span><span style="color: #007700">)); 
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">); 
</span></code></div></div></div></div></div>
<br />
<br />
2. Die Sprachdatei<br />
<br />
Geht in {dslan}/htdocs/lang/ in die de.ini<br />
<br />
Sucht nach "[configs_units]"<br />
<br />
Fügt dort hinzu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>bauer="Bauer"
bauer_des="Der Bauer kann die Letzte Rettung für dein Dorf sein</code></div></div><br />
das war vor dem "=" steht, ist der Name, der auch in der units.php und techs.php benutzt wird. Diese Namen müssen gleich sein. Das, dass hinter dem "=" steht, sieht man dann in der Kaserne &amp; und der Beschreibung der Einheit (hilfe etc.)<br />
<br />
Sucht nach "[configs_techs]"<br />
<br />
Fügt dort hinzu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>bauer="Bauer"</code></div></div><br />
Genauso wie oben <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
3. Die Grafiken<br />
<br />
Ihr braucht einmal eine 18x18 Grafik die unit_bauer heißen muss und ihm Typ "<span style="font-weight: bold;" class="mycode_b">PNG</span>" sein muss. Ebenfalls muss, wie bei der Sprachdatei, immer die Grafik heißen, wie es in der units.php und techs.php steht! (unit_name). Diese Grafik muss in {dslan}/htdocs/graphic/unit<br />
<br />
Dann braucht ihr 3 Grafiken in der größe von 60x60, eine muss "bauer" heißen, die 2. "bauer_cross" und die 3. "bauer_grey" jeweils im Typ "<span style="font-weight: bold;" class="mycode_b">PNG</span>" (Können die selben Grafiken sein.) Diese Grafiken müssen in {dslan}/htdocs/graphic/unit_big<br />
<br />
<a href="http://twlan.tw.funpic.de/download.php?id=7" target="_blank" rel="noopener" class="mycode_url">Hier</a> könnt ihr euch die Grafiken downloaden.<br />
<br />
4. Der SQL-Code<br />
<br />
Der SQL-Code an sich ist eigentlich ganz einfach:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>ALTER TABLE `villages` ADD `unit_bauer_tec_level` INT( 11 ) NULL DEFAULT '0' AFTER `unit_axe_tec_level` ;<br />
ALTER TABLE `villages` ADD `all_unit_bauer` INT( 6 ) NULL DEFAULT '0' AFTER `all_unit_axe` ;<br />
ALTER TABLE `unit_place` ADD `unit_bauer` INT( 11 ) NULL DEFAULT '0' AFTER `unit_axe` ;</blockquote>
<br />
So muss die SQL aussehen, diese fügt ihr in <a href="http://localhost/phpmyadmin" target="_blank" rel="noopener" class="mycode_url">http://localhost/phpmyadmin</a> -&gt; Datenbank lan -&gt; "SQL" auswählen und den Code einfügen und Ausführen.<br />
<br />
Auch da immer <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>ALTER TABLE `villages` ADD `unit_name_tec_level` INT ( 11 ) NULL DEFAULT '0' AFTER `unit_axe_tec_level`;</code></div></div><br />
So geht das auch bei dem rest von dem Code..<br />
<br />
Das was hinter <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>INT ( 11 ) NULL DEFAULT '0' AFTER</code></div></div>steht. In diesem Fall<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>`unit_axe_tec_level`;</code></div></div>bedeutet das die Tabelle, mit den Bauern, hinter den Äxten erstellt wird.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">Erstellte Einheit wieder löschen:</span></span><br />
<br />
Einfach alle Codes, die Ihr in der units.php, techs.php, de.ini löschen. Alle Grafiken die Ihr eingefügt habt löschen und die Tabelle, indem fall diese:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">villages</span><span style="color: #007700">` </span><span style="color: #0000BB">ADD </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer_tec_level</span><span style="color: #007700">` </span><span style="color: #0000BB">INT</span><span style="color: #007700">( </span><span style="color: #0000BB">11 </span><span style="color: #007700">) </span><span style="color: #0000BB">NULL </span><span style="color: #007700">DEFAULT </span><span style="color: #DD0000">'0' </span><span style="color: #0000BB">AFTER </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_axe_tec_level</span><span style="color: #007700">` ;
</span><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">villages</span><span style="color: #007700">` </span><span style="color: #0000BB">ADD </span><span style="color: #007700">`</span><span style="color: #DD0000">all_unit_bauer</span><span style="color: #007700">` </span><span style="color: #0000BB">INT</span><span style="color: #007700">( </span><span style="color: #0000BB">6 </span><span style="color: #007700">) </span><span style="color: #0000BB">NULL </span><span style="color: #007700">DEFAULT </span><span style="color: #DD0000">'0' </span><span style="color: #0000BB">AFTER </span><span style="color: #007700">`</span><span style="color: #DD0000">all_unit_axe</span><span style="color: #007700">` ;
</span><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_place</span><span style="color: #007700">` </span><span style="color: #0000BB">ADD </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer</span><span style="color: #007700">` </span><span style="color: #0000BB">INT</span><span style="color: #007700">( </span><span style="color: #0000BB">11 </span><span style="color: #007700">) </span><span style="color: #0000BB">NULL </span><span style="color: #007700">DEFAULT </span><span style="color: #DD0000">'0' </span><span style="color: #0000BB">AFTER </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_axe</span><span style="color: #007700">` ; 
</span></code></div></div></div><br />
Müssen so gelöscht werden:<br />
<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">villages</span><span style="color: #007700">`
 </span><span style="color: #0000BB">DROP </span><span style="color: #007700">`</span><span style="color: #DD0000">all_unit_bauer</span><span style="color: #007700">`;
 </span><span style="color: #0000BB">DROP </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer_tec_level</span><span style="color: #007700">`;

</span><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_place</span><span style="color: #007700">`
  </span><span style="color: #0000BB">DROP </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer</span><span style="color: #007700">`, 
</span></code></div></div></div><br />
Also immer vor den Namen der Tabellen ein DROP setzen.<br />
<br />
<br />
Ich hoffe ihr habt das einigermaßen Verstanden!<br />
<br />
Bei Fragen, meldet euch einfach unten oder per PN.<br />
<br />
PS:<br />
Eure selbst erstellten Einheiten könnt ihr <a href="http://www.twlan.org/de/showthread.php?tid=3623" target="_blank" rel="noopener" class="mycode_url">hier</a> vorstellen, wenn ihr wollt.<br />
<br />
MfG<br />
Christian<br />
]]></description>
			<content:encoded><![CDATA[Hallo Community,<br />
<br />
in diesem Tutorial versuche ich euch zu erklären wie man eigene Einheiten erstellt. Funktioniert nur in Version 1.4!<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">Einheit erstellen:</span></span><br />
<br />
1. Die Datei {dslan}/htdocs/include/configs/ units.php mit einem Editor öffnen und am Ende aber vor dem "<span style="color: #FF0000;" class="mycode_color">?&gt;</span>" folgenden Code einfügen:<br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_unit</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"spear"</span><span style="color: #007700">),</span><span style="color: #DD0000">"unit_spear"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"50"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"30"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"10"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_bhprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"1"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"1000"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_att</span><span style="color: #007700">(</span><span style="color: #DD0000">"10"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_def</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defcav</span><span style="color: #007700">(</span><span style="color: #DD0000">"45"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defarcher</span><span style="color: #007700">(</span><span style="color: #DD0000">"20"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_speed</span><span style="color: #007700">(</span><span style="color: #DD0000">"720"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_booty</span><span style="color: #007700">(</span><span style="color: #DD0000">"25"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array());
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_recruit_in</span><span style="color: #007700">(</span><span style="color: #DD0000">"barracks"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_specials</span><span style="color: #007700">(array());
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"foot"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_col</span><span style="color: #007700">(</span><span style="color: #DD0000">"A"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(</span><span style="color: #DD0000">"def"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"spear_des"</span><span style="color: #007700">)); 
</span></code></div></div></div></div></div>
<br />
<br />
1.1 Öffnet die techs.php<br />
<br />
Füge am ende der Datei aber vor dem "?&gt;" folgendes hinzu:<br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_tech</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_techs"</span><span style="color: #007700">, </span><span style="color: #DD0000">"spear"</span><span style="color: #007700">),</span><span style="color: #DD0000">"spear"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"Infanterie"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"256"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"244"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"296"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"2900"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.75"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_maxStage</span><span style="color: #007700">(</span><span style="color: #DD0000">"3"</span><span style="color: #007700">);
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array());
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'def'</span><span style="color: #007700">,</span><span style="color: #DD0000">'off'</span><span style="color: #007700">,</span><span style="color: #DD0000">'spy'</span><span style="color: #007700">));
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">); 
</span></code></div></div></div></div></div>
<br />
<br />
1.2 Kommen wir nun zum bearbeiten der Einheit.<br />
<br />
Geht wieder in die units.php und bearbeitet den Code, den ihr eingefügt habt, nach euren Wünschen. Hier ein paar Informationen.<br />
<br />
Nehmen wir z.B. den <span style="font-weight: bold;" class="mycode_b">Bauer</span><br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_unit</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"bauer"</span><span style="color: #007700">),</span><span style="color: #DD0000">"unit_bauer"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Name der Einheit.
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierpreis Holz
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierpreis Lehm
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"5"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierpreis Eisen
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_bhprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"1"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Benötigte Bauernhofplätze
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"500"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierzeit
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_att</span><span style="color: #007700">(</span><span style="color: #DD0000">"5"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Angriffswert; + Faktor pro Stufe
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_def</span><span style="color: #007700">(</span><span style="color: #DD0000">"7"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Allgemeine Verteidigung; Faktor
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defcav</span><span style="color: #007700">(</span><span style="color: #DD0000">"15"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Verteidigung Kavallerie; Faktor 
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_defarcher</span><span style="color: #007700">(</span><span style="color: #DD0000">"10"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.045"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Verteidigung Bogenschützen; Faktor
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_speed</span><span style="color: #007700">(</span><span style="color: #DD0000">"450"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Truppengeschwindigkeit
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_booty</span><span style="color: #007700">(</span><span style="color: #DD0000">"25"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Beute
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'smith' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">5</span><span style="color: #007700">, </span><span style="color: #DD0000">'barracks' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">10</span><span style="color: #007700">));  </span><span style="color: #FF8000">// Vorraussetung; Gebäude
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_recruit_in</span><span style="color: #007700">(</span><span style="color: #DD0000">"barracks"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Rekrutierort
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_specials</span><span style="color: #007700">(array()); </span><span style="color: #FF8000">// keine Ahung
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"foot"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitengruppe ( foot, cav )
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_col</span><span style="color: #007700">(</span><span style="color: #DD0000">"A"</span><span style="color: #007700">); </span><span style="color: #FF8000">// A, B, C; Wählt die Spalte in der Schmiede aus.
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(</span><span style="color: #DD0000">"def"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitentyp; off, def oder spy
</span><span style="color: #0000BB">&#36;cl_units</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_units"</span><span style="color: #007700">, </span><span style="color: #DD0000">"bauer_des"</span><span style="color: #007700">)); </span><span style="color: #FF8000">// Einheitenbeschreibung 
</span></code></div></div></div></div></div>
<br />
<br />
Jetzt die techs.php:<br />
<br />
<div class="spoiler_out"><div class="spoiler_head">Code <input type="submit" class="spoiler_button" onclick="var node = this.parentNode.parentNode.getElementsByTagName('div')[1]; if(node.style.display == 'none') {node.style.display = 'block'; this.value = 'Hide';} else {node.style.display = 'none'; this.value = 'Show';} return false;" value="Show" /></div><div class="spoiler_in" style="display: none;">
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add_tech</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">grab</span><span style="color: #007700">(</span><span style="color: #DD0000">"configs_techs"</span><span style="color: #007700">, </span><span style="color: #DD0000">"bauer"</span><span style="color: #007700">),</span><span style="color: #DD0000">"bauer"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitenname
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_group</span><span style="color: #007700">(</span><span style="color: #DD0000">"Infanterie"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Einheitengruppe ( Infanterie, Kavallerie, Belagerungswaffe
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_woodprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"120"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungspreis Holz; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_stoneprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"120"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungspreis Lehm; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_ironprice</span><span style="color: #007700">(</span><span style="color: #DD0000">"50"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.6"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungspreis Eisen; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"1900"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.75"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Forschungsdauer; Faktor
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_maxStage</span><span style="color: #007700">(</span><span style="color: #DD0000">"3"</span><span style="color: #007700">); </span><span style="color: #FF8000">// Max. Forschungsstufe
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_needed</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'smith' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">5</span><span style="color: #007700">, </span><span style="color: #DD0000">'barracks' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">10</span><span style="color: #007700">));  </span><span style="color: #FF8000">// Vorraussetsung Gebäude
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_attType</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'def'</span><span style="color: #007700">,</span><span style="color: #DD0000">'off'</span><span style="color: #007700">,</span><span style="color: #DD0000">'spy'</span><span style="color: #007700">)); 
</span><span style="color: #0000BB">&#36;cl_techs</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set_description</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">); 
</span></code></div></div></div></div></div>
<br />
<br />
2. Die Sprachdatei<br />
<br />
Geht in {dslan}/htdocs/lang/ in die de.ini<br />
<br />
Sucht nach "[configs_units]"<br />
<br />
Fügt dort hinzu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>bauer="Bauer"
bauer_des="Der Bauer kann die Letzte Rettung für dein Dorf sein</code></div></div><br />
das war vor dem "=" steht, ist der Name, der auch in der units.php und techs.php benutzt wird. Diese Namen müssen gleich sein. Das, dass hinter dem "=" steht, sieht man dann in der Kaserne &amp; und der Beschreibung der Einheit (hilfe etc.)<br />
<br />
Sucht nach "[configs_techs]"<br />
<br />
Fügt dort hinzu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>bauer="Bauer"</code></div></div><br />
Genauso wie oben <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
3. Die Grafiken<br />
<br />
Ihr braucht einmal eine 18x18 Grafik die unit_bauer heißen muss und ihm Typ "<span style="font-weight: bold;" class="mycode_b">PNG</span>" sein muss. Ebenfalls muss, wie bei der Sprachdatei, immer die Grafik heißen, wie es in der units.php und techs.php steht! (unit_name). Diese Grafik muss in {dslan}/htdocs/graphic/unit<br />
<br />
Dann braucht ihr 3 Grafiken in der größe von 60x60, eine muss "bauer" heißen, die 2. "bauer_cross" und die 3. "bauer_grey" jeweils im Typ "<span style="font-weight: bold;" class="mycode_b">PNG</span>" (Können die selben Grafiken sein.) Diese Grafiken müssen in {dslan}/htdocs/graphic/unit_big<br />
<br />
<a href="http://twlan.tw.funpic.de/download.php?id=7" target="_blank" rel="noopener" class="mycode_url">Hier</a> könnt ihr euch die Grafiken downloaden.<br />
<br />
4. Der SQL-Code<br />
<br />
Der SQL-Code an sich ist eigentlich ganz einfach:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>ALTER TABLE `villages` ADD `unit_bauer_tec_level` INT( 11 ) NULL DEFAULT '0' AFTER `unit_axe_tec_level` ;<br />
ALTER TABLE `villages` ADD `all_unit_bauer` INT( 6 ) NULL DEFAULT '0' AFTER `all_unit_axe` ;<br />
ALTER TABLE `unit_place` ADD `unit_bauer` INT( 11 ) NULL DEFAULT '0' AFTER `unit_axe` ;</blockquote>
<br />
So muss die SQL aussehen, diese fügt ihr in <a href="http://localhost/phpmyadmin" target="_blank" rel="noopener" class="mycode_url">http://localhost/phpmyadmin</a> -&gt; Datenbank lan -&gt; "SQL" auswählen und den Code einfügen und Ausführen.<br />
<br />
Auch da immer <div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>ALTER TABLE `villages` ADD `unit_name_tec_level` INT ( 11 ) NULL DEFAULT '0' AFTER `unit_axe_tec_level`;</code></div></div><br />
So geht das auch bei dem rest von dem Code..<br />
<br />
Das was hinter <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>INT ( 11 ) NULL DEFAULT '0' AFTER</code></div></div>steht. In diesem Fall<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>`unit_axe_tec_level`;</code></div></div>bedeutet das die Tabelle, mit den Bauern, hinter den Äxten erstellt wird.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">Erstellte Einheit wieder löschen:</span></span><br />
<br />
Einfach alle Codes, die Ihr in der units.php, techs.php, de.ini löschen. Alle Grafiken die Ihr eingefügt habt löschen und die Tabelle, indem fall diese:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">villages</span><span style="color: #007700">` </span><span style="color: #0000BB">ADD </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer_tec_level</span><span style="color: #007700">` </span><span style="color: #0000BB">INT</span><span style="color: #007700">( </span><span style="color: #0000BB">11 </span><span style="color: #007700">) </span><span style="color: #0000BB">NULL </span><span style="color: #007700">DEFAULT </span><span style="color: #DD0000">'0' </span><span style="color: #0000BB">AFTER </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_axe_tec_level</span><span style="color: #007700">` ;
</span><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">villages</span><span style="color: #007700">` </span><span style="color: #0000BB">ADD </span><span style="color: #007700">`</span><span style="color: #DD0000">all_unit_bauer</span><span style="color: #007700">` </span><span style="color: #0000BB">INT</span><span style="color: #007700">( </span><span style="color: #0000BB">6 </span><span style="color: #007700">) </span><span style="color: #0000BB">NULL </span><span style="color: #007700">DEFAULT </span><span style="color: #DD0000">'0' </span><span style="color: #0000BB">AFTER </span><span style="color: #007700">`</span><span style="color: #DD0000">all_unit_axe</span><span style="color: #007700">` ;
</span><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_place</span><span style="color: #007700">` </span><span style="color: #0000BB">ADD </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer</span><span style="color: #007700">` </span><span style="color: #0000BB">INT</span><span style="color: #007700">( </span><span style="color: #0000BB">11 </span><span style="color: #007700">) </span><span style="color: #0000BB">NULL </span><span style="color: #007700">DEFAULT </span><span style="color: #DD0000">'0' </span><span style="color: #0000BB">AFTER </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_axe</span><span style="color: #007700">` ; 
</span></code></div></div></div><br />
Müssen so gelöscht werden:<br />
<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">villages</span><span style="color: #007700">`
 </span><span style="color: #0000BB">DROP </span><span style="color: #007700">`</span><span style="color: #DD0000">all_unit_bauer</span><span style="color: #007700">`;
 </span><span style="color: #0000BB">DROP </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer_tec_level</span><span style="color: #007700">`;

</span><span style="color: #0000BB">ALTER TABLE </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_place</span><span style="color: #007700">`
  </span><span style="color: #0000BB">DROP </span><span style="color: #007700">`</span><span style="color: #DD0000">unit_bauer</span><span style="color: #007700">`, 
</span></code></div></div></div><br />
Also immer vor den Namen der Tabellen ein DROP setzen.<br />
<br />
<br />
Ich hoffe ihr habt das einigermaßen Verstanden!<br />
<br />
Bei Fragen, meldet euch einfach unten oder per PN.<br />
<br />
PS:<br />
Eure selbst erstellten Einheiten könnt ihr <a href="http://www.twlan.org/de/showthread.php?tid=3623" target="_blank" rel="noopener" class="mycode_url">hier</a> vorstellen, wenn ihr wollt.<br />
<br />
MfG<br />
Christian<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Versammlungsplatz: "Eigene Dörfer"]]></title>
			<link>https://twlan.org/showthread.php?tid=3674</link>
			<pubDate>Fri, 26 Nov 2010 20:26:09 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=16718">Molt</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=3674</guid>
			<description><![CDATA[Hi Leute<br />
<br />
Auf Bettdecke1's Vorschlag hin (siehe <a href="http://www.twlan.org/de/showthread.php?tid=3572&amp;pid=50795#pid50795" target="_blank" rel="noopener" class="mycode_url">Yannici's Tool Service</a>) habe ich beim Versammlungsplatz eine Möglichkeit eingebaut, die Koordinaten seiner eigenen Dörfer auszuwählen, genau wie beim Marktplatz (wo es ja schon drin ist <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />).<br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">So geht's:</span></span><br />
Ihr öffnet die Datei <span style="font-style: italic;" class="mycode_i">htdocs/templates/game_place_command.tpl</span> und fügt nach dieser Zeile:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>y: &lt;input type="text" name="y" value="{&#36;values.y}" size="5" /&gt;</code></div></div>diesen ganzen Block hinzu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>{php}
&#36;userid_query = mysql_query("SELECT `userid` FROM `sessions` WHERE `sid` = '".&#36;_COOKIE['session']."'");
&#36;userid_get = mysql_fetch_assoc(&#36;userid_query);
&#36;userid = &#36;userid_get['userid'];
&#36;select_query = mysql_query("SELECT * FROM `villages` WHERE (`userid` = '".&#36;userid."' AND `id` != '".&#36;_GET['village']."') ORDER BY `name` ASC");
&#36;select_count = mysql_num_rows(&#36;select_query);
if(&#36;select_count &gt; 1)
	{
	&#36;villages = array();
	while(&#36;select_get = mysql_fetch_assoc(&#36;select_query))
		{
		&#36;select_get['name'] = entparse(&#36;select_get['name']);
		&#36;villages[] = &#36;select_get;
		}
	&#36;this-&gt;assign('villages', &#36;villages);
	}
{/php}
{if count(&#36;villages)&gt;0}
	&lt;select name="target" size="1" onchange="insertCoord(document.forms[0], this)"&gt;
		&lt;option&gt;-Dorf w&amp;auml;hlen-&lt;/option&gt;
		{foreach from=&#36;villages key=id item=value}
			&lt;option value="{&#36;villages.&#36;id.x}|{&#36;villages.&#36;id.y}"&gt;{&#36;villages.&#36;id.name} ({&#36;villages.&#36;id.x}|{&#36;villages.&#36;id.y}) {&#36;villages.&#36;id.continent}&lt;/option&gt;
		{/foreach}
	&lt;/select&gt;
{/if}</code></div></div><br />
Dann noch templates_c und Cache leeren und beim Versammlungsplatz sollte (gleich wie beim Marktplatz) eine Liste zum Auswählen eurer Dörfer sein <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
Have Fun <img src="https://twlan.org/images/smilies/biggrin.png" alt="Big Grin" title="Big Grin" class="smilie smilie_4" /><br />
<br />
LG<br />
Molt]]></description>
			<content:encoded><![CDATA[Hi Leute<br />
<br />
Auf Bettdecke1's Vorschlag hin (siehe <a href="http://www.twlan.org/de/showthread.php?tid=3572&amp;pid=50795#pid50795" target="_blank" rel="noopener" class="mycode_url">Yannici's Tool Service</a>) habe ich beim Versammlungsplatz eine Möglichkeit eingebaut, die Koordinaten seiner eigenen Dörfer auszuwählen, genau wie beim Marktplatz (wo es ja schon drin ist <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />).<br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">So geht's:</span></span><br />
Ihr öffnet die Datei <span style="font-style: italic;" class="mycode_i">htdocs/templates/game_place_command.tpl</span> und fügt nach dieser Zeile:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>y: &lt;input type="text" name="y" value="{&#36;values.y}" size="5" /&gt;</code></div></div>diesen ganzen Block hinzu:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>{php}
&#36;userid_query = mysql_query("SELECT `userid` FROM `sessions` WHERE `sid` = '".&#36;_COOKIE['session']."'");
&#36;userid_get = mysql_fetch_assoc(&#36;userid_query);
&#36;userid = &#36;userid_get['userid'];
&#36;select_query = mysql_query("SELECT * FROM `villages` WHERE (`userid` = '".&#36;userid."' AND `id` != '".&#36;_GET['village']."') ORDER BY `name` ASC");
&#36;select_count = mysql_num_rows(&#36;select_query);
if(&#36;select_count &gt; 1)
	{
	&#36;villages = array();
	while(&#36;select_get = mysql_fetch_assoc(&#36;select_query))
		{
		&#36;select_get['name'] = entparse(&#36;select_get['name']);
		&#36;villages[] = &#36;select_get;
		}
	&#36;this-&gt;assign('villages', &#36;villages);
	}
{/php}
{if count(&#36;villages)&gt;0}
	&lt;select name="target" size="1" onchange="insertCoord(document.forms[0], this)"&gt;
		&lt;option&gt;-Dorf w&amp;auml;hlen-&lt;/option&gt;
		{foreach from=&#36;villages key=id item=value}
			&lt;option value="{&#36;villages.&#36;id.x}|{&#36;villages.&#36;id.y}"&gt;{&#36;villages.&#36;id.name} ({&#36;villages.&#36;id.x}|{&#36;villages.&#36;id.y}) {&#36;villages.&#36;id.continent}&lt;/option&gt;
		{/foreach}
	&lt;/select&gt;
{/if}</code></div></div><br />
Dann noch templates_c und Cache leeren und beim Versammlungsplatz sollte (gleich wie beim Marktplatz) eine Liste zum Auswählen eurer Dörfer sein <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
Have Fun <img src="https://twlan.org/images/smilies/biggrin.png" alt="Big Grin" title="Big Grin" class="smilie smilie_4" /><br />
<br />
LG<br />
Molt]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Zustimmungsverlust auf 100]]></title>
			<link>https://twlan.org/showthread.php?tid=3479</link>
			<pubDate>Mon, 20 Sep 2010 16:51:15 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=20596">Liu Bei - Laozi</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=3479</guid>
			<description><![CDATA[Hallo liebe Mitspieler,<br />
<br />
Ich hab schon öfters versucht, den Zustimmungsverlust auf minimum 100 und auf maximum 100 zu setzen. Dies hat nicht geklappt, bis ich letztens eine Entdeckung machte. Hier ist sie:<br />
<br />
Ich habe in htdocs - include --&gt; config.php das hier verändert:<br />
<br />
-----<br />
// Zustimmung: Um wie viel soll sie maximal sinken?<br />
&#36;config['agreement_max'] = 100;<br />
<br />
// Zustimmung: Um wie viel soll sie minimal sinken?<br />
&#36;config['agreement_min'] = 100;<br />
-----<br />
<br />
Also ich habe nur die Zahlen 35 und 20 durch 100 ersetzt, was theoretisch genügen sollte um mein Vorhaben zu ermöglichen. Leider tut es dies nicht.<br />
Es ist also nicht die Lösung des Problems und bewirkt rein gar nichts. Der Zustimmungsverlust bleibt auf 20-35.<br />
<br />
Der Fehler war, dass wir dieselbe Zahl für Minimum und Maximum einsetzten.<br />
Also hab ich etwas versucht und schrieb dies:<br />
<br />
// Zustimmung: Um wie viel soll sie maximal sinken?<br />
&#36;config['agreement_max'] = 101;<br />
<br />
// Zustimmung: Um wie viel soll sie minimal sinken?<br />
&#36;config['agreement_min'] = 100;<br />
<br />
Ab jetzt gings prima!<br />
Man könnte natürlich auch Max: 150 und Min: 100 oder 120 machen, aber das hätte keinen Sinn.<br />
<br />
Also nie eine Zahl für beide Extreme setzen !!<br />
<br />
Danke fürs Zuhören <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />]]></description>
			<content:encoded><![CDATA[Hallo liebe Mitspieler,<br />
<br />
Ich hab schon öfters versucht, den Zustimmungsverlust auf minimum 100 und auf maximum 100 zu setzen. Dies hat nicht geklappt, bis ich letztens eine Entdeckung machte. Hier ist sie:<br />
<br />
Ich habe in htdocs - include --&gt; config.php das hier verändert:<br />
<br />
-----<br />
// Zustimmung: Um wie viel soll sie maximal sinken?<br />
&#36;config['agreement_max'] = 100;<br />
<br />
// Zustimmung: Um wie viel soll sie minimal sinken?<br />
&#36;config['agreement_min'] = 100;<br />
-----<br />
<br />
Also ich habe nur die Zahlen 35 und 20 durch 100 ersetzt, was theoretisch genügen sollte um mein Vorhaben zu ermöglichen. Leider tut es dies nicht.<br />
Es ist also nicht die Lösung des Problems und bewirkt rein gar nichts. Der Zustimmungsverlust bleibt auf 20-35.<br />
<br />
Der Fehler war, dass wir dieselbe Zahl für Minimum und Maximum einsetzten.<br />
Also hab ich etwas versucht und schrieb dies:<br />
<br />
// Zustimmung: Um wie viel soll sie maximal sinken?<br />
&#36;config['agreement_max'] = 101;<br />
<br />
// Zustimmung: Um wie viel soll sie minimal sinken?<br />
&#36;config['agreement_min'] = 100;<br />
<br />
Ab jetzt gings prima!<br />
Man könnte natürlich auch Max: 150 und Min: 100 oder 120 machen, aber das hätte keinen Sinn.<br />
<br />
Also nie eine Zahl für beide Extreme setzen !!<br />
<br />
Danke fürs Zuhören <img src="https://twlan.org/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Server erstellen (Grundlagen)]]></title>
			<link>https://twlan.org/showthread.php?tid=3419</link>
			<pubDate>Wed, 01 Sep 2010 13:06:20 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=12469">stupy</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=3419</guid>
			<description><![CDATA[Mein Tutorial ist eine Hilfe für Anfänger, Neulinge.<br />
<br />
Es wird genau erklärt wie ihr den Server erstellt und wo ihr die einfachsten Optionen findet.<br />
<br />
Es beschreibt alles genau, von<br />
beschaffen der Daten (im Tutorial wird All in One 1.7 verwendet) <br />
bis zu<br />
das Einrichten der Configdatei<br />
<br />
Schreibt mir eure Meinungen und Kommentare.<br />
<br />
Wollt ihr noch ein video Tutorial, schreibt mir<br />
<br />
<a href="http://www.youtube.com/watch?v=xw6l6oj0_0k" target="_blank" rel="noopener" class="mycode_url">http://www.youtube.com/watch?v=xw6l6oj0_0k</a><br />
<br />
stupy]]></description>
			<content:encoded><![CDATA[Mein Tutorial ist eine Hilfe für Anfänger, Neulinge.<br />
<br />
Es wird genau erklärt wie ihr den Server erstellt und wo ihr die einfachsten Optionen findet.<br />
<br />
Es beschreibt alles genau, von<br />
beschaffen der Daten (im Tutorial wird All in One 1.7 verwendet) <br />
bis zu<br />
das Einrichten der Configdatei<br />
<br />
Schreibt mir eure Meinungen und Kommentare.<br />
<br />
Wollt ihr noch ein video Tutorial, schreibt mir<br />
<br />
<a href="http://www.youtube.com/watch?v=xw6l6oj0_0k" target="_blank" rel="noopener" class="mycode_url">http://www.youtube.com/watch?v=xw6l6oj0_0k</a><br />
<br />
stupy]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Minenproduktion ueber stufe 30]]></title>
			<link>https://twlan.org/showthread.php?tid=3344</link>
			<pubDate>Wed, 18 Aug 2010 08:50:45 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://twlan.org/member.php?action=profile&uid=21050">gerbon</a>]]></dc:creator>
			<guid isPermaLink="false">https://twlan.org/showthread.php?tid=3344</guid>
			<description><![CDATA[Das ist Ein Tutorial fuer die Leute , die wollen das die Minen ueber Stufe 30 noch ressis produzieren und der Speicher nach Stufe 30 ne Kapazitaet hat. <br />
Es ist eig. ganz leicht:<br />
1. Man geht in den Ordner Dslan/htdocs/include/configs <br />
2. Man klickt auf die Php datei  raw_material_productions oder max_storage<br />
3.  Man sieht nun , wenn man runterscrollt bei raw_material_productions "30"=&gt;"4700" oder  seine eingabe "30"=&gt;"Deine Eingabe" .<br />
4. Um nun die Minen bei 31 produzieren  zu lassen muss man bei "30"=&gt;"4700" ein Komma dahinter setzen , also so:<br />
"30"=&gt;"4700",      wenn man das hat , geht man mit enter in die naechste zeile und gibt ein:  "31"=&gt;"5000",(oder anderen Betrag aber hoeher. Komma nicht vergessen wenn es weiter gehen soll ) <br />
Man wiederholt den Vorgang mit 32,33,34... sohoch wie man will.<br />
5.Am Ende sollte das Komma weg bei dem Letzten Befehl. <br />
6. Nun noch bei Buildings die Stufe der Minen erhoehen .(Ich wuerde raten wenn man das Gebaeude schnell hoch haben will die set_time runter zu stellen)<br />
7. Das Gleiche kann man beim Speicher, Bauernhof,Versteck,Marktplatz und Wall machen.<br />
(7. Marktplatz = Dealers hier gibt es keine " und man muss auch keine dazu fuegen<br />
   Beim Wall ist nach dem Komma ein Viereck , dass muss man immer dahinter machen (kopieren).<br />
  Das Gleiche beim Versteck(Max_Hide) )<br />
<br />
<br />
Ich wusste nicht  ob es sowas schon gab/ der richtige bereich ist <br />
]]></description>
			<content:encoded><![CDATA[Das ist Ein Tutorial fuer die Leute , die wollen das die Minen ueber Stufe 30 noch ressis produzieren und der Speicher nach Stufe 30 ne Kapazitaet hat. <br />
Es ist eig. ganz leicht:<br />
1. Man geht in den Ordner Dslan/htdocs/include/configs <br />
2. Man klickt auf die Php datei  raw_material_productions oder max_storage<br />
3.  Man sieht nun , wenn man runterscrollt bei raw_material_productions "30"=&gt;"4700" oder  seine eingabe "30"=&gt;"Deine Eingabe" .<br />
4. Um nun die Minen bei 31 produzieren  zu lassen muss man bei "30"=&gt;"4700" ein Komma dahinter setzen , also so:<br />
"30"=&gt;"4700",      wenn man das hat , geht man mit enter in die naechste zeile und gibt ein:  "31"=&gt;"5000",(oder anderen Betrag aber hoeher. Komma nicht vergessen wenn es weiter gehen soll ) <br />
Man wiederholt den Vorgang mit 32,33,34... sohoch wie man will.<br />
5.Am Ende sollte das Komma weg bei dem Letzten Befehl. <br />
6. Nun noch bei Buildings die Stufe der Minen erhoehen .(Ich wuerde raten wenn man das Gebaeude schnell hoch haben will die set_time runter zu stellen)<br />
7. Das Gleiche kann man beim Speicher, Bauernhof,Versteck,Marktplatz und Wall machen.<br />
(7. Marktplatz = Dealers hier gibt es keine " und man muss auch keine dazu fuegen<br />
   Beim Wall ist nach dem Komma ein Viereck , dass muss man immer dahinter machen (kopieren).<br />
  Das Gleiche beim Versteck(Max_Hide) )<br />
<br />
<br />
Ich wusste nicht  ob es sowas schon gab/ der richtige bereich ist <br />
]]></content:encoded>
		</item>
	</channel>
</rss>