Latest Posts

Topic: Problem with helptext of arena.

MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 321
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2020-12-04, 22:42

Help text in the help window for training buildings (e.g. arena) and shipyard does not work. Help window of Ferry_Yard and Barracks works.

Instead of the help, an XML text (appears to be HTML) appears in the right window.

WARNING: Error rendering richtext: [../src/graphic/image_io.h:34] Image not found: tribes/workers/europeans/soldier/health_level0.png. Text is:
[00:11:43.432 real] WARNING: <rt><p><font face=sans size=18 color=d1d1d1 bold=1>Guardhall</font><br></p><vspace gap=6><p ><font size=14 bold=1 color=D1D1D1><vspace gap=12>Weisheit<vspace gap=1><vspace gap=6></font><vspace gap=6></p><div width=100%><div float=left padding_r=6><p><font size=12><img object=europeans_guardhall><vspace gap=6></font><vspace gap=6></p></div><p><font size=12>Text benötigt<vspace gap=6></font><vspace gap=6></p></div><div width=100%><p align=right><font size=10 italic=1><vspace gap=3><vspace gap=6></font><vspace gap=6></p></div><p ><font size=14 bold=1 color=D1D1D1><vspace gap=12>Allgemein<vspace gap=1><vspace gap=6></font><vspace gap=6></p><p ><font size=13 color=D1D1D1><vspace gap=6>Zweck:<vspace gap=1><vspace gap=6></font><vspace gap=6></p><div width=100%><div float=left padding_r=6><p><font size=12><img src=tribes/workers/europeans/soldier/menu.png><vspace gap=6></font><vspace gap=6></p></div><p><font size=12>Trains soldiers in ‘Health’. Equips the soldiers with all necessary armor parts.<vspace gap=6></font><vspace gap=6></p></div><div width=100%><vspace gap=8></div><div width=100%><font size=13 color=D1D1D1>Kapazität: </font><font size=12>4</font></div><div width=100%><vspace gap=8></div><div width=100%><font size=13 color=D1D1D1>Sichtweite: </font><font size=12>4</font></div><p ><font size=14 bold=1 color=D1D1D1><vspace gap=12>Lebenspunkteverbesserung<vspace gap=1><vspace gap=6></font><vspace gap=6></p><p><font size=12>Verbessert „Lebenspunkte“ von 0 auf 3<vspace gap=6></font><vspace gap=6></p><p ><font size=13 color=D1D1D1><vspace gap=6>Soldaten:<vspace gap=1><vspace gap=6></font><vspace gap=6></p><p><font size=12><img src=tribes/workers/europeans/soldier/health_level0.png><img src=images/richtext/arrow-right.png><img src=tribes/buildings/trainingsites/europeans/guardhall/menu.png><img src=images/richtext/arrow-right.png><img src=tribes/workers/europeans/soldier/heal
Edited: 2020-12-04, 22:46

My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1929
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-12-05, 11:21

The error is on the first line:

Image not found: tribes/workers/europeans/soldier/health_level0.png

When there's an error parsing a richtext markup, the unprocessed text is displayed instead. It's not exactly HTML but similar; Widelands has its own richtext syntax.


Top Quote