google-code-export / game-golem

Automatically exported from code.google.com/p/game-golem
0 stars 0 forks source link

Multiple workers freaking out via Chrome w/ r1090 #304

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Hard to say, just trying to use it creates all kinds of strange behavior, has 
been ongoing and getting worse for about a week now.

What is the expected output? What do you see instead?
Multiple workers are getting stuck in loops or do nothing, only workaround is 
to disable specific workers.

What version of Golem are you using? Beta or release? On what browser?
Chrome w/ r1090

Does anything relevant appear in the Console? (ctrl+shift+J)
Yes, please see notes below

Please provide any additional information below.

Town worker non-responsive:
[r1090] [17:39:10] Queue: Trigger Bank
[r1090] [17:39:42] Queue: Trigger Town
~~Nothing happens until I disable the worker (which I have now done)

Idle worker stuck in loop:
I tried to capture the data from the console but it crashed after IU had 
switched to this tab... I had to pause Golem before it gave me enough time to 
click on anything... closing and relaunching CA page...

Console results:
GameGolem: Loading...
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+main.js:99GameGolem:
 Starting Castle Age
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[17:47:5
0] State: running
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[17:47:59] Queue: Trigger Idle
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:00] Queue->Idle->Page: Navigating to quests.php?land=11
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:01] Queue->Idle->Page: Navigating to quests.php?land=12
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:02] Queue->Idle->Page: Navigating to quests.php?land=11
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:03] Queue->Idle->Page: Navigating to quests.php?land=12
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:04] Queue->Idle->Page: Navigating to quests.php?land=11
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:05] Queue->Idle->Page: Navigating to quests.php?land=12
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:06] Queue->Idle->Page: Navigating to quests.php?land=11
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:07] Queue->Idle->Page: Navigating to quests.php?land=12
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:08] Queue->Idle->Page: Navigating to quests.php?land=11
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:09] Queue->Idle->Page: Navigating to quests.php?land=12
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[17:48:10] Queue->Idle->Page: Navigating to quests.php?land=11
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[17:48:1
0] State: paused

disabling Idle worker...
[17:49:29] State: running

now it does nothing because I'm nearly out of NRG and Stam. I will add more as 
each problem is encountered, unless somebody can tell wth... ^_^

Original issue reported on code.google.com by cygnus.x...@gmail.com on 22 Apr 2011 at 12:52

GoogleCodeExporter commented 9 years ago
Addendum:
Festival worker failing to collect guild battle reward:

[17:49:29] State: running
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[18:00:03] Queue: Trigger Festival
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[18:00:04] Queue->Festival->Page: Navigating to festival_battle_home.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_festival.js:249[18
:00:36] Festival: Collecting Reward
qlO-v-YlryA.js:11Uncaught TypeError: Converting circular structure to JSON
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:279[18:00:52
] Page: Page click timeout, retry 1...
qlO-v-YlryA.js:11Uncaught TypeError: Converting circular structure to JSON

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 1:03

GoogleCodeExporter commented 9 years ago
Addendum:
Bank worker error (however stashing was accomplished):

[r1090] [18:01:22] Queue: Trigger Bank
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [18:01:23] Queue->Bank->Generals: General change: Celesta to Aeris
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[18:01:23] Queue->Bank->Generals->Page: Navigating to 
generals.php?item=16&itype=0
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [18:01:24] Queue->Bank->Generals: General change: Celesta to Aeris
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [18:01:25] Queue->Bank->Generals: General change: Celesta to Aeris
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[18:01:26] Queue->Bank->Page: Navigating to keep.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:313[18:01:27
] Page: Page.click: Unable to find element - input[value="Stash"]

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 1:05

GoogleCodeExporter commented 9 years ago
After attempting to manually accept guild battle reward, discovered it was 
already collected

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 1:08

GoogleCodeExporter commented 9 years ago
More 'missing elements'

[r1090] [19:49:26] Queue: Trigger Blessing
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[19:49:27] Queue->Blessing->Page: Navigating to symbols.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:313[19:49:28
] Page: Page.click: Unable to find element - #app46755028429_symbols_form_2 
input.imgButton
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:313[19:49:29
] Page: Page.click: Unable to find element - #app46755028429_symbols_form_2 
input.imgButton

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 3:10

GoogleCodeExporter commented 9 years ago
but I should mention the blessing was accomplished ^_^

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 3:12

GoogleCodeExporter commented 9 years ago
I keep seeing these 'uncaught reference' errors on every pageload. clicked to 
consume Stam potion via the golem infowindow and the 1st attempt failed and the 
option reverted, clicked it again and then it worked.

GameGolem: Loading...
gift_accept.php:2Uncaught ReferenceError: FB_RequireFeatures is not defined
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+main.js:99GameGolem:
 Starting Castle Age
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:125[r1090] 
[09:52:21] Queue: Trigger Gift (continue after load)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_gift.js:144[r1090]
 [09:52:21] Page->Gift: Mystery Treasure sent.
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[09:52:51] Queue->Gift->Page: Navigating to index.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[09:52:52] Queue: Trigger Potions
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[09:52:53] Queue->Potions->Page: Navigating to keep.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_potions.js:120[r10
90] [09:52:54] Queue->Potions: Wanting to drink a Stamina potion
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:313[09:52:54
] Page: Page.click: Unable to find element - .statUnit:contains("Stamina") form 
.imgButton input
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[09:54:03] Queue: Trigger Potions
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_potions.js:120[r10
90] [09:54:04] Queue->Potions: Wanting to drink a Stamina potion

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 4:56

