OperaGame

Vous pouvez ici rapporter un bug ou demander une fonctionnalité pour OperaGame. Veuillez n'écrire qu'en Anglais ou en Français. Un compte, que vous devez demander sur le forum, est maintenant obligatoire pour poster un rapport, merci les spambots ! J'espère trouver une meilleure solution par la suite...
You can here report a bug or request a feature for OperaGame. Write only in English or in French please. An account, which you have to request on the board, is now mandatory to post a report, thanks to spambots! I hope that I will find a better solution thereafter...
Liste des tâches

FS#84 - Settings are not saved.

Concerne le projet: OperaGame
Ouverte par cedricpc (cedricpc) - jeudi, 10 décembre 2009, 22:13 GMT+2
Dernière édition par cedricpc (cedricpc) - mardi, 02 février 2010, 05:51 GMT+2
Type de tâche Rapport de bug
Catégorie Interface / Noyau
Etat Closes
Assignée à cedricpc (cedricpc)
Système d'exploitation Mac OS
Sévérité Haute
Priorité Haute
Basée sur la version 1.9
Due pour la version 2.0b1
Date d'échéance Non décidé
Pourcentage achevé: 100%
Votes 0
Privée Non

Détails

This bug is originally reported by Andig in another bug report.
He is not able to change any setting. Recording buttons show correctly the "success" popup, but nothing is saved after reloading.
Cette tâche dépend de

Close par  cedricpc (cedricpc)
mardi, 02 février 2010, 05:51 GMT+2
La raison de la clôture est:  Marche pour moi
Commentaires supplémentaires de clôture:  It's seems that you have no longer the problem so I close the bug report.

Contact me via the forum if the problem reappears.
Commentaire de cedricpc (cedricpc) - jeudi, 10 décembre 2009, 22:13 GMT+2
As far I know, you are on a Mac that's right? So it may be related. But if it's not the case, let me know, I'll change the OS field. :)

Otherwise, is there some javascript errors in the Opera's error console? Can you see stored data in the About window? If yes, can you see the opG_Settings local cookie?
Commentaire de cedricpc (cedricpc) - vendredi, 11 décembre 2009, 23:40 GMT+2
I've made a new debug release (96.09121105) which displays some debugging informations in a box on OGame's pages. Please copy/paste its content here : http://operagame.pastebin.com/ (be sure to select « a day » for « How long should your post be retained? », longer is useless) and give me the pastebin's link. ;)

Oh! And tell me if the updater notify you of the update this time. ;)

When you want to disable this box, open the core file and set this.debug to 0 (line 38).
Commentaire de Auteur anonyme - samedi, 09 janvier 2010, 01:19 GMT+2
Ok, so in ,,{cat_overallSettings}", when i deselect ,,Order settings here by type" and click save, the menu will be rebuilt. The same thing is with ,,Enable the update manager option". The rest seems work fine :).
Commentaire de cedricpc (cedricpc) - samedi, 09 janvier 2010, 01:55 GMT+2
What do you want to mean exactly with "the menu will be rebuilt"? Settings are resetted? Only these settings can't be saved?
Commentaire de Auteur anonyme - samedi, 09 janvier 2010, 17:52 GMT+2
Sory, for double post, i don't know, why it's double, maybe by reload page :/.

,,What do you want to mean exactly with "the menu will be rebuilt"? Settings are resetted? Only these settings can't be saved?" - it's mean, that layout of buttons / boxes are deployed differently than the original.
Commentaire de cedricpc (cedricpc) - samedi, 09 janvier 2010, 21:53 GMT+2
"maybe by reload page"
FlySpray sux with comments, there is no verification to prevent duplicated comments. :)

Anyway, if you talk about the fact that the settings window's content moves, especially by toggling orderSettingsType on/off, it's not a bug, it's a feature. :D It was firstly introduced in order to update overall informations before their split in the about window. This feature allows to change settings like orderSettingsType or quickMode without have to refresh the page. :)
However, there is a little known issue... It doesn't remember in which category you are, so it always reopen the first instead of the previous.

Otherwise, you haven't encounter any situation in which a setting isn't saved?
Commentaire de Auteur anonyme - samedi, 09 janvier 2010, 22:51 GMT+2
,,Otherwise, you haven't encounter any situation in which a setting isn't saved?" - Yes, and no. You said that I haven't to refreshed page and by that I didn't see the problem. When i refresh page, all settings comeback to default option :/. Here is the debug log, when i changed only ( but all ) settings in "{cat_overallSettings}" - first tab. http://operagame.pastebin.com/d7cd0ed5d .
Commentaire de cedricpc (cedricpc) - dimanche, 10 janvier 2010, 02:02 GMT+2
S**t... Nothing seems to be saved... Please, try to go to http://operagame.s14.ogame.onet.pl.0.0.0.0/ and check if there is some cookies (right click on the page, chose "Edit site preferences..." then go to the "Cookies" tab). If it's empty, type javascript:document.cookie='test=1;'; in the address bar and recheck cookies.

Also, tell me what's the error message — it should be something like "Could not locate remote server".

And a last thing, could you try OperaGame — and other UserJS you are using — on Windows or Linux? There is no Mac in my circle so I'm not able to test it.
Commentaire de Auteur anonyme - dimanche, 10 janvier 2010, 20:47 GMT+2
http://operagame.s14.ogame.onet.pl.0.0.0.0/ - the page doesn't exist :/. In the ogame page, i checked, and cookies are saved - javascript:document.cookie='test=1;'; work correctly.

,,Also, tell me what's the error message — it should be something like "Could not locate remote server"." - where can i find it ?? In opera debug box/operaogame debug box ??

,,And a last thing, could you try OperaGame — and other UserJS you are using — on Windows or Linux? There is no Mac in my circle so I'm not able to test it." - in home i also have win7, and there save settings work correctly.

And the last thing - i don't know, how it's possibile, but after you had written post i tried replay this bug, but it didn't appear/happen Oo. It's very strange... I must do more test.
Commentaire de cedricpc (cedricpc) - dimanche, 10 janvier 2010, 22:50 GMT+2
"the page doesn't exist" "where can i find it ??"
It's normal. Just tell me the error message and check cookies as in a working page. ;)

"In the ogame page, i checked"
Fortunately, otherwise you couldn't play OGame... :D

"in home i also have win7, and there save settings work correctly."
Ok, so it's related to Mac OS or your installation.

"but it didn't appear/happen Oo. It's very strange... I must do more test."
Take a look at the debug box. If it's really working, you should see something in "result":{} for "getall" actions. Otherwise, you should can an exorcist, settings appears from the hereafter. :D
Commentaire de cedricpc (cedricpc) - mardi, 12 janvier 2010, 02:11 GMT+2
Well, I've managed to try it under Leopard... :D And it works correctly... :)
{"queryId":"1263257539628","action":"getall","server":"global","status":"done","result":{"opG_Versions":"update=1263257505511;OperaGame_1_Core.js=96.09121105;[...]","opG_VersionInfos":"rev=96.09121105;[...]"}}

So you have to do more test to try to find the reason of the problem, or in which circumstances it's reproducible. :/

Chargement...