google-code-export / game-golem

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

New release as so as 1119 issues #328

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use release version on Firefox 3 (same with 4), latest GM version;
2. Update to latest beta
3. See that release and beta have the same behaviour

Both in new release and beta I've experimented the following:
1. Impossible to reset golem (neither options showed in about:config in the old 
place); also manually checked the whole about config, no options to reset there;
2. Each time I move a tab in the jQuery menu the page refresh, nothing is done;
3. The golem doesn't do practically anything, there are also some very bas 
issues regarding monsters scores (not shown); no elite guard filling (elite 
just try to fill with the same user http://www.facebook.com/profile.php?id=0, 
no chance to put stars on army list)! Doesn't work for festival battles.
All is very very slow, seems to be a remote script.
Please provide a way to effectively reset the golem, and also the chance to 
rollback to a previous beta, released before the current release.
If this script has some kind of remotely executed code, consider the way to 
revert to locl, better slow than inoperative.

Original issue reported on code.google.com by info...@gmail.com on 21 May 2011 at 5:19

GoogleCodeExporter commented 9 years ago
1. Golem has had a Reset option internally for over a year - click the little 
icon at the top-right of the main display, turn on Advanced Options. Click it 
again, and then you can see the "!!!Reset Golem" option. This is the only clean 
and supported way to do a complete Golem reset.

31.6 doesn't use about:config any more. Greasemonkey is too buggy to use 
properly (not it's fault, but it just can't be used for an application as 
complex as Golem).

The beta & release are almost the same at this point in time - it's why it's a 
new 31.6 rather than old 31.5

2. Sounds like you've not got the latest version - another side-effect of that 
was dashboard tabs not working. If that is the case then install it again...

3. The elite not filling seems to be an issue with CA rather than Golem - we'll 
get a workaround once we work out how to do it (seen it getting less regular 
again lately).

Rollback is strongly discouraged - you even get a big warning popup if you try 
it. Data storage and formats change. We try to make sure it is updated when 
that happens - but that means we can't go backwards. All previous versions are 
available, but if you can't find out how to get them off here then you really 
shouldn't be trying to install them (sorry) - saying that, it is safe if you do 
a reset of Golem after installing them.

The only remote files currently in Golem are some image files in the display - 
this is a temporary measure until the Theme support is finalised, when it will 
all be inline.

Original comment by RycochetTM on 21 May 2011 at 5:38

GoogleCodeExporter commented 9 years ago
Special thanks for the time you spent on your prompt answer; I know about the 
Reset Golem key in the options, but it's not working for me, if I use that 
option the Golem does not reset. BTW I will try to uninstall everything, 
included GM, and after a clean installation I will check if my issue still is 
at the current state. Just to make you sure, I have the 31.6.1119 version, 
supposing it to be the latest version and the latest beta. When using 1116 on 
another pc it seems to work correctly, for the elite guard too. In the army 
panel of this one I can still check the star on favourite players and it fills 
elite correctly (for the moment).
I know about rollback popup, I understand your reasons.
Thanks also for the clarification about remote part, I was supposing that there 
were more things executed remotely, since if I uncheck i.e. the use best 
general option, wherever, I have to wait about 20 seconds before general list 
is shown. I will check this on my personal case; maybe it should be related to 
misconfiguration which does not permit my golem to work correctly. I will let 
you know after full reinstall of all components. In the meanwhile I will try to 
check the chrome version from scratch, since I don't generally use Chrome on my 
main pc to play CA.
As I wrote, I will let you know about my fresh reinstall.
Thanks again.
Have a nice time !

Original comment by info...@gmail.com on 21 May 2011 at 6:23

GoogleCodeExporter commented 9 years ago
The greasemonkey script is now pretty much just a permanent bookmarklet - it's 
exactly the same as using the normal Golem bookmarklet, but ensures it runs on 
every page load.

Basically, this means that Greasemonkey is no longer any sort of an issue, 
regardless of what version you have.

One thing to remember is that Golem does not work with other CA scripts (such 
as Caap, CAGE or CAA Tools), so if you have any of them installed then it will 
also break...

Original comment by RycochetTM on 21 May 2011 at 6:55

GoogleCodeExporter commented 9 years ago
Thanks for clarification, btw I reinstall all, manually uninstalling both GM 
and Golem. Seems strange but I still have the same options. Resetting golem 
from the option in advanced tab have the same result. Golem does not reset, it 
keeps same options before uninstall ... I think I will have a look at the code 
to see what does effectively do a reset; in my "settings" tab I see I'm 
currently using 856k/1M for workers, so it doesn't initialize resetting with 
the option ...
I confirm you that I don't use any other script, nor bookmarklet for Castle 
Age. I have dome other components installed apart from greasemonkey, such as 
firebug, webdeveloper and some other tools, but I don't think that this cause 
the issue...