GoogleCodeExporter commented 9 years ago
Something weird is going on with my quest worker, but I'm unable to easily 
capture the console logs because whatever the problem is, Golem is triggering a 
page refresh which wipes out the previous log.

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 8:23

GoogleCodeExporter commented 9 years ago
I can't get the last few lines that triggers the page refresh...

index.php:2Uncaught ReferenceError: FB_RequireFeatures is not defined
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+main.js:180GameGolem
: Loading...
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+main.js:99GameGolem:
 Starting Castle Age
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:125[r1090] 
[13:55:34] Queue: Trigger Bank (continue after load)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [13:56:04] Queue->Bank->Generals: General change: Sano to Aeris
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[13:56:04] Queue->Bank->Generals->Page: Navigating to 
generals.php?item=16&itype=0
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [13:56:05] Queue->Bank->Generals: General change: Sano to Aeris
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[13:56:06] Queue->Bank->Page: Navigating to keep.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:313[13:56:07
] Page: Page.click: Unable to find element - input[value="Stash"]
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[13:56:40] Queue: Trigger Monster
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1709[r1
090] [13:56:41] Queue->Monster: Reviewing Shadow Stalker's Sapphire Sea Serpent
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[13:56:41] Queue->Monster->Page: Navigating to 
festival_battle_monster.php?casuser=100000035138568&mpool=2&mid=seamonster_blue
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[13:56:42] Queue: Trigger Quest
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1089[r1
090] [13:56:42] Page->Monster: Unknown monster (timed out)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [13:56:43] Queue->Quest->Generals: General change: Aeris to Sano
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[13:56:43] Queue->Quest->Generals->Page: Navigating to 
generals.php?item=17&itype=0
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[13:56:4
3] State: paused
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[13:56:5
8] State: running
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[13:56:59] Queue: Trigger Monster
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[13:56:5
9] State: paused
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[13:57:0
2] State: running
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[13:57:03] Queue: Trigger Monster
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1709[r1
090] [13:57:04] Queue->Monster: Reviewing Shadow Stalker's Sapphire Sea Serpent
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[13:57:04] Queue->Monster->Page: Navigating to 
festival_battle_monster.php?casuser=100000035138568&mpool=2&mid=seamonster_blue
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:139[13:57:0
4] State: paused
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1089[r1
090] [13:57:05] Page->Monster: Unknown monster (timed out)

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 8:57

GoogleCodeExporter commented 9 years ago
I had to turn off or set to maximum delay for all refresh options on the Global 
worker to capture this:

[14:39:09] Income: Banking Income...
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[14:39:42] Queue: Trigger Quest
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [14:39:45] Queue->Quest->Generals: General change: Aeris to Sano
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:39:45] Queue->Quest->Generals->Page: Navigating to 
generals.php?item=17&itype=0
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:39:48] Queue->Quest->Page: Navigating to quests.php?land=8
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_quest.js:669[r1090
] [14:39:51] Queue->Quest: Performing - Find Survivors (energy: 28)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+debug.js:136[r1090] 
[14:39:51]: TypeError: Cannot read property 'id' of undefined
->Queue._update({"type":"reminder","self":true,"id":"run","worker":"Queue"},"run
")
  ->Queue.update({"type":"reminder","self":true,"id":"run","worker":"[worker Queue]"},["[object Object]","[object Object]"])
    ->Quest._work(true)
      ->Quest.work(true)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[14:40:21] Queue: Trigger Quest
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:40:24] Queue->Quest->Page: Navigating to quests.php?land=8
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_quest.js:669[r1090
] [14:40:27] Queue->Quest: Performing - Find Survivors (energy: 28)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+debug.js:136[r1090] 
[14:40:27]: TypeError: Cannot read property 'id' of undefined
->Queue._update({"type":"reminder","self":true,"id":"run","worker":"Queue"},"run
")
  ->Queue.update({"type":"reminder","self":true,"id":"run","worker":"[worker Queue]"},["[object Object]","[object Object]"])
    ->Quest._work(true)
      ->Quest.work(true)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[14:40:27] Queue: Trigger Bank
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [14:40:57] Queue->Bank->Generals: General change: Sano to Aeris
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:40:57] Queue->Bank->Generals->Page: Navigating to 
generals.php?item=16&itype=0
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:41:00] Queue->Bank->Page: Navigating to keep.php
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+queue.js:293[r1090] 
[14:41:34] Queue: Trigger Quest
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_generals.js:620[r1
090] [14:41:37] Queue->Quest->Generals: General change: Aeris to Sano
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:41:37] Queue->Quest->Generals->Page: Navigating to 
generals.php?item=17&itype=0
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:262[r1090] 
[14:41:40] Queue->Quest->Page: Navigating to quests.php?land=8
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_quest.js:669[r1090
] [14:41:43] Queue->Quest: Performing - Find Survivors (energy: 28)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+debug.js:136[r1090] 
[14:41:43]: TypeError: Cannot read property 'id' of undefined
->Queue._update({"type":"reminder","self":true,"id":"run","worker":"Queue"},"run
")
  ->Queue.update({"type":"reminder","self":true,"id":"run","worker":"[worker Queue]"},["[object Object]","[object Object]"])
    ->Quest._work(true)
      ->Quest.work(true)

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 9:42

GoogleCodeExporter commented 9 years ago
So with that looping in place, the behavior I see it that Golem uses Sano to 
increment a quest, but it's breaking after simulating clicking the Quest 
graphic, then triggering the Bank worker to stash the money picked up from the 
single quest increment, then returning the the quest worker, rinse and repeat. 
Questing is getting accomplished but it's significantly slower due to the 
banking loop.

Original comment by cygnus.x...@gmail.com on 22 Apr 2011 at 9:45