kcyeu / game-golem

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

elite worker stuck adding elite guard #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install r823 
2. make sure you don't have a full elite guard
3.expand the elite worker
4.click to fill elite

What is the expected output? What do you see instead?
the guard to get filled. instead I see a spinning globe and nothing happening

What version of Golem are you using? Beta or release? On what browser?
r823 on chrome, verified again on r827

Does anything relevant appear in the Console? [r827] [05:41:46] Page: TypeError 
in Page.init(): Cannot call method 'replace' of null
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:41:46] Queue: Trigger Elite (continue after load)
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:41:46] Elite: TypeError in Army.get(, undefined): Cannot read property 
'name' of undefined
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:41:46] Gift: Omar has a Great Fiery Gift waiting for you. 
(gift_dante_mystery.jpg)
0.8.channel.facebook.com/x/1157434452/963619229/true/p_696182209=80Failed to 
load resource
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:01] Queue: Trigger Elite
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:06] Elite: Add 502814103 to Elite Guard
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:06] Elite: Navigating to 
http://apps.facebook.com/castle_age/party.php?twt=jneg&jneg=true&user=502814103
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:11] Elite: Add 502814103 to Elite Guard
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:11] Elite: Navigating to 
http://apps.facebook.com/castle_age/party.php?twt=jneg&jneg=true&user=502814103
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:16] Elite: Add 502814103 to Elite Guard
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:16] Elite: Navigating to 
http://apps.facebook.com/castle_age/party.php?twt=jneg&jneg=true&user=502814103
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:21] Elite: Add 502814103 to Elite Guard
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:21] Elite: Navigating to 
http://apps.facebook.com/castle_age/party.php?twt=jneg&jneg=true&user=502814103
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/golem.user.js:82[r827] 
[05:42:25] : State: paused

Please provide any additional information below.
on both versions it is stuck adding the same user.

Original issue reported on code.google.com by p_ha...@hotmail.com on 13 Oct 2010 at 12:47

GoogleCodeExporter commented 9 years ago
Same problem on Chromium 8.0 on Ubuntu

Original comment by punkid...@gmail.com on 13 Oct 2010 at 4:16

GoogleCodeExporter commented 9 years ago
Same thing that happens to me. The person it is trying to add, is myself. 
Attached screen shot shows the top two lines which repeat indefinitely in the 
log since it cannot add yourself to your own elite guard I assume.

Also would there be a way for the elite guard worker when "fill elite" is 
pressed to continue to fill the guard until matching the expression "Your Elite 
Guard is Full"? Sometimes it seems to only fill 2 slots and then move on and 
requires a few reloads to actually get guard full.

Original comment by Murphy.J...@gmail.com on 18 Oct 2010 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
I think r833 should fix this case.

Original comment by lur...@hotmail.com on 20 Oct 2010 at 10:07

GoogleCodeExporter commented 9 years ago
Err, make that r834, forgot a file.

Original comment by lur...@hotmail.com on 20 Oct 2010 at 10:13

GoogleCodeExporter commented 9 years ago
Can anyone confirm if the loop is purely to do with adding your own uid, or if 
it happens when trying to add others too?

The current code won't let you add yourself, but it might be worthwhile putting 
in "we've tried already, so let's skip this one for a while" code.

Original comment by RycochetTM on 23 Oct 2010 at 8:52

GoogleCodeExporter commented 9 years ago
On mine it is stuck adding someone Who's army I am not in.  At least that is 
what it says.  And it keeps trying over and over.  Still stuck in r839.

Original comment by p_ha...@hotmail.com on 26 Oct 2010 at 1:53

GoogleCodeExporter commented 9 years ago
Still not working on r844.

Original comment by p_ha...@hotmail.com on 27 Oct 2010 at 2:18

GoogleCodeExporter commented 9 years ago
Fill NOW button often does nothing even if while in IDLE.
When filling guard, often will quit after 1-2 adds as above. 
even if pause/run cycled seems to not fill easily.
r852

Original comment by blm...@gmail.com on 12 Dec 2010 at 7:27

GoogleCodeExporter commented 9 years ago
Seems to be working properly all the time now.

Original comment by RycochetTM on 8 Jan 2011 at 7:35