Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diplomacy crash offering money or aliances #704

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments
Closed

Diplomacy crash offering money or aliances #704

GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Diplomacy doesn't work well, but also has some errors and crashes ... When 
playing company
//////////////////////////////
An unexpected error occurred.
You should consider submitting an error report via the project issue list:
https://code.google.com/p/open-ig/issues/list
Please include the following diagnostic information followed by the error 
stacktrace(s):
   Java version: 1.7.0_09
   Java vendor: Oracle Corporation (http://java.oracle.com/)
   Java class version: 51.0
   Operating system: Windows XP RU, x86, 5.1
   Game version: 0.95.120
   Command line: [-memonce, -ru, -continue]
   Available memory: 207 MB
   Maximum memory: 742 MB
   Parallelism: 2
   Language: ru
   Date and time: 2012-12-22T12:10:24.843Z
----
A crash save may have been created. Please attach it in the issue report 
(zipped).
D:\GAMES\OpenIG\save\default\save-2012-12-22-14-10-24-921.xml
Exception in thread "AWT-EventQueue-0" 
java.util.UnknownFormatConversionException: Conversion = 'ы'
    at java.util.Formatter.checkText(Unknown Source)
    at java.util.Formatter.parse(Unknown Source)
    at java.util.Formatter.format(Unknown Source)
    at java.util.Formatter.format(Unknown Source)
    at java.lang.String.format(Unknown Source)
    at hu.openig.model.Labels.format(Labels.java:82)
    at hu.openig.screen.ScreenBase.format(ScreenBase.java:166)
    at hu.openig.screen.items.DiplomacyScreen.displayResults(DiplomacyScreen.java:1237)
    at hu.openig.screen.items.DiplomacyScreen.doEnemies(DiplomacyScreen.java:1327)
    at hu.openig.screen.items.DiplomacyScreen$8.invoke(DiplomacyScreen.java:226)
    at hu.openig.screen.items.DiplomacyScreen$8.invoke(DiplomacyScreen.java:1)
    at hu.openig.screen.panels.OptionList.mouse(OptionList.java:124)
    at hu.openig.ui.UIContainer.mouse(UIContainer.java:112)
    at hu.openig.screen.ScreenBase.mouse(ScreenBase.java:110)
    at hu.openig.screen.items.DiplomacyScreen.mouse(DiplomacyScreen.java:436)
    at hu.openig.GameWindow$MouseActions.invoke(GameWindow.java:1136)
    at hu.openig.GameWindow$MouseActions.mouseReleased(GameWindow.java:1167)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

//////////////////////////////
Installed using the Launcher? (yes)

//////////////////////////////
Game language (en, hu, de): ru

//////////////////////////////
What steps will reproduce the problem?
1. Diplomacy (F10 screen, I have "Дипломатия")
2. Offer alliance... then choosing something more - leads to crash
3.

//////////////////////////////
What is the expected output? What do you see instead?
It's happens when I playing company... But may be in other cases is same

//////////////////////////////
Please provide any additional information below.
When I offer the money - is same situation with crash
I thing somthing is wrong in parameters here:
" java.util.UnknownFormatConversionException: Conversion = 'ы'  "
may be it was translated automaticaly and generate errors...
I can translate some text in Russian and/or Romanian languages,
but I need to know in what context phrases is to do more accuracy translations.
Because playing company I've saw a lot of funny mistakes in translations, made 
with automatic translators,
but they are not funny when trying to understand the meaning of these phrases.
This will be my contribution to the expense of respect for your team and the 
game itself!

Hope to contribute for you team!

Original issue reported on code.google.com by xva...@yahoo.com on 22 Dec 2012 at 1:15

Attachments:

@GoogleCodeExporter
Copy link
Author

Hi and thanks for reporting. The issue came from the automatic resource 
extraction of the original diplomacy files. The original file was not encoded 
by regular means but by redefining some latin characters. This is why a %s 
became %ы, since s was used for a normal russian letter.

You may now run a Verify install to update your game data files.

Many text were translated by Grigoriev Kirill, a native Russian speaking 
person, but others were simply copied as-is from the original, low quality 
pirate-translated version of Imperium Galactica.

I can't give you contexts for the labels. The best you can do is to play a 
game, find a problematic text, then look it up in the resource file:

https://code.google.com/p/open-ig/source/browse/trunk/open-ig/data/ru/labels.xml

Original comment by akarn...@gmail.com on 22 Dec 2012 at 1:55

  • Changed state: SVN
  • Added labels: Labels, Milestone-0.95.200

@GoogleCodeExporter
Copy link
Author

Original comment by akarn...@gmail.com on 23 Dec 2012 at 7:14

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Thank You for sugestions! Soon I will edit translation of Grigoriev Kirill by 
comparison of original EN labels and his RU version and making some 
translations by my self. May be after that I will translate to Romanian 
Language, but I don't know where to put that... And where I need to put new 
(my) RU version ? I wanna translate some text that was not translated by Kirill.
>>>Somthing about me... Natively I speak russian (from both parents) and have 
basic studies in romanian languages (because living in R.Moldova) - it explain 
my RU and RO excellent speaking.
Thanks in advance!

Original comment by xva...@yahoo.com on 23 Dec 2012 at 11:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant