From e0a8a2c1fb8f07d3963519ab82113bf59ae36796 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Thu, 7 Aug 2014 21:52:17 +0200 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98grepolis.user.js=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grepolis.user.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/grepolis.user.js b/grepolis.user.js index cdc0d90..6c3b267 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -98,7 +98,7 @@ }); $(town_countdown).append('
'); } - }, townCount * 3000); + }, townCount * 5000); $("#gpwnd_" + logGPWindow.getID()).parent().parent().find(".ui-dialog-titlebar").empty().append("" + GM_info.script.version); var choose = $("#choosefarmduration")[0]; @@ -111,17 +111,19 @@ setTimeout(function() { console.log("get farms for town " + xTownId); HelperTown.townSwitch(xTownId); - HelperTown.handleInfoWindowJumpToTownClick(); setTimeout(function() { - console.log("getting farms for town " + xTownId); - var farmtowns = $(".farmtown_owned_on_same_island"); - $.each(farmtowns, function(f, farmtown) { - var farmtownId = farmtown["id"].split("_")[2]; - console.log("got farm " + farmtownId + " for town " + xTownId); - farm_ids[xTownId].push(+farmtownId); - }); + HelperTown.handleInfoWindowJumpToTownClick(); + setTimeout(function() { + console.log("getting farms for town " + xTownId); + var farmtowns = $(".farmtown_owned_on_same_island"); + $.each(farmtowns, function(f, farmtown) { + var farmtownId = farmtown["id"].split("_")[2]; + console.log("got farm " + farmtownId + " for town " + xTownId); + farm_ids[xTownId].push(+farmtownId); + }); + }, 1800); }, 1800); - }, xTownCount*2200); + }, xTownCount*4000); } function log(xText) {