Author Topic: [fixed] r3192: Savegames: Lua triggered announcements are not displayed properly  (Read 588 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
After reloading a game which has Lua triggered announcement and objective texts, such as the Amazones scenario, text localization variables are not expanded properly, resulting in thext localization failing:

Code: [Select]
[2012-03-29 22:40:43] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/global/lang.cpp::getScenarioString Line: 330] Error [Value not found in propertyMap: "thirdwave", loaded from: /home/tomreyn/SCM/megaglest-trunk/mk/linux//scenarios/amazones/amazones_english.lng]
 
What you get then is a message windows saying ???thirdwave???, and once you confirmed this message, you get an ojective indicator text on the top of the screen which reads: ???thirdwave???.

Correctly this message would get expanded to the string which IS in this very file referenced in the error message:
Code: [Select]
thirdwave=Objective: Probably too many ladies...
« Last Edit: 30 March 2012, 02:37:03 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Fixed in svn

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Confirmed, thanks!
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·