Original comment by info...@gmail.com on 21 May 2011 at 7:29

GoogleCodeExporter commented 9 years ago
Damn - there might be some difference in Firefox and how it does things...

All data is stored in localStorage on all browsers now - so you might be able 
to do a reset some other way - just about finished updating Script so it can be 
used for Upgrade, and once that's done I'll have a look into what FF does wrong 
(or differently lol).

All golem data has a key in the format - 
"golem.<appname>.<uid>.<worker>.<type>" - there's a few exceptions, but they 
are start the same.

Original comment by RycochetTM on 21 May 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Just to let you know, firebug is showing me the following when resetting with 
the menu option:
[r1119] [16:48:49] Settings: TypeError: null has invalid __iterator__ value 
null ->Settings.menu(null,"reset")

I will manually reset the localStorage.

Original comment by info...@gmail.com on 21 May 2011 at 9:53

GoogleCodeExporter commented 9 years ago
A rapid way to clear the localStorage cache, as on the DOM documentation 
related to firefox was to clear cookie cache with the parameter of everything; 
that way I was able to reset all the golem options; for some reasons the 
iterator i you use in your for to iterate in the localStorage array options has 
gone to a null value ...
Elite Guard has still the previous issue, but that's related to CA.
Now I'm using a fresh 31.6.1119 (advanced options always), it seems to do 
nothing; 
- the study of my actual values has been correctly performed when entering CA;
- army did the first round then switching to loop, I manually deactivate it 
after the whole army was read (that was the same behaviour with previous 
versions);
- elite not working (CA issue ?);
- income does not store money neither change general (maybe at next checkpoint, 
in 20 minutes it will do that, still not sure);
- monsters links are shown in the panel, but no scores, nor monster state is 
shown (this is from version 1118, was working correctly before of that);
- each time I move a tab in the jQuery Golem Menu page refresh (since version 
1118), but just when golem is idle, if it's working on something (i.e. study 
town or generals it doesn't);
- generals are studied, but no values appear on the generals tab, neither level 
or other stats. It was working previously except for health based generals. 
Specifically, I own Corvintheus and with my 321 health he is the strongest one 
defending on monsters and also in battle, but his mod was not considered ever, 
same for Aurora);
- Town tab in the panel shows nothing, neither after refreshing.

I will let you know about my issues when you release the next update, for the 
moment I keep using the working options.

Original comment by info...@gmail.com on 21 May 2011 at 11:47

GoogleCodeExporter commented 9 years ago
Another thing related to Incoming; it wake up at 60 seconds from checkpoint, 
but it doesn't change general (that's maybe related to the fact that generals 
are not correctly parsed, the panel shown no values) and then if automatically 
bank is enabled, the process store the money in bank without switching to 
aeris; seems all related to generals incorrect parsing, maybe something has 
change on CA ...

Original comment by info...@gmail.com on 21 May 2011 at 11:58

GoogleCodeExporter commented 9 years ago
One other thing; if I open a tab in the jQuery menu, ie Elite Guard and then I 
take another one leaving elite guard tab opened I can hook inside that one tabs 
like blessing, and all the others; I suppose this is not your goal ...
Try to reproduce that, should work for you too; every tab menu can be subtabbed 
in the others ...

Original comment by info...@gmail.com on 22 May 2011 at 1:11

GoogleCodeExporter commented 9 years ago
Take a look at my screenshot of the jQuery menu ...

Original comment by info...@gmail.com on 22 May 2011 at 1:21

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed that as soon as you said, was a missing "> " so really annoying.

Still not sure exactly why yours isn't working right. I know that web3 support 
isn't working properly (in any sense) - but don't know why it's not working on 
facebook...

Original comment by RycochetTM on 22 May 2011 at 1:38

GoogleCodeExporter commented 9 years ago
Ok, now menu is working correctly; 
I still have a issue with the generals dashboard, no image and no values, 
and also with income, does not switch to scarlett and bank using idle general 
... 

Festival and guild battles currently working; 

elite guard is alsways trying to add http://www.facebook.com/profile.php?id=0 
and no preferred guard can be set in the dashboard; 

no town items displayed in dashboard. 

I have no monster at the moment so I can't check. 
To avoid css3 issues I switched definitively to firefox 4 on the CA pc.

Original comment by info...@gmail.com on 22 May 2011 at 5:01

GoogleCodeExporter commented 9 years ago
Try letting the script re-scan your army and generals.
I had "elite guard" issue just like you are saying, but than did an automatic 
army re-scan and it got fixed. using r1123.

Original comment by alozovik on 22 May 2011 at 7:03

GoogleCodeExporter commented 9 years ago
Army rescan fall in a loop, while generals are not scanned at all.

Original comment by info...@gmail.com on 23 May 2011 at 6:08