// ==UserScript== // @name Infozentrale // @namespace http://userscripts.org/scripts/show/74435 // @author sageo[http://berlin.pennergame.de/profil/id:1146285/]; PG reloaded design von lefty1981 // @description Infozentrale mit Anzeige von Kampf- und Bandenkampfwarnungen, aktuellem Plunder, Wutstatus sowie Kampfstärkebewertung (HH, B, M, K, Malle und Vatikan PG-Version 4.0) // @include http://*.pennergame.de/overview/ // @include http://*.pennergame.de/skills/* // @include http://*.pennergame.de/stock/ // @include http://*.pennergame.de/news/ // @include http://*.pennergame.de/friendlist/ // @include http://*.pennergame.de/change_please/statistics/* // @include http://*.pennergame.de/stock/* // @include http://*.pennergame.de/profil/* // @include http://*.pennergame.de/fight/* // @include http://*.pennergame.de/gang/* // @include http://*.pennergame.de/messages/* // @include http://*.pennergame.de/city/* // @include http://*.pennergame.de/activities/* // @include http://*.pennergame.de/daily/* // @include http://*.pennergame.de/pet/* // @include http://*.pennergame.de/enemies/* // @include http://*.bumrise.com/overview/ // @include http://*.bumrise.com/skills/* // @include http://*.bumrise.com/stock/ // @include http://*.bumrise.com/news/ // @include http://*.bumrise.com/friendlist/ // @include http://*.bumrise.com/change_please/statistics/* // @include http://*.bumrise.com/stock/* // @include http://*.bumrise.com/profil/* // @include http://*.bumrise.com/fight/* // @include http://*.bumrise.com/gang/* // @include http://*.bumrise.com/messages/* // @include http://*.bumrise.com/city/* // @include http://*.bumrise.com/activities/* // @include http://*.bumrise.com/daily/* // @include http://*.menelgame.pl/overview/ // @include http://*.menelgame.pl/skills/* // @include http://*.menelgame.pl/stock/ // @include http://*.menelgame.pl/news/ // @include http://*.menelgame.pl/friendlist/ // @include http://*.menelgame.pl/change_please/statistics/* // @include http://*.menelgame.pl/stock/* // @include http://*.menelgame.pl/profil/* // @include http://*.menelgame.pl/fight/* // @include http://*.menelgame.pl/gang/* // @include http://*.menelgame.pl/messages/* // @include http://*.menelgame.pl/city/* // @include http://*.menelgame.pl/activities/* // @include http://*.menelgame.pl/daily/* // @include http://*.clodogame.fr/overview/ // @include http://*.clodogame.fr/skills/* // @include http://*.clodogame.fr/stock/ // @include http://*.clodogame.fr/news/ // @include http://*.clodogame.fr/friendlist/ // @include http://*.clodogame.fr/change_please/statistics/* // @include http://*.clodogame.fr/stock/* // @include http://*.clodogame.fr/profil/* // @include http://*.clodogame.fr/fight/* // @include http://*.clodogame.fr/gang/* // @include http://*.clodogame.fr/messages/* // @include http://*.clodogame.fr/city/* // @include http://*.clodogame.fr/activities/* // @include http://*.clodogame.fr/daily/* // @include http://*.mendigogame.es/overview/ // @include http://*.mendigogame.es/skills/* // @include http://*.mendigogame.es/stock/ // @include http://*.mendigogame.es/news/ // @include http://*.mendigogame.es/friendlist/ // @include http://*.mendigogame.es/change_please/statistics/* // @include http://*.mendigogame.es/stock/* // @include http://*.mendigogame.es/profil/* // @include http://*.mendigogame.es/fight/* // @include http://*.mendigogame.es/gang/* // @include http://*.mendigogame.es/messages/* // @include http://*.mendigogame.es/city/* // @include http://*.mendigogame.es/activities/* // @include http://*.mendigogame.es/daily/* // @include http://*.mendigogame.com/overview/ // @include http://*.mendigogame.com/skills/* // @include http://*.mendigogame.com/stock/ // @include http://*.mendigogame.com/news/ // @include http://*.mendigogame.com/friendlist/ // @include http://*.mendigogame.com/change_please/statistics/* // @include http://*.mendigogame.com/stock/* // @include http://*.mendigogame.com/profil/* // @include http://*.mendigogame.com/fight/* // @include http://*.mendigogame.com/gang/* // @include http://*.mendigogame.com/messages/* // @include http://*.mendigogame.com/city/* // @include http://*.mendigogame.com/activities/* // @include http://*.mendigogame.com/daily/* // @include http://*.faveladogame.com/overview/ // @include http://*.faveladogame.com/skills/* // @include http://*.faveladogame.com/stock/ // @include http://*.faveladogame.com/news/ // @include http://*.faveladogame.com/friendlist/ // @include http://*.faveladogame.com/change_please/statistics/* // @include http://*.faveladogame.com/stock/* // @include http://*.faveladogame.com/profil/* // @include http://*.faveladogame.com/fight/* // @include http://*.faveladogame.com/gang/* // @include http://*.faveladogame.com/messages/* // @include http://*.faveladogame.com/city/* // @include http://*.faveladogame.com/activities/* // @include http://*.faveladogame.com/daily/* // @include http://*.bomzhuj.ru/overview/ // @include http://*.bomzhuj.ru/skills/* // @include http://*.bomzhuj.ru/stock/ // @include http://*.bomzhuj.ru/news/ // @include http://*.bomzhuj.ru/friendlist/ // @include http://*.bomzhuj.ru/change_please/statistics/* // @include http://*.bomzhuj.ru/stock/* // @include http://*.bomzhuj.ru/profil/* // @include http://*.bomzhuj.ru/fight/* // @include http://*.bomzhuj.ru/gang/* // @include http://*.bomzhuj.ru/messages/* // @include http://*.bomzhuj.ru/city/* // @include http://*.bomzhuj.ru/activities/* // @include http://*.bomzhuj.ru/daily/* // @include http://*.dossergame.co.uk/overview/ // @include http://*.dossergame.co.uk/skills/* // @include http://*.dossergame.co.uk/stock/ // @include http://*.dossergame.co.uk/news/ // @include http://*.dossergame.co.uk/friendlist/ // @include http://*.dossergame.co.uk/change_please/statistics/* // @include http://*.dossergame.co.uk/stock/* // @include http://*.dossergame.co.uk/profil/* // @include http://*.dossergame.co.uk/fight/* // @include http://*.dossergame.co.uk/gang/* // @include http://*.dossergame.co.uk/messages/* // @include http://*.dossergame.co.uk/city/* // @include http://*.dossergame.co.uk/activities/* // @include http://*.dossergame.co.uk/daily/* // @info CIC5CFC6B6BEBBC3D4EBAH@D@D@@D1E6E6@CAEAAE4A2AA@IE5ADAEE6@GAEABDFE6AFAIA3AE@CE6EBD2A4D4D@D2 // @grant GM_getValue // @grant GM_setValue // @grant GM_xmlhttpRequest // @grant GM_addStyle // @grant GM_deleteValue // @grant GM_listValues // @grant GM_log // @version 1.23.14 Fehler bei Haustieranzeige behoben; Plunder mit "+" wurde nicht als vorhanden erkannt // @downloadURL none // ==/UserScript== // Daten über das aktuelle Skript für den Update-Mechanismus var THISSCRIPTVERSION = GM_info.script.version.split(" ")[0]; var THISSCRIPTINSTALL_URL = GM_info.script.namespace; var THISSCRIPTINSTALL_URLGF = "https://greasyfork.org/scripts/1050-infozentrale"; // var THISSCRIPTSOURCE_URL = THISSCRIPTINSTALL_URL.replace('show', 'source'); // URL für Sourceseite bei userscripts.org var THISSCRIPTID = THISSCRIPTINSTALL_URL.split("/").pop(); // // @version 1.23.13 Haustieranzeige bei Rückkehr geändert: die erhaltene Erfahrung wird berücksichtigt // @version 1.23.12 noch einmal Korrektur Adventskalender // @version 1.23.11 Korrekturen bei Waffenkontrolle und Adventskalender; keine Funktion bei Sitting-Modus // @version 1.23.10 Korrektur bei Erinnerung an Adventskalender/Wechsel zum Supermarkt bei zuwenig Essen/Getränke // @version 1.23.9 Korrektur bei Erinnerung an Adventskalender // @version 1.23.8 Erinnerung an Adventskalender aktualisiert // @version 1.23.7 Fehler bei Jobanzeige behoben // @version 1.23.6 Fehler bei Plundershopanzeige behoben // @version 1.23.5 Losekauf für Vatikan korrigiert // @version 1.23.4 Tagesaufgaben für Vatikan angepasst // @version 1.23.3 Fehler bei Weiterbildungsende behoben // @version 1.23.2 Probleme mit Tagesaufgabe behoben // @version 1.23.1 erste Version für Vatikan // @version 1.22.9 Wechsel des Bilderhosters // @version 1.22.8 Fehler bei Update behoben // @version 1.22.7 weitere Anpassung an Änderung beim Benutzen von Plunder // @version 1.22.6 Anpassung an Änderung beim Benutzen von Plunder // @version 1.22.5 Hotfix wegen neuer GM-Version // @version 1.22.4 Skript lief in München nicht mehr // @version 1.22.3 Problem mit verschobenen Zählern behoben // @version 1.22.2 Meldungen für Job-Ede und neuen Plunder abschaltbar gemacht; Image-Server entfernt // @version 1.22.1 Wechsel auf greasyfork.org // @version 1.21.4 Plunderauswahl funktionierte nicht mehr // @version 1.21.3 Probleme mit Plunderanzeige behoben // @version 1.21.2 Bilder auf 3 Hoster verteilt // @version 1.21.1 Bilder umgezogen // @version 1.20.3 Problem bei Plunderauswahl behoben // @version 1.20.2 Neue Tagesaufgabe; Fehler beim Essen behoben // @version 1.20.1 Anpassungen wegen Pennerzepter // @version 1.19.30 Anpassungen für Adventskalender 2013 // @version 1.19.29 Zeitanzeige bei Haustieren optimiert // @version 1.19.28 Fehler bei Flaschensammelstatus und Zeitanzeige bei Haustier behoben // @version 1.19.27 Zeitberechnung bei Haustier erweitert; Info bei startbarer Mission // @version 1.19.26 Korrekturen bei Plunderauswahl und -beschreibungen // @version 1.19.25 Anpassungen wegen geänderter Haustieranzeige auf Übersicht // @version 1.19.24 Anpassungen wegen Umbenennung Haustier in Begleiter // @version 1.19.23 Korrektur Verbrechensanzeige // @version 1.19.22 Korrektur der Anpassungen wegen PG-Update // @version 1.19.21 einige Anpassungen wegen PG-Update // @version 1.19.20 und wieder zurück zu imagebanana // @version 1.19.19 Fehler bei Bildern behoben; erste Bilder auf neuen Server umgezogen // @version 1.19.18 Skriptfehler, wenn kein Plunder angelegt war // @version 1.19.17 winziger Fehler bei Haustierzeitberechnung behoben // @version 1.19.16 Anzeige Plundertexte in Leisten; Zeitberechnung beim Streunen beachtet Booster // @version 1.19.15 Schaufel und Tritt funktionierten nicht in Plunderleiste // @version 1.19.14 Warnung bei zu geringem Kampfwert bei Kämpfen abschaltbar // @version 1.19.13 Logout-Funktion korrigiert; Kaufen von Losen erweitert // @version 1.19.12 Restzeitanzeige bei Haustier als Tooltip // @version 1.19.11 Trinkfunktion verbessert // @version 1.19.10 Anpassungen für Malle // @version 1.19.9 kleine Anpassungen // @version 1.19.8 Restzeitanzeige fehlerhaft, wenn freie Punkte vorhanden waren // @version 1.19.7 Restzeitanzeige bei Haustieren korrigiert // @version 1.19.6 Missionsname war falsch; Panels ließen sich nicht verschieben; Restzeit bei Haustieren // @version 1.19.5 neue Logout-Funktion; kleine Fehler korrigiert; Zeitanzeige bei Missionen geändert // @version 1.19.4 ATT/DEF/JOB-Panel liess sich nicht verschieben // @version 1.19.3 Korrekturen Haustier und Minijobs // @version 1.19.2 Plunderbenutzung repariert // @version 1.19.1 Skriptreparatur nach Totalausfall; Promillefunktion repariert // @version 1.18.3 kleinere Korrekturen // @version 1.18.2 Heilfunktion (Sylt) korrigiert // @version 1.18.1 Bilder auf anderen Hoster verschoben // @version 1.17.9 Bilderadresse angepasst, da Bilder nicht angezeigt wurden // @version 1.17.8 Haustieranzeige auch in den alten Städten // @version 1.17.7 Korrekturen wegen Stadtfeind // @version 1.17.6 Update-Automatik funktionierte nicht // @version 1.17.5 Lebensanzeige erweitert (Sylt); Logout-Problem beseitigt // @version 1.17.4 In Sylt Waschanzeige zu Lebensanzeige umfunktioniert // @version 1.17.3 Updateverfahren angepasst; Korrektur Plunderbenutzung // @version 1.17.2 Anpassungen für Adventskalender // @version 1.17.1 Version für FF 17; Anzeige für Haustierweiterbildung zu Streuneranzeige umgebaut (Sylt) // @version 1.16.1 Erste Anpassungen für Sylt // @version 1.15.5 Mehrfachplunder in Chrome funktionierte nicht // @version 1.15.4 Berechnung des Punktverlustes beim Ausweichen eines Kampfes angepasst // @version 1.15.3 Zuckerschock mehrfach benutzbar // @version 1.15.2 Provokationsplunder über Plunderleiste // @version 1.15.1 Anpassung an Spiel Stadtfeind Nr. 1 // @version 1.14.6 Tagesaufgabe angepasst // @version 1.14.5 Endlosschleife auf Bandenseite beseitigt // @version 1.14.4 Pins in Shoutbox waren falsch (wegen Penner Ahoi!) // @version 1.14.3 Testausgabe entfernt (Sorry !!) // @version 1.14.2 Name des Penners wurde falsch ermittelt // @version 1.14.1 Anpassungen für Penner Ahoi! // @version 1.13.10 Direktplunderliste erweitert // @version 1.13.9 Fehler behoben: keine Anzeige auf Bandenseite // @version 1.13.8 noch einmal MotD und SB: schmal, aber optional breit // @version 1.13.7 MotD wieder schmal // @version 1.13.6 MotD verbreitert // @version 1.13.5 Plunder aus Plunderleiste mehrfach benutzbar // @version 1.13.4 Missionsbox abschaltbar; Verschiebefunktion der Boxen repariert // @version 1.13.3 Fehler bei einmaligen Missionen behoben // @version 1.13.2 Anzeige von Bandenboost und Missionsstatus // @version 1.13.1 eintreffende Kämpfe und Bandenkämpfe werden wieder angezeigt // @version 1.12.11 Verletzungen werden angezeigt; Plundershop repariert; kleinere Fehler behoben // @version 1.12.10 Anzahl bei benutzbarem Plunder fehlerhaft // @version 1.12.9 Plunderprobleme behoben // @version 1.12.8 Korrektur wegen Pennersturm (2. Versuch) // @version 1.12.7 Korrektur wegen Pennersturm // @version 1.12.6 Erweiterung Pennersturm (Teil 2) // @version 1.12.5 Erweiterung Pennersturm (Teil 1) // @version 1.12.4 optionales Deaktivieren und Entfernen von KK-Mails // @version 1.12.3 V-Waffe optional ohne Nachfrage erwerben // @version 1.12.2 Tooltip für eingehende Kämpfe überarbeitet; neue Tagesaufgaben // @version 1.12.1 Version läuft unter Chrome; neue Tagesaufgaben; Erinnerung an V-Waffe // @version 1.11.14 Neue Funktion: Lose kaufen // @version 1.11.13 Adventskalender erst öffnen, wenn möglich // @version 1.11.12 Löschbutton für Kampfliste; Adventskalender // @version 1.11.11 Anzeige von Wut oder Wiwu oder Bande // @version 1.11.10 Landesflaggen wurden nicht angezeigt; bei Wut: Ende statt Dauer anzeigen // @version 1.11.9 Essen funktionierte nicht in Moskau // @version 1.11.8 Skript lief nicht mehr nach letztem Update // @version 1.11.7 Korrektur Zeitzone Moskau; Korrektur Wutwert ATT // @version 1.11.6 Versuch, die Poweranzeige zu korrigieren; St. Petersburg durch Moskau ersetzt // @version 1.11.5 Klingelevent verursachte falsche Anzeige bei Verbrechen // @version 1.11.4 Seitenverweis auf gemerkten SB-Eintrag funktionierte nicht; Tagesaufgabe Haustierkampf angepasst // @version 1.11.3 Problem mit Plunder behoben; Profilavatar anzeigen // @version 1.11.2 Problem mit neuem Plunder behoben; bitte Noagerl noch nicht über Plunderleiste benutzen !! // @version 1.11.1 Version 1 nach dem neuen PG-Patch // @version 1.10.10 Shoutbox repariert und kleine Korrekturen // @version 1.10.9 kleinere Korrekturen // @version 1.10.8 Plunderauswahl korrigiert // @version 1.10.7 Plunderauswahl und Shoutbox korrigiert // @version 1.10.6 Skript lief nicht mehr // @version 1.10.5 Problem mit Alkoholplunder behoben; Werbung kann ausgeblendet werden // @version 1.10.4 Grafiken auf mehrere Accts verteilt // @version 1.10.3 noch ein paar kleine Fehler behoben // @version 1.10.2 Grafikadressen korrigiert // @version 1.10.1 Server für Grafiken gewechselt; Cursorsteuerung korrigiert; viele kleine Fehler behoben // @version 1.9.5 Anpassungen an Patch Teil 4 (Goldenes Bier/Promille rauf funktioniert wieder) // @version 1.9.4 Anpassungen an Patch Teil 3 (Plunderleiste sollte wieder ganz funktionieren) // @version 1.9.3 Anpassungen an Patch Teil 2 (Plunderleiste funktioniert teilweise wieder) // @version 1.9.2 Anpassungen an Patch Teil 1 // @version 1.9.1 Ess- und Trinkhandler geändert: Tagesaufgabe wird berücksichtigt; Variablen vereinheitlicht; Glühwürmchen-Effekt abgeschaltet // @version 1.8.29 Probleme mit Glühwürmchen in SB behoben // @version 1.8.28 Essen korrigiert für Hamburg reloaded // @version 1.8.27 Anpassungen für Hamburg reloaded // @version 1.8.26 neues Panel-Design für PG reloaded (Vielen Dank an lefty1981) // @version 1.8.25 Plundershop lief nicht in FF 3.x // @version 1.8.24 Aktualisierung der Plundershop-Wartezeit // @version 1.8.23 Fehler mit Bündnis-SB behoben // @version 1.8.22 Neue Leiste in PG reloaded für Plundershop // @version 1.8.21 Verwendung von Goldenem Bier in PG reloaded korrigiert // @version 1.8.20 SB-Pin und Benutzung von Boosts in PG reloaded korrigiert // @version 1.8.19 Normales Trinken in PG reloaded funktionierte nicht mehr // @version 1.8.18 nochmal Korrektur von AlkoPlunder in altem PG // @version 1.8.17 AlkoPlunder in altem PG funktionierte nicht mehr // @version 1.8.16 kleiner Fehler bei Promille rauf in PG reloaded behoben // @version 1.8.15 bei PG reloaded wird Goldenes Bier zum Betrinken berücksichtigt // @version 1.8.14 Fehler bei Plunderanzeige PG reloaded behoben // @version 1.8.13 Abfrage bei Benutzung des Goldenen Biers bei PG reloaded entfernt // @version 1.8.12 Anzeige aller 4 Plunder bei PG reloaded // @version 1.8.11 noch ein Problem mit DEF-Booster behoben // @version 1.8.10 Probleme mit DEF-Booster behoben // @version 1.8.9 Probleme mit Plunderwechsel und WiWu/Wutanzeige behoben // @version 1.8.8 Benutzen von Plunder in PG reloaded korrigiert // @version 1.8.7 Probleme mit Plunderwechsel behoben (falscher Plunder wird angelegt) // @version 1.8.6 Erweiterungen für PG reloaded komplett; läuft jetzt auch unter Firefox 4 // @version 1.8.5 Fehler behoben: Skript funktionierte nur noch, wenn Penner in einer Bande war // @version 1.8.4 Erweiterungen für PG reloaded // @version 1.8.3 läuft jetzt auch in Köln (1. Version) // @version 1.8.2 Update-Verfahren verbessert; Überspringen der Logout-Seite // @version 1.8.1 Anpassungen für Russland, Sao Paolo und London; Sprachumschaltung; neuer Update-Mechanismus // @version 1.7.19 2. Version Buenos Aires: Essen und Trinken korrigiert // @version 1.7.18 kleinere Korrekturen; 1. Version Buenos Aires // @version 1.7.17 Anzeige des vorhandenen Schnees für Schneemann war falsch // @version 1.7.16 Logout funktionierte nicht richtig // @version 1.7.15 Nochmal Korrekturversuch für Probleme mit dem Skript; Abbruchmöglichkeit bei Logout // @version 1.7.14 Quickfix; hoffe, es geht wieder alles // @version 1.7.13 falsche Stückzahl bei benutzbarem Plunder; Warnung bei Logout; Rückkehr in die richtige Stadt nach Logout // @version 1.7.12 Pinnen eines Eintrags in der SB; i-Symbole beim Essen/Trinken und Flaschensammeln verschoben // @version 1.7.11 Anzeige des Gegners bei Angriff; Entfernen von nicht mehr vorhandenem Plunder aus der Plunderleiste // @version 1.7.10 Anzeige/Umschaltbutton für Meldungen; Anzeige des vorhandenen Plunders bei Event-Plunder // @version 1.7.9 kleinere Korrekturen; Erweiterung der Flaschensammelschaltfläche // @version 1.7.8 Probleme mit anderen Skripts behoben, Anpassungen für Halloween // @version 1.7.7 kleinere Korrekturen, Anpassungen für Halloween // @version 1.7.6 Anpassungen für Halloween // @version 1.7.5 Erweiterungen für Halloween hinzugefügt // @version 1.7.4 Sammelmarkenanzeige führt jetzt auch zur Tagesaufgabe, solange noch nicht erledigt // @version 1.7.3 Art und Stufe der Weiterbildung werden angezeigt // @version 1.7.2 Leiste mit Tagesaufgabe war nicht mehr abschaltbar // @version 1.7.1 neue Leiste: Weiterbildung, Sammelmarken und Einkaufswagen // @version 1.6.9 Verriegelung der Leisten; Sauberkeitsanzeige unter Waschbutton // @version 1.6.8 kleiner Fehler bei bumrise behoben; 2. Version der Anzeige der täglichen Aufgabe // @version 1.6.7 kleiner Fehler bei bumrise behoben; 1. Version der Anzeige der täglichen Aufgabe // @version 1.6.6 kleinen Fehler beim Def-Waffe-Icon behoben // @version 1.6.5 Kampf-, Bandenkampf und Def-Waffe sind auch anklickbar, wenn sie leer sind // @version 1.6.4 Leisten können beliebig platziert werden // @version 1.6.3 Problem mit dem Geld in Marseille behoben // @version 1.6.2 erste (noch nicht vollständige Version) für Warschau und Krakau; zusätzliche Infos über ATT/DEF-Verstärkung und V-Waffe // @version 1.6.1 erste (noch nicht vollständige Version) für NY und Madrid; kleinere Fehler behoben // @version 1.5.9 zum Betrinken wird der Plunder genommen, der als erstes in der Plunderliste steht, ansonsten wie bisher // @version 1.5.8 es wurden 6 und nicht 5 Trikots angezeigt; Hinweis, wenn man wegen Bandeneintritt nicht von Bandenfähigkeit profitiert // @version 1.5.7 Anzeige für Neue Nachrichten verschoben; Mehrfachinstallation von Skript verhindert; ACHTUNG: Es sind einmalig alle Einstellungen für dieses Skript neu zu setzen !!! // @version 1.5.6 Anzeige der gefundenen Trikots verbessert und abschaltbar gemacht // @version 1.5.5 Anzeige der gefundenen Trikots // @version 1.5.4 Falsche Anzahl von eingehenden Angriffen wurde angezeigt // @version 1.5.3 Ende von WiWu bzw. Wut wurde nicht mehr angezeigt // @version 1.5.2 Fehler bei Sortierung der eingehenden Angriffe behoben // @version 1.5.1 kleinere Fehler behoben; Beta für Anzeige der eingehenden Angriffe; Hinweis im Power-Tooltip auf bessere Waffe/Eigenheim/Plunder // @version 1.4.8 kleiner Fehler behoben: Anzeige von Wutentfachung im Text auch bei WiWu // @version 1.4.7 Fehler bei Kampfstärkeermittlung bei Wut behoben; // Auch WiWu wird jetzt erkannt und angezeigt; // Ende von WiWu bzw. Wut wird angezeigt; // Hochsetzen des Promillewertes unter Verwendung von Plunder // @version 1.4.6 Problem mit Umlauten behoben (hoffentlich alle) // @version 1.4.5 Fehler in Kommentaren behoben // @version 1.4.4 Essen für Promilleabbau korrigiert; Alphaversion für Anzeige der eingehenden Angriffe // @version 1.4.3 Beim Waschen wird der Schwamm benutzt, wenn es günstiger ist // @version 1.4.2 Bugfix für Essen in München; Änderung der Formel für Kampfstärke // @version 1.4.1 Weitere Anpassungen für München und Verbesserung bei der Essensauswahl // @version 1.3.8 Einige Anpassungen für München // @version 1.3.7 Aktueller Plunder wird jetzt immer frisch ermittelt; Bereich auf tägliche Aufgaben erweitert // @version 1.3.6 tinypic.com scheint ein Problem zu haben, Grafikhoster gewechselt // @version 1.3.5 Fehler beim Benutzen von Stärkeplunder (Wut- und Poweranzeige funktionierten unter Umständen nicht mehr) behoben // @version 1.3.4 Erneute Anpassung Wut-Berechnung nach erneuter Änderung durch Farbflut *koppschüttel*; Aktualisierungsabfrage alle 2 Stunden // @version 1.3.3 Anpassung Wut-Berechnung nach Änderung durch Farbflut; weitere Probleme bei Max-Berechnung korrigiert; Schnellwaschen, -trinken und essen (BETA) // @version 1.3.2 Benutzbarer Plunder wählbar (mit Sicherheitsabfrage); allg. Verbesserungen, kleinere Dateigrößen; Fehler bei Wuterkennung korrigiert // @version 1.3.1 Plunderstücke für Direktzugriff auswählbar // @version 1.3.0 Plunder-Direktzugriff // @version 1.2.3 Manuelles Zurücksetzen des maximalen Power-Wertes durch Anklicken der Grafik // @version 1.2.2 Berücksichtigung nicht abrufbarbarer Seiten (Bug Power-Anzeige) // @version 1.2.1 Bugfixes (Wut/Kampfstärkeberechnung, mehrere Penner) // @version 1.2.0 Plunderanzeige; Kampfstärkebewertung; Wutanzeige; Ergebnisänderung bei Bandenkämpfen // @version 1.1.3 Fehlerbehandlung nicht verfügbarer HS + Bandenkampfergebnis im Tooltip // @version 1.1.2 Erweiterung Links auf Bandenkampfgegner + Zählung Bandenkämpfe // @version 1.1.1 Erweiterung um Bandenkämpfe // @version $Id: infozentrale.user.js 91 2015-03-31 20:14:14Z mkl $ var dt = document.implementation.createDocumentType("html", "-//W3C//DTD HTML 4.01 Transitional//EN", "http://www.w3.org/TR/html4/loose.dtd"); var dom = document.implementation.createDocument(null, null, dt); // PG-Version ermitteln var oldVersion=m=1; var nrOfTabs = 3; var m_ownusername = "Mr.X"; var NrOfCalls = GM_getValue("NrOfCalls", 0) % 10000000000 + 1; GM_setValue("NrOfCalls", NrOfCalls); var info = "info"; if (oldV()) { oldVersion = 0; m_ownusername = document.getElementsByClassName('zleft profile-data')[0].getElementsByTagName("a")[0].getElementsByTagName("span")[0].innerHTML; } var INFO_URL = ""; if (GM_getValue("noFirefly", 1) == 1) { var unFire=function() { var firefly = document.getElementsByClassName('chestplunder_effect_60'); for (i = 0; i < firefly.length; i++) firefly[i].className = ""; window.setTimeout(unFire, (i>0)?2000:10000); } if (document.getElementsByClassName('chestplunder_effect_60').length > 0) window.setTimeout(unFire, 2000); } function getLangTxt(TxtArray) { var text = TxtArray[myLang]; if (text == undefined) { text = TxtArray[1]; if (text == undefined) text = TxtArray[0]; } return(text); } function xor(a, b){return a==""?a:String.fromCharCode(b^a.charCodeAt(0)) + xor(a.substr(1),b);} function j(c){return c==""?c:"U"+c.slice(0,2)+j(c.slice(2))}; function k(c){return trimString(GM_info.scriptMetaStr.split("// @"+c)[1].split("\n")[0])}; var wrap = document.getElementById("wrap"); var myLang = 0; var logoutWarn = -1; var promille = GetPromille(document); var m_ownpoints = GetPunkte(document); var myprof = document.getElementById("my-profile"); if (myprof.getElementsByTagName("form").length > 0) { function checkLogout(tries, str) { GM_xmlhttpRequest({method: 'GET', url: OVERVIEW_URL, onload: function(responseDetails) { var content = responseDetails.responseText; // Wenn die Seite abgerufen werden konnte if (content.indexOf(KEYWORD_MYBUM[lang]) != -1) doLogout(tries+1, str); else { location.href = OVERVIEW_URL; // if (tries > 1) // alert("Logouts: " + tries); } } }); } function doLogout(tries, str) { if (str == "") GM_xmlhttpRequest({ method:"GET", url:TOWNBASE_URL+"logout/", onload: function(responseDetails) { checkLogout(tries, str); } }); else GM_xmlhttpRequest({ method:"POST", url:TOWNBASE_URL + "logout/", headers: {'Content-type': 'application/x-www-form-urlencoded'}, data: encodeURI(str), onload: function(responseDetails) { checkLogout(tries, str); } }); } myprof.getElementsByTagName("form")[0].onsubmit = function(event) { if (promille >= 0.8) logoutWarn = 1; var warn = ""; if (logoutWarn == 1) warn = getLangTxt(TxtLogoutWarn1); else if (logoutWarn == 2) warn = getLangTxt(TxtLogoutWarn2); if (warn == "") var logout = true; else var logout = confirm(warn + " " + getLangTxt(TxtLogout)); if (logout) { var input = myprof.getElementsByTagName("input"); var logoutPar = ""; if (input.length > 1) logoutPar = input[0].name + "=" + input[0].value; doLogout(1, logoutPar); } return false; } } // Schreiben einer Variablen function PG_setValue(varname, value) { GM_setValue(TOWNEXTENSION + varname, value); } // Holen einer Variablen aus alten Versionen function PG_getValue(varname, deflt) { var vold = ""; var v = GM_getValue(TOWNEXTENSION + varname, "deadmeat"); if (v == "deadmeat" && TOWNEXTOLD != "") { vold = TOWNEXTOLD + varname; v = GM_getValue(vold, "deadmeat"); if (v == "deadmeat") { vold = varname + TOWNEXTOLD; v = GM_getValue(vold, "deadmeat"); } } if (v == "deadmeat") return deflt; if (vold != "") { PG_setValue(varname, v); GM_deleteValue(vold); } return v; } // Holen einer Variablen mit User-Id function PGu_getValue(varname, deflt) { return PG_getValue(varname + m_ownuserid, deflt); } // Setzen einer Variablen mit User-Id function PGu_setValue(varname, value) { PG_setValue(varname + m_ownuserid, value); } // Name PG Warnicon zum Zählen der Angriffe var ICON_WARNING = 'warning.gif'; // PG-Warnicon // Größe des Kampf- und Bandenkampficons in Pixeln var ICON_WIDTH = '35'; // Eigene Icons var imgPrefix = new Array('http://s14.directupload.net/images/user/141020/', 'http://www.bilderdepot.eu/images/'); var ICON_FIGHT_OK = 'bm66mqfc.gif#1389869045.gif'; // Icon Kampfstärke OK (icon_fight_ok.gif) var ICON_FIGHT_WEAK = 'x6sxmybm.gif#1390637776.gif'; // Icon Kampfstärke NICHT OK (icon_fight_weak.gif) var ICON_FIGHT_DANG = 'n6oarm2i.png#1389947864.png'; // Icon Kampfstärke Gefahr (rottotenkopf.png) var ICON_NEW = 'of4vx3fb.png#1390240000.png'; // Icon für Ergebnisänderungen ("NEU") (new.png) var ICON_WUTAKTIV = 'ld8kz7uy.gif#1390472941.gif'; // Icon für Wut AKTIV (icon_wutaktiv.gif) var ICON_WUTINAKTIV = 'nedrbcxi.gif#1389987211.gif'; // Icon für Wut INAKTIV (icon_wutinaktiv.gif) var ICON_ERROR = '9k8965y4.png#1390093136.png'; // Icon für Fehler beim Abrufen einer Seite (503.png) var ICON_ATTDEFWPNBACK = new Array(); // Icon ATT/DEF/WPN-Hintergrund ICON_ATTDEFWPNBACK[0] = '6h74yo8m.png#1390489908.png'; // attdefwpn.png ICON_ATTDEFWPNBACK[1] = 'ldgc7u3w.gif#1390133937.gif'; // attdefwpn.gif var ICON_ATTDEFJOBBACK = new Array(); // Icon ATT/DEF/JOB-Hintergrund ICON_ATTDEFJOBBACK[0] = '8vsncps2.png#1389879238.png'; // attdefjob.png ICON_ATTDEFJOBBACK[1] = '8vsncps2.png#1389879238.png'; // attdefjob.png var ICON_PLNDWUTPOWERBACK = new Array(); // Icon Hintergrund für Plunder, Wut und Power ICON_PLNDWUTPOWERBACK[0] = 'fb9em56k.png#1390571761.png'; // plndwutpower.png ICON_PLNDWUTPOWERBACK[1] = 'cwhjq4fg.gif#1390689622.gif'; // plndwutpower.gif var ICON_PLNDWIWUPOWERBACK = new Array(); // Icon Hintergrund für Plunder, WiWu und Power ICON_PLNDWIWUPOWERBACK[0] = 'thpu9jdv.png#1390674367.png'; // plndwiwupower.png ICON_PLNDWIWUPOWERBACK[1] = '6hjxlzba.gif#1390736017.gif'; // plndwiwupower.GIF var ICON_PLNDGANGPOWERBACK = new Array(); // Icon Hintergrund für Plunder, Gang und Power ICON_PLNDGANGPOWERBACK[0] = 'qku9dgx4.png#1390752445.png'; // plndgangpower.png ICON_PLNDGANGPOWERBACK[1] = 'q63mekfv.gif#1389878913.gif'; // plndgangpower.GIF var ICON_GANGFIGHTBACK = new Array(); // Icon Bandenkampfhintergrund ICON_GANGFIGHTBACK[0] = 'fliu68o2.png#1390522793.png'; // bkampf.png ICON_GANGFIGHTBACK[1] = '6mwe4efb.gif#1390530117.gif'; // bkampf.gif var ICON_FIGHTBACK = new Array(); // Icon Kampfhintergrund ICON_FIGHTBACK[0] = 'ze4df9aq.png#1390443549.png'; // kampf.png ICON_FIGHTBACK[1] = '4putcx9i.gif#1390362234.gif'; // kampf.gif var ICON_PLUNDERDIRECTBACK = new Array(); // Icon Direktplunderhintergrund ICON_PLUNDERDIRECTBACK[0] = 'sgfv6wih.png#1390742472.png'; // plunderdirekt.png ICON_PLUNDERDIRECTBACK[1] = 'zgf8t36k.gif#1390401330.gif'; // plunderdirekt.gif var ICON_PLUNDERSHOPBACK = new Array(); // Icon Plundershophintergrund ICON_PLUNDERSHOPBACK[0] = 'ih3gbuyj.png#1390643590.png'; // plundershop.png ICON_PLUNDERSHOPBACK[1] = '468cgkmx.png#1390188035.png'; // pshop.png var ICON_SKLCRDCRTBACK = new Array(); // Icon Skill/Cards/Cart-Hintergrund ICON_SKLCRDCRTBACK[0] = '73gx3oel.png#1390618644.png'; // sklcardsbttl.png ICON_SKLCRDCRTBACK[1] = 'fv7hrkij.gif#1390724954.gif'; // sklcardsbttl.gif var ICON_MISSIONBACK = new Array(); // Icon Missions-Hintergrund ICON_MISSIONBACK[0] = 'a77aj2xb.png#1390721461.png'; // mission.png ICON_MISSIONBACK[1] = 'sxgwmmoy.gif#1390594029.gif'; // mission.gif var ICON_PROMILLEBACK = new Array(); // Icon Promillehintergrund ICON_PROMILLEBACK[0] = '8299qeeo.png#1390764853.png'; // promillewash.png ICON_PROMILLEBACK[1] = 'iyz8mdr9.gif#1390067203.gif'; // promillewash.gif var ICON_PROMILLEBACK2 = new Array(); // Icon Promillehintergrund mit Health ICON_PROMILLEBACK2[0] = 'alf7wyt6.png#1390047654.png'; // promillehlth.png ICON_PROMILLEBACK2[1] = 'paogl6q9.gif#1390760636.gif'; // promillehlth.gif var ICON_PLUNDERFREE = 'm2w8te35.gif#1390982903.gif'; // Icon Freier Plunderplatz (grnadd.gif) var ICON_PLUNDERRESET = 'nqnuou3f.png#1391044104.png'; // Icon Direktplunder zurücksetzen (pfeile.png) var ICON_PLUNDERA = '3eslgfwp.gif#1391167605.gif'; // Icon anlegbarer Plunder (balkblau.gif) var ICON_PLUNDERB = '3lun6ys8.gif#1391448824.gif'; // Icon benutzbarer Plunder (balkrot.gif) var ICON_NOPLUNDEREQUIP = 'nedrbcxi.gif#1389987211.gif'; // Icon für Wut INAKTIV (icon_wutinaktiv.gif) var ICON_NODEFWEAPON = 'jpybbb4d.png#1391311278.png'; // Icon für keine V-Waffe (nodefwpn.png) var ICON_DELFIGHTLIST = '7si9bcm9.png#1391464006.png'; // Icon für Löschen der Kampfliste (userdel.png) var ICON_PROMILLEUP = '8qk9ekta.gif#1391243676.gif'; // Icon Promille hoch (promilleup.gif) var ICON_PROMILLEDOWN = 'vlyx86sm.gif#1390494349.gif'; // Icon Promille runter (promilledn.gif) var ICON_WASH = 'eoukovtr.gif#1390906858.gif'; // Icon Waschen (wash.gif) var ICON_REDC = '25s3aav7.png#1391216082.png'; // Icon RotKreuz (firstaid.png) var ICON_CLEAN = 'va6cvs7r.gif#1391343372.gif'; // Icon sauber (balkgrn.gif) var ICON_DIRTY = '3lun6ys8.gif#1391448824.gif'; // Icon schmutzig (balkrot.gif) var ICON_LOCK = 'fkubojl8.png#1391283980.png'; // Icon Schloss (lock.png) var ICON_PIN = 'i3m8xmts.png#1390879670.png'; // Icon Pin (pushpin.png) var ICON_PIN2 = 'a25b8eln.png#1390511713.png'; // Icon Pin2 (pushpin2.png) var ICON_REDBG = 'ygyw3yhq.gif#1390738741.gif'; // roter Hintergrund (redbg.gif) var ICON_GRNBG = '9b8yghfl.gif#1391102256.gif'; // grüner Hintergrund (grnbg.gif) var ICON_CART = 'n2b7t38t.png#1391171796.png'; // Icon Einkaufswagen (cart.png) var ICON_CUFF = 'v2bzr9ro.png#1391324945.png'; // Icon Handschellen (handcuff.png) var ICON_ATTACK = '6bx6cif8.png#1391014003.png'; // Icon für Kampf (box.png) var ICON_INFO = '3kedhs6y.png#1391069574.png'; // Icon für Info (info.png) var ICON_NOINFO = '7vxu258r.png#1391434761.png'; // Icon für keine Info (noinfo.png) var ICON_BOO1 = 'n6gu32y9.gif#1390713106.gif'; // Icon Boost +1 (att1.gif) var ICON_BOO2 = 'azixl2xe.gif#1390746912.gif'; // Icon Boost +2 (att2.gif) var ICON_BOO3 = 'kcria9ns.gif#1391392456.gif'; // Icon Boost +3 (att3.gif) var ICON_BOO4 = 'c3vn2aaa.gif#1391332978.gif'; // Icon Boost +4 (att4.gif) var ICON_BOO10 = '5tq2kisp.gif#1390668449.gif'; // Icon Boost +10 (att10.gif) var ICON_BOOU = 'efg5va7a.gif#1390754740.gif'; // Icon Boost + unbekannt (attu.gif) var ICON_MIN1 = 'vpqdci59.gif#1390601985.gif'; // Icon Boost -1 (att-1.gif) var ICON_MIN2 = '2z96vn59.gif#1390877590.gif'; // Icon Boost -2 (att-2.gif) var ICON_MIN3 = 'cwzmaen3.gif#1390750518.gif'; // Icon Boost -3 (att-3.gif) var ICON_MIN4 = 'dhd3mjxv.gif#1391406045.gif'; // Icon Boost -4 (att-4.gif) var ICON_MIN10 = 'jxgh99ur.gif#1390775074.gif'; // Icon Boost -10 (att-10.gif) var ICON_MINU = '2ox2bogu.gif#1391011631.gif'; // Icon Boost - unbekannt (att-u.gif) // Landesflaggen var ICON_FLAGS = new Array(); ICON_FLAGS[0] = 'vthw2vqz.png#1390813642.png'; // germany.png ICON_FLAGS[1] = '7z36shom.png#1390671700.png'; // United_States.png ICON_FLAGS[2] = 'z2z64vih.png#1391062401.png'; // poland.png ICON_FLAGS[3] = 'wtu5y8er.png#1391259140.png'; // france.png ICON_FLAGS[4] = 'bnvzc7c5.png#1390546466.png'; // spain.png ICON_FLAGS[5] = 'r5rp2bt6.png#1390699860.png'; // brazil.png ICON_FLAGS[6] = '64hf6j54.png#1391025401.png'; // russia.png ICON_FLAGS[7] = '2cku2df4.png#1391440618.png'; // united_kingdom.png // Array für Kampf-Warnicons (unterschiedliche Anzahl eingehender Kämpfe) var ICON_FIGHT = new Array(); ICON_FIGHT[0] = 'u4liu889.png#1390621816.png'; // nofight.png ICON_FIGHT[1] = 'b4ybnz7d.png#1390917438.png'; // rot1.png ICON_FIGHT[2] = 'wt83kd3d.png#1391163458.png'; // rot2.png ICON_FIGHT[3] = '3uwk5pzg.png#1391147913.png'; // rot3.png ICON_FIGHT[4] = 'iyi8ml2i.png#1391355656.png'; // rot4.png ICON_FIGHT[5] = '58t9giuc.png#1390551578.png'; // rot5.png ICON_FIGHT[6] = 'n6oarm2i.png#1391158469.png'; // rottotenkopf.png // Array für Bandenkampf Warnicons (unterschiedliche Anzahl eingehender Bandenkämpfe) var ICON_GANGFIGHT = new Array(); ICON_GANGFIGHT[0] = 'u4liu889.png#1390621816.png'; // nofight.png ICON_GANGFIGHT[1] = 'unqybn46.png#1390678586.png'; // blau1.png ICON_GANGFIGHT[2] = 'ra8whwg7.png#1391108808.png'; // blau2.png ICON_GANGFIGHT[3] = 'l7jcscjr.png#1390510302.png'; // blau3.png ICON_GANGFIGHT[4] = 'pcwk4eq3.png#1390945644.png'; // blau4.png ICON_GANGFIGHT[5] = 'r7z52ptu.png#1391045967.png'; // blau5.png ICON_GANGFIGHT[6] = 'patadjlp.png#1390942984.png'; // blautotenkopf.png // Konstanten für Wut-Zustand var WUTSTATE_ACTIVE = 0; var WUTSTATE_INACTIVE = 1; var WUTSTATE_ERROR = 2; // Konstanten für Fightstate-Zustand var FIGHTSTATE_OK = 0; var FIGHTSTATE_WEAK = 1; var FIGHTSTATE_DANG = 3; var FIGHTSTATE_ERROR = 2; // IDs zum Zugriff auf Nahrungsmittel var ID_BEER = 1; var ID_BREAD = 2; var ID_CURRY = 3; var ID_DOENER = 4; var ID_WODKA = 7; var ID_GRUSEL = 8; var ID_SWEETS = 9; var ID_GLUEHW = 10; var ID_STOLLN = 11; // URL für Anwenden des Plunders var PLUNDERIMAGE_URL = new Array(); PLUNDERIMAGE_URL[0] = "http://static.pennergame.de/img/pv4/plunder_new/old/"; PLUNDERIMAGE_URL[1] = "http://static.pennergame.de/img/pv4/plunder_new/"; PLUNDERIMAGE_URL[2] = "http://static.pennergame.de/img/pv4/plunder/"; PLUNDERIMAGE_URL[3] = "http://static2.pennergame.de/img/pv4/plunder_new/"; // Diverse Texte - Ausgabe var THISSCRIPTNAME = new Array; THISSCRIPTNAME[0] = "Infozentrale"; THISSCRIPTNAME[1] = "info central"; THISSCRIPTNAME[2] = "info central"; THISSCRIPTNAME[3] = "info central"; THISSCRIPTNAME[4] = "info central"; THISSCRIPTNAME[5] = "info central"; THISSCRIPTNAME[6] = "Информационный центр"; THISSCRIPTNAME[7] = "info central"; var TOOLTIP_PLUNDERAUSWAHL = new Array(); TOOLTIP_PLUNDERAUSWAHL[0] = 'Hier klicken, um weitere Plunderstücke für den Direktzugriff auszuwählen. Die Anzeige im Plunder-Direktzugriff erfolgt in der Reihenfolge des Hinzufügens.'; TOOLTIP_PLUNDERAUSWAHL[1] = 'Click here to choose further junk for the direct access list. The order in the display is given by the order of adding to the list.'; TOOLTIP_PLUNDERAUSWAHL[6] = 'Кликни здесь, чтобы добавить барахло. Последовательность выставления барахла зависит от последовательности кликов.'; var TOOLTIP_PLUNDERRESET = new Array(); TOOLTIP_PLUNDERRESET[0] = 'Hier klicken, um die Plunder-Direktzugriffsliste zu leeren.'; TOOLTIP_PLUNDERRESET[1] = 'Click here to clear the direct access list of the junk.'; TOOLTIP_PLUNDERRESET[2] = 'Click here to clear the direct access list of the junk.'; TOOLTIP_PLUNDERRESET[3] = 'Click here to clear the direct access list of the junk.'; TOOLTIP_PLUNDERRESET[4] = 'Click here to clear the direct access list of the junk.'; TOOLTIP_PLUNDERRESET[5] = 'Click here to clear the direct access list of the junk.'; TOOLTIP_PLUNDERRESET[6] = 'Кликни здесь, чтобы удалить все барахло.'; TOOLTIP_PLUNDERRESET[7] = 'Click here to clear the direct access list of the junk.'; var TOOLTIP_FIGHTOK = new Array(); TOOLTIP_FIGHTOK[0] = 'Deine aktuelle Kampfstärke ist optimal (%d)! Anklicken --> RESET des Power-Wertes.'; TOOLTIP_FIGHTOK[1] = 'Your fighting power is optimal (%d)! Click --> RESET the power-value.'; TOOLTIP_FIGHTOK[6] = 'Твоя сила оптимальна (%d)! Кликни, чтобы актуализировать твою силу.'; var TOOLTIP_FIGHTWEAK = new Array(); TOOLTIP_FIGHTWEAK[0] = 'Achtung, Du hast derzeit nicht Deine maximale Kampfstärke (%d/%d)! Anklicken --> RESET des Power-Wertes.'; TOOLTIP_FIGHTWEAK[1] = "Attention, you don't have your maximal fighting power (%d/%d)! Click --> RESET the power-value."; TOOLTIP_FIGHTWEAK[6] = "Внимание, у тебя сейчас не максимальная сила (%d/%d)! Кликни, чтобы актуализировать твою силу."; var TOOLTIP_FIGHTDANG = new Array(); TOOLTIP_FIGHTDANG[0] = "Achtung, Du schwebst in Lebensgefahr !"; TOOLTIP_FIGHTDANG[1] = "Your life hangs from a thread !"; TOOLTIP_FIGHTDANG[2] = "Znajdujesz się w niebezpieczeństwie !"; TOOLTIP_FIGHTDANG[3] = "Tu es en danger de mort !"; TOOLTIP_FIGHTDANG[4] = "¡Tu vida está en peligro!"; TOOLTIP_FIGHTDANG[5] = "Você está correndo risco de vida !"; TOOLTIP_FIGHTDANG[6] = "Ты в смертельной опасности !"; TOOLTIP_FIGHTDANG[7] = "Your life is in Danger !"; var TOOLTIP_LOADERROR = new Array(); TOOLTIP_LOADERROR[0] = 'Seitenladefehler!'; TOOLTIP_LOADERROR[1] = 'page loading error!'; TOOLTIP_LOADERROR[6] = 'Ошибка при запуске страницы!'; var TOOLTIP_WIWUTAKTIV = new Array(); TOOLTIP_WIWUTAKTIV[0] = ' ist aktiv! Ende: '; TOOLTIP_WIWUTAKTIV[1] = ' is active! End: '; TOOLTIP_WIWUTAKTIV[2] = ' jest aktywny! Zakończ: '; TOOLTIP_WIWUTAKTIV[3] = ' is active! End: '; TOOLTIP_WIWUTAKTIV[4] = ' is active! End: '; TOOLTIP_WIWUTAKTIV[5] = ' is active! End: '; TOOLTIP_WIWUTAKTIV[6] = ' активно! Окончание: '; TOOLTIP_WIWUTAKTIV[7] = ' is active! End: '; var TOOLTIP_WIWUTINAKTIV = new Array(); TOOLTIP_WIWUTINAKTIV[0] = ' derzeit NICHT aktiv!'; TOOLTIP_WIWUTINAKTIV[1] = ' NOT active at the moment!'; TOOLTIP_WIWUTINAKTIV[2] = ' NOT active at the moment!'; TOOLTIP_WIWUTINAKTIV[3] = ' NOT active at the moment!'; TOOLTIP_WIWUTINAKTIV[4] = ' NOT active at the moment!'; TOOLTIP_WIWUTINAKTIV[5] = ' NOT active at the moment!'; TOOLTIP_WIWUTINAKTIV[6] = ' сейчас неактивно!'; TOOLTIP_WIWUTINAKTIV[7] = ' NOT active at the moment!'; var TOOLTIP_LOCK = new Array(); TOOLTIP_LOCK[0] = 'Leistenbewegung wird nicht gespeichert!'; TOOLTIP_LOCK[1] = 'Movement of panels will not be stored!'; TOOLTIP_LOCK[2] = 'Movement of panels will not be stored!'; TOOLTIP_LOCK[3] = 'Movement of panels will not be stored!'; TOOLTIP_LOCK[4] = 'Movement of panels will not be stored!'; TOOLTIP_LOCK[5] = 'Movement of panels will not be stored!'; TOOLTIP_LOCK[6] = 'перемещение панели не сохраняется!'; TOOLTIP_LOCK[7] = 'Movement of panels will not be stored!'; var ALERT_PLUNDERRESET = new Array(); ALERT_PLUNDERRESET[0] = 'Die Plunder-Direktzugriffsliste wurde geleert!'; ALERT_PLUNDERRESET[1] = 'The direct access list for junk has been cleared!'; ALERT_PLUNDERRESET[2] = 'The direct access list for junk has been cleared!'; ALERT_PLUNDERRESET[3] = 'The direct access list for junk has been cleared!'; ALERT_PLUNDERRESET[4] = 'The direct access list for junk has been cleared!'; ALERT_PLUNDERRESET[5] = 'The direct access list for junk has been cleared!'; ALERT_PLUNDERRESET[6] = 'панель с барахлом очищена!'; ALERT_PLUNDERRESET[7] = 'The direct access list for junk has been cleared!'; var ALERT_RESETPOWER = new Array(); ALERT_RESETPOWER[0] = 'Der maximale Power-Wert wurde zurückgesetzt und wird jetzt neu ermittelt!'; ALERT_RESETPOWER[1] = 'The maximal power value has been reset and will be set new now!'; ALERT_RESETPOWER[2] = 'The maximal power value has been reset and will be set new now!'; ALERT_RESETPOWER[3] = 'The maximal power value has been reset and will be set new now!'; ALERT_RESETPOWER[4] = 'The maximal power value has been reset and will be set new now!'; ALERT_RESETPOWER[5] = 'The maximal power value has been reset and will be set new now!'; ALERT_RESETPOWER[6] = 'Максимальная сила сброшена и будет установлена заново!'; ALERT_RESETPOWER[7] = 'The maximal power value has been reset and will be set new now!'; var TxtNewVersion = new Array(); TxtNewVersion[0] = "Es gibt eine neue Version des Skriptes '%s':\n\n%s\n\nDie neue Version kann Fehlerbehebungen und/oder neue Funktionen beinhalten.\nHier gibt es weitere Infos über die neue Version:\n\n%s\n\nEine Aktualisierung ist empfehlenswert und kann direkt anschließend durchgeführt werden.\n\nHinweis: Die Überprüfung auf neue Versionen wird nur einmal pro Tag durchgeführt." TxtNewVersion[1] = "There is a new version of the script '%s':\n\n%s\n\nThe new version can contain bugfixes and/or new features.\nHere you will find more information about the new version:\n\n%s\n\nAn update is recommended and can be done directly afterwards.\n\nNote: The check for new versions is only done once a day." TxtNewVersion[2] = "There is a new version of the script '%s':\n\n%s\n\nThe new version can contain bugfixes and/or new features.\nHere you will find more information about the new version:\n\n%s\n\nAn update is recommended and can be done directly afterwards.\n\nNote: The check for new versions is only done once a day." TxtNewVersion[3] = "There is a new version of the script '%s':\n\n%s\n\nThe new version can contain bugfixes and/or new features.\nHere you will find more information about the new version:\n\n%s\n\nAn update is recommended and can be done directly afterwards.\n\nNote: The check for new versions is only done once a day." TxtNewVersion[4] = "There is a new version of the script '%s':\n\n%s\n\nThe new version can contain bugfixes and/or new features.\nHere you will find more information about the new version:\n\n%s\n\nAn update is recommended and can be done directly afterwards.\n\nNote: The check for new versions is only done once a day." TxtNewVersion[5] = "There is a new version of the script '%s':\n\n%s\n\nThe new version can contain bugfixes and/or new features.\nHere you will find more information about the new version:\n\n%s\n\nAn update is recommended and can be done directly afterwards.\n\nNote: The check for new versions is only done once a day." TxtNewVersion[6] = "Есть новая версия скрипта ‘%s’:\n\n%s\n\nВ новой версии могут быть улучшения или новые функции.\nЗдесь есть информации о скрипте:\n\n%s\n\nСоветуем инсталлировать.\n\nОпрос о новой версии только раз в день." var TxtPlunderCheck = new Array(); TxtPlunderCheck[0] = 'Durch Anlegen des Plunders "%s" wäre Deine Kampfkraft am größten'; TxtPlunderCheck[1] = 'If you equip with the junk "%s" your fighting power will be highest'; TxtPlunderCheck[2] = 'If you equip with the junk "%s" your fighting power will be highest'; TxtPlunderCheck[3] = 'If you equip with the junk "%s" your fighting power will be highest'; TxtPlunderCheck[4] = 'If you equip with the junk "%s" your fighting power will be highest'; TxtPlunderCheck[5] = 'If you equip with the junk "%s" your fighting power will be highest'; TxtPlunderCheck[6] = 'Если сохранишь “%s” барахло, сила будет максимальной'; TxtPlunderCheck[7] = 'If you equip with the junk "%s" your fighting power will be highest'; var TxtWCheck1 = new Array(); TxtWCheck1[0] = 'Wenn Du die Waffe "%s" kaufst und anlegst, verbessert sich Dein ATT-Wert um %d'; TxtWCheck1[1] = 'If you buy and use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck1[2] = 'If you buy and use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck1[3] = 'If you buy and use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck1[4] = 'If you buy and use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck1[5] = 'If you buy and use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck1[6] = 'Если купишь и применишь “%s” оружие, твой АТТ увеличится на %d'; TxtWCheck1[7] = 'If you buy and use the weapon "%s" your ATT-value will increase by %d'; var TxtWCheck2 = new Array(); TxtWCheck2[0] = 'Wenn Du die Waffe "%s" anlegst, verbessert sich Dein ATT-Wert um %d'; TxtWCheck2[1] = 'If you use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck2[2] = 'If you use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck2[3] = 'If you use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck2[4] = 'If you use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck2[5] = 'If you use the weapon "%s" your ATT-value will increase by %d'; TxtWCheck2[6] = 'Если применишь “%s” оружие, твой АТТ увеличится на %d'; TxtWCheck2[7] = 'If you use the weapon "%s" your ATT-value will increase by %d'; var TxtHomeCheck = new Array(); TxtHomeCheck[0] = 'Wenn Du %sdas Eigenheim "%s" %s, verbessert sich Dein DEF-Wert um %d'; TxtHomeCheck[1] = 'If you %s the home "%s" %syour DEF-Value will increase by %d'; TxtHomeCheck[2] = 'If you %s the home "%s" %syour DEF-Value will increase by %d'; TxtHomeCheck[3] = 'If you %s the home "%s" %syour DEF-Value will increase by %d'; TxtHomeCheck[4] = 'If you %s the home "%s" %syour DEF-Value will increase by %d'; TxtHomeCheck[5] = 'If you %s the home "%s" %syour DEF-Value will increase by %d'; TxtHomeCheck[6] = 'Если ты %s частный дом “%s”%s, твой DEF увеличится на %d'; TxtHomeCheck[7] = 'If you %s the home "%s" %syour DEF-Value will increase by %d'; var TxtHomeMovein1 = new Array(); TxtHomeMovein1[0] = ""; TxtHomeMovein1[1] = "go to"; TxtHomeMovein1[2] = "go to"; TxtHomeMovein1[3] = "go to"; TxtHomeMovein1[4] = "go to"; TxtHomeMovein1[5] = "go to"; TxtHomeMovein1[6] = "вселишься в"; TxtHomeMovein1[7] = "go to"; var TxtHomeMovein2 = new Array(); TxtHomeMovein2[0] = "beziehst"; TxtHomeMovein2[1] = ""; TxtHomeMovein2[2] = ""; TxtHomeMovein2[3] = ""; TxtHomeMovein2[4] = ""; TxtHomeMovein2[5] = ""; TxtHomeMovein2[6] = ""; TxtHomeMovein2[7] = ""; var TxtHomeBuy1 = new Array(); TxtHomeBuy1[0] = ""; TxtHomeBuy1[1] = "buy"; TxtHomeBuy1[2] = "buy"; TxtHomeBuy1[3] = "buy"; TxtHomeBuy1[4] = "buy"; TxtHomeBuy1[5] = "buy"; TxtHomeBuy1[6] = "купишь"; TxtHomeBuy1[7] = "buy"; var TxtHomeBuy2 = new Array(); TxtHomeBuy2[0] = "kaufst"; TxtHomeBuy2[1] = ""; TxtHomeBuy2[2] = ""; TxtHomeBuy2[3] = ""; TxtHomeBuy2[4] = ""; TxtHomeBuy2[5] = ""; TxtHomeBuy2[6] = ""; TxtHomeBuy2[7] = ""; var TxtBuy = new Array(); TxtBuy[0] = 'Kaufen'; TxtBuy[1] = 'Buy'; TxtBuy[2] = 'Kup'; TxtBuy[3] = 'Acheter'; TxtBuy[4] = 'Comprar'; TxtBuy[5] = 'Comprar'; TxtBuy[6] = 'Купить'; TxtBuy[7] = 'Buy'; var TxtBuyAll = new Array(); TxtBuyAll[0] = 'Alles kaufen'; TxtBuyAll[1] = 'Buy all'; TxtBuyAll[2] = 'Kup wszystko'; TxtBuyAll[3] = 'Acheter tous'; TxtBuyAll[4] = 'Comprar todo'; TxtBuyAll[5] = 'Comprar tudo'; TxtBuyAll[6] = 'Купить'; TxtBuyAll[7] = 'Buy all'; var TxtWaitSort = new Array(); TxtWaitSort[0] = 'warte %s - neue Ramschlieferung ist bereits unterwegs (%s)'; TxtWaitSort[1] = 'wait %s - new sortiment is on its way (%s)'; TxtWaitSort[2] = 'wait %s - new sortiment is on its way (%s)'; TxtWaitSort[3] = 'attend %s - la nouvelle livraison arrive bientôt'; TxtWaitSort[4] = 'espera %s - el nuevo pedido de cachivaches está en camino'; TxtWaitSort[5] = 'wait %s - new sortiment is on its way (%s)'; TxtWaitSort[6] = 'wait %s - new sortiment is on its way (%s)'; TxtWaitSort[7] = 'wait %s - new sortiment is on its way (%s)'; var TxtStreun = new Array(); TxtStreun[0] = 'Dein Haustier streunt noch %s - Endezeit: %s'; var TxtWash = new Array(); TxtWash[0] = 'Vollständig waschen'; TxtWash[1] = 'Wash completely'; TxtWash[2] = 'Wash completely'; TxtWash[3] = 'Wash completely'; TxtWash[4] = 'Lavarse completo'; TxtWash[5] = 'Wash completely'; TxtWash[6] = 'полностью помыться'; TxtWash[7] = 'Wash completely'; var TxtPromUp = new Array(); TxtPromUp[0] = 'Promille rauf'; TxtPromUp[1] = 'Alcohol level up'; TxtPromUp[2] = 'Alcohol level up'; TxtPromUp[3] = 'Alcohol level up'; TxtPromUp[4] = 'Alcohol level up'; TxtPromUp[5] = 'Alcohol level up'; TxtPromUp[6] = 'увеличить промилле'; TxtPromUp[7] = 'Alcohol level up'; var TxtPromDown = new Array(); TxtPromDown[0] = 'Promille runter'; TxtPromDown[1] = 'Alcohol level down'; TxtPromDown[2] = 'Alcohol level down'; TxtPromDown[3] = 'Alcohol level down'; TxtPromDown[4] = 'Alcohol level down'; TxtPromDown[5] = 'Alcohol level down'; TxtPromDown[6] = 'уменьшить промилле'; TxtPromDown[7] = 'Alcohol level down'; var TxtIncomingFights1 = new Array(); TxtIncomingFights1[0] = ' 1 eingehender Angriff!'; TxtIncomingFights1[1] = ' 1 incoming fight!'; TxtIncomingFights1[2] = ' 1 rozpoczęte walk'; TxtIncomingFights1[3] = ' 1 baston inattendue!'; TxtIncomingFights1[4] = ' 1 lucha entrante!'; TxtIncomingFights1[5] = ' 1 incoming fight!'; TxtIncomingFights1[6] = ' 1 входящий бой'; TxtIncomingFights1[7] = ' 1 incoming fight!'; var TxtIncomingFights2 = new Array(); TxtIncomingFights2[0] = ' %d eingehende Angriffe!'; TxtIncomingFights2[1] = ' %d incoming fights!'; TxtIncomingFights2[2] = ' %d rozpoczęte walki'; TxtIncomingFights2[3] = ' %d bastons inattendues!'; TxtIncomingFights2[4] = ' %d luchas entrantes!'; TxtIncomingFights2[5] = ' %d incoming fights!'; TxtIncomingFights2[6] = ' %d Поступающие разборки'; TxtIncomingFights2[7] = ' %d incoming fights!'; var TxtGangFight1 = new Array(); TxtGangFight1[0] = 'Aktuell läuft ein Bandenkampf!%s'; TxtGangFight1[1] = 'At the moment one gang fight is running!%s'; TxtGangFight1[2] = 'At the moment one gang fight is running!%s'; // Aendern TxtGangFight1[3] = 'At the moment one gang fight is running!%s'; TxtGangFight1[4] = 'At the moment one gang fight is running!%s'; TxtGangFight1[5] = 'At the moment one gang fight is running!%s'; TxtGangFight1[6] = 'Сейчас идет бой между бандами!%s'; TxtGangFight1[7] = 'At the moment one gang fight is running!%s'; var TxtGangFight2 = new Array(); TxtGangFight2[0] = 'Aktuell laufen %d Bandenkämpfe!%s'; TxtGangFight2[1] = 'At the moment %d gang fights are running!%s'; TxtGangFight2[2] = 'At the moment %d gang fights are running!%s'; // Aendern TxtGangFight2[3] = 'At the moment %d gang fights are running!%s'; TxtGangFight2[4] = 'At the moment %d gang fights are running!%s'; TxtGangFight2[5] = 'At the moment %d gang fights are running!%s'; TxtGangFight2[6] = 'Число актуальных боев между бандами: %d! %s'; TxtGangFight2[7] = 'At the moment %d gang fights are running!%s'; var TxtAusweichen = new Array(); TxtAusweichen[0] = 'Ausweichen%s möglich'; TxtAusweichen[1] = 'Evading%s possible'; TxtAusweichen[2] = 'Unikaj%s możliwy'; TxtAusweichen[3] = 'Esquiver%s possible'; TxtAusweichen[4] = 'Evitar%s posible'; TxtAusweichen[5] = 'Evading%s possible'; TxtAusweichen[6] = 'избежать боя %s возможно'; TxtAusweichen[7] = 'Evading%s possible'; var TxtAusweichN = new Array(); TxtAusweichN[0] = ' nicht'; TxtAusweichN[1] = ' not'; TxtAusweichN[2] = ' nie'; TxtAusweichN[3] = ' non'; TxtAusweichN[4] = ' no es'; TxtAusweichN[5] = ' not'; TxtAusweichN[6] = ' не'; TxtAusweichN[7] = ' not'; var TxtAusweichV = new Array(); TxtAusweichV[0] = ' evtl.'; TxtAusweichV[1] = ' maybe'; TxtAusweichV[2] = ' może'; TxtAusweichV[3] = ' peut-être'; TxtAusweichV[4] = ' probablemente'; TxtAusweichV[5] = ' maybe'; TxtAusweichV[6] = ' может быть'; TxtAusweichV[7] = ' maybe'; var TxtNotMoreThan9 = new Array(); TxtNotMoreThan9[0] = 'Es können nicht mehr als 9 Plunderstücke für die Direktzugriffsliste ausgewählt werden!'; TxtNotMoreThan9[1] = 'You cannot select more than 9 pieces of junk for the direct access list!'; TxtNotMoreThan9[2] = 'You cannot select more than 9 pieces of junk for the direct access list!'; TxtNotMoreThan9[3] = 'You cannot select more than 9 pieces of junk for the direct access list!'; TxtNotMoreThan9[4] = 'You cannot select more than 9 pieces of junk for the direct access list!'; TxtNotMoreThan9[5] = 'You cannot select more than 9 pieces of junk for the direct access list!'; TxtNotMoreThan9[6] = 'К панели можно прикрепить не больше 9 штук барахла!'; TxtNotMoreThan9[7] = 'You cannot select more than 9 pieces of junk for the direct access list!'; var TxtMoneyNeeded = new Array(); TxtMoneyNeeded[0] = 'Zum Waschen werden %m benötigt, Du hast im Moment nur %m.'; TxtMoneyNeeded[1] = 'You need %m to wash completely, but you only have %m at the moment.'; TxtMoneyNeeded[2] = 'You need %m to wash completely, but you only have %m at the moment.'; TxtMoneyNeeded[3] = 'You need %m to wash completely, but you only have %m at the moment.'; TxtMoneyNeeded[4] = 'You need %m to wash completely, but you only have %m at the moment.'; TxtMoneyNeeded[5] = 'You need %m to wash completely, but you only have %m at the moment.'; TxtMoneyNeeded[6] = 'Для мытья нужно %m, а у тебя только %m.'; TxtMoneyNeeded[7] = 'You need %m to wash completely, but you only have %m at the moment.'; var TxtCleansed1 = new Array(); TxtCleansed1[0] = 'Du bist nun porentief rein!'; TxtCleansed1[1] = 'You are cleansed down to the pores now!'; TxtCleansed1[2] = 'You are cleansed down to the pores now!'; TxtCleansed1[3] = 'You are cleansed down to the pores now!'; TxtCleansed1[4] = 'You are cleansed down to the pores now!'; TxtCleansed1[5] = 'You are cleansed down to the pores now!'; TxtCleansed1[6] = 'Ты чист!'; TxtCleansed1[7] = 'You are cleansed down to the pores now!'; var TxtCleansed2 = new Array(); TxtCleansed2[0] = 'Du bist bereits porentief rein, sauberer geht nicht... :D'; TxtCleansed2[1] = 'You are already cleansed down to the pores, more is not possible... :D'; TxtCleansed2[2] = 'You are already cleansed down to the pores, more is not possible... :D'; TxtCleansed2[3] = 'You are already cleansed down to the pores, more is not possible... :D'; TxtCleansed2[4] = 'You are already cleansed down to the pores, more is not possible... :D'; TxtCleansed2[5] = 'You are already cleansed down to the pores, more is not possible... :D'; TxtCleansed2[6] = 'Ты чист, чище не бывает… :D'; TxtCleansed2[7] = 'You are already cleansed down to the pores, more is not possible... :D'; var TxtLife = new Array(); TxtLife[0] = 'Lebenspunkte auffüllen'; var TxtLifeNeeded = new Array(); TxtLifeNeeded[0] = 'Dafür werden %m benötigt, Du hast im Moment nur %m.'; var TxtLifepts1 = new Array(); TxtLifepts1[0] = 'Aaah ! Du fühlst Dich topfit !'; var TxtLifepts2 = new Array(); TxtLifepts2[0] = 'Deine Lebenspunkte sind bereits komplett !'; var TxtHiccup = new Array(); TxtHiccup[0] = '*Hicks* Jetzt hab ich endlich wieder meinen Standard-Pegel! :D'; TxtHiccup[1] = '*Hiccup* Finally I have my standard blood alcohol level again! :D'; TxtHiccup[2] = '*Hiccup* Finally I have my standard blood alcohol level again! :D'; TxtHiccup[3] = '*Hiccup* Finally I have my standard blood alcohol level again! :D'; TxtHiccup[4] = '*Hiccup* Finally I have my standard blood alcohol level again! :D'; TxtHiccup[5] = '*Hiccup* Finally I have my standard blood alcohol level again! :D'; TxtHiccup[6] = 'Фу-у, наконец-то я трезвый!'; TxtHiccup[7] = '*Hiccup* Finally I have my standard blood alcohol level again! :D'; var TxtDrinkError = new Array(); TxtDrinkError[0] = 'Beim Trinken gab es einen Fehler, Du hast immer noch nur %s Promille!'; TxtDrinkError[1] = 'There was an error with the drinking, you still have only %s per mills'; TxtDrinkError[2] = 'There was an error with the drinking, you still have only %s per mills'; TxtDrinkError[3] = 'There was an error with the drinking, you still have only %s per mills'; TxtDrinkError[4] = 'There was an error with the drinking, you still have only %s per mills'; TxtDrinkError[5] = 'There was an error with the drinking, you still have only %s per mills'; TxtDrinkError[6] = 'При питье допущена ошибка, у тебя все еще %s промилле!'; TxtDrinkError[7] = 'There was an error with the drinking, you still have only %s per mills'; var TxtNotMuchToDrink = new Array(); TxtNotMuchToDrink[0] = 'Die Vorräte an %s gehen zur Neige.\nBitte zuerst nachkaufen!'; TxtNotMuchToDrink[1] = 'Your supply of %s is running low.\nPlease buy some first!'; TxtNotMuchToDrink[2] = 'Your supply of %s is running low.\nPlease buy some first!'; TxtNotMuchToDrink[3] = 'Your supply of %s is running low.\nPlease buy some first!'; TxtNotMuchToDrink[4] = 'Your supply of %s is running low.\nPlease buy some first!'; TxtNotMuchToDrink[5] = 'Your supply of %s is running low.\nPlease buy some first!'; TxtNotMuchToDrink[6] = 'Запасы %s заканчиваются. \nпожалуйста, докупите!'; TxtNotMuchToDrink[7] = 'Your supply of %s is running low.\nPlease buy some first!'; var TxtNoNeedToDrink = new Array(); TxtNoNeedToDrink[0] = 'Du hast bereits mindestens 2,5 Promille,\nDu musst nicht noch mehr trinken!'; TxtNoNeedToDrink[1] = "You already have a blood alcohol level of 2.5 per mills or more\nyou don't need to drink more!"; TxtNoNeedToDrink[2] = "You already have a blood alcohol level of 2.5 per mills or more\nyou don't need to drink more!"; TxtNoNeedToDrink[3] = "You already have a blood alcohol level of 2.5 per mills or more\nyou don't need to drink more!"; TxtNoNeedToDrink[4] = "You already have a blood alcohol level of 2.5 per mills or more\nyou don't need to drink more!"; TxtNoNeedToDrink[5] = "You already have a blood alcohol level of 2.5 per mills or more\nyou don't need to drink more!"; TxtNoNeedToDrink[6] = "У тебя уже минимум 2,5 промилле, \nты не должен больше пить!"; TxtNoNeedToDrink[7] = "You already have a blood alcohol level of 2.5 per mills or more\nyou don't need to drink more!"; var TxtDrinkLifeRisk = new Array(); TxtDrinkLifeRisk[0] = 'Du hast bereits mindestens 3,65 Promille,\nWeiteres Trinken bringt Dich in Lebensgefahr!'; TxtDrinkLifeRisk[1] = "You already have a blood alcohol level of 3.65 per mills or more\nFurther drinking will risk your life!"; TxtDrinkLifeRisk[2] = "You already have a blood alcohol level of 3.65 per mills or more\nFurther drinking will risk your life!"; TxtDrinkLifeRisk[3] = "You already have a blood alcohol level of 3.65 per mills or more\nFurther drinking will risk your life!"; TxtDrinkLifeRisk[4] = "You already have a blood alcohol level of 3.65 per mills or more\nFurther drinking will risk your life!"; TxtDrinkLifeRisk[5] = "You already have a blood alcohol level of 3.65 per mills or more\nFurther drinking will risk your life!"; TxtDrinkLifeRisk[6] = "У тебя уже минимум 3,65 промилле, \nты не должен больше пить!"; TxtDrinkLifeRisk[7] = "You already have a blood alcohol level of 3.65 per mills or more\nFurther drinking will risk your life!"; var TxtYummy = new Array(); TxtYummy[0] = 'Mjamm, das war lecker!'; TxtYummy[1] = 'Yummy, that was delicious!'; TxtYummy[2] = 'Yummy, that was delicious!'; TxtYummy[3] = 'Yummy, that was delicious!'; TxtYummy[4] = 'Yummy, that was delicious!'; TxtYummy[5] = 'Yummy, that was delicious!'; TxtYummy[6] = 'М-м, это было вкусно!'; TxtYummy[7] = 'Yummy, that was delicious!'; var TxtEatError = new Array(); TxtEatError[0] = 'Beim Essen gab es einen Fehler, Du hast immer noch %s Promille!'; TxtEatError[1] = 'There was an error with the eating, you still have %s per mills'; TxtEatError[2] = 'There was an error with the eating, you still have %s per mills'; TxtEatError[3] = 'There was an error with the eating, you still have %s per mills'; TxtEatError[4] = 'There was an error with the eating, you still have %s per mills'; TxtEatError[5] = 'There was an error with the eating, you still have %s per mills'; TxtEatError[6] = 'С едой вышла ошибка, у тебя все еще %s промилле!'; TxtEatError[7] = 'There was an error with the eating, you still have %s per mills'; var TxtNotMuchToEat = new Array(); TxtNotMuchToEat[0] = 'Die Vorräte an %s und/oder %s\ngehen zur Neige. Bitte zuerst nachkaufen!'; TxtNotMuchToEat[1] = 'Your supply of %s and/or %s is running low.\nPlease buy some of them first!'; TxtNotMuchToEat[2] = 'Your supply of %s and/or %s is running low.\nPlease buy some of them first!'; TxtNotMuchToEat[3] = 'Your supply of %s and/or %s is running low.\nPlease buy some of them first!'; TxtNotMuchToEat[4] = 'Your supply of %s and/or %s is running low.\nPlease buy some of them first!'; TxtNotMuchToEat[5] = 'Your supply of %s and/or %s is running low.\nPlease buy some of them first!'; TxtNotMuchToEat[6] = 'Запасы %s и/или %s\nзаканчиваются. Сначала докупите!'; TxtNotMuchToEat[7] = 'Your supply of %s and/or %s is running low.\nPlease buy some of them first!'; var TxtNoNeedToEat = new Array(); TxtNoNeedToEat[0] = '0,75 Promille oder weniger beeinträchtigen die Kampfwerte nicht,\nDu musst nichts mehr essen!'; TxtNoNeedToEat[1] = "0.75 per mills or less do not reduce the figthing values,\nyou don't need to eat more!"; TxtNoNeedToEat[2] = "0.75 per mills or less do not reduce the figthing values,\nyou don't need to eat more!"; TxtNoNeedToEat[3] = "0.75 per mills or less do not reduce the figthing values,\nyou don't need to eat more!"; TxtNoNeedToEat[4] = "0.75 per mills or less do not reduce the figthing values,\nyou don't need to eat more!"; TxtNoNeedToEat[5] = "0.75 per mills or less do not reduce the figthing values,\nyou don't need to eat more!"; TxtNoNeedToEat[6] = "0,75 или меньше промилле на силу не влияют, \nтебе не нужно больше есть!"; TxtNoNeedToEat[7] = "0.75 per mills or less do not reduce the figthing values,\nyou don't need to eat more!"; var TxtNotEnoughToEat = new Array(); TxtNotEnoughToEat[0] = 'Es ist nicht genügend zu essen da !!'; TxtNotEnoughToEat[1] = "You don't have enough to eat !!"; TxtNotEnoughToEat[2] = "You don't have enough to eat !!"; TxtNotEnoughToEat[3] = "You don't have enough to eat !!"; TxtNotEnoughToEat[4] = "No tienes suficiente para comer !!"; TxtNotEnoughToEat[5] = "You don't have enough to eat !!"; TxtNotEnoughToEat[6] = "Недостаточно еды!"; TxtNotEnoughToEat[7] = "You don't have enough to eat !!"; var TxtNoJunkLeft = new Array(); TxtNoJunkLeft[0] = "Vom benutzbaren Plunder '%s' ist leider nichts mehr übrig,\nDu musst ihn wieder sammeln. Er wird er aus der Direktleiste entfernt."; TxtNoJunkLeft[1] = "There's nothing left from the useable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft[2] = "There's nothing left from the useable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft[3] = "There's nothing left from the useable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft[4] = "There's nothing left from the useable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft[5] = "There's nothing left from the useable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft[6] = "‘%s’, который можно использовать, закончился, \nты должен собирать бутылки. Барахло будет удалено из панели."; TxtNoJunkLeft[7] = "There's nothing left from the useable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; var TxtNoJunkLeft2 = new Array(); TxtNoJunkLeft2[0] = "Vom anlegbaren Plunder '%s' ist leider nichts mehr übrig,\nDu musst ihn wieder sammeln. Er wird er aus der Direktleiste entfernt."; TxtNoJunkLeft2[1] = "There's nothing left from the wearable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft2[2] = "There's nothing left from the wearable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft2[3] = "There's nothing left from the wearable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft2[4] = "There's nothing left from the wearable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft2[5] = "There's nothing left from the wearable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; TxtNoJunkLeft2[6] = "‘%s’ закончилось, \nты должен собирать бутылки. Барахло будет удалено из панели."; TxtNoJunkLeft2[7] = "There's nothing left from the wearable junk '%s'.\nYou have to collect it again. It will be removed from the direct access list"; var TxtEquip = new Array(); TxtEquip[0] = 'Anlegen'; TxtEquip[1] = 'Equip'; TxtEquip[2] = 'Załóż'; TxtEquip[3] = 'Équiper'; TxtEquip[4] = 'Encarar'; TxtEquip[5] = 'Ativar'; TxtEquip[6] = 'приложить'; TxtEquip[7] = 'Equip'; var TxtUse = new Array(); TxtUse[0] = 'Benutzen'; TxtUse[1] = 'Use'; TxtUse[2] = 'Użyj'; TxtUse[3] = 'Utiliser'; TxtUse[4] = 'Utilizar'; TxtUse[5] = 'Usar'; TxtUse[6] = 'использовать'; TxtUse[7] = 'Use'; var TxtNoSkill = new Array(); TxtNoSkill[0] = "Keine Weiterbildung"; TxtNoSkill[1] = "No development"; TxtNoSkill[2] = "Nie szkolenie"; TxtNoSkill[3] = "Aucune formation"; TxtNoSkill[4] = "Ningún cursillo"; TxtNoSkill[5] = "No development"; // !!!! TxtNoSkill[6] = "обучения нет"; TxtNoSkill[7] = "No development"; var TxtNoJunk = new Array(); TxtNoJunk[0] = "Kein Plunder angelegt"; TxtNoJunk[1] = "No junk equipped"; TxtNoJunk[2] = "Nie masz rupieci"; TxtNoJunk[3] = "Aucune babiole sélectionné"; TxtNoJunk[4] = "Ningún cachivache encara"; TxtNoJunk[5] = "No junk equipped"; // !!!! TxtNoJunk[6] = "барахло не приложено"; TxtNoJunk[7] = "No junk equipped"; var TxtUseJunk = new Array(); TxtUseJunk[0] = '%s: %s (noch %d Stück übrig)'; TxtUseJunk[1] = '%s: %s (still %d pieces remaining)'; TxtUseJunk[2] = '%s: %s (still %d pieces remaining)'; TxtUseJunk[3] = '%s: %s (still %d pieces remaining)'; TxtUseJunk[4] = '%s: %s (still %d pieces remaining)'; TxtUseJunk[5] = '%s: %s (still %d pieces remaining)'; TxtUseJunk[6] = '%s: %s (осталось еще %d штук)'; TxtUseJunk[7] = '%s: %s (still %d pieces remaining)'; var TxtEquipThisJunk = new Array(); TxtEquipThisJunk[0] = 'Dieser Plunder wird angelegt'; TxtEquipThisJunk[1] = 'This junk can be equipped'; TxtEquipThisJunk[2] = 'This junk can be equipped'; TxtEquipThisJunk[3] = 'This junk can be equipped'; TxtEquipThisJunk[4] = 'This junk can be equipped'; TxtEquipThisJunk[5] = 'This junk can be equipped'; TxtEquipThisJunk[6] = 'это барахло будет приложено'; TxtEquipThisJunk[7] = 'This junk can be equipped'; var TxtUseThisJunk = new Array(); TxtUseThisJunk[0] = 'Dieser Plunder wird benutzt'; TxtUseThisJunk[1] = 'This junk can be used'; TxtUseThisJunk[2] = 'This junk can be used'; TxtUseThisJunk[3] = 'This junk can be used'; TxtUseThisJunk[4] = 'This junk can be used'; TxtUseThisJunk[5] = 'This junk can be used'; TxtUseThisJunk[6] = 'это барахло будет использовано'; TxtUseThisJunk[7] = 'This junk can be used'; var TxtReallyUseJunk = new Array(); TxtReallyUseJunk[0] = "Soll der Plunder '%s' wirklich benutzt werden?\n\nHinweis: Durch die Benutzung wird er sofort verbraucht. Du hast\nderzeit noch %d Stück."; TxtReallyUseJunk[1] = "Do you really want to use the junk '%s'?\n\nNote: Using it will consume it. At the moment\nyou still have %d pieces."; TxtReallyUseJunk[2] = "Do you really want to use the junk '%s'?\n\nNote: Using it will consume it. At the moment\nyou still have %d pieces."; TxtReallyUseJunk[3] = "Do you really want to use the junk '%s'?\n\nNote: Using it will consume it. At the moment\nyou still have %d pieces."; TxtReallyUseJunk[4] = "Do you really want to use the junk '%s'?\n\nNote: Using it will consume it. At the moment\nyou still have %d pieces."; TxtReallyUseJunk[5] = "Do you really want to use the junk '%s'?\n\nNote: Using it will consume it. At the moment\nyou still have %d pieces."; TxtReallyUseJunk[6] = "Хочешь использовать ‘%s’ барахло? \n\nвнимание: после использования барахло исчезает. У тебя\nсейчас еще %d штук."; TxtReallyUseJunk[7] = "Do you really want to use the junk '%s'?\n\nNote: Using it will consume it. At the moment\nyou still have %d pieces."; var TxtJunkUsed = new Array(); TxtJunkUsed[0] = '%s wurde erfolgreich benutzt.'; TxtJunkUsed[1] = '%s was successfully used.'; TxtJunkUsed[2] = '%s was successfully used.'; TxtJunkUsed[3] = '%s was successfully used.'; TxtJunkUsed[4] = '%s was successfully used.'; TxtJunkUsed[5] = '%s was successfully used.'; TxtJunkUsed[6] = '%s было успешно использовано.'; TxtJunkUsed[7] = '%s was successfully used.'; var TxtJunkNoSucc = new Array(); TxtJunkNoSucc[0] = "%s konnte nicht benutzt werden."; TxtJunkNoSucc[1] = "%s could not successfully be used."; var TxtJunkSucc = new Array(); TxtJunkSucc[0] = "%s wurde %dmal erfolgreich benutzt."; TxtJunkSucc[1] = "%s was successfully used %d times."; var TxtPlayerName = new Array(); TxtPlayerName[0] = "Auf welchen Spieler soll der Plunder angewendet werden ?\n\nSpielername: "; var TxtNoProfAbility = new Array(); TxtNoProfAbility[0] = "Du profitierst nicht von der Bandenfähigkeit"; TxtNoProfAbility[1] = "You don't profit from the gang ability"; TxtNoProfAbility[2] = "Nie zyskujesz na talentach bandy"; TxtNoProfAbility[3] = "You don't profit from the gang ability"; TxtNoProfAbility[4] = "You don't profit from the gang ability"; TxtNoProfAbility[5] = "You don't profit from the gang ability"; TxtNoProfAbility[6] = "Способности банды тебе не приносят пользу"; TxtNoProfAbility[7] = "You don't benefit from the gang ability"; var TxtAlertNoGang = new Array(); TxtAlertNoGang[0] = "ACHTUNG!! Du bist nicht mehr in einer Bande !!"; TxtAlertNoGang[1] = "ATTENTION !! You are no longer member of a gang !!"; TxtAlertNoGang[2] = "ATTENTION !! You are no longer member of a gang !!"; TxtAlertNoGang[3] = "ATTENTION !! You are no longer member of a gang !!"; TxtAlertNoGang[4] = "ATTENTION !! You are no longer member of a gang !!"; TxtAlertNoGang[5] = "ATTENTION !! You are no longer member of a gang !!"; TxtAlertNoGang[6] = "ВНИМАНИЕ!! Ты больше не в банде !!"; TxtAlertNoGang[7] = "ATTENTION !! You are no longer member of a gang !!"; var TxtLogout = new Array(); TxtLogout[0] = "Ausloggen ?"; TxtLogout[1] = "Logout ?"; TxtLogout[2] = "Wyloguj ?"; TxtLogout[3] = "Déconnexion ?"; TxtLogout[4] = "Salir ?"; TxtLogout[5] = "Logout ?"; TxtLogout[6] = "Выйти ?"; TxtLogout[7] = "Logout ?"; var TxtLogoutWarn1 = new Array(); TxtLogoutWarn1[0] = "Achtung !! Du bist noch betrunken !!"; TxtLogoutWarn1[1] = "Warning !! You are still drunk !!"; TxtLogoutWarn1[2] = "Warning !! You are still drunk !!"; TxtLogoutWarn1[3] = "Warning !! You are still drunk !!"; TxtLogoutWarn1[4] = "Warning !! You are still drunk !!"; TxtLogoutWarn1[5] = "Warning !! You are still drunk !!"; TxtLogoutWarn1[6] = "Внимание!! Ты еще пьяный !!"; TxtLogoutWarn1[7] = "Warning !! You are still drunk !!"; var TxtLogoutWarn2 = new Array(); TxtLogoutWarn2[0] = "Achtung !! Du hast nicht Deine volle Kampfstärke !!"; TxtLogoutWarn2[1] = "Warning !! You do not have your full possible fighting power !!"; TxtLogoutWarn2[2] = "Warning !! You do not have your full possible fighting power !!"; TxtLogoutWarn2[3] = "Warning !! You do not have your full possible fighting power !!"; TxtLogoutWarn2[4] = "Warning !! You do not have your full possible fighting power !!"; TxtLogoutWarn2[5] = "Warning !! You do not have your full possible fighting power !!"; TxtLogoutWarn2[6] = "Внимание !! У тебя еще не полная сила !!"; TxtLogoutWarn2[7] = "Warning !! You do not have your full possible fighting power !!"; var TxtCart = new Array(); TxtCart[0] = "Einkaufswagen ausleeren"; TxtCart[1] = "Empty cart"; TxtCart[2] = "Opróżnij wózek na zakupy"; TxtCart[3] = "Vider ton caddie"; TxtCart[4] = "Vaciar el carro de la compra"; TxtCart[5] = "Esvaziar carrinho de compras"; TxtCart[6] = "Разгрузить тележку"; TxtCart[7] = "Empty cart"; var TxtCart2 = new Array(); TxtCart2[0] = "Flaschensammeln starten"; TxtCart2[1] = "start collecting bottles"; TxtCart2[2] = "start collecting bottles"; TxtCart2[3] = "start collecting bottles"; TxtCart2[4] = "start collecting bottles"; TxtCart2[5] = "start collecting bottles"; TxtCart2[6] = "начать собирать бутылки"; TxtCart2[7] = "start collecting bottles"; var TxtCart3 = new Array(); TxtCart3[0] = "Flaschen werden gesammelt"; TxtCart3[1] = "collecting bottles"; TxtCart3[2] = "collecting bottles"; TxtCart3[3] = "collecting bottles"; TxtCart3[4] = "collecting bottles"; TxtCart3[5] = "collecting bottles"; TxtCart3[6] = "бутылки собираются"; TxtCart3[7] = "collecting bottles"; var TxtCollFinish = new Array(); TxtCollFinish[0] = "Das Flaschensammeln wurde beendet"; TxtCollFinish[1] = "The collecting of bottles was finished"; TxtCollFinish[2] = "The collecting of bottles was finished"; TxtCollFinish[3] = "The collecting of bottles was finished"; TxtCollFinish[4] = "The collecting of bottles was finished"; TxtCollFinish[5] = "The collecting of bottles was finished"; TxtCollFinish[6] = "бутылки собраны"; TxtCollFinish[7] = "The collecting of bottles was finished"; var TxtCrime = new Array(); TxtCrime[0] = "Du planst ein Verbrechen!"; TxtCrime[1] = "You're planning a crime!"; TxtCrime[2] = "You're planning a crime!"; TxtCrime[3] = "You're planning a crime!"; TxtCrime[4] = "You're planning a crime!"; TxtCrime[5] = "You're planning a crime!"; TxtCrime[6] = "Ты задумал преступление!"; TxtCrime[7] = "You're planning a crime!"; var TxtCrimePro = new Array(); TxtCrimePro[0] = " ACHTUNG !! Betrunken wird das Verbrechen nicht gelingen!!"; TxtCrimePro[1] = " Attention !! You are drunk and you will have no success with the crime!!"; TxtCrimePro[2] = " Attention !! You are drunk and you will have no success with the crime!!"; TxtCrimePro[3] = " Attention !! You are drunk and you will have no success with the crime!!"; TxtCrimePro[4] = " Attention !! You are drunk and you will have no success with the crime!!"; TxtCrimePro[5] = " Attention !! You are drunk and you will have no success with the crime!!"; TxtCrimePro[6] = " ВНИМАНИЕ !! Если ты пьян, преступление не удастся!!"; TxtCrimePro[7] = " Attention !! You are drunk and you will have no success with the crime!!"; var TxtFight = new Array(); TxtFight[0] = "Du hast einen Kampf gestartet gegen %s!"; TxtFight[1] = "You started a fight against %s!"; TxtFight[2] = "You started a fight against %s!"; TxtFight[3] = "You started a fight against %s!"; TxtFight[4] = "You started a fight against %s!"; TxtFight[5] = "You started a fight against %s!"; TxtFight[6] = "Ты начал бой против %s!"; TxtFight[7] = "You started a fight against %s!"; var TxtWeakFight = new Array(); TxtWeakFight[0] = "Achtung! Angriff läuft und Kampfwert ist nicht maximal !!"; TxtWeakFight[1] = "Attention! You started an attack but your fight value is not on maximum !!"; var TxtEmptied = new Array(); TxtEmptied[0] = "Einkaufswagen ausgeleert. Du hast %d Flaschen gesammelt."; TxtEmptied[1] = "Cart emptied! You found %d bottles."; TxtEmptied[2] = "Cart emptied! You found %d bottles."; TxtEmptied[3] = "Cart emptied! You found %d bottles."; TxtEmptied[4] = "Cart emptied! You found %d bottles."; TxtEmptied[5] = "Cart emptied! You found %d bottles."; TxtEmptied[6] = "Корзина разгружена. Ты собрал %d бутылок."; TxtEmptied[7] = "Cart emptied! You found %d bottles."; var TxtDaily = new Array(); TxtDaily[0] = "Tägliche Aufgabe"; TxtDaily[1] = "Daily tasks"; TxtDaily[2] = "Zadanie dnia"; TxtDaily[3] = "Tâche journalière"; TxtDaily[4] = "Tarea diaria"; TxtDaily[5] = "Tarefa diária"; TxtDaily[6] = "Сегодняшнее задание"; TxtDaily[7] = "Daily tasks"; var TxtCards = new Array(); TxtCards[0] = "Deine Sammelkarten: "; TxtCards[1] = "Your Credits: "; TxtCards[2] = "Twoje znaczki: "; TxtCards[3] = "Tes jetons: "; TxtCards[4] = "Tus fichas: "; TxtCards[5] = "Seu álbum de comprovantes: "; TxtCards[6] = "Твои карточки: "; TxtCards[7] = "Your Credits: "; var TxtEnd = new Array(); TxtEnd[0] = ', Ende: '; TxtEnd[1] = ', End: '; TxtEnd[2] = ', Zakończ: '; TxtEnd[3] = ', Fin: '; TxtEnd[4] = ', End: '; TxtEnd[5] = ', End: '; TxtEnd[6] = ', Конец: '; TxtEnd[7] = ', End: '; var TxtInfo = new Array(); TxtInfo[0] = 'Info ist an --> Ausschalten'; TxtInfo[1] = 'Info is on --> Switch off'; TxtInfo[2] = 'Info is on --> Switch off'; TxtInfo[3] = 'Info is on --> Switch off'; TxtInfo[4] = 'Info is on --> Switch off'; TxtInfo[5] = 'Info is on --> Switch off'; TxtInfo[6] = 'Информация включена —> Выключить'; TxtInfo[7] = 'Info is on --> Switch off'; var TxtNoInfo = new Array(); TxtNoInfo[0] = 'Info ist aus --> Einschalten'; TxtNoInfo[1] = 'Info is off --> Switch on'; TxtNoInfo[2] = 'Info is off --> Switch on'; TxtNoInfo[3] = 'Info is off --> Switch on'; TxtNoInfo[4] = 'Info is off --> Switch on'; TxtNoInfo[5] = 'Info is off --> Switch on'; TxtNoInfo[6] = 'Информация выключена —> Включить'; TxtNoInfo[7] = 'Info is off --> Switch on'; var TxtNoteOnPage = new Array(); TxtNoteOnPage[0] = 'Zum gemerkten SB-Eintrag auf Seite %d gehen'; TxtNoteOnPage[1] = 'Go to the pinned shoutbox entry on page %d'; TxtNoteOnPage[2] = 'Go to the pinned shoutbox entry on page %d'; TxtNoteOnPage[3] = 'Go to the pinned shoutbox entry on page %d'; TxtNoteOnPage[4] = 'Go to the pinned shoutbox entry on page %d'; TxtNoteOnPage[5] = 'Go to the pinned shoutbox entry on page %d'; TxtNoteOnPage[6] = 'Для сохраненной шаутбокс-записи перейти на %d страницу.'; TxtNoteOnPage[7] = 'Go to the pinned shoutbox entry on page %d'; var TxtOwnGang = new Array(); TxtOwnGang[0] = 'Du greifst ein Mitglied Deiner eigenen Bande an !!'; TxtOwnGang[1] = 'You attack a member of your own gang !!'; TxtOwnGang[2] = 'You attack a member of your own gang !!'; TxtOwnGang[3] = 'You attack a member of your own gang !!'; TxtOwnGang[4] = 'You attack a member of your own gang !!'; TxtOwnGang[5] = 'You attack a member of your own gang !!'; TxtOwnGang[6] = 'Ты атакуешь игрока из твоей банды!!'; TxtOwnGang[7] = 'You attack a member of your own gang !!'; var TxtAlliedGang = new Array(); TxtAlliedGang[0] = 'Du greifst ein Mitglied einer befreundeten Bande an !!'; TxtAlliedGang[1] = 'You attack a member of an allied gang !!'; TxtAlliedGang[2] = 'You attack a member of an allied gang !!'; TxtAlliedGang[3] = 'You attack a member of an allied gang !!'; TxtAlliedGang[4] = 'You attack a member of an allied gang !!'; TxtAlliedGang[5] = 'You attack a member of an allied gang !!'; TxtAlliedGang[6] = 'Ты атакуешь игрока который дружит с твоей бандой!!'; TxtAlliedGang[7] = 'You attack a member of an allied gang !!'; var TxtMultiPlunder = new Array(); TxtMultiPlunder[0] = ' Wie oft soll der Plunder benutzt werden ?'; TxtMultiPlunder[1] = ' How many times do you want to use the plunder ?'; var TxtMultiPlunder1 = new Array(); TxtMultiPlunder1[0] = 'Dieser Plunder ist %d mal vorhanden.'; TxtMultiPlunder1[1] = 'You possess this plunder %d times.'; var TxtMultiPlunder2 = new Array(); TxtMultiPlunder2[0] = 'Bitte nur eine Zahl (höchstens %d) eingeben.'; TxtMultiPlunder2[1] = 'Please enter a number (at most %d).'; var TxtMultiPlunder3 = new Array(); TxtMultiPlunder3[0] = 'So oft ist der Plunder nicht vorhanden (%d).'; TxtMultiPlunder3[1] = 'You do not possess this plunder so many times (%d).'; var TxtWiWut = new Array(); TxtWiWut[0] = new Array('Wutentfachung', 'Rage', 'Wzbudzanie złości', 'Rage', 'Enfurecimiento', 'Enraivecimento', 'Разжигание ярости', 'Rage'); TxtWiWut[1] = new Array('Wirtschaftswunder', 'Economic wonder', 'Cud gospodarczy', 'Miracle économique', 'Milagro económico', 'Milagre econômico', 'Экономическое чудо', 'Economic wonder'); var TxtNiete = new Array(); TxtNiete[0] = "Niete"; TxtNiete[1] = "Blank"; var TxtTotalWon = new Array(); TxtTotalWon[0] = "Gewinn gesamt: %m bei einem Einsatz von %m, Ergebnis: %m"; TxtTotalWon[1] = "totally won: %m at a stake of %m leaves a balance of %m"; var TxtAuszeichnung = new Array(); TxtAuszeichnung[0] = "Auszeichnung"; TxtAuszeichnung[1] = "Award"; TxtAuszeichnung[2] = "Odznaczenie"; TxtAuszeichnung[3] = "Décoration"; TxtAuszeichnung[4] = "Reconocimiento"; TxtAuszeichnung[5] = "Prêmio"; TxtAuszeichnung[6] = "награ́да"; TxtAuszeichnung[7] = "Award"; // Ingame Texte var TxtEstimated = new Array(); TxtEstimated[0] = "Voraussichtlich"; TxtEstimated[1] = "estimated"; TxtEstimated[2] = "Przewidzianych"; TxtEstimated[3] = "sont prévus"; TxtEstimated[4] = "Probablemente"; TxtEstimated[5] = "Provavelmente"; TxtEstimated[6] = "Приблизительно"; TxtEstimated[7] = "Estimated"; var TxtTrikot = new Array(); TxtTrikot[0] = "Trikot"; TxtTrikot[1] = "Jersey"; TxtTrikot[2] = "Koszulka"; TxtTrikot[3] = "Jersey"; TxtTrikot[4] = "Jersey"; TxtTrikot[5] = "Camisa"; TxtTrikot[6] = "Jersey"; // !!!! TxtTrikot[7] = "Jersey"; // !!!! var TxtRunAttack = new Array(); TxtRunAttack[0] = "uft bereits auf"; TxtRunAttack[1] = "Already accumulated attacks"; TxtRunAttack[2] = "Atak ju"; TxtRunAttack[3] = "Attaque en cours"; TxtRunAttack[4] = "El ataque ya ha"; TxtRunAttack[5] = "O ataque j"; TxtRunAttack[6] = "Атака уже пошла"; TxtRunAttack[7] = "Attack is underway"; var TxtNoGangFights = new Array(); TxtNoGangFights[0] = "Keine laufenden"; TxtNoGangFights[1] = "No current"; TxtNoGangFights[2] = "Nie ma toczących sie walk"; TxtNoGangFights[3] = "Aucun combat en cours"; TxtNoGangFights[4] = "No hay luchas de bandas en curso"; TxtNoGangFights[5] = "nenhuma luta acontecendo"; TxtNoGangFights[6] = "Действующих разборок нет"; TxtNoGangFights[7] = "No current"; var TxtBoost = new Array(); TxtBoost[0] = 'Stärkung:'; TxtBoost[1] = 'Strenth'; TxtBoost[2] = 'Wzmocnienie:'; TxtBoost[3] = 'Renforcement :'; TxtBoost[4] = 'Fortalecimiento:'; TxtBoost[5] = 'Força:'; TxtBoost[6] = 'Подкрепление:'; TxtBoost[7] = 'Strength'; var TxtInjury = new Array(); TxtInjury[0] = 'Verletzung:'; TxtInjury[1] = 'Strenth'; TxtInjury[2] = 'Wzmocnienie:'; TxtInjury[3] = 'Renforcement :'; TxtInjury[4] = 'Herida:'; TxtInjury[5] = 'Força:'; TxtInjury[6] = 'Подкрепление:'; TxtInjury[7] = 'Strength'; var TxtATTBoost = new Array(); TxtATTBoost[0] = 'ATT: '; TxtATTBoost[1] = 'ATT: '; TxtATTBoost[2] = 'ATT: '; TxtATTBoost[3] = 'ATT: '; TxtATTBoost[4] = 'ATT: '; TxtATTBoost[5] = 'ATT: '; TxtATTBoost[6] = 'Aтака: '; TxtATTBoost[7] = 'ATT: '; var TxtDEFBoost = new Array(); TxtDEFBoost[0] = 'DEF: '; TxtDEFBoost[1] = 'DEF: '; TxtDEFBoost[2] = 'DEF: '; TxtDEFBoost[3] = 'DEF: '; TxtDEFBoost[4] = 'DEF: '; TxtDEFBoost[5] = 'DEF: '; TxtDEFBoost[6] = 'DEF: '; TxtDEFBoost[7] = 'DEF: '; var TxtBuyPet = new Array(); TxtBuyPet[0] = 'Begleiter kaufen'; TxtBuyPet[1] = 'Buy New Pet'; TxtBuyPet[2] = 'Kup nowego zwierzaka'; TxtBuyPet[3] = 'Acheter un nouvel animal'; TxtBuyPet[4] = 'Comprar una mascota nueva'; TxtBuyPet[5] = 'Comprar novo animal de estimação'; TxtBuyPet[6] = 'Купить нового питомца'; TxtBuyPet[7] = 'Buy new pet'; var TxtBuyWeapon = new Array(); TxtBuyWeapon[0] = 'Zum Waffenladen'; TxtBuyWeapon[1] = 'To Weapon store'; TxtBuyWeapon[2] = 'do sklepu z bronią'; TxtBuyWeapon[3] = "Au magasin d'armes"; TxtBuyWeapon[4] = 'Ir a la tienda de armas'; TxtBuyWeapon[5] = 'Para o depósito de armas'; TxtBuyWeapon[6] = 'К оружейному магазину'; TxtBuyWeapon[7] = 'Go to weapon shop'; var TxtBought = new Array(); TxtBought[0] = 'Gekauft'; TxtBought[1] = 'Bought'; TxtBought[2] = 'Kupiony'; TxtBought[3] = 'Utiliser'; TxtBought[4] = 'Comprado'; TxtBought[5] = 'Comprado'; TxtBought[6] = 'Куплено'; TxtBought[7] = 'Bought'; var TxtDefBought = new Array(); TxtDefBought[0] = 'Abbrechen'; TxtDefBought[1] = 'Cancelled'; TxtDefBought[2] = 'Anuluj'; TxtDefBought[3] = 'Annuler'; TxtDefBought[4] = 'Interrumpir'; TxtDefBought[5] = 'Cancelar'; TxtDefBought[6] = 'Отменить'; TxtDefBought[7] = 'Cancel'; var TxtSelected = new Array(); TxtSelected[0] = 'Ausgewählt'; TxtSelected[1] = 'Selected'; TxtSelected[2] = 'Wybrany'; TxtSelected[3] = 'Sélectionné'; TxtSelected[4] = 'Escogido'; TxtSelected[5] = 'Selecionado'; TxtSelected[6] = 'Выбрано'; TxtSelected[7] = 'Selected'; var TxtPiece = new Array(); TxtPiece[0] = ' Stück'; TxtPiece[1] = ' Piece'; TxtPiece[2] = ' Sztuk'; TxtPiece[3] = ' Unités'; TxtPiece[4] = ' pieza'; TxtPiece[5] = ' Unidade(s)'; TxtPiece[6] = ' Штука'; TxtPiece[7] = ' Piece'; var TxtArmoury = new Array(); TxtArmoury[0] = 'Waffenkammer'; TxtArmoury[1] = '
", ntext); var p2 = content.indexOf("
", p1); var menge = content.substring(p1, p2).match(/\d+/); showMsg('Information', printf(getLangTxt(TxtEmptied), menge), 'bottle'); if (Right$(location.toString(), 18) == "activities/bottle/") window.setTimeout("window.location.href = window.location.protocol + '//' + window.location.host + '/activities/'", 2000); else window.setTimeout("document.location.reload()", 2000); } else { cart_leeren() return; } } } }); } // ********************************************************************************** // EVENTHANDLER // ********************************************************************************** function event_empty(event) { var cart = document.getElementById('cart'); cart.removeEventListener('click', event_empty, false); // Wartecursor anzeigen CursorWait(cart, true); cart_leeren(); } var content = responseDetails.responseText; // Cleanliness ermitteln clpos = content.indexOf(' 0 && fcounter > 0) var width = 19; else var width = 25; if (vcounter != 0) { // Verbrechen wird geplant crimePlanned = 1; var vend_time = jetzt + Number(vcounter); if (promille > 0) { var href = EAT_STACK; ShowImg ('SCBACK', href, ICON_REDBG, '', (width==19?19:39), 39, 84 + (fcounter>0?20:0), 13, 4, 'cuffbg'); logoutWarn = 1; } else { var href = TOWNBASE_URL+'activities/'; ShowImg ('SCBACK', href, ICON_NODEFWEAPON, '', (width==19?19:39), 39, 84 + (fcounter>0?20:0), 13, 4, 'cuffbg'); } ShowImg ('SCBACK', href, ICON_CUFF, getLangTxt(TxtCrime) + " (" + FmtInfo(jetzt, vend_time) + ")" + (promille?getLangTxt(TxtCrimePro):""), width, 25, 84 + (fcounter>0?20:6), 20, 5, 'cuff'); } if (fcounter > 0) { // Kampf läuft var fend_time = jetzt + Number(fcounter); ShowImg ('SCBACK', FIGHT_URL, ICON_NODEFWEAPON, '', (width==19?19:39), 39, 84, 13, 4, 'fghtbg'); var text = getLangTxt(TxtFight).replace('%s', attname) + " (" + FmtInfo(jetzt, fend_time) + ")"; var alerttext = ""; if (attwarn == 1) alerttext = " " + getLangTxt(TxtOwnGang); else if (attwarn == 2) alerttext = " " + getLangTxt(TxtAlliedGang); if (attwarn > 0) ShowImg ('SCBACK', FIGHT_URL, ICON_REDBG, alerttext, (width==19?19:39), 39, 84, 13, 4, 'fghtbg'); else ShowImg ('SCBACK', FIGHT_URL, ICON_NODEFWEAPON, '', (width==19?19:39), 39, 84, 13, 4, 'fghtbg'); ShowImg ('SCBACK', FIGHT_URL, ICON_ATTACK, text + alerttext, width, 25, 84 + (vcounter>0?0:6), 20, 5, 'fght'); if (attwarn > 0 && PGu_getValue("attwarn", "") == "") { PGu_setValue("attwarn", attid); alert (alerttext); } } else { PGu_setValue("attwarn", ""); PGu_setValue("fightweak", ""); } } if (counter != 0 || vcounter != 0 || fcounter > 0) { PGu_setValue("collect", 0); var CntDwn = function() { var again = true; var cart = document.getElementById('cart'); jetzt = jetzt + 1; if (counter != 0) { // Flaschen werden gesammelt if (jetzt <= end_time) var text = getLangTxt(TxtCart3) + " (" + FmtInfo(jetzt, end_time) + ")"; else { again = false; document.getElementById('cartbg').src = getIconAddr(ICON_REDBG); var text = getLangTxt(TxtCart); document.getElementById('cartbglnk').removeAttribute('href'); document.getElementById('cartlnk').removeAttribute('href'); cart.style.cursor = 'pointer'; // ********************************************************************************** // EVENTHANDLER // ********************************************************************************** cart.addEventListener('click', event_empty, false); if (CollEndAlert == 1) alert(getLangTxt(TxtCollFinish)); } if (cart) cart.title = text; else { again = false; } } else { if (vcounter > 0) { var text = getLangTxt(TxtCrime) + " (" + FmtInfo(jetzt, vend_time) + ")" + (promille?getLangTxt(TxtCrimePro):""); document.getElementById('cuff').title = text; } if (fcounter > 0) { var text = getLangTxt(TxtFight).replace('%s', attname) + " (" + FmtInfo(jetzt, fend_time) + ")"; var alerttext = ""; if (attwarn == 1) alerttext = " " + getLangTxt(TxtOwnGang); else if (attwarn == 2) alerttext = " " + getLangTxt(TxtAlliedGang); var fght = document.getElementById('fght'); if (fght) fght.title = text + alerttext; else { again = false; } if (attwarn > 0 && PGu_getValue("attwarn", "") == "") { PGu_setValue("attwarn", attid); alert (alerttext); } } else PGu_setValue("attwarn", ""); } if (again) window.setTimeout(CntDwn, 1000); } window.setTimeout(CntDwn, 1000); } else if (fcounter <= 0) { ShowImg ('SCBACK', '', ICON_GRNBG, '', '', '', 84, 13, 4, 'cartbg'); var cart = ShowImg ('SCBACK', '', ICON_CART, getLangTxt(TxtCart2), 25, 25, 90, 20, 5, 'cart'); if (cart == null) return; cart.style.cursor = 'pointer'; cart.addEventListener('click', function(event) { // Wartecursor anzeigen CursorWait(this, true); PGu_setValue("collect", 1); if (event.shiftKey != 0) { CollEndAlert = 1 - CollEndAlert; PG_setValue("CollEndAlert", CollEndAlert); } window.setTimeout("window.location.href = window.location.protocol + '//' + window.location.host + '/activities/'", 500); },false); } } if (Right$(location.toString(), 11) == "activities/" || Right$(location.toString(), 18) == "activities/bottle/") if (PGu_getValue("collect", 0) == 1) { var evt = document.createEvent("HTMLEvents"); evt.initEvent("change", true, true); var timeOptions = document.getElementsByName("time")[0]; timeOptions.selectedIndex = PGu_getValue("lastCollectTime", 0); timeOptions.dispatchEvent(evt); timeOptions.addEventListener( "change", function(){ PGu_setValue("lastCollectTime", document.getElementsByName("time")[0].selectedIndex); timeOptionsCaptcha.selectedIndex = timeOptions.selectedIndex; }, true ); var timeOptionsCaptcha = timeOptions.cloneNode(true); timeOptionsCaptcha.selectedIndex = timeOptions.selectedIndex; timeOptionsCaptcha.addEventListener( "change", function(){ PGu_setValue("lastCollectTime", document.getElementsByName("time")[0].selectedIndex); timeOptions.selectedIndex = timeOptionsCaptcha.selectedIndex;}, true); var captchaHolder = document.getElementById("holder"); var infoText = captchaHolder.insertBefore(document.createElement('p'),captchaHolder.getElementsByTagName("span")[1]); infoText.innerHTML = "Zeit:"; infoText.appendChild(timeOptionsCaptcha); infoText.style.margin = "0px"; infoText.style.marginTop = "8px"; captchaHolder.getElementsByTagName("span")[1].style.marginTop = "-8px"; captchaHolder.getElementsByTagName("span")[1].style.marginLeft = "-10px"; var cancelButton = captchaHolder.getElementsByClassName("cancel")[0]; cancelButton.style.margin = "0px"; cancelButton.style.marginLeft = "10px"; infoText.appendChild(cancelButton); setTimeout("document.getElementsByName('Submit2')[0].click();", 1000); // fails often if to fast } } }); // ********************************************************************************** // *** GM_XMLHTTPREQUEST *** Abfragen der aktuellen Skill-Level // ********************************************************************************** GM_xmlhttpRequest({method:"GET", url: WB_URL, onload:function(responseDetails) { var content = responseDetails.responseText; // Aus HTML ein DOM-Objekt erzeugen var doc = HTML2DOM(content); var sk = true; var skAnz = 3; var skAtt = -1; var tables = doc.getElementsByClassName("skill_block"); if (tables.length == 0) { var tables = doc.getElementsByTagName("table"); sk = false; } if (content.indexOf('"/pet/"') != -1) { var t = document.getElementById("topmenu").getElementsByClassName("pet")[0]; t = getComputedStyle(t, null); if (parseInt(t.width) > 0 && !sk) skAnz = 4; } if (sk && skAnz == 3) { document.getElementById("ADBACKimg").src = getIconAddr(ICON_ATTDEFJOBBACK[nrOfTabs == 6?0:1]); document.getElementById("ADBACKimg").src = getIconAddr(ICON_ATTDEFJOBBACK[nrOfTabs == 6?0:1]); if (document.getElementById("defweaponlnk")) document.getElementById("defweaponlnk").href = MINIJOBS_URL; else ShowImg('ADBACK', MINIJOBS_URL, ICON_NODEFWEAPON, '', '', '', 84, 13, 1, 'defweapon'); } for (var i = 0; i < tables.length; i++) { var table = tables[i]; if (sk) { if (table.getElementsByClassName("slot_3").length > 0) { var skill = table.getElementsByTagName("h2")[0].innerHTML; var skillLvl = table.getElementsByClassName("skill_progress_text")[0].innerHTML.split(" ")[0]; } else continue; } else { // Referenz auf Tabellenzeilen in trs speichern var trs = table.getElementsByTagName("tr"); if (trs[0].innerHTML.indexOf(TxtEstimated[lang]) != -1 || trs[0].innerHTML.indexOf('processbar_bg') == -1) continue; var skill = trs[0].innerHTML.split('')[1].split('')[0]; var skillLvl = trs[0].innerHTML.split('="108">')[1].split('= 0) var actSkills = skAtt; else var actSkills = doc.getElementsByClassName('box_main_small').length; if (actSkills == 0) { ShowImg ('SCBACK', WB_URL, ICON_PLUNDERB, getLangTxt(TxtNoSkill), '', '', 6, (skAnz==4)?18:21, 4, 'skill1'); ShowImg ('SCBACK', WB_URL, ICON_PLUNDERB, getLangTxt(TxtNoSkill), '', '', 6, (skAnz==4)?26:31, 4, 'skill2'); } else { var start_time = content.split("fortschritt()")[1].split('var start = ')[1].split(';')[0]; var end_time = content.split("fortschritt()")[1].split('var end = ')[1].split(';')[0]; var jetzt = content.split('')[0]; var skilllvl = content.split('box_text_small">')[1]; var skill = skilllvl.split('">')[1].split('<')[0]; var level = skilllvl.split('[')[1].split(']')[0].split(' ')[1]; var percent = jetzt>=end_time?100:Math.round((jetzt - start_time) / (end_time - start_time) * 1000) / 10; var text = skill + ' ' + level + ', ' + percent + '%, ' + FmtInfo(jetzt, end_time); var width = Math.ceil(25/100*percent); ShowImg ('SCBACK', WB_URL, ICON_PLUNDERA, text, '', '', 6, (skAnz==4)?18:21, 3, 'skill1bg'); if (width > 0) ShowImg ('SCBACK', WB_URL, ICON_CLEAN, text, width, 5, 6, (skAnz==4)?18:21, 4, 'skill1fg'); if (actSkills > 1) { skilllvl = content.split('box_text_small">')[2]; var skill2 = skilllvl.split('">')[1].split('<')[0]; var level2 = skilllvl.split('[')[1].split(']')[0].split(' ')[1]; var endtime= skilllvl.split('style_skill">')[2].split('<')[0]; if (isNaN(endtime.substr(0,2))) { var now = new Date; endtime = endtime.split(', ')[1]; endtime = new Date(now.getFullYear(), now.getMonth(), now.getDate(), endtime.substr(0,2), endtime.substr(3,2), 0); if (endtime < now) endtime.setTime(endtime.getTime() + 86400*1000); } else endtime = new Date(2000+Number(endtime.substr(6,2)), Number(endtime.substr(3,2)-1), endtime.substr(0,2), endtime.substr(10,2), endtime.substr(13,2), 0); endtime = FmtInfo(0, endtime.getTime()/1000 - timeDiff); var text2 = skill2 + ' ' + level2 + endtime.substring(0, endtime.length-3); ShowImg ('SCBACK', WB_URL, ICON_PLUNDERA, text2, '', '', 6, (skAnz==4)?26:31, 3, 'skill2bg'); } else { ShowImg ('SCBACK', WB_URL, ICON_PLUNDERB, getLangTxt(TxtNoSkill), '', '', 6, (skAnz==4)?26:31, 4, 'skill2'); } var skillTim = function() { jetzt = Number(jetzt) + 1; if (!document.getElementById('skill1fg')) return; window.setTimeout(skillTim, 1000); var percent = jetzt>=end_time?100:Math.round((jetzt - start_time) / (end_time - start_time) * 1000) / 10; var text = skill + ' ' + level + ', ' + percent + '%, ' + FmtInfo(jetzt, end_time); var nwidth = Math.ceil(25/100*percent); if (nwidth > 0) if (width == 0) ShowImg ('SCBACK', WB_URL, ICON_CLEAN, text, nwidth, 5, 6, (skAnz==4)?18:21, 4, 'skill1fg'); else { document.getElementById('skill1fg').width = nwidth; document.getElementById('skill1fg').title = text; } document.getElementById('skill1bg').title = text; if (end_time - jetzt < 3600 && actSkills == 1) if (jetzt-Math.floor(jetzt/2)*2 != 0) document.getElementById('skill1fg').src = getIconAddr(ICON_PLUNDERB); else document.getElementById('skill1fg').src = getIconAddr(ICON_CLEAN); } window.setTimeout(skillTim, 1000); } // ********************************************************************************** // *** GM_XMLHTTPREQUEST *** Abfragen der Begleiter-Weiterbildung // ********************************************************************************** if (!sk) { var nav = document.getElementById("nav-2"); if (nav && nav.innerHTML.indexOf("/skills/pet/") == -1) { var li = nav.getElementsByTagName("li"); for (i = 0; i < li.length; i++) if (li[i].innerHTML.indexOf("/pet/") != -1) { var newli = li[i].cloneNode(true); var a = newli.getElementsByTagName("a"); a[0].href = "/skills/pet/"; var span = newli.getElementsByTagName("span"); span[span.length-1].innerHTML = "Begleiter"; li[i].parentNode.insertBefore(newli, li[i+1]); break; } } GM_xmlhttpRequest({method:"GET", url: WBPET_URL, onload:function(responseDetails) { var content = responseDetails.responseText; // Wenn die Seite abgerufen werden konnte (kein Seitenladefehler) if (content.indexOf(KEYWORD_MYBUM[lang]) != -1) { // Aus HTML ein DOM-Objekt erzeugen var doc = HTML2DOM(content); var actSkills = doc.getElementsByClassName('box_main_small').length; if (actSkills == 0) { ShowImg ('SCBACK', WBPET_URL, ICON_PLUNDERB, getLangTxt(TxtNoSkill), '', '', 6, (skAnz==4)?34:41, 4, 'skillpet'); } else { var start_time = content.split("fortschritt()")[1].match(/var start *= *\d+/)[0].match(/\d+/)[0]; var end_time = content.split("fortschritt()")[1].match(/var end *= *\d+/)[0].match(/\d+/)[0]; var jetzt = content.split('')[0]; var skilllvl = content.split('box_text_small">')[1]; var skill = skilllvl.split('">')[1].split('<')[0]; var level = skilllvl.split('[')[1].split(']')[0].split(' ')[1]; var percent = jetzt>=end_time?100:Math.round((jetzt - start_time) / (end_time - start_time) * 1000) / 10; var text = skill + ' ' + level + ', ' + percent + '%, ' + FmtInfo(jetzt, end_time); var width = Math.ceil(25/100*percent); ShowImg ('SCBACK', WBPET_URL, ICON_PLUNDERA, text, '', '', 6, (skAnz==4)?34:41, 3, 'skillpetbg'); if (width > 0) ShowImg ('SCBACK', WBPET_URL, ICON_CLEAN, text, width, 5, 6, (skAnz==4)?34:41, 4, 'skillpetfg'); var PetSkillTim = function() { jetzt = Number(jetzt) + 1; if (!document.getElementById('skillpetfg')) return; window.setTimeout(PetSkillTim, 1000); var percent = jetzt>=end_time?100:Math.round((jetzt - start_time) / (end_time - start_time) * 1000) / 10; var text = skill + ' ' + level + ', ' + percent + '%, ' + FmtInfo(jetzt, end_time); var nwidth = Math.ceil(25/100*percent); if (nwidth > 0) if (width == 0) ShowImg ('SCBACK', WB_URL, ICON_CLEAN, text, nwidth, 5, 6, (skAnz==4)?34:41, 4, 'skillpetfg'); else { document.getElementById('skillpetfg').width = nwidth; document.getElementById('skillpetfg').title = text; } document.getElementById('skillpetbg').title = text; if (end_time - jetzt < 3600) if (jetzt-Math.floor(jetzt/2)*2 != 0) document.getElementById('skillpetfg').src = getIconAddr(ICON_PLUNDERB); else document.getElementById('skillpetfg').src = getIconAddr(ICON_CLEAN); } window.setTimeout(PetSkillTim, 1000); } } } }); } // ********************************************************************************** // *** GM_XMLHTTPREQUEST *** Abfragen Haustier Streunen // ********************************************************************************** if (sk || skAnz == 4) { GM_xmlhttpRequest({method:"GET", url: PET_URL, onload:function(responseDetails) { var content = responseDetails.responseText; // Wenn die Seite abgerufen werden konnte (kein Seitenladefehler) if (content.indexOf(KEYWORD_MYBUM[lang]) != -1) { // Aus HTML ein DOM-Objekt erzeugen var doc = HTML2DOM(content); if (content.indexOf("pet_kader") == -1) { ShowImg ('SCBACK', PET_URL, ICON_PLUNDERA, "Du hast noch kein Tier", '', '', 6, (skAnz==4)?42:41, 4, 'streunpet'); } else { var petbusy = doc.getElementsByClassName('petbusybar'); var backflg = 0; for (var b = 0; b < petbusy.length; b++) { if (petbusy[b].innerHTML.indexOf('Fertig') != -1) { backflg = 1; break; } if (petbusy[b].innerHTML.indexOf('counter') != -1) { DispZeit(new Date(), petbusy[b], PET_URL, TxtStreun, "SCBACK", "streunpet", 6, (skAnz==4)?42:41, 3, 10800, 25); backflg = 2; break; } } if (backflg != 2) { if (backflg == 1) var text = "Dein Haustier ist zurück!"; else var text = "Dein Haustier streunt zur Zeit nicht!"; ShowImg ('SCBACK', PET_URL, ICON_PLUNDERB, text, '', '', 6, (skAnz==4)?42:41, 4, 'streunpet'); } } } } }); } if (!oldVersion) GM_xmlhttpRequest({method: 'GET', url: PLUNDERSHOP_URL, onload: function(responseDetails) { function showPlunderShop(tdiv, i) { var fkt = anzPlnd / 3; if (i < tdiv.length) { var src = tdiv[i].getElementsByTagName("img")[0].src; var tda = tdiv[i].getElementsByTagName("a"); for (var ii = 0; ii < tda.length; ii++) { if (tda[ii].href.indexOf("stock/plunder/") != -1) break; } GM_xmlhttpRequest({method: 'GET', url: tda[ii].href, onload: function(responseDetails) { var plunder = tda[ii].innerHTML.split(">")[1].split("<")[0]; var kost = trimString(tda[ii].innerHTML.split("