Page 1 of 1

[In devel] OperaGame v2.0 (Current r97)

Posted: Sun 24 Aug 2008, 00:45:12
by cedricpc
Hi,

You can see here a lot of informations about OperaGame's development. There is currently some interesting feature like Update Manager, Dynamic increase/decrease by mouse in input boxes or a lot of functions for make Add-Ons easily.

If you want to see evolution, go to the SVN repository.
Do you want to try it? Download it here.
Would you like to stay tuned for new release? Use this RSS feed [Fr].
Unless you would rather report a bug or request a feature? Use this bug tracker [En/Fr].
For some screenshots, you can go here.

The current stable version is r97 (v2.0b1). OperaGame_Core, OperaGame_Init and a language file are needed!
Languages files up-to-date are English, French and Spanish.
German, Portuguese, Polish, Romanian, Russian and Serbian will be updated as soon as possible.


Since :
  • r85, OperaGame is under GPL Version 2. Please, take cognizance of it before edit and/or share OperaGame.
  • r88, OperaGame is entirely compatible with Opera Kestrel (9.50). But some features isn't compatible with older Opera's versions.
    So please, update your browser.
  • r97, OperaGame is entirely compatible with Opera Evenes (10.50). It is also rewritten from scratch in order to bring support for the new OGame's design.
If you have any suggestions, questions, comments, bugfixes, bad spelling, translations or others, don't hesitate.

Wait & see.

Posted: Sun 24 Aug 2008, 00:46:30
by cedricpc
ChangeLog for r97 is coming soon.

OperaGame r95
  • [Add] Possibility of creation a global configuration file via operaGame_AddDefaultSetting function.
  • [Chg] OGame's and OperaGame's setTarget function set focus on speed selector.
  • [Chg] Mission manager set focus on Deutérium input field.
  • [Chg] Dynamic Inputs with mouse update in real time associated informations.
  • [Chg] Link to OperaGame's forum in OperaGame_Example.
  • [Fix] OperaGame's menu wasn't displayed correctly when OGame's clock isn't enabled.
  • [Fix] OGame_GetSkinURL didn't get the right address and so, "Reply" icon in circular message wasn't shown.
  • [Fix] No resource shortcut didn't update remaining capacity.
  • [Fix] OGame's bug in Technology page which stop us from cancelling development.
  • [Fix] Mission manager caused some execution errors.
  • [Fix] Build_EndTime didn't work with Commander account.
  • [Fix] Build_RemoveDesc shows now correctly the caption row on some pages and waiting list with Commander account.
  • [Fix] Build_ResourcesRemained shows now cargos needed with Commander account.
OperaGame r96
  • [Fix] A stupid typo in the mission manager which stop it from choosing a mission order.
Todo:
  • Make a function for choose the language file if many languages exists - actually, it's the first evaluate.
  • Optimize a lot of functions.
  • Rewrite old functions for galaxy page.
  • Make links menu manager.
  • Make coords manager.
  • Solve window manager bugs.
Known Issues:
  • Settings seem to be deleted sometimes with cookie encryption.
  • OperaGame use a lot of CPU resources in some cases with slow computers.
  • Planet list isn't displayed in galaxy in some cases with cookie encryption.

