|
You last visited: Today at 22:43
Advertisement
StringBetween --- Problem-Need Help ^^
Discussion on StringBetween --- Problem-Need Help ^^ within the AutoIt forum part of the Coders Den category.
11/05/2010, 23:30
|
#1
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
StringBetween --- Problem-Need Help ^^
Wie der Titel schon sagt geht es um _StringBetween(denke ich)
Hier der Code:
PHP Code:
Func _firefoxrid()
_FFStart(GUICtrlRead($input3))
WinSetState ( "MozillaFirefox", "", @SW_MINIMIZE )
$sHTML = _FFReadHTML("html",16)
$rid = _StringBetween($sHTML, "var rid = '", "';")
_FFWindowSelect( "", "label")
Local $time1= _StringBetween($sHTML, 'new product('&GUICtrlRead($Input2), 'nbsp')
;$time2= StringRight($time1[1], 8)
_ArrayDisplay($time1, 'Standardsuche')
MsgBox(0, "bla", $time1[0])
WinActivate($Fenstername)
EndFunc
Um genauer zu sein um diesen Part:
PHP Code:
$time1= _StringBetween($sHTML, 'new product('&GUICtrlRead($Input2), 'nbsp')
MsgBox(0, "bla", $time1[0])
Hab es schon mit aaalem Möglichen versucht, es kommt immer NIX raus!
(Fehl-)Versuche:
StringBetween($sHTML, 'new product(1', 'nbsp') ; ändert nix am Ergebnis
MsgBox(0, "bla", $time1) ; Zeigt 0 an
MsgBox(0, "bla", $time[x]) ; Sagt es sei keine Variable, deklarieren bringt nix oder vlt. mache ich es falsch
Das Abnormale daran: Gaaanz genau nach dem selben Verfahren habe ich es genau darüber gemacht, und zwar mit $rid, da klappte es perfekt
Also:
Wieso wird es nicht als Variable anerkannt, bzw. überhaupt nicht gefunden?
Quellcode ist vollständig und die Suchkriterien sind auch richtig, da ich es nur mit diesen anstatt von $sHTML versucht habe und es klappte!
Wird $sHTML da irgendwie verändert?
Wüsst nicht wieso
Nebenbei: Wieso wird das Fenster nicht Minimiert  ? Hab ich da was falsches hingeschrieben?
Und Pls kommt mir nicht mit "Das hast du falsch gemacht",
sondern mit "Das has du falsch gemacht, versuch es so: ........ "
Dass da irgendwas falsch ist, das weiß ich auch -.-
|
|
|
11/06/2010, 20:58
|
#2
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
wenn du hilfe erwartest, solltest du schon die url posten, auf die sich das ganze beziehen soll.
dazu dann noch am besten auf einem screenshot zeigen, was genau du auslesen willst, und eventuell noch die stelle vom quellcode der seite hier posten, in der du meinst das gesuchte gefunden zu haben =)
|
|
|
11/06/2010, 21:38
|
#3
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Nich genug Infos ô.O? k...
Seite:
Hier mal der betreffende Teil des Quellcodes:
PHP Code:
<script type="text/javascript"> var rackElement = Array(); for (var i = 0; i < 100; i++) { rackElement[i] = new product(); } rackElement[1] = new product(1, "Getreide", 325,"getreide",2,1200000,"00:20:00 h",1,2,1,0,"v");rackElement[5] = new product(5, "Futterrüben", 360,"futterrueben",3,7200000,"02:00:00 h",1,2,2,0,"v");rackElement[6] = new product(6, "Kräuter", 1080,"kraeuter",4,14400000,"04:00:00 h",1,2,2,0,"v");rackElement[8] = new product(8, "Kornblumen", 160,"kornblume",5,57600000,"16:00:00 h",1,2,2,0,"v");rackElement[9] = new product(9, "Eier", 1330,"eier",1,14400000,"04:00:00 h",1,1,1,0,"e");rackElement[10] = new product(10, "Milch", 1024,"milch",4,43200000,"12:00:00 h",1,1,1,0,"e");rackElement[11] = new product(11, "Wolle", 560,"wolle",5,86400000,"24:00:00 h",1,1,1,0,"e");rackElement[12] = new product(12, "Honig", 320,"honig",10,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[18] = new product(18, "Gurken", 759,"gurke",3,5400000,"01:30:00 h",1,1,1,0,"v");rackElement[20] = new product(20, "Erdbeeren", 41115,"erdbeere",5,28800000,"08:00:00 h",1,1,1,0,"v");rackElement[21] = new product(21, "Tomaten", 80,"tomate",5,36000000,"10:00:00 h",1,1,1,0,"v");rackElement[22] = new product(22, "Zwiebeln", 1200,"zwiebel",4,30000000,"08:20:00 h",1,1,1,0,"v");rackElement[23] = new product(23, "Spinat", 1080,"spinat",4,48000000,"13:20:00 h",1,1,1,0,"v");rackElement[24] = new product(24, "Blumenkohl", 1080,"blumenkohl",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[26] = new product(26, "Kartoffeln", 1080,"kartoffel",4,46800000,"13:00:00 h",1,1,1,0,"v");rackElement[27] = new product(27, "Käse", 194,"kaese",15,120000000,"33:20:00 h",1,1,1,0,"e");rackElement[29] = new product(29, "Spargel", 540,"spargel",4,57000000,"15:50:00 h",1,2,1,0,"v");rackElement[31] = new product(31, "Zucchini", 1080,"zucchini",7,60000000,"16:40:00 h",1,1,1,0,"v");rackElement[32] = new product(32, "Heidelbeeren", 12305,"heidelbeere",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[91] = new product(91, "Zierfisch", 20,"fisch",4,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[92] = new product(92, "Fischfutter", 9,"fisch",4,10000000,"02:46:40 h",1,1,1,1,"e"); top.regal_leer = 0; g("lagerlock").style.display="none"; if( top.stadt == false ) { if( top.mode == 1 ) parent.selectMode(1, true, null); else if( top.mode == 2 ) parent.selectMode(2, true, null); else top.neues_teil('l1','<b>Getreide</b>','00:20:00 h','t1','1200000','2','2','1', 'v' ); } else { if( top.mode == 1 ) parent.selectMode(1, false, null); else if( top.mode == 2 ) parent.selectMode(2, false, null); else top.neues_teil('l1','<b>Getreide</b>','00:20:00 h','t1','1200000','2','2','1', 'v' ); }updateRack(0, true); </script>
Will da nur, dass die Zeit rausgelesen wird.
Wär auch gut zu wissen, ob es überhaupt so formal richtig ist ^^
|
|
|
11/06/2010, 22:08
|
#4
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
auch damit kann man immernoch absolut garnichts anfangen.
jetzt weis man zwar endlich um welches spiel es geht, aber immer noch nicht was du auslesen willst, oder wie du es aufrufst
|
|
|
11/06/2010, 22:13
|
#5
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Quote:
Originally Posted by lolkop
auch damit kann man immernoch absolut garnichts anfangen.
jetzt weis man zwar endlich um welches spiel es geht, aber immer noch nicht was du auslesen willst, oder wie du es aufrufst
|
Wenn du meinst, schick ich dir halt das ganze Skript per PN, die du wie die letzte vieleicht wieder ignorierst :/
€dit: Like I said -.-
|
|
|
11/07/2010, 19:34
|
#6
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Quote:
Originally Posted by ZaZiZu
Wenn du meinst, schick ich dir halt das ganze Skript per PN, die du wie die letzte vieleicht wieder ignorierst :/
€dit: Like I said -.-
|
Duude?
|
|
|
11/08/2010, 21:28
|
#7
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Ist es zu hoch für euch? Ich dachte ich wäre in der richtigen Section ô.O
Wer sich damit auskennt und dem das gegebene nicht ausreicht, dem kann ich zur Not auch das ganze Skript schicken.
|
|
|
11/08/2010, 22:00
|
#8
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
um sagen zu können was darann falsch sein sollte müsste man da angemeldet sein... und selbst dann könnte man nichts machen, weil du weder den von autoit zurück gegebenen source gepostet hast (mit eventuell markiertem teil den du suchst) noch den screen mit markiertem wert um den ich dich gebeten hatte
wir könnten natürlich wild drauf losraten, was du da machst, aber ob man da irgendwann auf eine lösung kommt, bleibt wohl fraglich
|
|
|
11/08/2010, 22:53
|
#9
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Quote:
Originally Posted by lolkop
um sagen zu können was darann falsch sein sollte müsste man da angemeldet sein... und selbst dann könnte man nichts machen, weil du weder den von autoit zurück gegebenen source gepostet hast (mit eventuell markiertem teil den du suchst) noch den screen mit markiertem wert um den ich dich gebeten hatte
wir könnten natürlich wild drauf losraten, was du da machst, aber ob man da irgendwann auf eine lösung kommt, bleibt wohl fraglich
|
dann warte nicht tagelang, sondern sag gleich, dass es fehlt -.- 2 PMs zu ignorieren find ich auch nicht gerade nett, aber ok, passiert
hier die ganze source(nicht ganz...passen nur 100.000 Zeichen rein, mecker die Mods an  )
>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Viktor\Desktop\Neuer Ordner\test.au3"
__FFStartProcess: ""C:\Program Files\Mozilla Firefox\firefox.exe" -new-window "http://s1.myfreefarm.de/logw.php?USR=vigga&pass=4e3c1f58d4ace2057d5e18f4a5 a478fb" -repl 4242
_FFConnect: OS: WIN_VISTA WIN32_NT 6000
_FFConnect: AutoIt: 3.3.6.1
_FFConnect: FF.au3: 0.6.0.1b-3
_FFConnect: IP: 127.0.0.1
_FFConnect: Port: 4242
_FFConnect: Delay: 2ms
_FFConnect: Socket: 516
_FFConnect: Browser: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
__FFSendJavaScripts: Sending functions to FireFox .
__FFWaitForRepl ==> MozRepl Exception: !!! [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"
......... done
_FFLoadWait: . loaded in 12ms
__FFSend: try{window.content.top.document.documentElement.in nerHTML;}catch(e){'_FFCmd_Err';};
__FFRecv: <head>
Der (für mich) uninteressante Part des HTML-Codes
<meta http-equiv="X-UA-Compatible" content="IE=8">
<link href="http://s1.myfreefarm.de/css.php?v=0.50" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>My Free Farm</title>
<!--[if !IE]>
<script type="text/javascript">
var oldWClearTimeout = window.clearTimeout;
var oldClearTimeout = clearTimeout;
window.clearTimeout = function (evt) {
if ("undefined" !== typeof(evt) && null != typeof(evt) && parseInt(evt, 10) == evt ) {
oldWClearTimeout(evt);
}
}
clearTimeout = function (evt) {
if ("undefined" !== typeof(evt) && null != typeof(evt) && parseInt(evt, 10) == evt ) {
oldClearTimeout(evt);
}
}
</script>
<![endif]-->
<script type="text/javascript">
var rid = '346237g75jgh4jgk4h9g328hg58ng56';
var interval = null;
var zeit = null;
var oAjax = null;
var _GFX = 'http://dqt9wzym747n.cloudfront.net/pics/';
var _REGAL = 0;
var _HTTPHOST = 'http://s1.myfreefarm.de/';
var _CURRENCY = 'kT';
var _CURRENCY_SEP = ',';
var _CURRENCY_1000 = '.';
var _TOOLBAR = 1;
var t_regal_leer = 'Dieses Regal ist leer';
var t_anpflanzen = 'anpflanzen';
var t_setzen = 'setzen';
var t_tierprodukt = 'Tierprodukt';
var t_lagervoll = 'Im Lager ist kein Platz mehr!';
var lng_t_tt_berechne = 'berechne...';
var lng_t_fertig = 'fertig';
var lng_t_tt_unkraut1 = 'Du kannst hier nicht pflanzen.';
var lng_t_tt_unkraut2 = 'Zum Entfernen anklicken';
var lng_t_tt_unkraut3 = 'Kosten:';
var lng_t_tt_ertragfertig = 'Ertrag wenn fertig:';
var lng_t_tt_ertragjetzt = 'Ertrag sofort:';
var lng_t_tt_remaining = 'Zeit:';
var lng_t_tt_zierwarnung = 'Zierprodukte bringen dir keinen Ertrag und können jederzeit mit der Sichel wieder entfernt werden.';
var lng_t_tt_zierwarten = 'Restliche Wartezeit:';
var lng_t_tt_msg = 'Willkommen bei My Free Farm!';
var lng_t_logout = 'Ausloggen';
var lng_t_coinsicon = 'Premium-Services';
var lng_t_anpflanzen = 'anpflanzen';
var lng_t_ernten = 'ernten';
var lng_t_giessen = 'gießen';
var lng_t_msg = '';
var lng_t_con = '';
var lng_t_profil = 'Profil';
var lng_t_help = 'Hilfe';
var lng_t_premium = 'Premium';
var lng_t_admin_ui = 'zum Admin-Interface';
var lng_t_notizen = 'Notizen';
var lng_t_entf_zuteuer = 'Du hast nicht genug Geld, um das zu entfernen!';
var lng_t_garten_zierernte_error = 'Zierprodukte müssen mindestens 24 Stunden stehen bleiben, bevor sie auf einen neuen Platz gesetzt werden können!';
var lng_t_allesernten_error_1 = 'Es passt nicht alles in dein Lager!';
var t_felder = 'Benötigte Felder:';
var t_produkt_leer = 'Kein Produkt ausgewählt';
var _currRack = 0;
var forschung = new Array();
forschung[0] = new Object();
forschung[0].pid = 0;
forschung[0].lvl = 0;
forschung[1] = new Object();
forschung[1].pid = 0;
forschung[1].lvl = 0;
forschung[2] = new Object();
forschung[2].pid = 0;
forschung[2].lvl = 0;
<div id="transp9"></div>
<div id="guildbanner"></div>
<div id="guildbeauties"></div>
<div class="link" id="guildstatslink" onclick="openMultiBox(2);" onmouseover="showDiv('guildstatslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/guild/1_outline.gif)';" onmouseout="hideDiv('guildstatslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/leer.gif)';"></div>
<div class="link" id="guildshoplink" onclick="initGuildShop();" onmouseover="showDiv('guildshoplink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/guild/2_outline.gif)';" onmouseout="hideDiv('guildshoplink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/leer.gif)';"></div>
<div class="link" id="guildquestslink" onclick="openMultiBox(3);" onmouseover="showDiv('guildquestslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/guild/3_outline.gif)';" onmouseout="hideDiv('guildquestslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/leer.gif)';"></div>
<div class="link" id="guildmessageslink" onclick="openNewsticker(1);" onmouseover="showDiv('guildmessageslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/guild/4_outline.gif)';" onmouseout="hideDiv('guildmessageslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/leer.gif)';"></div>
<div class="link" id="guildmemberslink" onclick="openMultiBox(1);" onmouseover="showDiv('guildmemberslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/guild/5_outline.gif)';" onmouseout="hideDiv('guildmemberslink_tt'); this.style.backgroundImage='url(http://dqt9wzym747n.cloudfront.net/pics/leer.gif)';"></div>
<div class="blackbox" id="guildstatslink_tt" onmouseover="showDiv('guildstatslink_tt'); $('guildstatslink').style.backgroundImage='url(htt p://dqt9wzym747n.cloudfront.net/pics/guild/1_outline.gif)';" onmouseout="hideDiv('guildstatslink_tt'); $('guildstatslink').style.backgroundImage='url(htt p://dqt9wzym747n.cloudfront.net/pics/leer.gif)';">Statistiken</div>
<div class="blackbox" id="guildshoplink_tt" onmouseover="showDiv('guildshoplink_tt'); $('guildshoplink').style.backgroundImage='url(http ://dqt9wzym747n.cloudfront.net/pics/guild/2_outline.gif)';" onmouseout="hideDiv('guildshoplink_tt'); $('guildshoplink').style.backgroundImage='url(http ://dqt9wzym747n.cloudfront.net/pics/leer.gif)';"><div><b>Clubladen</b><br><br></div><div>Hier kannst du alle vom Club freigespielten Gegenstände kaufen.</div></div>
<div class="blackbox" id="guildquestslink_tt" onmouseover="showDiv('guildquestslink_tt'); $('guildquestslink').style.backgroundImage='url(ht tp://dqt9wzym747n.cloudfront.net/pics/guild/3_outline.gif)';" onmouseout="hideDiv('guildquestslink_tt'); $('guildquestslink').style.backgroundImage='url(ht tp://dqt9wzym747n.cloudfront.net/pics/leer.gif)';">Clubquests</div>
<div class="blackbox" id="guildmessageslink_tt" onmouseover="showDiv('guildmessageslink_tt'); $('guildmessageslink').style.backgroundImage='url( http://dqt9wzym747n.cloudfront.net/pics/guild/4_outline.gif)';" onmouseout="hideDiv('guildmessageslink_tt'); $('guildmessageslink').style.backgroundImage='url( http://dqt9wzym747n.cloudfront.net/pics/leer.gif)';">Newsticker</div>
<div class="blackbox" id="guildmemberslink_tt" onmouseover="showDiv('guildmemberslink_tt'); $('guildmemberslink').style.backgroundImage='url(h ttp://dqt9wzym747n.cloudfront.net/pics/guild/5_outline.gif)';" onmouseout="hideDiv('guildmemberslink_tt'); $('guildmemberslink').style.backgroundImage='url(h ttp://dqt9wzym747n.cloudfront.net/pics/leer.gif)';">Clubmitglieder</div>
<div id="guildinfoblock">
<div id="guildinfoheadback" style=""></div>
<div id="guildinfocontentback" style=""></div>
<div id="guildinfohead" class="link" onmouseover="showDiv('guildinfocontentback'); showDiv('guildinfocontent')" onmouseout="hideDiv('guildinfocontentback'); hideDiv('guildinfocontent')">
<div class="link" style="float: left;" id="guildedit" onmouseover="showDiv('guildeditinfo')" onmouseout="hideDiv('guildeditinfo')"></div>
<div style="float: left; margin-top: 1px; font-weight: bold;" id="guildname"></div>
<div style="clear: both;"></div>
</div>
<div id="guildinfocontent" onmouseover="showDiv('guildinfocontentback'); showDiv('guildinfocontent')" onmouseout="hideDiv('guildinfocontentback'); hideDiv('guildinfocontent')">
<div style="float: left; width: 150px;">Gründungsdatum: </div>
<div style="float: left; text-align: right; width: 110px;" id="guildinfobirthday"></div>
<div style="clear: both;"></div>
<div style="float: left; width: 150px;">Punkte: </div>
<div style="float: left; text-align: right; width: 110px;" id="guildinfopoints"></div>
<div style="clear: both;"></div>
<div class="link" onclick="openMultiBox(1);" onmouseover="showDiv('guildshowmembers')" onmouseout="hideDiv('guildshowmembers')">
<div style="float: left; width: 150px;">Mitglieder: </div>
<div style="float: left; text-align: right; width: 110px;" id="guildinfomembers"></div>
<div style="clear: both;"></div>
</div>
<div style="float: left; width: 150px;">Eintrittsgebühr: </div>
<div style="float: left; text-align: right; width: 110px;" id="guildinfojointax"></div>
<div style="clear: both;"></div>
<div>Beschreibung: </div>
<div style="width: 255px; height: 50px; padding: 2px; background: none repeat scroll 0% 0% rgb(0, 0, 0); overflow: auto;" id="guildinfodesc"></div>
</div>
<div class="blackbox" style="z-index: 100; display: none; position: absolute; top: 5px; left: 40px;" id="guildeditinfo" onmouseover="showDiv('guildeditinfo'); showDiv('guildinfocontentback'); showDiv('guildinfocontent')" onmouseout="hideDiv('guildeditinfo'); hideDiv('guildinfocontentback'); hideDiv('guildinfocontent')">Bauernclubdaten ändern</div>
<div class="blackbox" style="z-index: 100; display: none; position: absolute; top: 90px; left: 25px;" id="guildshowmembers">Mitglieder anzeigen</div>
</div>
<div id="guildshop">
<div id="guildshopheader"></div>
<div id="guildshopcontent"></div>
<div id="guildshoptransp"></div>
<div id="guildshopamount"></div>
</div>
<div id="guildmultibox">
<div id="guildmultiboxheader"></div>
<div class="headline" id="guildmultiboxheadline"></div>
<div id="guildmultiboxcontent"></div>
<div id="guildmultiboxmenue">
<div id="guildmultiboxmenue1" class="link" onclick="openMultiBox(1);" onmouseover="showDiv('guildmultiboxmenue_tt_1');" onmouseout="hideDiv('guildmultiboxmenue_tt_1');"></div>
<div id="guildmultiboxmenue2" class="link" onclick="openMultiBox(2);" onmouseover="showDiv('guildmultiboxmenue_tt_2');" onmouseout="hideDiv('guildmultiboxmenue_tt_2');"></div>
<div id="guildmultiboxmenue3" class="link" onclick="openMultiBox(3);" onmouseover="showDiv('guildmultiboxmenue_tt_3');" onmouseout="hideDiv('guildmultiboxmenue_tt_3');"></div>
<div id="guildmultiboxmenue4" class="link" onclick="openMultiBox(4);" onmouseover="showDiv('guildmultiboxmenue_tt_4');" onmouseout="hideDiv('guildmultiboxmenue_tt_4');"></div>
<div class="blackbox" id="guildmultiboxmenue_tt_1">Mitgliederliste</div>
<div class="blackbox" id="guildmultiboxmenue_tt_2">Statistiken</div>
<div class="blackbox" id="guildmultiboxmenue_tt_3">Clubquests</div>
<div class="blackbox" id="guildmultiboxmenue_tt_4">Questbeteiligung</div>
</div>
<div id="guildmultiboxmedalcaseinner">
<div id="guildmultiboxmedalcaseinnerheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('guildmultiboxmedalcaseinner');" border="0"></div>
<div id="guildmultiboxmedalcaseinnercontent"></div>
</div>
</div>
<div id="guildnewsticker">
<div id="guildnewstickerheader"></div>
<div id="guildnewstickerheadline"></div>
<div id="guildnewstickercontent"></div>
<div id="guildnewstickerinput"></div>
</div>
<div id="guildquestbox">
<div id="guildquestboxcontent"></div>
</div>
<div id="guildstatsbox">
<div id="guildstatsheader"></div>
<div id="guildstatsboxranking"></div>
</div>
<div id="guildwbw" style="display: none; z-index: 51; position: absolute; top: 0px; left: 0px; border: 2px solid rgb(0, 0, 0); background: url("  ) no-repeat scroll left top transparent; color: rgb(0, 0, 0); width: 640px; height: 540px;">
<div id="guildwbwheader"></div>
<div id="guildwbwcontent" style="position: absolute; left: 25px; top: 135px; width: 590px; overflow: auto; height: 365px;"></div>
<div id="guildwbwclose" style="position: absolute; top: 5px; right: 5px;"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('guildwbw');" border="0"></div>
</div>
<div id="guildwbwtrophies" style="display: none; z-index: 51; position: absolute; top: 150px; left: 0px; border: 2px solid rgb(0, 0, 0); background: url("  ) no-repeat scroll left top transparent; color: rgb(0, 0, 0); width: 640px; height: 260px;">
<div id="guildwbwtrophiesheader"></div>
<div id="guildwbwtrophiescontent" style="position: absolute; left: 25px; top: 25px; width: 590px; overflow: auto; height: 250px;">
<div id="guildwbwtrophy1" style="display: none; position: absolute; top: 15px; left: 10px; background: url("  ) no-repeat scroll left top transparent; width: 129px; height: 204px;" onmouseover="showDiv('guildwbwtrophy1info')" onmouseout="hideDiv('guildwbwtrophy1info')"></div> <div id="guildwbwtrophy2" style="display: none; position: absolute; top: 53px; left: 115px; background: url("  ) no-repeat scroll left top transparent; width: 120px; height: 164px;" onmouseover="showDiv('guildwbwtrophy2info')" onmouseout="hideDiv('guildwbwtrophy2info')"></div>
<div id="guildwbwtrophy3" style="display: none; position: absolute; top: 80px; left: 210px; background: url("  ) no-repeat scroll left top transparent; width: 100px; height: 138px;" onmouseover="showDiv('guildwbwtrophy3info')" onmouseout="hideDiv('guildwbwtrophy3info')"></div> <div id="guildwbwtrophy4" style="display: none; position: absolute; top: 10px; left: 285px; background: url("  ) no-repeat scroll left top transparent; width: 129px; height: 217px;" onmouseover="showDiv('guildwbwtrophy4info')" onmouseout="hideDiv('guildwbwtrophy4info')"></div>
<div id="guildwbwtrophy5" style="display: none; position: absolute; top: 14px; left: 385px; background: url("  ) no-repeat scroll left top transparent; width: 140px; height: 208px;" onmouseover="showDiv('guildwbwtrophy5info')" onmouseout="hideDiv('guildwbwtrophy5info')"></div> <div id="guildwbwtrophy6" class="link" style="position: absolute; top: 10px; left: 500px; background: url("  ) no-repeat scroll left top transparent; width: 85px; height: 217px;" onmouseover="showDiv('guildwbwtrophy6info')" onmouseout="hideDiv('guildwbwtrophy6info')" onclick="initGuildQuests(1)"></div>
<div id="guildwbwtrophy7" style="display: none; position: absolute; top: 174px; left: 275px; background: url("  ) no-repeat scroll left top transparent; width: 136px; height: 48px;" onmouseover="showDiv('guildwbwtrophy7info')" onmouseout="hideDiv('guildwbwtrophy7info')"></div>
<div id="guildwbwtrophy1info" class="blackbox" style="display: none; position: absolute; top: 10px; left: 110px; width: 250px;" onmouseover="showDiv('guildwbwtrophy1info')" onmouseout="hideDiv('guildwbwtrophy1info')"></div>
<div id="guildwbwtrophy2info" class="blackbox" style="display: none; position: absolute; top: 50px; left: 210px; width: 250px;" onmouseover="showDiv('guildwbwtrophy2info')" onmouseout="hideDiv('guildwbwtrophy2info')"></div>
<div id="guildwbwtrophy3info" class="blackbox" style="display: none; position: absolute; top: 80px; left: 290px; width: 250px;" onmouseover="showDiv('guildwbwtrophy3info')" onmouseout="hideDiv('guildwbwtrophy3info')"></div>
<div id="guildwbwtrophy4info" class="blackbox" style="display: none; position: absolute; top: 55px; left: 50px; width: 250px;" onmouseover="showDiv('guildwbwtrophy4info')" onmouseout="hideDiv('guildwbwtrophy4info')"></div>
<div id="guildwbwtrophy5info" class="blackbox" style="display: none; position: absolute; top: 135px; left: 150px; width: 250px;" onmouseover="showDiv('guildwbwtrophy5info')" onmouseout="hideDiv('guildwbwtrophy5info')"></div>
<div id="guildwbwtrophy6info" class="blackbox link" style="display: none; position: absolute; top: 50px; left: 250px; width: 250px;" onmouseover="showDiv('guildwbwtrophy6info')" onmouseout="hideDiv('guildwbwtrophy6info')" onclick="initGuildQuests(1)"></div>
<div id="guildwbwtrophy7info" class="blackbox" style="display: none; position: absolute; bottom: 40px; left: 25px; width: 250px;" onmouseover="showDiv('guildwbwtrophy7info')" onmouseout="hideDiv('guildwbwtrophy7info')"></div>
</div>
<div id="guildwbwtrophiesclose" style="position: absolute; top: 5px; right: 5px;"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('guildwbwtrophies'); hideDiv('transp9');" border="0"></div>
</div>
<div id="guildmedalcase" style="display: none; z-index: 51; position: absolute; top: 0px; left: 0px; background: url("  ) no-repeat scroll left top transparent; width: 640px; height: 540px;">
<div id="guildmedalcasecontent" style="position: absolute; top: 67px; left: 66px;"></div>
<div style="position: absolute; top: 5px; right: 5px;"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('guildmedalcase');" border="0"></div>
</div>
<div id="guildwbwhelpcontainertransp" style="display: none; z-index: 52; background-color: rgb(0, 0, 0); opacity: 0.7; position: absolute; width: 640px; height: 540px;"></div>
<div id="guildwbwhelpcontainer" style="display: none; z-index: 52; background: url("  ) no-repeat scroll 90px 95px transparent; position: absolute; width: 640px; height: 540px;">
<div id="guildwbwhelpcontainercontent" style="position: absolute; top: 125px; left: 120px; width: 390px; overflow: auto; height: 305px;"></div>
<div style="position: absolute; top: 105px; right: 110px;"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('guildwbwhelpcontainer'); hideDiv('guildwbwhelpcontainertransp');" border="0"></div>
</div>
<div id="commitboxguild">
<div id="commitboxpiganiguild"></div>
<div id="commitboxcontentguild"></div>
<div id="commitboxfooterguild"></div>
</div>
<div id="errorboxguild">
<div id="errorboxpiganiguild"></div>
<div id="errorboxcontentguild"></div>
<div id="errorboxfooterguild"></div>
</div>
<div class="blackbox" id="guildactioninfo"></div>
</div>
<script>
var cities = 2;
var farmamount = 2;
initZones(1);
startBoringRun(); </script>
<div id="innermaincontainer">
<div id="cancelscreen"></div>
<div id="articleinfo" class="blackbox"></div>
<div id="innercontent" style="z-index: 20;"></div>
<div id="infobox"></div>
<div id="locationwait"></div>
<div id="feedcommit"></div>
<div id="beeaniinner"></div>
<div id="littlefeedback"></div>
<div id="commitboxcrop">
<div id="commitboxpiganicrop"></div>
<div id="commitboxcontentcrop"></div>
<div id="commitboxfootercrop"></div>
</div>
<div id="errorboxinner">
<div id="errorboxpiganiinner"></div>
<div id="errorboxcontentinner"></div>
<div id="errorboxfooterinner"></div>
</div>
<div id="commitboxinner">
<div id="commitboxpiganiinner"></div>
<div id="commitboxcontentinner"></div>
<div id="commitboxfooterinner"></div>
</div>
<div id="update_crop_2"><img id="img_update_crop_2" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_crop_3"><img id="img_update_crop_3" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_crop_4"><img id="img_update_crop_4" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_crop_5"><img id="img_update_crop_5" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_crop_11_1"><img id="img_update_crop_11_1" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_crop_11_2"><img id="img_update_crop_11_2" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_time_2"><img id="img_update_time_2" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_time_3"><img id="img_update_time_3" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_time_4"><img id="img_update_time_4" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_time_5"><img id="img_update_time_5" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_time_11_1"><img id="img_update_time_11_1" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="update_time_11_2"><img id="img_update_time_11_2" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="transp2"></div>
</div>
<script type="text/javascript">
var currentposition = '';
var locationinfo = '';
</script> <div id="citymaincontainer">
<div id="windmillani"></div>
<div id="fishdealerani"></div>
<div id="formuladealerani"></div>
<div id="pepeani"></div>
<div id="bunnyani"></div>
<div id="cityzones"></div>
<div id="questzones"></div>
<div id="peoplezones"></div>
<div id="animaldealer">
<div id="animaldealerheader">
<img id="animaldealercancel" class="link" onclick="hideDiv('transp3'); hideDiv('animaldealer');" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" border="0">
</div>
<div id="animalsoffer"></div>
<div id="animalcart"></div>
<div id="firecart" class="blackbox" onmouseover="showDiv('costsuminfo');" onmouseout="hideDiv('costsuminfo');">
<div id="firecartcontent">
<img id="animaldealer_buybutton" src="http://dqt9wzym747n.cloudfront.net/pics/stadt/2button_kauf_off.gif" border="0">
</div>
<div id="costsuminfo" class="blackbox">Nichts im Warenkorb</div>
</div>
<div id="ordercommit"></div>
<div id="animaldropzone"></div>
<div id="bubble">
<div id="bubblecontent"></div>
</div>
<div id="transp4"></div>
</div>
<script>
var order = new Array();
var animalinfo = '';
var maxinputlength = 2;
if(Droppables) Droppables.add('animaldropzone', { accept: 'animal', hoverclass: 'hover', onDrop: function(element) { addCartItem(element); } });
</script>
<div style="display: none;" id="showtimeadcolumn">
<span id="adcolumntimecounter"></span><br>
<span><img src="http://dqt9wzym747n.cloudfront.net/pics/adbonus.gif"> </span><span id="adcolumnfarmibonus"></span><span id="adcolumnpremiuminfo"></span>
</div>
<div id="adcolumn">
<div id="adcolumnheader">
<img id="adcolumncancel" class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('adcolumn');" border="0">
</div>
<div id="adcolumncontent"></div>
<div id="transp5"></div>
</div>
<div id="questboxcity">
<div id="questboxanicity"> </div>
<div id="questboxcontentcity"></div>
<div id="questboxfootercity"></div>
</div>
<div id="commitboxcity">
<div id="commitpiganicity"> </div>
<div id="commitboxcontentcity"></div>
<div id="commitboxfootercity"></div>
</div>
<div name="shop" id="shop" style="position: absolute; z-index: 35; width: 640px; height: 560px; left: 40px; right: 40px; top: 40px; bottom: 40px; display: none;">
<iframe id="shopframe" allowtransparency="true" name="shopframe" scrolling="no" frameborder="0" height="100%" width="100%"></iframe>
</div>
<div id="errorboxcity">
<div id="errorboxcontentcity"></div>
<div id="errorboxpiganicity"></div>
<div id="errorboxfootercity"></div>
</div>
<div id="peopleani1"><img id="peopleaniimg1" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="peopleani2"><img id="peopleaniimg2" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="peopleani3"><img id="peopleaniimg3" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="peopleani4"><img id="peopleaniimg4" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif"></div>
<div id="giftshopinner">
<div id="giftshopinnerheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('giftshopinner');" border="0"></div>
<div id="giftshopinnerintro"></div>
<div id="giftshopinnercontent"></div>
<div id="giftshopfreegifts"></div>
</div>
<div id="marktschreierinner">
<div id="marktschreierinnerheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('marktschreierinner');" border="0"></div>
<div id="marktschreierinnerintro"></div>
<div id="marktschreierinnercontent"></div>
<div id="marktschreierinnerinput"></div>
</div>
<div id="beemasterinner">
<div id="beemasterinnerheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('beemasterinner');" border="0"></div>
<div id="beemasterinnerintro"></div>
<div id="beemasterinnercontent"></div>
<div id="beemasterbuybutton"></div>
</div>
<div id="windmillinner">
<div id="windmillheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('windmillinner');" border="0"></div>
<div id="windmillcontent">
<div id="windmillformula"></div>
<div id="windmillproducts"></div>
<div id="windmillformuladrop"></div>
<div id="windmilltransp"></div>
<div id="windmillpaper">
<div id="windmillpaperheadline"></div>
<div id="windmillreward"></div>
<div id="windmillpos1"></div>
<div id="windmillpos2"></div>
<div id="windmillpos3"></div>
<div id="windmillproduction"></div>
</div>
<div id="windmillformulainfo" class="blackbox"></div>
</div>
<div id="windmill_feedback"></div>
</div>
<div id="windmillproductiontime" class="blackbox"></div>
<div id="windmill_readyani"></div>
<div id="formuladealer">
<div id="formuladealerheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('formuladealer');" border="0"></div>
<div id="formuladealerbubble"></div>
<div id="formuladealerproduct1" class="link"></div>
<div id="formuladealerproduct2" class="link"></div>
<div id="formuladealerproduct3" class="link"></div>
<img id="formuladealerface" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif" border="0">
<div id="formuladealerproductinfo" class="blackbox"></div>
<div id="formuladealerrandom" class="link" onmouseover="showFormuladealerAni(1);" onmouseout="showFormuladealerAni(0);" onclick="randomFormulasCommit()"></div>
<div id="formuladealerfeedback"></div>
<div id="formuladealerrack"></div>
<div id="formuladealerrackinner"></div>
</div>
<div id="fishpoolinner">
<div id="fishpoolheader"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('fishpoolinner');" border="0"></div>
<div id="fishpoolbubble"></div>
<div id="fishpoolcontent"></div>
<div id="fishpoolbuybutton"></div>
</div>
<div id="collectorscontainer">
<div id="collectorshead"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('collectorscontainer');" border="0"></div>
<div id="collectorscontent"></div>
</div>
<div id="wbwcontainer" style="display: none; border: 2px solid rgb(0, 0, 0); z-index: 35; top: 40px; left: 40px; position: absolute; width: 640px; height: 540px; background: url("  ) no-repeat scroll left top transparent;">
<div id="wbwhead" style="position: absolute; top: 10px; right: 10px;"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('transp3'); hideDiv('wbwcontainer');" border="0"></div>
<div id="wbwcontent1" style="position: absolute; width: 580px; top: 75px; left: 25px;">
<div id="globalwbwdata"></div>
<div id="globalwbwranking" style="height: 380px; overflow: auto;"></div>
</div>
<div id="wbwcontent2" style="position: absolute; width: 580px; height: 385px; top: 75px; left: 25px;">
<div>Der Verein "Verschönert unser Dorf!" lädt regelmäßig zu Wettbewerben ein.<br>Die bestplatzierten Spieler erhalten einen goldenen, silbernen oder bronzenen Schweinchen-Pokal, der im Zieracker ausgestellt wird.</div>
<div id="localwbwdata" style="margin-top: 15px;">
<div id="localwbwproduct" style="float: left; height: 15px; width: 15px; position: relative;"></div>
<div id="localwbwproductname" style="margin-left: 5px; float: left; font-weight: bold;"></div>
<div style="clear: both;"></div>
<div style="margin-top: 15px;">
Beginn: <span style="font-weight: bold;" id="localwbwstart"></span><br>
Ende: <span style="font-weight: bold;" id="localwbwend"></span>
</div>
<div id="localwbwform" style="margin-top: 15px;"></div>
</div>
<div id="wbwcontent2ranking" style="width: 580px; height: 270px; overflow: auto;"></div>
</div>
<div id="wbwnavi1" class="link" style="position: absolute; top: 27px; left: 45px; background: url("  ) no-repeat scroll left top transparent; width: 79px; height: 40px;" onmouseover="showDiv('wbwnavi1info');" onmouseout="hideDiv('wbwnavi1info');" onclick="setCityWBWContent(1);"></div> <div id="wbwnavi2" class="link" style="position: absolute; top: 27px; left: 129px; background: url("  ) no-repeat scroll left top transparent; width: 79px; height: 40px;" onmouseover="showDiv('wbwnavi2info');" onmouseout="hideDiv('wbwnavi2info');" onclick="setCityWBWContent(2);"></div>
<div id="wbwnavi1info" class="blackbox" style="display: none; position: absolute; top: 2px; left: 53px;">Globaler Bauernclubwettbewerb</div>
<div id="wbwnavi2info" class="blackbox" style="display: none; position: absolute; top: 2px; left: 137px;">Lokaler Wettbewerb</div>
</div>
<div id="gooseani"></div>
<div id="transp3"></div>
</div>
<div style="display: none;" id="questlineback"></div>
<div style="display: none;" id="questline"></div>
<div style="background-image: url("  display: none;" id="questlineopener" class="link" onclick="handleQuestLine();"></div>
<div id="traveltransp" style="z-index: 100;"></div>
<div id="travel2city">
<div id="travel2citycontent"></div>
<div id="travel2citycontent2"></div>
<div id="cityrunbar">
<img id="travelbus" src="http://dqt9wzym747n.cloudfront.net/pics/leer.gif">
</div>
<div id="travelinfo" class="blackbox"></div>
<div id="travelpremiuminfo"><img src="http://dqt9wzym747n.cloudfront.net/pics/shortbar.jpg" border="0"><br><br>Du möchtest mit nur einem Klick alle wichtigen Örtlichkeiten und ohne Busfahrt erreichen? Mit einem Premium-Account ist dies möglich.<br><br><button class="link" type="button" onclick="show_page('coins',40);">Premium-Account lösen</button></div>
<div id="travelad"></div>
</div>
<div id="createguildbox">
<div id="createguildboxheader"></div>
<div id="createguildboxcontent"></div>
<div id="createguildboxfooter"></div>
</div>
<div id="globaltransp"></div>
<div id="notepad" onclick="return false;" style="z-index: 100; color: rgb(51, 51, 102); font-size: 12px; position: absolute; top: 100px; left: 200px; width: 315px; height: 400px; background: url("  ) no-repeat scroll left top transparent; display: none;">
<div id="notepadheader" style="position: absolute; top: 10px; right: 10px;">
<img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="saveNotepad();">
</div>
<div id="notepadcontent" style="border: 3px dotted rgb(51, 51, 102); position: absolute; top: 50px; left: 25px; width: 260px; height: 320px; overflow: auto;">
<textarea id="notepadentry" cols="37" rows="23" name="notepadentry" style="font-style: italic; font-weight: bold; background-color: transparent; border: 0px none;" onkeyup="calcNotepadLetters();" onchange="calcNotepadLetters();"></textarea>
</div>
<div id="restlettersnotepad" style="position: absolute; bottom: 11px; left: 24px; color: rgb(0, 0, 0); font-size: 10px;">Noch 1000 Zeichen</div>
</div>
<div id="friendscontainer">
<div id="friendslist">
<div id="friendslistheader">
<div class="link" id="friendslistheaderlocked" onclick="showfriendslist(1);" onmouseover="showDiv('friendslistlockedinfo');" onmouseout="hideDiv('friendslistlockedinfo');"></div>
<div class="link" id="friendslistheaderunlocked" onclick="showfriendslist(2);" onmouseover="showDiv('friendslistunlockedinfo');" onmouseout="hideDiv('friendslistunlockedinfo');"></div>
</div>
<div id="friendslistbody"></div>
</div>
<div id="friendsinfo"></div>
<div id="friendsclose"><img class="link" src="http://dqt9wzym747n.cloudfront.net/pics/close.jpg" onclick="hideDiv('globaltransp');hideDiv('friendsc ontainer');"></div>
<div id="friendsinvitation" class="link" onclick="showDiv('friendsearch'); $('friendsearchinput').focus();" onmouseover="showDiv('friendsinvitationinfo');" onmouseout="hideDiv('friendsinvitationinfo');"></div>
<div id="friendsinvitationinfo" class="blackbox">Freund einladen</div>
<div id="friendsearch" onclick="$('friendsearchinput').focus();">
<input id="friendsearchinput" maxlength="50" size="20" onmouseover="showDiv('friendssearchinfo');" onmouseout="hideDiv('friendssearchinfo');" type="text">
<div id="friendsearchok" class="link" onclick="addFriendSubmit();"></div>
<div id="friendsearchcancel" class="link" onclick="hideDiv('friendsearch');"></div>
</div>
<div id="friendssearchinfo" class="blackbox">Gib den Spielernamen deines Freundes ein</div>
<div id="friendslistfeedback">%NAME% wurde erfolgreich eingeladen.</div>
<div id="friendslistsheepani"></div>
<div id="friendslistlockedinfo" class="blackbox">Bestätigte Freunde</div>
<div id="friendslistunlockedinfo" class="blackbox">Unbestätigte Freunde</div>
<div id="friendscontainertransp"></div>
</div>
<div id="globalcommitbox">
<div id="globalcommitboxpigani"></div>
<div id="globalcommitboxcontent"></div>
<div id="globalcommitboxfooter"></div>
</div>
<div id="globalerrorbox">
<div id="globalerrorboxpigani"></div>
<div id="globalerrorboxcontent"></div>
<div id="globalerrorboxfooter"></div>
</div>
<div id="globalactioninfo" class="blackbox"></div>
<script>
handleQuestLine();
checkAd();
</script>
</div>
<!-- Versteckter IFRAME mit Stadtkarte -->
<div id="stadt" style="display: none; z-index: 1;"><iframe id="stadtframe" name="stadtframe" allowtransparency="true" scrolling="no" frameborder="0" height="640px" width="720px"></iframe></div>
<!-- Versteckter IFRAME mit Kundenanfragen -->
<div class="lock" style="position: absolute; z-index: 2; top: 155px; margin: 0px; width: 720px; height: 640px;" id="einkaufszettel">
<img src="http://dqt9wzym747n.cloudfront.net/pics/loading.gif" style="position: absolute; top: 230px; left: 335px;" alt="">
<iframe id="kunde" name="kunde" style="display: none; z-index: 3; position: absolute; top: 58px; margin-left: 200px; width: 320px; height: 400px;" allowtransparency="true" src="about :blank" scrolling="no" frameborder="0"></iframe>
</div>
<!-- Frame fuer Nachrichten, Vertr0ge, Profil, Hilfe, Landkarte -->
<div class="lock" style="position: absolute; z-index: 2; top: 155px; margin: 0px; width: 720px; height: 640px;" id="popup_garden"></div>
<iframe id="multiframe" style="z-index: 100; position: absolute; display: none; top: 225px; margin-left: 60px; width: 600px; height: 400px;" allowtransparency="true" scrolling="no" frameborder="0"></iframe>
</td>
</tr>
</tbody></table>
<script type="text/javascript">
var rackElement = Array();
for (var i = 0; i < 100; i++)
{
rackElement[i] = new product();
}
rackElement[1] = new product(1, "Getreide", 319,"getreide",2,1200000,"00:20:00 h",1,2,1,0,"v");rackElement[5] = new product(5, "Futterrüben", 360,"futterrueben",3,7200000,"02:00:00 h",1,2 ,2,0,"v");rackElement[6] = new product(6, "Kräuter", 270,"kraeuter",4,14400000,"04:00:00 h",1,2,2, 0,"v");rackElement[8] = new product(8, "Kornblumen", 160,"kornblume",5,57600000,"16:00:00 h",1,2,2 ,0,"v");rackElement[9] = new product(9, "Eier", 30,"eier",1,14400000,"04:00:00 h",1,1,1,0,"e" );rackElement[11] = new product(11, "Wolle", 560,"wolle",5,86400000,"24:00:00 h",1,1,1,0," e");rackElement[12] = new product(12, "Honig", 320,"honig",10,172800000,"48:00:00 h",1,1,1,0 ,"e");rackElement[18] = new product(18, "Gurken", 759,"gurke",3,5400000,"01:30:00 h",1,1,1,0,"v ");rackElement[20] = new product(20, "Erdbeeren", 41115,"erdbeere",5,28800000,"08:00:00 h",1,1, 1,0,"v");rackElement[21] = new product(21, "Tomaten", 80,"tomate",5,36000000,"10:00:00 h",1,1,1,0," v");rackElement[22] = new product(22, "Zwiebeln", 1200,"zwiebel",4,30000000,"08:20:00 h",1,1,1, 0,"v");rackElement[23] = new product(23, "Spinat", 1080,"spinat",4,48000000,"13:20:00 h",1,1,1,0 ,"v");rackElement[24] = new product(24, "Blumenkohl", 1080,"blumenkohl",4,43200000,"12:00:00 h",1,1 ,1,0,"v");rackElement[26] = new product(26, "Kartoffeln", 1080,"kartoffel",4,46800000,"13:00:00 h",1,1, 1,0,"v");rackElement[27] = new product(27, "Käse", 194,"kaese",15,120000000,"33:20:00 h",1,1,1,0 ,"e");rackElement[29] = new product(29, "Spargel", 540,"spargel",4,57000000,"15:50:00 h",1,2,1,0 ,"v");rackElement[32] = new product(32, "Heidelbeeren", 23105,"heidelbeere",4,43200000,"12:00:00 h",1 ,1,1,0,"v");rackElement[91] = new product(91, "Zierfisch", 24,"fisch",4,172800000,"48:00:00 h",1,1,1,0," e");rackElement[92] = new product(92, "Fischfutter", 8,"fisch",4,10000000,"02:46:40 h",1,1,1,0,"e" );
top.regal_leer = 0;
g("lagerlock").style.display="none";
if( top.stadt == false ) {
if( top.mode == 1 ) parent.selectMode(1, true, null);
else if( top.mode == 2 ) parent.selectMode(2, true, null);
else top.neues_teil('l1','<b>Getreide</b>','00:20:00 h','t1','1200000','2','2','1', 'v' );
}
else
{
if( top.mode == 1 ) parent.selectMode(1, false, null);
else if( top.mode == 2 ) parent.selectMode(2, false, null);
else top.neues_teil('l1','<b>Getreide</b>','00:20:00 h','t1','1200000','2','2','1', 'v' );
}updateRack(0, true);
</script>
</td>
<td class="rahmen_hoch" style="background: url("  ) repeat-y scroll left top transparent;" valign="top" width="20px">
<img src="http://dqt9wzym747n.cloudfront.net/pics/rahmen_hoch_start.jpg" alt="">
</td>
</tr>
<tr>
<td colspan="3" class="rahmen_quer" style="background: url("  ) no-repeat scroll left top transparent;"> </td>
</tr>
</tbody></table>
<div id="serverzeit" style="position: absolute; text-align: right; margin-left: 50%; left: -500px; top: 797px; width: 980px; color: rgb(247, 187, 135);">Serverzeit: 08.11.2010 22:42:42</div>
</body>
__FFSend: try{repl.enter(Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediato r).getMostRecentWindow("navigator:browser"))}catch (e){'_FFCmd_Err';};
__FFRecv: [object ChromeWindow] — {FFau3: {…}, repl: {…}, gProgressMeterPanel: {…}, topDelta: 0, currentBrowser: {…}, gFindBar: {…}, Win7Features: null, ...}
__FFSend: try{FFau3.tmp=document.title;document.title='FFAU3 1275493000'}catch(e){'_FFCmd_Err';};
__FFRecv: FFAU31275493000
__FFSend: try{document.title=FFau3.tmp}catch(e){'_FFCmd_Err' ;};
__FFRecv: My Free Farm - Mozilla Firefox
_FFWindowGetHandle: 0x000F0436
C:\Users\******\Desktop\Neuer Ordner\test.au3 (66) : ==> Subscript used with non-Array variable.:
MsgBox(0, "test", $time1[0])
MsgBox(0, "test", $time1^ ERROR
>Exit code: 1 Time: 13.940
€dit: ich verkneife mir mal noch einen post und merke es hier nochma an:
der Text/Zeile um welche es sich handelt ist im Spoiler rot markiert! im Unterspoiler hab ich eine zeile grün markiert, bei der es mit (glaube ich) dem gleichen verfahren ging, also das Auslesen.
jaja, wenn ich da den ganzen mist des quelltextes für nötig gehalten hätte, würd ich hier zur not auch ein text-dokument als anhang stellen
und btw. die infos, die man braucht hab ich (zumindest dir, und einem anderen) gegeben. wenn dann IMMER NOCH was fehlt, sag bescheid
aber das komplette skript, der quellcode der seite und sogar die betroffenen zeilen markiert finde ich müsste reichen, denn mehr wüsst ich auch nicht was ich da aus dem finger saugen soll -.-
|
|
|
11/08/2010, 23:08
|
#10
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
für sowas gibts pastebin...
und ich habe deine pms nich ignoriert... du hast meinen ersten post ignoriert... solange du nich die infos gibst, die man bräuchte, wird dir keiner helfen.
hab das jetzt nur nocheinmal gesagt, damit du nicht noch einen vierfachpost hier hinlegst....
|
|
|
11/12/2010, 15:06
|
#11
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
hatte eigentlich in den paar tagen auf eine antwort gehofft ô.O
|
|
|
11/12/2010, 15:18
|
#12
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
Quote:
Originally Posted by ZaZiZu
hatte eigentlich in den paar tagen auf eine antwort gehofft ô.O
|
liegt warschenlich daran, dass nicht wirklich verstanden wird, was du suchst o.O
es geht um das spiel "my free farm" und du wills da was auslesen...
Code:
rackElement[1] = new product(1, "Getreide", 325,"getreide",2,1200000,"[COLOR="Lime"]00:20:00[/COLOR] h",1,2,1,0,"v");rackElement[5] = new product(5, "Futterrüben", 360,"futterrueben",3,7200000,"[COLOR="Lime"]02:00:00[/COLOR] h",1,2,2,0,"v");rackElement[6] = new product(6, "Kräuter", 1080,"kraeuter",4,14400000,"[COLOR="Lime"]04:00:00[/COLOR] h",1,2,2,0,"v");rackElement[8] = new product(8, "Kornblumen", 160,"kornblume",5,57600000,"16:00:00 h",1,2,2,0,"v");rackElement[9] = new product(9, "Eier", 1330,"eier",1,14400000,"04:00:00 h",1,1,1,0,"e");rackElement[10] = new product(10, "Milch", 1024,"milch",4,43200000,"12:00:00 h",1,1,1,0,"e");rackElement[11] = new product(11, "Wolle", 560,"wolle",5,86400000,"24:00:00 h",1,1,1,0,"e");rackElement[12] = new product(12, "Honig", 320,"honig",10,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[18] = new product(18, "Gurken", 759,"gurke",3,5400000,"01:30:00 h",1,1,1,0,"v");rackElement[20] = new product(20, "Erdbeeren", 41115,"erdbeere",5,28800000,"08:00:00 h",1,1,1,0,"v");rackElement[21] = new product(21, "Tomaten", 80,"tomate",5,36000000,"10:00:00 h",1,1,1,0,"v");rackElement[22] = new product(22, "Zwiebeln", 1200,"zwiebel",4,30000000,"08:20:00 h",1,1,1,0,"v");rackElement[23] = new product(23, "Spinat", 1080,"spinat",4,48000000,"13:20:00 h",1,1,1,0,"v");rackElement[24] = new product(24, "Blumenkohl", 1080,"blumenkohl",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[26] = new product(26, "Kartoffeln", 1080,"kartoffel",4,46800000,"13:00:00 h",1,1,1,0,"v");rackElement[27] = new product(27, "Käse", 194,"kaese",15,120000000,"33:20:00 h",1,1,1,0,"e");rackElement[29] = new product(29, "Spargel", 540,"spargel",4,57000000,"15:50:00 h",1,2,1,0,"v");rackElement[31] = new product(31, "Zucchini", 1080,"zucchini",7,60000000,"16:40:00 h",1,1,1,0,"v");rackElement[32] = new product(32, "Heidelbeeren", 12305,"heidelbeere",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[91] = new product(91, "Zierfisch", 20,"fisch",4,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[92] = new product(92, "Fischfutter", 9,"fisch",4,10000000,"02:46:40 h",1,1,1,1,"e");
diese zeile, mit den jeweiligen zeiten?
oder was genau?
in deinem letten post (erste seite) mit den sppoilern...was genau soll da dar stelen?
ich seh da ein mix zwischen scite und php?!
am besten postest du jeztz nocheinmal ganz in ruhe, was genau du wie/wo auslesen willst....
ich zumindest habe das nicht ganz verstanden.....
|
|
|
11/12/2010, 15:37
|
#13
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Quote:
Originally Posted by omer36
liegt warschenlich daran, dass nicht wirklich verstanden wird, was du suchst o.O
es geht um das spiel "my free farm" und du wills da was auslesen...
Code:
rackElement[1] = new product(1, "Getreide", 325,"getreide",2,1200000,"[COLOR="Lime"]00:20:00[/COLOR] h",1,2,1,0,"v");rackElement[5] = new product(5, "Futterrüben", 360,"futterrueben",3,7200000,"[COLOR="Lime"]02:00:00[/COLOR] h",1,2,2,0,"v");rackElement[6] = new product(6, "Kräuter", 1080,"kraeuter",4,14400000,"[COLOR="Lime"]04:00:00[/COLOR] h",1,2,2,0,"v");rackElement[8] = new product(8, "Kornblumen", 160,"kornblume",5,57600000,"16:00:00 h",1,2,2,0,"v");rackElement[9] = new product(9, "Eier", 1330,"eier",1,14400000,"04:00:00 h",1,1,1,0,"e");rackElement[10] = new product(10, "Milch", 1024,"milch",4,43200000,"12:00:00 h",1,1,1,0,"e");rackElement[11] = new product(11, "Wolle", 560,"wolle",5,86400000,"24:00:00 h",1,1,1,0,"e");rackElement[12] = new product(12, "Honig", 320,"honig",10,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[18] = new product(18, "Gurken", 759,"gurke",3,5400000,"01:30:00 h",1,1,1,0,"v");rackElement[20] = new product(20, "Erdbeeren", 41115,"erdbeere",5,28800000,"08:00:00 h",1,1,1,0,"v");rackElement[21] = new product(21, "Tomaten", 80,"tomate",5,36000000,"10:00:00 h",1,1,1,0,"v");rackElement[22] = new product(22, "Zwiebeln", 1200,"zwiebel",4,30000000,"08:20:00 h",1,1,1,0,"v");rackElement[23] = new product(23, "Spinat", 1080,"spinat",4,48000000,"13:20:00 h",1,1,1,0,"v");rackElement[24] = new product(24, "Blumenkohl", 1080,"blumenkohl",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[26] = new product(26, "Kartoffeln", 1080,"kartoffel",4,46800000,"13:00:00 h",1,1,1,0,"v");rackElement[27] = new product(27, "Käse", 194,"kaese",15,120000000,"33:20:00 h",1,1,1,0,"e");rackElement[29] = new product(29, "Spargel", 540,"spargel",4,57000000,"15:50:00 h",1,2,1,0,"v");rackElement[31] = new product(31, "Zucchini", 1080,"zucchini",7,60000000,"16:40:00 h",1,1,1,0,"v");rackElement[32] = new product(32, "Heidelbeeren", 12305,"heidelbeere",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[91] = new product(91, "Zierfisch", 20,"fisch",4,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[92] = new product(92, "Fischfutter", 9,"fisch",4,10000000,"02:46:40 h",1,1,1,1,"e");
diese zeile, mit den jeweiligen zeiten?
oder was genau?
in deinem letten post (erste seite) mit den sppoilern...was genau soll da dar stelen?
ich seh da ein mix zwischen scite und php?!
am besten postest du jeztz nocheinmal ganz in ruhe, was genau du wie/wo auslesen willst....
ich zumindest habe das nicht ganz verstanden.....
|
:O Sry, wenn es nicht so verständlich war
Ja, ich will DIESE(grünmarkierte) Zahlen auslesen
Und das mit dem "Mix" verstehe ich nicht was du meinst. lolkop meinte ich müsste da den quellcode reinstellen und das hab ich getan ^^
Meine Idee war halt mit StringBetween und Stringright(oder so) diese Zeit rauszufiltern, aber komischerweise geht das nicht  nicht ma mit _StringBetween
|
|
|
11/14/2010, 17:43
|
#14
|
elite*gold: 0
Join Date: Jul 2008
Posts: 832
Received Thanks: 136
|
Ok, ich gebs auf
|
|
|
11/14/2010, 18:30
|
#15
|
elite*gold: 0
Join Date: Nov 2010
Posts: 6
Received Thanks: 3
|
So kriegst du deine gewünschten Zeiten
Code:
#include <Array.au3>
$sString = 'rackElement[1] = new product(1, "Getreide", 325,"getreide",2,1200000,"00:20:00 h",1,2,1,0,"v");rackElement[5] = new product(5, "Futterrüben", 360,"futterrueben",3,7200000,"02:00:00 h",1,2,2,0,"v");rackElement[6] = new product(6, "Kräuter", 1080,"kraeuter",4,14400000,"04:00:00 h",1,2,2,0,"v");rackElement[8] = new product(8, "Kornblumen", 160,"kornblume",5,57600000,"16:00:00 h",1,2,2,0,"v");rackElement[9] = new product(9, "Eier", 1330,"eier",1,14400000,"04:00:00 h",1,1,1,0,"e");rackElement[10] = new product(10, "Milch", 1024,"milch",4,43200000,"12:00:00 h",1,1,1,0,"e");rackElement[11] = new product(11, "Wolle", 560,"wolle",5,86400000,"24:00:00 h",1,1,1,0,"e");rackElement[12] = new product(12, "Honig", 320,"honig",10,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[18] = new product(18, "Gurken", 759,"gurke",3,5400000,"01:30:00 h",1,1,1,0,"v");rackElement[20] = new product(20, "Erdbeeren", 41115,"erdbeere",5,28800000,"08:00:00 h",1,1,1,0,"v");rackElement[21] = new product(21, "Tomaten", 80,"tomate",5,36000000,"10:00:00 h",1,1,1,0,"v");rackElement[22] = new product(22, "Zwiebeln", 1200,"zwiebel",4,30000000,"08:20:00 h",1,1,1,0,"v");rackElement[23] = new product(23, "Spinat", 1080,"spinat",4,48000000,"13:20:00 h",1,1,1,0,"v");rackElement[24] = new product(24, "Blumenkohl", 1080,"blumenkohl",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[26] = new product(26, "Kartoffeln", 1080,"kartoffel",4,46800000,"13:00:00 h",1,1,1,0,"v");rackElement[27] = new product(27, "Käse", 194,"kaese",15,120000000,"33:20:00 h",1,1,1,0,"e");rackElement[29] = new product(29, "Spargel", 540,"spargel",4,57000000,"15:50:00 h",1,2,1,0,"v");rackElement[31] = new product(31, "Zucchini", 1080,"zucchini",7,60000000,"16:40:00 h",1,1,1,0,"v");rackElement[32] = new product(32, "Heidelbeeren", 12305,"heidelbeere",4,43200000,"12:00:00 h",1,1,1,0,"v");rackElement[91] = new product(91, "Zierfisch", 20,"fisch",4,172800000,"48:00:00 h",1,1,1,0,"e");rackElement[92] = new product(92, "Fischfutter", 9,"fisch",4,10000000,"02:46:40 h",1,1,1,1,"e");'
$aRes = StringRegExp($sString,'new product\((?:[^,]+,){6}"(.+?)&[^\)]+\)',3)
_ArrayDisplay($aRes)
|
|
|
Similar Threads
|
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello!
I have this same problem as here when i'm starting my server:
http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html
But I didn't know the answer.. how to repair this?
Greetings
|
All times are GMT +1. The time now is 22:43.
|
|