hilfe bei funktionen und gui

  • hi@all

    also ich bin dabei eine Oberfläche für ein browsergame zu proggen. das heißt ich will mich nicht mehr selber durch die menüs klicken, sondern man soll vorher mit autoit eine liste machen die das progg dann durcharbeitet.

    das ist schon mal die erste gui

    Spoiler anzeigen
    [autoit]

    $mainwindow = GUICreate("Bauen in EC",300,200)
    Opt("GUIOnEventMode", 1)
    $eingeben=GUICtrlCreateButton("Planeten eingeben",9,10,115,29,-1,-1)
    $anzeigen=GUICtrlCreateButton("Planeten anzeigen",9,40,115,29,-1,-1)
    $bearbeiten=GUICtrlCreateButton("Schleife bearbeiten",9,70,115,29,-1,-1)
    $starten=GUICtrlCreateButton("Schleife starten",9,100,115,29,-1,-1)
    GUISetState(@sw_show)
    GUICtrlSetOnEvent($eingeben, "Planieingeben")
    GUICtrlSetOnEvent($anzeigen, "Planianzeigen")
    GUICtrlSetOnEvent($bearbeiten, "Schleifebearbeiten")
    GUICtrlSetOnEvent($starten, "starten")
    GUICtrlSetOnEvent($GUI_EVENT_CLOSE, "Beenden")

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    sleep (1)
    WEnd

    [/autoit]

    So, wenn man jetzt auf denn Button Planeten eingeben klickt soll eine zweite GUI erscheinen:

    Spoiler anzeigen
    [autoit]


    $planieingebwindow = GUICreate("Planeten eingeben",300,200)
    Opt("GUIOnEventMode", 1)
    GUICtrlCreateLabel("Kopieren sie den html Quelltext von der EC Konstruktionsseite in das Feld.",20,10,174,44,-1,-1)
    $quelltext=GUICtrlCreateInput("hier hinein",25,71,110,30,-1,-1)
    $ok=GUICtrlCreateButton("Wenn fertig hier draufdrücken",42,129,162,31,-1,-1)
    GUICtrlSetOnEvent($ok, "quelbearbeit")
    GUICtrlSetOnEvent($GUI_EVENT_CLOSE, "Beenden")
    GUISetState(@SW_SHOW, $planieingebwindow)

    [/autoit]

    Dazu hab ich jetzt die ganzen Funktionen angelegt. Die zweite GUI in die Funktion Planieingeben geschrieben. Doch wenn man jetzt in der zweiten Gui auf OK klickt wird die nächste funktion quelbearbeit nicht gestartet.
    hoffe mir kann jemand helfen.


    mfg Bjoerni

  • ganz einfach in gui 2(planeteneingabe) weiß er mit GUICtrlSetOnEvent($GUI_EVENT_CLOSE, "Beenden") nichts anzufangen....sobald du dass auskommentierst gehts....das programm bleibt da wahrscheinlich hängen.....
    der snoozer

    //edit
    es müsste
    GUISetOnEvent($GUI_EVENT_CLOSE,"Beenden")
    heißen da es sich dabei nicht um ein control einer Gui handelt....

  • vllt. wäre es besser wenn du die GUI alle gleich am Anfang erstellst und nur die main_gui auf show stellst und dann mit

    $msg = GUIGetMsg(1) arbeitest
    If $msg[0] = $GUI_EVENT_CLOSE And $msg[1] = $gui_main Then _funktion()

    mal kurz umgeschrieben musst halt die Funktionen anpassen;

    [autoit]


    #include <GUIConstants.au3>
    Opt("GUIEventOptions", 1)
    Global $mainwindow, $eingeben, $anzeigen, $bearbeiten, $starten, $planieingebwindow, $quelltext, $ok, $queltexttext

    [/autoit][autoit][/autoit][autoit]

    $mainwindow = GUICreate("Bauen in EC",300,200)
    $eingeben=GUICtrlCreateButton("Planeten eingeben",9,10,115,29,-1,-1)
    $anzeigen=GUICtrlCreateButton("Planeten anzeigen",9,40,115,29,-1,-1)
    $bearbeiten=GUICtrlCreateButton("Schleife bearbeiten",9,70,115,29,-1,-1)
    $starten=GUICtrlCreateButton("Schleife starten",9,100,115,29,-1,-1)
    GUISetState(@sw_show)

    [/autoit][autoit][/autoit][autoit]

    $planieingebwindow = GUICreate("Planeten eingeben",300,200)
    GUICtrlCreateLabel("Kopieren sie den html Quelltext von der EC Konstruktionsseite in das Feld.",20,10,174,44,-1,-1)
    $quelltext=GUICtrlCreateInput("hier hinein",25,71,110,30,-1,-1)
    $ok=GUICtrlCreateButton("Wenn fertig hier draufdrücken",42,129,162,31,-1,-1)
    GUISetState(@SW_hide, $planieingebwindow)

    [/autoit][autoit][/autoit][autoit]

    While 1
    $msg = GUIGetMsg(1)
    If $msg[0] = $eingeben AND $msg[1] = $mainwindow Then GUISetState(@SW_SHOW, $planieingebwindow) ;zeigt das Fenter an
    If $msg[0] = $GUI_EVENT_CLOSE AND $msg[1] = $mainwindow Then Exitloop ;schließt alles
    If $msg[0] = $anzeigen AND $msg[1] = $mainwindow Then Planianzeigen()
    If $msg[0] = $bearbeiten AND $msg[1] = $mainwindow Then Schleifebearbeiten()
    If $msg[0] = $starten AND $msg[1] = $mainwindow Then starten()

    If $msg[0] = $ok AND $msg[1] = $planieingebwindow Then quelbearbeit()
    If $msg[0] = $GUI_EVENT_CLOSE AND $msg[1] = $planieingebwindow Then GUISetState(@SW_HIDE, $planieingebwindow)
    WEnd

    [/autoit][autoit][/autoit][autoit][/autoit][autoit][/autoit][autoit][/autoit][autoit]

    Func quelbearbeit()
    $queltexttext = GUICtrlRead ( $quelltext )
    MsgBox ( 0, "quell", "der quell ist:" & $queltext, )

    EndFunc()
    Func Planianzeigen()
    GUICtrlSetData($ergebnis, $zahl1 * $zahl2)
    EndFunc
    Func Schleifebearbeiten()
    GUICtrlSetData($ergebnis, $zahl1 / $zahl2)
    EndFunc
    Func starten()
    GUICtrlSetData($ergebnis, $zahl1 / $zahl2)
    EndFunc
    Func Beenden()
    Exit
    EndFunc

    [/autoit][autoit][/autoit][autoit][/autoit]
  • hi@all
    ich hab noch mal ne frage. ich hab hier den quellcode von nem browsergame. ich will jetzt genau diesen teil


    Spoiler anzeigen


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Eternal Chronicles - Chapter II "The Rising"</title>
    <link href="http://www8.ec.justgamers.de/b2/_css/gw2nd.css" rel="stylesheet" type="text/css" />
    </head>
    <body style="margin:0px;padding:0px;" text="#cccccc" vlink="#595959" alink="#595959" link="#595959" bgcolor="#272727" background="http://static.justgamers.de/0/128/backg.gif">

    <table width="920" cellspacing="0" cellpadding="0" align="center" border="0">
    <tr>
    <td height="100%" valign="top" width="50" class="gradl"></td>
    <td height="100%" valign="top" width="150" bgcolor="#000000">
    <table cellspacing="2" cellpadding="0" width="75%" align="center" border="0">
    <tr><td height="75"></td></tr>
    <tr><td class="X1"></td></tr>
    <tr><td class="mt2 "align="center">NAVIGATION</td></tr>
    <tr><td class="X1"></td></tr>
    <tr><td class="mt2">

    &nbsp;<a href="http://www8.ec.justgamers.de/b2/interface.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Übersicht" /> Übersicht</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/construction.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Konstruktion" /> Konstruktion</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/research.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Forschung" /> Forschung</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/production.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Produktion" /> Produktion</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/defence.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Verteidigung" /> Verteidigung</a><br />

    &nbsp;<a href="http://www8.ec.justgamers.de/b2/planets.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Planeten" /> Planeten</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/ore.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Rohstoffe" /> Rohstoffe</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/trade.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Handel" /> Handel</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/fleet.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Flotten" /> Flotten</a><br />
    </td></tr>

    <tr><td class="X1"></td></tr> <tr><td class="mt2" align="center">
    <form name="pl" method="post" action="">
    <input type="hidden" id="p1" />
    <input type="hidden" id="p2" />
    PLANET<br />
    <select onchange='PLSelect();' size='1' name='pxyz'>
    <option style="" value="573984">4:388:32</option><option style="" value="573985">4:388:33</option><option style="" value="2773761">21:166:1</option><option style="" value="2773762">21:166:2</option><option style="" value="2773763">21:166:3</option><option style="" value="2773764">21:166:4</option><option style="" value="6312321">48:163:1</option><option style="background:#00a000;" value="6312449">48:164:1</option><option style="background:#00a000;" value="6312450">48:164:2</option><option style="background:#00a000;" value="6312451">48:164:3</option><option style="background:#00a000;" value="6312452">48:164:4</option><option style="background:#00a000;" value="6312453">48:164:5</option><option style="background:#00a000;" value="6312454">48:164:6</option><option style="background:#00a000;" value="6312455">48:164:7</option><option style="background:#00a000;" value="6312456">48:164:8</option><option style="background:#00a000;" value="6312457">48:164:9</option><option style="background:#00a000;" value="6312458">48:164:10</option><option style="background:#00a000;" value="6312459">48:164:11</option><option style="background:#00a000;" value="6312460">48:164:12</option><option style="background:#00a000;" value="6312461">48:164:13</option><option style="background:#00a000;" value="6312462">48:164:14</option><option style="background:#00a000;" value="6312463">48:164:15</option><option style="" value="6312833">48:167:1</option><option style="background:#00a000;" value="6317441">48:203:1</option><option style="" value="6317442">48:203:2</option><option style="" value="6317443">48:203:3</option><option style="" value="6317444">48:203:4</option><option style="" value="6317445">48:203:5</option><option style="" value="6317446">48:203:6</option><option style="" value="6317697">48:205:1</option><option style="" value="6317698">48:205:2</option><option style="" value="6317699">48:205:3</option><option style="" value="6317700">48:205:4</option><option style="" value="6317701">48:205:5</option><option style="" value="6317702">48:205:6</option><option style="" value="6317703">48:205:7</option><option style="" value="6317704">48:205:8</option><option style="" value="6317705">48:205:9</option><option style="" value="6317706">48:205:10</option><option style="" value="6317707">48:205:11</option><option style="" value="6317708">48:205:12</option><option style="" value="6317709">48:205:13</option><option style="" value="6317710">48:205:14</option><option style="" value="6317711">48:205:15</option><option style="" value="6317712">48:205:16</option><option style="" value="6317713">48:205:17</option><option style="" value="6317714">48:205:18</option><option style="" value="6317715">48:205:19</option><option style="" value="6317716">48:205:20</option><option style="" value="6317717">48:205:21</option><option style="" value="6317718">48:205:22</option><option style="" value="6317719">48:205:23</option><option style="" value="6317720">48:205:24</option><option style="" value="6317721">48:205:25</option><option style="" value="6317722">48:205:26</option><option style="" value="6317723">48:205:27</option><option style="" value="6317724">48:205:28</option><option style="" value="6317725">48:205:29</option><option style="" value="6317726">48:205:30</option><option style="" value="6317727">48:205:31</option><option style="" value="6317728">48:205:32</option><option style="" value="6317729">48:205:33</option><option style="" value="6317730">48:205:34</option><option style="" value="6317731">48:205:35</option><option style="" value="6317732">48:205:36</option><option style="" value="6317733">48:205:37</option><option style="" value="6317734">48:205:38</option><option style="" value="6317735">48:205:39</option><option style="" value="6317736">48:205:40</option><option style="background:#00a000;" value="6317825">48:206:1</option><option style="" value="6317826">48:206:2</option><option style="" value="6317827">48:206:3</option><option style="" value="6317828">48:206:4</option><option style="" value="6317829">48:206:5</option><option style="" value="6317830">48:206:6</option><option style="background:#00a000;" value="6321921">48:238:1</option><option style="" value="6321922" selected="selected" >48:238:2</option><option style="" value="6321923">48:238:3</option><option style="" value="6321924">48:238:4</option><option style="" value="6321925">48:238:5</option><option style="" value="6321926">48:238:6</option><option style="" value="6321927">48:238:7</option><option style="" value="6321928">48:238:8</option><option style="" value="6321929">48:238:9</option><option style="" value="6321930">48:238:10</option><option style="" value="6321931">48:238:11</option><option style="" value="6321932">48:238:12</option><option style="" value="6321933">48:238:13</option><option style="" value="6321934">48:238:14</option> </select>

    </form>
    <a href="#;)"
    style="color:#559955;" onclick="document.pl.p2.value='6321921';PLSelectGlobal('construction.php');return false;">&lt;- </a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="#;)" style="color:#559955;" onclick="document.pl.p2.value='6321923';PLSelectGlobal('construction.php');return false;"> -> </a>
    </td></tr>
    <tr><td class="X1"></td></tr>
    <tr><td class="mt2">
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/warsim.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="WarSim" /> WarSim</a><br />

    &nbsp;<a href="http://www8.ec.justgamers.de/b2/messages.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Nachrichten" /> Nachrichten</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/top100.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Highscore" /> Highscore</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/statistic.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Statistik" /> Statistik</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/tech.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Technik" /> Technik</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/galaxy.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Galaxie" /> Galaxie</a><br />

    &nbsp;<a href="http://www8.ec.justgamers.de/b2/alliance.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Allianzen" /> Allianzen</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/diplo.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Diplomatie" /> Diplomatie</a><br />
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/options.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Einstellungen" /> Einstellungen</a><br />
    &nbsp;<a href="ec_logout.php" class="LR"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Logout" /> Logout </a>
    </td></tr>

    <tr><td class="X1"></td></tr> <tr><td align="center" width="100%">
    <form name="sea" method="post" action="">
    <input type="hidden" id="sear1"/>
    <input type="hidden" id="sear2"/>

    <table align="center" cellspacing="0" cellpadding="0" border="0" width="100%">
    <tr><td class="mt2" colspan="2" align="center" width="100%">SUCHE</td></tr>
    <tr><td class="Z0L" colspan="2"><input onclick="this.value='';return false;" class="forms" maxlength="50" name="sn" size="19" value="Begriff eingeben..." /></td></tr>

    <tr><td class="Z0L" height="20">&nbsp;<input type="radio" value="1" name="ac" checked="checked"/></td><td class="smallFont">Spieler</td></tr>
    <tr><td class="Z0L" height="20">&nbsp;<input type="radio" value="2" name="ac"/></td><td class="smallFont">Spieler (Alt)</td></tr>
    <tr><td class="Z0L" height="20">&nbsp;<input type="radio" value="3" name="ac"/></td><td class="smallFont">Allianz Name</td></tr>
    <tr><td class="Z0L" height="20">&nbsp;<input type="radio" value="4" name="ac"/></td><td class="smallFont">Allianz Tag</td></tr>
    <tr><td class="Z0L" colspan="2"><input onclick="sear();return false;" class="forms" type="button" name="suchen" value="Suchen"/></td></tr>
    </table>
    </form>

    </td></tr>
    <tr><td class="X1"></td></tr> <tr><td class="X1"></td></tr> <tr><td class="mt2">
    &nbsp;<a href="http://www8.ec.justgamers.de/b2/support.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Support" /> Support</a><br />
    &nbsp;<a target="_blank" href="http://www8.ec.justgamers.de/b2/pjirc/jirc.php"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Support Chat" /> Support Chat</a><br />
    &nbsp;<a target="_blank" href="http://www8.ec.justgamers.de/b2/pjirc/Eternal_Chronicles.html"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="EC Chat" /> EC Chat</a><br />
    &nbsp;<a href="http://www.wiki.eternal-chronicles.net/" target="_blank"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Wiki" /> Wiki </a><br />

    &nbsp;<a href="http://www.board.eternal-chronicles.net/" target="_blank"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Forum" /> Forum</a><br />
    &nbsp;<a href="http://www.ec-boards.net/" target="_blank"><img border="0" src="http://static.justgamers.de/0/128/ic2.gif" alt="Allianz Community" /> Ally Com</a><br />
    </td></tr>
    </table>
    </td>
    <td valign="top" width="698" bgcolor="#000000" height="804">
    <table cellspacing="0" cellpadding="0" width="600" align="center" border="0">

    <tr><td><img border="0" src="http://static.justgamers.de/0/128/oben_c.jpg" alt="Header Bild" /></td></tr>
    <tr><td class="X1"></td></tr> <tr><td align="center" valign="middle">
    <!-- Mainbanner -->
    <iframe src="banner.html" width="468" height="60" style="margin:5px;padding:0px;" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"> </iframe>
    </td></tr>

    <tr><td style="background-color:transparent;" align="center" valign="middle">
    <fieldset class="mt2">
    <legend>&nbsp; Serverzeit: 19:48:12 16.04.2007 &nbsp;</legend>

    <table align="center" width="100%">
    <tr><td class="mt2" align="center">
    <span class="gwUP">Eisen</span><span class="fontSpaced"> 40.176 | </span>
    <span class="gwUP">Lutinum</span><span class="fontSpaced"> 40.963 | </span>
    <span class="gwUP">Wasser</span><span class="fontSpaced"> 8.633 | </span>

    <span class="gwUP">Wasserstoff</span><span class="fontSpaced"> 4.403</span>
    </td></tr>
    </table>
    </fieldset>
    </td></tr>
    <tr><td align="center" valign="top" bgcolor="#000000" width="600" height="100%">
    <form method="post" action="construction.php" name="aa">

    <input type="hidden" id="bb1" />
    <input type="hidden" id="bb2" />
    <input type="hidden" id="bb3" />
    <input type="hidden" id="bb4" />
    <input type="hidden" id="bb5" />
    <input type="hidden" id="bb9" />
    <input type="hidden" id="bb10" />
    <table class="mt3" cellspacing="0" cellpadding="0" width="100%" border="0">
    <tr valign="top"><td align="center" width="100%">

    <table align="center" border="0" width="680">
    <tbody onmouseover="self.focus()" onKeyDown="Cursortasten(event);"><tr><td colspan="3" class="X1"></td></tr><tr><td class="mt2" align="center" colspan="3">Hauptgebäude</td></tr><tr><td colspan="3" class="X1"></td></tr><tr><td class="A1" width="34%">
    <script type="text/javascript">
    function Cursortasten(event)
    {if(event.keyCode == 37)
    {document.pl.p2.value='6317830';PLSelect2();return false;}if(event.keyCode == 39)
    {document.pl.p2.value='6321923';PLSelect2();return false;}}
    </script>
    <a href="#;)" style="color:#559955;" onclick="document.pl.p2.value='6317830';PLSelect2();return false;"><- </a></td><td class="A1" width="33%"><a target="_blank" href="http://www8.ec.justgamers.de/b2/ovc.php">Gebäudeübersicht</a></td><td class="A1" width="33%"><a href="#;)" style="color:#559955;" onclick="document.pl.p2.value='6321923';PLSelect2();return false;"> -> </a></td></tr><tr><td colspan="3" class="X1"></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Kommandozentrale" target="_blank">Kommandozentrale</a>(<span class=Z8C>Stufe 45</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 12 Tage 22:56:04" style="color:#a00000;cursor:help" class=Z8C>2.433.750</span>/<span title="Ausreichende Ressourcenmenge erreicht in 4 Tage 23:15:00" style="color:#a00000;cursor:help" class=Z8C>973.500</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b1a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Koordiniert den Bau von Gebäuden. Ein Ausbau erhöht die Baugeschwindigkeit.<br />
    <br> Dauer: <span class=Z8C ><b>1 Tag 20:28:35</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 12 Tage 22:56:04" style="color:#a00000" >AUSBAU AUF STUFE 46</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Forschungszentrum" target="_blank">Forschungszentrum</a>(<span class=Z8C>Stufe 35</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 3 Tage 13:43:12" style="color:#a00000;cursor:help" class=Z8C>700.050</span>/<span title="Ausreichende Ressourcenmenge erreicht in 1 Tag 00:36:06" style="color:#a00000;cursor:help" class=Z8C>233.350</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b2a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Ermöglicht das Erforschen neuer Technologien.<br />
    <br> Dauer: <span class=Z8C ><b>23:27:15</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 3 Tage 13:43:12" style="color:#a00000" >AUSBAU AUF STUFE 36</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td class=mt2 align="center" colspan="3">Rohstoffgebäude</td></tr><tr><td colspan="3" class="X1"></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Eisenmine" target="_blank">Eisenmine</a>(<span class=Z8C>Stufe 40</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 4 Tage 10:43:32" style="color:#a00000;cursor:help" class=Z8C>861.750</span>/<span title="Ausreichende Ressourcenmenge erreicht in 03:34:39" style="color:#a00000;cursor:help" class=Z8C>68.940</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b5a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Abbau von Eisen.<br />
    <br> Dauer: <span class=Z8C ><b>07:14:39</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 4 Tage 10:43:32" style="color:#a00000" >AUSBAU AUF STUFE 41</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Lutinumraffinerie" target="_blank">Lutinumraffinerie</a>(<span class=Z8C>Stufe 51</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 4 Tage 17:31:01" style="color:#a00000;cursor:help" class=Z8C>914.030</span>/<span title="Ausreichende Ressourcenmenge erreicht in 12:44:37" style="color:#a00000;cursor:help" class=Z8C>140.620</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b6a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Fördert Lutinum.<br />
    <br> Dauer: <span class=Z8C ><b>14:46:35</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 4 Tage 17:31:01" style="color:#a00000" >AUSBAU AUF STUFE 52</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Bohrturm" target="_blank">Bohrturm</a>(<span class=Z8C>Stufe 35</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 1 Tag 01:05:38" style="color:#a00000;cursor:help" class=Z8C>233.350</span>/<span title="Ausreichende Ressourcenmenge erreicht in 00:43:47" style="color:#a00000;cursor:help" class=Z8C>46.670</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b7a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Fördert Wasser.<br />
    <br> Dauer: <span class=Z8C ><b>04:54:14</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 1 Tag 01:05:38" style="color:#a00000" >AUSBAU AUF STUFE 36</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Chemiefabrik" target="_blank">Chemiefabrik</a>(<span class=Z8C>Stufe 5</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>4.025</span>/<span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>230</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b8a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Wandelt Wasser in Wasserstoff um (Verhältnis 5:1).<br />
    <br> Dauer: <span class=Z8C ><b>00:01:27</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="SetBB(8);fadeIn(this);return false;" onmouseout="SetBB(0);fadeOut(this);return false;">[ <span title="" style="color:#448044" >AUSBAU AUF STUFE 6</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Erweiterte Chemiefabrik" target="_blank">Erweiterte Chemiefabrik</a>(<span class=Z8C>Stufe 12</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 11 Tage 17:52:06" style="color:#a00000;cursor:help" class=Z8C>2.210.000</span>/<span title="Ausreichende Ressourcenmenge erreicht in 8 Tage 14:43:05" style="color:#a00000;cursor:help" class=Z8C>1.657.500</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span title="Ausreichende Ressourcen erreicht in 1 Tag 23:32:03" style="color:#a00000;cursor:help" class=Z8C>110.500</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b9a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Wandelt Wasser in Wasserstoff um (Verhältnis 2:1).<br />
    <br> Dauer: <span class=Z8C ><b>03:32:02</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 11 Tage 17:52:06" style="color:#a00000" >AUSBAU AUF STUFE 13</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Eisenspeicher" target="_blank">Eisenspeicher</a>(<span class=Z8C>Stufe 5</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b10a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Zum Lagern von Eisen.<br />
    <br> Dauer: <span class=Z8C ><b>00:45:23</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="SetBB(10);fadeIn(this);return false;" onmouseout="SetBB(0);fadeOut(this);return false;">[ <span title="" style="color:#448044" >AUSBAU AUF STUFE 6</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Lutinumspeicher" target="_blank">Lutinumspeicher</a>(<span class=Z8C>Stufe 5</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b11a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Zum Lagern von Lutinum.<br />
    <br> Dauer: <span class=Z8C ><b>00:45:23</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="SetBB(11);fadeIn(this);return false;" onmouseout="SetBB(0);fadeOut(this);return false;">[ <span title="" style="color:#448044" >AUSBAU AUF STUFE 6</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Wasserspeicher" target="_blank">Wasserspeicher</a>(<span class=Z8C>Stufe 5</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b12a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Zum Lagern von Wasser.<br />
    <br> Dauer: <span class=Z8C ><b>00:45:23</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="SetBB(12);fadeIn(this);return false;" onmouseout="SetBB(0);fadeOut(this);return false;">[ <span title="" style="color:#448044" >AUSBAU AUF STUFE 6</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Wasserstoffspeicher" target="_blank">Wasserstoffspeicher</a>(<span class=Z8C>Stufe 5</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>23.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b13a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Zum Lagern von Wasserstoff.<br />
    <br> Dauer: <span class=Z8C ><b>00:45:23</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="SetBB(13);fadeIn(this);return false;" onmouseout="SetBB(0);fadeOut(this);return false;">[ <span title="" style="color:#448044" >AUSBAU AUF STUFE 6</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td class=mt2 align="center" colspan="3">Angriff / Verteidigung</td></tr><tr><td colspan="3" class="X1"></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Schiffsfabrik" target="_blank">Schiffsfabrik</a>(<span class=Z8C>Stufe 25</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 9 Tage 07:16:54" style="color:#a00000;cursor:help" class=Z8C>1.759.000</span>/<span title="Ausreichende Ressourcenmenge erreicht in 18 Tage 12:38:02" style="color:#a00000;cursor:help" class=Z8C>3.518.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b17a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Für die Schiffsproduktion.<br />
    <br> Dauer: <span class=Z8C ><b>1 Tag 05:44:04</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 18 Tage 12:38:02" style="color:#a00000" >AUSBAU AUF STUFE 26</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Orbitale Verteidigungsstation" target="_blank">Orbitale Verteidigungsstation</a>(<span class=Z8C>Stufe 25</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 1 Tag 16:28:52" style="color:#a00000;cursor:help" class=Z8C>351.800</span>/<span title="Ausreichende Ressourcenmenge erreicht in 1 Tag 15:44:56" style="color:#a00000;cursor:help" class=Z8C>351.800</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b22a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Die Verteidigungsanlage ihres Planeten. Kann mit Verteidigungstürmen bestückt werden.<br />
    <br> Dauer: <span class=Z8C ><b>03:36:58</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 1 Tag 16:28:52" style="color:#a00000" >AUSBAU AUF STUFE 26</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Recyclingzentrum" target="_blank">Recyclingzentrum</a>(<span class=Z8C>Stufe 14</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 16:47:59" style="color:#a00000;cursor:help" class=Z8C>169.500</span>/<span title="Ausreichende Ressourcenmenge erreicht in 16:26:13" style="color:#a00000;cursor:help" class=Z8C>169.500</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b25a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Recycelt orbitalen Schrott nach Angriffen.<br />
    <br> Dauer: <span class=Z8C ><b>00:22:18</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 16:47:59" style="color:#a00000" >AUSBAU AUF STUFE 15</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Planetarer Schild" target="_blank">Planetarer Schild</a>(<span class=Z8C>Stufe 20</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 24 Tage 21:32:05" style="color:#a00000;cursor:help" class=Z8C>4.640.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span title="Ausreichende Ressourcen erreicht in 13 Tage 15:10:36" style="color:#a00000;cursor:help" class=Z8C>928.000</span>/<span title="Ausreichende Ressourcen erreicht in 86 Tage 12:52:49" style="color:#a00000;cursor:help" class=Z8C>4.640.000</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b23a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Schützt den Planeten vor Invasionen.<br />
    <br> Dauer: <span class=Z8C ><b>04:39:49</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 86 Tage 12:52:49" style="color:#a00000" >AUSBAU AUF STUFE 21</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Fusionsreaktor" target="_blank">Fusionsreaktor</a>(<span class=Z8C>Stufe 20</span>)</td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ausreichende Ressourcenmenge erreicht in 24 Tage 21:32:05" style="color:#a00000;cursor:help" class=Z8C>4.640.000</span>/<span style="color:#448044;cursor:help" class=Z8C>0</span>/<span title="Ausreichende Ressourcen erreicht in 13 Tage 15:10:36" style="color:#a00000;cursor:help" class=Z8C>928.000</span>/<span title="Ausreichende Ressourcen erreicht in 86 Tage 12:52:49" style="color:#a00000;cursor:help" class=Z8C>4.640.000</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b24a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" > Energieversorgung für den Planetaren Schild.<br />
    <br> Dauer: <span class=Z8C ><b>04:39:49</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 86 Tage 12:52:49" style="color:#a00000" >AUSBAU AUF STUFE 21</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr><tr><td class=mt2 align="center" colspan="3">Upgrades</td></tr><tr><td colspan="3" class="X1"></td></tr><tr><td colspan="3"><table border="0" width="100%" ><tr><td colspan="3" class="X1"></td></tr><tr><td class="Z8L" width="50%"><a href="http://www.wiki.eternal-chronicles.net/index.php/Ringweltgenerator" target="_blank">Ringweltgenerator</a></td><td class="Z8L" width="15%" > Fe/Lut/H2o/H2 </td><TD class="Z8C"><span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>25.000</span>/<span title="Ressourcen ausreichend!" style="color:#448044;cursor:help" class=Z8C>25.000</span>/<span title="Ausreichende Ressourcen erreicht in 04:02:42" style="color:#a00000;cursor:help" class=Z8C>20.000</span>/<span title="Ausreichende Ressourcen erreicht in 02:30:27" style="color:#a00000;cursor:help" class=Z8C>10.000</span><tr><td colspan="3" class="X1"></td></tr>

    </table>
    <table border="0" width="100%">
    <tr><td class="Z8C" width="64"><img src="http://static.justgamers.de/0/128/bb/b200a.jpg" width="64" height="64" ></td>
    <td class="Z8L" valign="bottom" >
    <br> Dauer: <span class=Z8C ><b>00:01:51</b></span></td><td onclick="Build();return false;" class=Z8C3 height="35" width="30%" onmouseover="fadeIn(this);return false;" onmouseout="fadeOut(this);return false;">[ <SPAN title="Dauer bis gebaut werden kann : 04:02:42" style="color:#a00000" >BAUEN</span> ]</td></tr><tr><td colspan="3" class="X1"></td></tr></table></td></tr></tbody> </table>

    </td>
    </tr>
    </table>
    </form>
    <script type="text/javascript" src="./_classes/gw2.js.class.php?a=1&amp;z=412160851" ></script></td></tr>
    </table>
    </td>
    <td class="gradr" width="56" height="100%"></td></tr>
    <tr><td valign="top" width="50" class="gradl">&nbsp;</td>

    <td bgcolor="#000000" align="center" colspan="2">
    <br /><font size="1">&copy;2002-2004 by Galaxywars : The second chance | &copy;2004-2007 by Eternal Chronicles<br />
    All rights reserved | Please check the <a href="#" onclick="JavaScript:window.open('http://www.eternal-chronicles.de/index.php?seite=impressum','Impressum','width=1024,height=768,scrollbars=yes,resizable=yes');return false;">Impressum</a><br />
    Version : 1.900.047<br /><br />
    ( Memory : 1170 ) ( Komplett (0.099 sek) ) [ mADB : 53 ]
    </font>
    </td>

    <td class="gradr" width="56"></td></tr>
    <tr><td valign="top" width="50" class="gradl">&nbsp;</td>
    <td bgcolor="#000000" align="center" colspan="2">
    </td>
    <td class="gradr" width="56"></td></tr>
    </table>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-143375-9";
    _udn="ec.looki.de";
    urchinTracker();
    </script>

    </body>
    </html>
    <!-- Use compress gzip (Eternal-Chronicles) -->


    ich will jetzt genau diesen teil:

    Spoiler anzeigen


    573984|4:388:32|573985|4:388:33|2773761|21:166:1|2773762|21:166:2|2773763|21:166:3|2773764|21:166:4|6312321|48:163:1|6312449|48:164:1|6312450|48:164:2|6312451|48:164:3|6312452|48:164:4|6312453|48:164:5|6312454|48:164:6|6312455|48:164:7|6312456|48:164:8|6312457|48:164:9|6312458|48:164:10|6312459|48:164:11|6312460|48:164:12|6312461|48:164:13|6312462|48:164:14|6312463|48:164:15|6312833|48:167:1|6317441|48:203:1|6317442|48:203:2|6317443|48:203:3|6317444|48:203:4|6317445|48:203:5|6317446|48:203:6|6317697|48:205:1|6317698|48:205:2|6317699|48:205:3|6317700|48:205:4|6317701|48:205:5|6317702|48:205:6|6317703|48:205:7|6317704|48:205:8|6317705|48:205:9|6317706|48:205:10|6317707|48:205:11|6317708|48:205:12|6317709|48:205:13|6317710|48:205:14|6317711|48:205:15|6317712|48:205:16|6317713|48:205:17|6317714|48:205:18|6317715|48:205:19|6317716|48:205:20|6317717|48:205:21|6317718|48:205:22|6317719|48:205:23|6317720|48:205:24|6317721|48:205:25|6317722|48:205:26|6317723|48:205:27|6317724|48:205:28|6317725|48:205:29|6317726|48:205:30|6317727|48:205:31|6317728|48:205:32|6317729|48:205:33|6317730|48:205:34|6317731|48:205:35|6317732|48:205:36|6317733|48:205:37|6317734|48:205:38|6317735|48:205:39|6317736|48:205:40|6317825|48:206:1|6317826|48:206:2|6317827|48:206:3|6317828|48:206:4|6317829|48:206:5|6317830|48:206:6|6321921|48:238:1|6321922|48:238:2|6321923|48:238:3|6321924|48:238:4|6321925|48:238:5|6321926|48:238:6|6321927|48:238:7|6321928|48:238:8|6321929|48:238:9|6321930|48:238:10|6321931|48:238:11|6321932|48:238:12|6321933|48:238:13|6321934|48:238:14

    mit den strichen dazwischen. mein bisheriges script für diesen teil:


    Spoiler anzeigen

    #include <GUIConstants.au3>
    Global $quelltext, $ok, $planieingebwindow, $msg, $queltexttext

    $planieingebwindow = GUICreate("Planeten eingeben",300,200)
    GUICtrlCreateLabel("Kopieren sie den html Quelltext von der EC Konstruktionsseite in das Feld.",20,10,174,44,-1,-1)
    $quelltext=GUICtrlCreateEdit("hier hinein",25,71,110,50,-1,-1)
    $ok=GUICtrlCreateButton("Wenn fertig hier draufdrücken",42,129,162,31,-1,-1)
    GUISetState(@sw_show)

    While 1
    $msg = GUIGetMsg(1)
    If $msg[0] = $ok AND $msg[1] = $planieingebwindow Then quelbearbeit()
    If $msg[0] = $GUI_EVENT_CLOSE AND $msg[1] = $planieingebwindow Then Exit
    WEnd


    Func quelbearbeit()
    $queltexttext = GUICtrlRead ( $quelltext )


    $queltexttext = StringReplace ( "" & $queltexttext, '*<!DOCTYPE html PUBLIC*<option style="" value="', "" )
    $queltexttext = StringReplace ( "" & $queltexttext, '</option> </select>*', "" )




    MsgBox ( 0, "quell", "" & $queltexttext, )
    EndFunc


    funzt aber nicht. warum? ist klar das macht nicht die striche, aber warum schneidet es nicht den anfang und das ende ab?


    mfg bjoerni

  • so wenn ich das richtig erkannt hab willst du z.b. aus diesem string

    Code
    <option style="" value="573984">4:388:32</option>


    die zahlenkette "4:388:32" extrahieren.....
    es gibt eigentlich nur eine logische möglichkeit warum er option nicht mit irgendwas anderes ersetzt: er findet den string einfach nicht.
    so nun jetzt aber problembehebung:
    1. ich würde mit StringSplit arbeiten und nicht replace aber egal....
    2. es könnte daran liegen dass so schicke wörter wie "option" beim auslesen des quelltextets sowas wie "OPTION"(man bemerke die groß und klein schreibung) ergeben...warum? windows+internet explorer
    2a. probier mal StringSplit oder wie acuh immer mit OPTION groß geschrieben....
    3. sollte 2a nicht zum erfolg führen, lies den quellcode mal mit autoit direkt aus..._IEDocReadHTML($oIE) und dann direkt in ner datei speichern....
    FileWrite(FileOpen(@ScriptDir&"\file.txt",2),_IEDocReadHTML($oIE))
    4. sollte drittens erfolgreich durchgefürht sein lies dir den quelltext ganz genau durch...besonders auf Groß+Kleichschreibung achten....
    5.ansonsten kann ich dir net helfen ;)

    der snoozer

    • Offizieller Beitrag

    Ich hab dir mal ne RegExp-Lösung erstellt.
    Musst nur die Website in einen String bringen. Hab hier zur Demo nur nen Teil genommen.

    Spoiler anzeigen
    [autoit]

    #include <array.au3>
    Dim $arOut[1]
    $pattern = '((\d{6,7}">\d{1,2}\:\d{3}\:\d{1,2})|(\d{6,7}"\sselected="selected"\s>\d{1,2}\:\d{3}\:\d{1,2}))'
    $str = '<option style="" value="573984">4:388:32</option><option style="" value="573985">4:388:33</option><option style="" value="2773761">21:166:1</option><option style="" value="2773762">21:166:2</option><option style="" value="2773763">21:166:3</option><option style="" value="2773764">21:166:4</option><option style="" value="6312321">48:163:1</option><option style="background:#00a000;" value="6312449">48:164:1</option><option style="background:#00a000;" value="6312450">48:164:2</option><option style="background:#00a000;" value="6312451">48:164:3</option><option style="background:#00a000;" value="6312452">48:164:4</option><option style="background:#00a000;" value="6312453">48:164:5</option><option style="background:#00a000;" value="6312454">48:164:6</option><option style="background:#00a000;" value="6312455">48:164:7</option><option style="background:#00a000;" value="6312456">48:164:8</option><option style="background:#00a000;" value="6312457">48:164:9</option><option style="background:#00a000;" value="6312458">48:164:10</option><option style="background:#00a000;" value="6312459">48:164:11</option><option style="background:#00a000;" value="6312460">48:164:12</option><option style="background:#00a000;" value="6312461">48:164:13</option><option style="background:#00a000;" value="6312462">48:164:14</option><option style="background:#00a000;" value="6312463">48:164:15</option><option style="" value="6312833">48:167:1</option><option style="background:#00a000;" value="6317441">48:203:1</option><option style="" value="6317442">48:203:2</option><option style="" value="6317443">48:203:3</option><option style=""'
    $arSelect = StringRegExp($str, $pattern, 3)

    [/autoit] [autoit][/autoit] [autoit]

    ReDim $arOut[UBound($arSelect)]
    For $i = 0 To UBound($arSelect)-1
    If StringInStr($arSelect[$i], '" selected="selected" >') Then
    $arOut[$i] = StringReplace($arSelect[$i], '" selected="selected" >', "|")
    Else
    $arOut[$i] = StringReplace($arSelect[$i], '">', "|")
    EndIf
    Next

    [/autoit] [autoit][/autoit] [autoit]

    _ArrayDisplay($arOut, "OUT")

    [/autoit]
  • snoozer ich lese den quelltext nicht aus. er wird vom benutzer reinkopiert. aber ich probiere es mal aus.

    aber ich will das ja eigentlich so machen:


    Spoiler anzeigen

    $queltexttext = 'halihalo'

    $queltexttext = StringReplace ( "" & $queltexttext, 'hali', "" )


    MsgBox ( 0, "quell", "" & $queltexttext, )

    jetzt wird das hali wegeschnitten. aber wenn ich jetzt anstatt hali h*li angeb krieg ich wieder das ganze halihalo, warum? oder muss man irgentetwas machen damit String Replace einen Stern als Platzhalter nimmmt?


    mfg bjoerni

    Einmal editiert, zuletzt von bjoerni (17. April 2007 um 13:03)

  • ja, hat bugfix schon, nur das ich das irgendwie nicht verstehe mit dem such pattern.
    in der deutschen hilfe steht aber nichts über stringregexp, oder gibts ne neue deutsch hilfe. link?

    Einmal editiert, zuletzt von bjoerni (17. April 2007 um 13:43)

  • hi

    mal wieder eine frage, mein script sieht bis jetzt so aus:


    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>
    #include <array.au3>
    Opt("GUIEventOptions", 1)
    Global $mainwindow, $eingeben, $anzeigen, $bearbeiten, $starten, $planieingebwindow, $quelltext, $ok, $queltexttext, $msg

    $mainwindow = GUICreate("Bauen in EC",300,200)
    $eingeben=GUICtrlCreateButton("Planeten eingeben",9,10,115,29,-1,-1)
    $anzeigen=GUICtrlCreateButton("Planeten anzeigen",9,40,115,29,-1,-1)
    $bearbeiten=GUICtrlCreateButton("Schleife bearbeiten",9,70,115,29,-1,-1)
    $starten=GUICtrlCreateButton("Schleife starten",9,100,115,29,-1,-1)
    GUISetState(@sw_show)

    $planieingebwindow = GUICreate("Planeten eingeben",300,200)
    GUICtrlCreateLabel("Kopieren sie den html Quelltext von der EC Konstruktionsseite in das Feld.",20,10,174,44,-1,-1)
    $quelltext=GUICtrlCreateEdit("hier hinein",25,71,110,50,-1,-1)
    $ok=GUICtrlCreateButton("Wenn fertig hier draufdrücken",42,129,162,31,-1,-1)
    GUISetState(@SW_hide, $planieingebwindow)

    While 1
    $msg = GUIGetMsg(1)
    If $msg[0] = $eingeben AND $msg[1] = $mainwindow Then GUISetState(@SW_SHOW, $planieingebwindow) ;zeigt das Fenter an
    If $msg[0] = $GUI_EVENT_CLOSE AND $msg[1] = $mainwindow Then Exitloop ;schließt alles
    If $msg[0] = $anzeigen AND $msg[1] = $mainwindow Then Planianzeigen()
    If $msg[0] = $bearbeiten AND $msg[1] = $mainwindow Then Schleifebearbeiten()
    If $msg[0] = $starten AND $msg[1] = $mainwindow Then starten()

    If $msg[0] = $ok AND $msg[1] = $planieingebwindow Then quelbearbeit()
    If $msg[0] = $GUI_EVENT_CLOSE AND $msg[1] = $planieingebwindow Then GUISetState(@SW_HIDE, $planieingebwindow)
    WEnd




    Func quelbearbeit()
    $queltexttext = GUICtrlRead ( $quelltext )

    [/autoit] [autoit][/autoit] [autoit]

    Dim $arOut[1]
    $pattern = '((\d{6,7}">\d{1,2}\:\d{3}\:\d{1,2})|(\d{6,7}"\sselected="selected"\s>\d{1,2}\:\d{3}\:\d{1,2}))'
    $str = $queltexttext
    $arSelect = StringRegExp($str, $pattern, 3)

    ReDim $arOut[UBound($arSelect)]
    For $i = 0 To UBound($arSelect)-1
    If StringInStr($arSelect[$i], '" selected="selected" >') Then
    $arOut[$i] = StringReplace($arSelect[$i], '" selected="selected" >', "|")
    Else
    $arOut[$i] = StringReplace($arSelect[$i], '">', "|")
    EndIf
    Next

    _ArrayDisplay($arOut, "OUT")


    EndFunc()
    Func Planianzeigen()

    EndFunc
    Func Schleifebearbeiten()

    EndFunc
    Func starten()

    EndFunc
    Func Beenden()
    Exit
    EndFunc

    [/autoit]


    jetzt will ich stat dem: _ArrayDisplay($arOut, "OUT") das es den array in eine datei schreibt, wie mact man das?

  • ganz einfach.....

    [autoit]

    Global $file,$array[5]
    $file = FileOpen (@ScriptDir&"\array.txt", 2);schreibmodus wenn nicht vorhanden erstellen.
    $array[0] = "zeile 1"
    $array[1] = "zeile 2"
    $array[2] = "zeile 3"
    $array[3] = "zeile 4"
    $array[4] = "zeile 5"
    For $i = 0 To UBound($array)-1
    FileWriteLine($file,$array[$i])
    Next

    [/autoit]


    falls was nicht klar sein sollte einfach fragen ;)
    kannst natürlich auch alles in eine zeile schreiben das geht dann in etwa so...

    [autoit]

    Global $file,$array[5],$msg
    $file = FileOpen (@ScriptDir&"\array.txt", 2);schreibmodus wenn nicht vorhanden erstellen.
    $array[0] = "zeile 1"
    $array[1] = "zeile 2"
    $array[2] = "zeile 3"
    $array[3] = "zeile 4"
    $array[4] = "zeile 5"
    For $i = 0 To UBound($array)-1
    $msg = $msg&";"&$array[$i]
    Next
    FileWriteLine($file,$msg)

    [/autoit]

    der snooozer

  • bei mir steht funktion unknow oder so, scite kennt die funktion. ich habs mit der aktuellen beta versucht funzt nicht. woran liegt das.


    Spoiler anzeigen

    Func quelbearbeit()
    $queltexttext = GUICtrlRead ( $quelltext )

    Dim $arOut[1]
    $pattern = '((\d{6,7}">\d{1,2}\:\d{3}\:\d{1,2})|(\d{6,7}"\sselected="selected"\s>\d{1,2}\:\d{3}\:\d{1,2}))'
    $str = $queltexttext
    $arSelect = StringRegExp($str, $pattern, 3)

    ReDim $arOut[UBound($arSelect)]
    For $i = 0 To UBound($arSelect)-1
    If StringInStr($arSelect[$i], '" selected="selected" >') Then
    $arOut[$i] = StringReplace($arSelect[$i], '" selected="selected" >', "|")
    Else
    $arOut[$i] = StringReplace($arSelect[$i], '">', "|")
    EndIf
    Next
    $datei = 'planis.txt'
    _FileWriteFromArray( $datei, $arOut)


    EndFunc()

    • Offizieller Beitrag

    Hi!

    Lies mal die Hilfe dazu und schau dir das Beispiel an. Du brauchst die Array.au3.

    Spoiler anzeigen
    [autoit]


    #Include <Array.au3>
    Func quelbearbeit()
    $queltexttext = GUICtrlRead ( $quelltext )

    [/autoit] [autoit][/autoit] [autoit]

    Dim $arOut[1]
    $pattern = '((\d{6,7}">\d{1,2}\:\d{3}\:\d{1,2})|(\d{6,7}"\sselected="selected"\s>\d{1,
    2}\:\d{3}\:\d{1,2}))'
    $str = $queltexttext
    $arSelect = StringRegExp($str, $pattern, 3)

    [/autoit] [autoit][/autoit] [autoit]

    ReDim $arOut[UBound($arSelect)]
    For $i = 0 To UBound($arSelect)-1
    If StringInStr($arSelect[$i], '" selected="selected" >') Then
    $arOut[$i] = StringReplace($arSelect[$i], '" selected="selected" >', "|")
    Else
    $arOut[$i] = StringReplace($arSelect[$i], '">', "|")
    EndIf
    Next
    $datei = 'planis.txt'
    _FileWriteFromArray( $datei, $arOut)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    EndFunc

    [/autoit]

    peethebee

  • hi


    array.au3 hab ich ja schon ganz oben im script drinne, und in der hilfe von autoit steht´s nicht drin. hab sie mir grad eben erst geholt! von der autoit seite da gibts nur file read to array. und noch ne frage muss man autoit beta in genau das gleiche verzeichnis oder in vorgeschlagene /beta/ instalieren?


    mfg bjoerni