Posted: Sun 24 Aug 2008, 00:46:44
by cedricpc
OperaGame's ChangeLog:
  • r39 +++ Arrival time of fleets in overview.
  • r40 +++ Function for convert Date objects to a string in a given format.*
  • r41 +++ Add a setting for disable/enable arrival time fleet feature.
  • r41 +++ End time of buildings and technologies.
  • r41 *** When you save settings, it ask you if you want to close the window.
  • r42 +++ Arrival time in phalanges.
  • r42 *** Settings names of times...
  • r43 +++ End time build for fleet/defences.
  • r44 +++ Differences in infos pages.
  • r45 >>> Regex in AddCommas function.
  • r45 >>> InfosDiff function with phalange in infos page.
  • r46 +++ Three methods for submit settings changes.
  • r46 +++ Function CloseWindow.
  • r47 >>> Three buttons for submit settings changes saved nothing.
  • r47 +++ Function FleetCapacity.
  • r48 +++ A date format for ajust hours/minutes.*
  • r49 +++ Function ComeBackTime.
  • r50 +++ "Refresh Manager" for increase performances - just one setInterval is now used.
  • r50 +++ makeEvent function - an alias for addEventListener 'BeforeScript' and/or 'DOMContentLoad'.
  • r51 +++ Function for show arrival and comeback time in flotten2.
  • r52 *** Names of many functions and settings.
  • r53 +++ Function for clone delete form before messages.
  • r54 >>> Cloned "Ok" submit button in delete messages form didn't work.
  • r54 +++ Function for add a link for reply to an ally message.
  • r54 +++ Function for colorize messages (ally and private for the moment)
  • r54 +++ Function OGame_GetSkinURL for get current skin URL quickly.
  • r55 +++ Finish function for colorize messages (passives and actives messages)
  • r55 +++ Function for remove background color behind messages for improve messages differentiation.
  • r56 +++ Arrival time and comeback time in flotten3.
  • r56 *** Names of settings for enable/disable function.
  • r57 +++ Function for remove buildings images and descriptions.
  • r58 +++ Implent CargosNeeded in OperaGame - languages variables doesn't exists for the moment.
  • r58 *** A small separator has been added below cloned delete messages form.
  • r58 *** Current planet is now automatically update when the cp variable exists.
  • r58 *** Names of settings for show/hide planet list in galaxy and for CargosNeeded.
  • r59 +++ Implent ResourcesRemained in OperaGame - languages variables doesn't exists for the moment.
  • r59 *** Names of ResourcesRemained settings.
  • r60 +++ Functions for manage the internationalisation.
  • r60 +++ French language file.
  • r60 +++ English language file.
  • r60 *** Names of "Buildings" settings.
  • r61 +++ Cargos needed is now update when you add or remove any ships in fleet page.
  • r60 *** Define order of settings to see a difference if order settings is enable or disable.
  • r60 >>> Buy max ship button is now working.
  • r62 +++ Polish language file. [Ximeso]
  • r63 +++ Function to toggle in quick or accurate settings modes.*
  • r64 *** Update of Polish language file. [Ximeso]
  • r65 +++ End time of build in the overview is now include in OperaGame.
  • r65 +++ Shortcut for jump gate in the menu.
  • r65 +++ Max button in jump gate page.
  • r65 *** AddTxt and AddLng functions are now in their own file (OperaGame_i18n).
  • r65 *** Names of files... OperaGame_0_i18n.js ; OperaGame_0_i18n_XX.js ; OperaGame_1_Core.js ; OperaGame_2_XXXX.js
  • r65 *** Optimization of addMaxButton in order to work with JumpGateMaxShip function.
  • r65 *** In OperaGame_Example, "Google" link in the menu is now "WebBroswer"...
  • r65 >>> Two mistakes in BuyMaxShip function ("ferteidigung" instead of "verteidigung" and there wasn't verification, so buttons were sometime display a lot of time).
  • r65 >>> A little mistake in Build_EndTime, jetlag between OGame server and user computer wasn't considered.
  • r65 >>> OperaGame_example which didn't work.
  • r66 *** Update of Polish language file. [Ximeso]
  • r67 +++ German language file. [ShadowPrison]
  • r68 +++ Spanish language file. [izk666]
  • r69 +++ Functions to manage accent and UTF-8.*
  • r69 *** All language files as a consequence.
  • r69 *** Menu link name in OperaGame_Example which named "Google" instead of "WebBrowser".
  • r70 >>> Function utfToASCII which broke OGame script for display the end time of the current unit. [Thanks to Ximeso for report.]
  • r70 >>> Definitions of variables in loops weren't always private and may caused another problem like the previous.
  • r72 +++ The update manager...
  • r72 +++ Settings in operaGame_Messages_Colorize for don't colorize missiles attacks like spying report.
  • r72 *** operaGame_SearchPlanetsCoords is updated only once per refresh. Performances are very increase with this change !
  • r72 *** Erase somethings in operaGame_Build_InfosDiff because it's partially added in OGame v0.78.
  • r72 *** Disable retriving of arrival time by "star" attribute in operaGame_Fleets_ArrivalTime because it doesn't work when you haven't the same time zone than the server.
  • r72 >>> OGame_GetResources now works without RemoveGFSpam as well as with.
  • r72 >>> operaGame_GetServerTime now updates the time if "You have X new message" appears.
  • r72 >>> Always in this function, it doesn't update the time if it's already up-to-date.
  • r72 >>> operaGame_CreateWindow that reset all forms in the page.
  • r72 >>> operaGame_Build_EndTime now works with OGame v0.78.
  • r72 >>> operaGame_Messages_Colorize because sometimes, colors were sometimes defined in the wrong place.
  • r73 *** Update of Polish language file. [Ximeso]
  • r74 +++ The missions manager...
  • r74 +++ Shortcut for make an expedition in flotten2 page.
  • r74 +++ Expeditions messages are now colorized in their own colors.
  • r74 *** Consider the expedition time in flotten3 page.
  • r74 >>> Fleet capacity wasn't displayed in the right place when there was no fleet slot available.
  • r74 >>> Onchange attribute are removed in flotten pages for prevent the Opera's bug.
  • r74 +++ Russian language file. [SALosik]
  • r74 +++ Serbian language file. [Divert]
  • r75 *** Update of Spanish language file. [izk666]
  • r76 *** Update of Polish language file. [Ximeso]
  • r77 *** Update of Russian language file. [StKiller]
  • r77 +++ Romanian language file. [StKiller]
  • r78 *** Update of German language file. [ShadowPrison]
  • r78 +++ Romanian language file. [ShadowPrison]
  • r79 +++ Portuguese language file. [Angelus]
  • r80 +++ The missions manager...
  • r80 +++ Dynamic increase/decrease by mouse in input boxes.
  • r80 *** OperaGame_Core is now splitted in 3 files: OperaGame_Core, OperaGame_Init and OperaGame_Prohibited.
  • r80 *** OperaGame_i18n is now included in OperaGame_Core.
  • r80 *** The update manager is now able to check for new version all files supported in the SVN.
  • r80 *** getTxt try now to get the English text if asked text doesn't exist in the current language and if the English language file exists of course.
  • r80 *** operaGame_Updater_Download send some informations for statistics like current version, language and nickname in game - this last thing can be disabled.
  • r80 *** addMaxButton and CargosNeeded now set the focus in the input box.
  • r80 *** operaGame_Messages_Colorize now colorize natively espionage report in a lot of OGame servers.
  • r81 >>> I've forgotten onclick in the updater, so it was impossible to download any futur version.
  • r82 *** Update of Spanish language file. [DrZaius]
  • r83 *** Update of Polish language file. [Ximeso]
  • r84 +++ Support for Opera Kestrel!
  • r84 *** Filenames because there were some problems on Linux because of alphabetical order.
  • r84 *** All files are now encoded in UTF-8.
  • r84 *** Check if Opera's version is 9.50 and don't decode UTF-8 language string.
  • r84 >>> Dynamic increase/decrease by mouse now correctly set the focus on input.
  • r84 >>> Some uncritical bugs which make an error in the debug Console.
  • r85 *** OperaGame is now under GPL v2.
  • r85 *** RemoveDesc shows now Impossible instead of long impossible messages.
  • r85 >>> RemoveDesc wasn't compatible with ResourcesRemained.
  • r85 >>> RemoveDesc didn't correctly work with a more than one line description.
  • r86 +++ Shortcut in fleet page for the coords of the current planet.
  • r86 *** SpamRemover add a link on energy picture if you have more than 10 k of Dark Matter and if the Dark Matter icon is removed.
  • r86 *** Big improvement in the dynamic input feature. (Still buggy)
  • r86 *** operaGame_SearchPlanetsCoords saves planet image and show it in the galaxy.
  • r86 *** URLs of planet switcher in flottenversand page go to flotten1 page instead of flottenversand which redirect in some case to the OGame login page.
  • r86 >>> OperaGame_Example didn't work.
  • r86 >>> Missions manager doesn't overwrite coords when it isn't the coords of the current planet.
  • r86 >>> Expedition shortcut didn't write in the right place on servers with ACS.
  • r86 >>> ResourcesRemained didn't work in Technology, Shipyard and Defense pages in Universe 670 (OGame.org) and then probably in others servers when a new OGame version will come out.
  • r87 *** Update of Serbian language file. [Divert]
  • r88 +++ No resource shortcut in fleet page to reset resources.
  • r88 +++ Expedition/Holding consumption...
  • r88 +++ Time difference in seconds between local and server times when mouse is over the clock.
  • r88 +++ Quick navigation between planets.
  • r88 +++ Debris fields highlighted in galaxy.
  • r88 +++ Cargos Needed calculator.
  • r88 +++ Missiles reach in Impulse Drive description.
  • r88 >>> UTF-8 characters wasn't correctly displayed (Opera Kestrel issue).
  • r88 >>> New release download links didn't work (Opera Kestrel issue).
  • r89 *** Update of Polish language file. [Ximeso]
  • r90 >>> Settings was lost when you exiting Opera (Opera Kestrel Issue).
  • r90 >>> A potential dynamic input issue with mouse wheel, decimal numbers could be displayed.
  • r90 >>> A mistake in the name of a language text.
  • r90 >>> UTF characters wasn't correctly displayed when Opera was masked as FF/IE (Opera Kestrel Issue).
  • r90 >>> Status of espionage probes wasn't shown in galaxy (Linux Issue).
  • r90 +++ It's now possible to color the background of debris fields besides the cell's border.
  • r90 +++ Mission's order priority.
  • r90 +++ Player and Alliance rank in Galaxy.
  • r90 +++ Sensor Phalanx Range.
  • r90 +++ Shortcuts in OperaGame's menu for ally messages, administration page and member list.
  • r90 +++ It's possible to revert resources loading priority, i.e. Deuterium before Crystal, before Metal.
  • r90 *** Cargos Needed is now more userfriendly. It's possible to reset resources.
  • r90 *** Quick Navigation shows first and/or last planet of the list.
  • r90 *** Mouse Wheel can act only if input box is focused for dynamic inputs.
  • r90 *** OperaGame's Menu - and clock - has totally been reviewed, it isn't the same place. There is two possible positions.
  • r90 *** All resources mission's function works only with Transport and Deployment order.
  • r90 *** JumpGate shortcut is now displayed in the OperaGame's menu.
  • r91 >>> Range of Interplanetary Missiles and Sensor Phalanx was wrong in a particular case.
  • r91 >>> Debris fields was highlighted even though it shouldn't in some cases.
  • r91 >>> Sensor Phalanx range difference wasn't displayed.
  • r91 >>> Overlib didn't work when Opera was identified as another browser.
  • r91 >>> A f***ing OGame's problem with some ToolTip in French servers - and maybe with others.
  • r92 *** Update of Polish language file. [Ximeso]
  • r93 >>> Cargos Needed Calculator wasn't display when clicking on "Attack", "Transport" [...] links in galaxy and espionage probe report.
  • r93 >>> Order missions was overwritten when clicking on the previous links.
  • r93 *** JumpGate shortcut is now in Prohibited file because it's forbidden by the GF.
  • r94 *** Update of Russian language file. [WildShaman]
Legend:
  • +++ New feature.
  • *** Modification.
  • >>> Bug fix.
* This is params list for format the Date:
%Y = Full year (eg. 2008)
%y = Small year (eg. 08)
%m = Month
%d = Day
%h = Hours
%n = Minutes
%s = Seconds
%(...) = Show ... only if the parsed day is the same than today
%%* = %%* (eg. %%Y)
%h+x or %h-x = Add or remove x hour(s)
%m+x or %m-x = Add or remove x minute(s)

Example :
"%(%d/%m/%y )%h:%n:%s" will display "25/08/08 01:46:44" if the day is not today, else "01:46:44".

If you want to globally change time, set format in "Global time format".
If you want to change time just for some functions, set format in time format of function.

Posted: Sun 24 Aug 2008, 00:46:56
by cedricpc
Reserved.

Posted: Sun 24 Aug 2008, 00:47:06
by cedricpc
Reserved.

Posted: Sun 24 Aug 2008, 00:47:17
by cedricpc
Reserved.

Posted: Fri 29 Aug 2008, 14:34:44
by cedricpc
Reserved.

Re: [In devel] OperaGame v2.0 (Current r95)

Posted: Sat 30 Aug 2008, 13:51:23
by dementedway
[Add] Possibility of creation a global configuration file via operaGame_AddDefaultSetting function.

how do I use this setting? I can't find it

Re: [In devel] OperaGame v2.0 (Current r95)

Posted: Sat 30 Aug 2008, 23:13:08
by cedricpc
Create a new js file, OperaGame_2_Conf.js for example, as long as file name start off with OperaGame_2_.
Then add all settings that you want to overwrite with this function :

Code: Select all

operaGame_AddDefaultSetting('<SettingName>', '<NewValue>');
Look at OperaGame_Init if you want to know setting names.

For example, if you want to remove home planet shortcut, enable small building pages and change clock color, you can put into the conf file these lines :

Code: Select all

operaGame_AddDefaultSetting('fleets_HomeShortcut_Enable', 0);
operaGame_AddDefaultSetting('build_RemoveDesc_Enable', 1);
operaGame_AddDefaultSetting('menu_Time_Color', '#CC0000');
Note that OperaGame setting window overwrite default settings. :)

Re: [In devel] OperaGame v2.0 (Current r96)

Posted: Fri 03 Oct 2008, 00:08:37
by cedricpc
Well, some news since the latest version...
Firstly, I haven't got a lot of time for OperaGame since some weeks. My todo list is always full but I'm not very motivated. Don't worry, I'll continue. :)
Secondly, OperaGame v1.9x has celebrated his first year two weeks ago. :D
And finally, I've already done a new feature... The r99 should be the last release of the current OperaGame... More informations later. Suspense... :twisted:

Re: [In devel] OperaGame v2.0 (Current r96)

Posted: Fri 20 Feb 2009, 12:03:19
by dementedway
Hi there
I've installed the alpha 1 version of Opera 10. Some of the functions of operagame stopped working like the debris field highlight in the galaxy view! Has anyone else had this problem with opera 10 alpha 1?

Re: [In devel] OperaGame v2.0 (Current r96)

Posted: Fri 20 Feb 2009, 23:29:47
by cedricpc
I believe that there is some problem with Peregrine. But as long as it's in alpha stage, nothing will be done to support it because anything can change at the lastest time. And these releases aren't published to be used as a daily browser but only for testing purpose. ;)