<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.stne.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.stne.net/index.php?action=history&amp;feed=atom&amp;title=Scripting%3AWarbkern_ganzer_Flotten_f%C3%BCllen</id>
		<title>Scripting:Warbkern ganzer Flotten füllen - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.stne.net/index.php?action=history&amp;feed=atom&amp;title=Scripting%3AWarbkern_ganzer_Flotten_f%C3%BCllen"/>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;action=history"/>
		<updated>2026-05-23T23:36:30Z</updated>
		<subtitle>Versionsgeschichte für diese Seite in STNE-Wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;diff=10409&amp;oldid=prev</id>
		<title>Tom2: /* Kommentar */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;diff=10409&amp;oldid=prev"/>
				<updated>2008-05-19T20:44:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Kommentar&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;? Nächstältere Version&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19. Mai 2008, 20:44 Uhr&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 81:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 81:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Also mit diesen Script ist es möglich, ganze Flotten voll Automatisch, von einer Basis/Planeten aus, die Flotten mit Warpkern zufüllen. Sehr praktisch wenn man eine 80 Flotte bei einer Basis mit Orbitalseil hat braucht man nicht alle 20 Schiffe ab und andocken. Man gibt die Flotten ID in CMyFlotte(xxxxxx) eingeben, dann noch die Basis ID in Var basisID As Integer = xxxxxx und dann noch die Planeten ID in Var koloID As Integer = xxxxx eingeben und es kann schon losgehen. Ihr könnt aber auch die Warpkenfüllung selbst bestimmen im Moment ist das Script auf eine WK Füllung von 1ooo ausgelegen wenn ihr nur die hälfte haben wollt gebt bei Var wkFüllung As Integer = 500 ein. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Also mit diesen Script ist es möglich, ganze Flotten voll Automatisch, von einer Basis/Planeten aus, die Flotten mit Warpkern zufüllen. Sehr praktisch wenn man eine 80 Flotte bei einer Basis mit Orbitalseil hat braucht man nicht alle 20 Schiffe ab und andocken. Man gibt die Flotten ID in CMyFlotte(xxxxxx) eingeben, dann noch die Basis ID in Var basisID As Integer = xxxxxx und dann noch die Planeten ID in Var koloID As Integer = xxxxx eingeben und es kann schon losgehen. Ihr könnt aber auch die Warpkenfüllung selbst bestimmen im Moment ist das Script auf eine WK Füllung von 1ooo ausgelegen wenn ihr nur die hälfte haben wollt gebt bei Var wkFüllung As Integer = 500 ein. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; [[Kategorie:Scripte|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Warpkenfüllen&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; [[Kategorie:Scripte|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Warbkenfüllen&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tom2</name></author>	</entry>

	<entry>
		<id>https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;diff=10408&amp;oldid=prev</id>
		<title>Tom2: /* Warbkern ganzer Flotten füllen */</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;diff=10408&amp;oldid=prev"/>
				<updated>2008-05-19T20:42:42Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Warbkern ganzer Flotten füllen&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;? Nächstältere Version&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19. Mai 2008, 20:42 Uhr&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;--[[Spieler:Moax|Moax]] 13:57, 28. Apr 2008 (W. Europe Daylight Time)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;--[[Spieler:Moax|Moax]] 13:57, 28. Apr 2008 (W. Europe Daylight Time)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Warbkern &lt;/del&gt;ganzer Flotten füllen=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Warpkern &lt;/ins&gt;ganzer Flotten füllen=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Das Skript==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Das Skript==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; //Eingaben: &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; //Eingaben: &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 79:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Kommentar==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Kommentar==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Also mit diesen Script ist es möglich, ganze Flotten voll Automatisch, von einer Basis/Planeten aus, die Flotten mit &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Warbkern &lt;/del&gt;zufüllen. Sehr praktisch wenn man eine 80 Flotte bei einer Basis mit Orbitalseil hat braucht man nicht alle 20 Schiffe ab und andocken. Man gibt die Flotten ID in CMyFlotte(xxxxxx) eingeben, dann noch die Basis ID in Var basisID As Integer = xxxxxx und dann noch die Planeten ID in Var koloID As Integer = xxxxx eingeben und es kann schon losgehen. Ihr könnt aber auch die &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Warkenfüllung &lt;/del&gt;selbst bestimmen im Moment ist das Script auf eine WK Füllung von 1ooo ausgelegen wenn ihr nur die hälfte haben wollt gebt bei Var wkFüllung As Integer = 500 ein. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Also mit diesen Script ist es möglich, ganze Flotten voll Automatisch, von einer Basis/Planeten aus, die Flotten mit &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Warpkern &lt;/ins&gt;zufüllen. Sehr praktisch wenn man eine 80 Flotte bei einer Basis mit Orbitalseil hat braucht man nicht alle 20 Schiffe ab und andocken. Man gibt die Flotten ID in CMyFlotte(xxxxxx) eingeben, dann noch die Basis ID in Var basisID As Integer = xxxxxx und dann noch die Planeten ID in Var koloID As Integer = xxxxx eingeben und es kann schon losgehen. Ihr könnt aber auch die &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Warpkenfüllung &lt;/ins&gt;selbst bestimmen im Moment ist das Script auf eine WK Füllung von 1ooo ausgelegen wenn ihr nur die hälfte haben wollt gebt bei Var wkFüllung As Integer = 500 ein. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; [[Kategorie:Scripte|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Warbkenfüllen&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; [[Kategorie:Scripte|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Warpkenfüllen&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tom2</name></author>	</entry>

	<entry>
		<id>https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;diff=10341&amp;oldid=prev</id>
		<title>Moax am 28. April 2008 um 11:57 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.stne.net/index.php?title=Scripting:Warbkern_ganzer_Flotten_f%C3%BCllen&amp;diff=10341&amp;oldid=prev"/>
				<updated>2008-04-28T11:57:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[Spieler:Moax|Moax]] 13:57, 28. Apr 2008 (W. Europe Daylight Time)&lt;br /&gt;
=Warbkern ganzer Flotten füllen=&lt;br /&gt;
==Das Skript==&lt;br /&gt;
 //Eingaben: &lt;br /&gt;
 //Automatische Flotte &lt;br /&gt;
 Var flotte As New CMyFlotte(79941);// &lt;br /&gt;
 //Basis vorhanden oder nicht &lt;br /&gt;
 Var basisVorhanden As Boolean = true; &lt;br /&gt;
 //Basis &lt;br /&gt;
 Var basisID As Integer = 714966; &lt;br /&gt;
 //Kolonie &lt;br /&gt;
 Var koloID As Integer = 33233; &lt;br /&gt;
 //Füllhöhe &lt;br /&gt;
 Var wkFüllung As Integer = 1000; &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 //Ab hier nichts mehr ändern, ansonsten keine Gewähr(eigentlich auch so nicht ;oP ) &lt;br /&gt;
 Var mySchiff As CMyShip; &lt;br /&gt;
 Var schilde_an As Boolean = false; &lt;br /&gt;
 Var srs_an As Boolean = false; &lt;br /&gt;
 Var i As Integer; &lt;br /&gt;
 &lt;br /&gt;
 //Dieser Wert berechnet die Füllungsanzahl pro Beamvorgang bzgl. des Lagers &lt;br /&gt;
 Var füllungMöglich As Integer; &lt;br /&gt;
 Var füllungsAnzahl As Integer; &lt;br /&gt;
 Var basis As CMyShip = New CMyShip(basisID); &lt;br /&gt;
 For (Each mySchiff In flotte.Ships) { &lt;br /&gt;
   If (checkPosition(mySchiff.MapPosition)) { &lt;br /&gt;
     If (Math.Floor((wkFüllung - mySchiff.Warpkern) / 50) &amp;gt; 0) { &lt;br /&gt;
       schilde_an = false; &lt;br /&gt;
       srs_an = false; &lt;br /&gt;
       If (mySchiff.SRS_Aktiv) { &lt;br /&gt;
         srs_an = true; &lt;br /&gt;
       }Else { &lt;br /&gt;
         mySchiff.Aktion.SRS_Aktivieren(true); &lt;br /&gt;
       } &lt;br /&gt;
       If (basisVorhanden) { &lt;br /&gt;
         If (mySchiff.SchildeAktiv) { &lt;br /&gt;
           mySchiff.Aktion.SchildeAktivieren(false); &lt;br /&gt;
           schilde_an = true; &lt;br /&gt;
         } &lt;br /&gt;
         If ( NOT mySchiff.Angedockt) {} &lt;br /&gt;
         mySchiff.Aktion.AndockenAn(basisID); &lt;br /&gt;
       } &lt;br /&gt;
       füllungsAnzahl = Math.Floor((wkFüllung - mySchiff.Warpkern) / 50); &lt;br /&gt;
       füllungMöglich = Math.Floor(mySchiff.Lager.FreieKapazität / 5); &lt;br /&gt;
       If (füllungMöglich &amp;gt; 0) { &lt;br /&gt;
         i = 0; &lt;br /&gt;
         While(füllungsAnzahl &amp;gt; füllungMöglich * (++i)) { &lt;br /&gt;
           fülleWK(füllungMöglich); &lt;br /&gt;
         } &lt;br /&gt;
         i = i - 1: &lt;br /&gt;
         fülleWK(füllungsAnzahl - (füllungMöglich * i)); &lt;br /&gt;
       } &lt;br /&gt;
       mySchiff.Aktion.Abdocken(); &lt;br /&gt;
       If (basisVorhanden) { &lt;br /&gt;
         mySchiff.Aktion.SchildeAktivieren(schilde_an); &lt;br /&gt;
       } &lt;br /&gt;
       mySchiff.Aktion.SRS_Aktivieren(srs_an); &lt;br /&gt;
     } &lt;br /&gt;
   } &lt;br /&gt;
 } &lt;br /&gt;
 &lt;br /&gt;
 Function fülleWK(anzahl As Integer) { &lt;br /&gt;
   If (anzahl &amp;gt; 0) { &lt;br /&gt;
     mySchiff.Aktion.TransferiereVonKolonie(koloID, anzahl * 2, EBeamRessource.Antimaterie); &lt;br /&gt;
     mySchiff.Aktion.TransferiereVonKolonie(koloID, anzahl * 2, EBeamRessource.Deuterium); &lt;br /&gt;
     mySchiff.Aktion.TransferiereVonKolonie(koloID, anzahl, EBeamRessource.Dilithium); &lt;br /&gt;
     mySchiff.Aktion.WarpkernNachfüllen(anzahl); &lt;br /&gt;
   } &lt;br /&gt;
 } &lt;br /&gt;
 &lt;br /&gt;
 Function checkPosition(pos As SMapPosition) As Boolean { &lt;br /&gt;
   If (basisVorhanden = true) { &lt;br /&gt;
     Return (pos = basis.MapPosition); &lt;br /&gt;
   }Else { &lt;br /&gt;
     Return true; &lt;br /&gt;
   } &lt;br /&gt;
 }&lt;br /&gt;
==Kommentar==&lt;br /&gt;
Also mit diesen Script ist es möglich, ganze Flotten voll Automatisch, von einer Basis/Planeten aus, die Flotten mit Warbkern zufüllen. Sehr praktisch wenn man eine 80 Flotte bei einer Basis mit Orbitalseil hat braucht man nicht alle 20 Schiffe ab und andocken. Man gibt die Flotten ID in CMyFlotte(xxxxxx) eingeben, dann noch die Basis ID in Var basisID As Integer = xxxxxx und dann noch die Planeten ID in Var koloID As Integer = xxxxx eingeben und es kann schon losgehen. Ihr könnt aber auch die Warkenfüllung selbst bestimmen im Moment ist das Script auf eine WK Füllung von 1ooo ausgelegen wenn ihr nur die hälfte haben wollt gebt bei Var wkFüllung As Integer = 500 ein. &lt;br /&gt;
&lt;br /&gt;
 [[Kategorie:Scripte|Warbkenfüllen]]&lt;/div&gt;</summary>
		<author><name>Moax</name></author>	</entry>

	</feed>