Probleme beim Einbinden von Glopus-Informationen in MD 4.2A

  • Hallo,


    habe dieses Forum schon länger beobachtet, und hoffe nun Hilfe für meine Fragen hier zu bekommen.


    Ich versuche mittels Glopus die Informationen über:
    Höhe, durchschnittl. Geschwindigkeit, und Ziel meiner Route in MD 4.2A eizubinden.
    Habe folgend MNinfo.txt geschrieben und ins Glopusverzeichnis kopiert. Die Bitmap-Datei befindet sich ebenfalls in diesem Verzeichnis.


    [MN4Map]
    Zielflagge
    Ziel
    Glopus


    [Zielflagge]
    Bitmap=Glopus_Ziel.bmp
    Pos = RECT(1,30,14,13)
    Type = 0
    Text =
    Format = 0


    [Ziel]
    Refresh = 0
    Pos = RECT(17,30,149,13)
    YOffset = 0
    XOffset = 0
    Type = 0
    Text = %Target%
    Format = 0
    Color_0 = Color(24,80,120)
    Color_1 = Color(140,180,200)
    Font.lfFaceName = Tahoma
    Font.lfPitchAndFamily = 32
    Font.lfQuality = 0
    Font.lfClipPrecision = 0
    Font.lfOutPrecision = 0
    Font.lfCharSet = 0
    Font.lfStrikeOut = 0
    Font.lfUnderline = 0
    Font.lfItalic = 0
    Font.lfWeight = 800
    Font.lfOrientation = 0
    Font.lfEscapement = 0
    Font.lfWidth = 0
    Font.lfHeight = 13


    [Glopus]
    Refresh = 60
    Pos = RECT(150,30,240,13)
    YOffset=0
    XOffset=0
    Type = 0
    Text = Höhe: %Altitude% m
    Format = 0
    Color_1 = Color(255,255,255)
    Color_0 = Color(128,128,128)
    Font.lfFaceName = Bookdings
    Font.lfPitchAndFamily = 32
    Font.lfQuality = 0
    Font.lfClipPrecision = 0
    Font.lfOutPrecision = 0
    Font.lfCharSet = 0
    Font.lfStrikeOut = 0
    Font.lfUnderline = 0
    Font.lfItalic = 0
    Font.lfWeight = 800
    Font.lfOrientation = 0
    Font.lfEscapement = 0
    Font.lfWidth = 0
    Font.lfHeight = 14


    [Glopus_1]
    Pos = RECT(150,30,240,13)
    YOffset=0
    XOffset=0
    Type = 0
    Text = Ø: %Average% km/h
    Format = 0
    Color_1 = Color(255,255,255)
    Color_0 = Color(128,128,128)
    Font.lfFaceName = Bookdings
    Font.lfPitchAndFamily = 32
    Font.lfQuality = 0
    Font.lfClipPrecision = 0
    Font.lfOutPrecision = 0
    Font.lfCharSet = 0
    Font.lfStrikeOut = 0
    Font.lfUnderline = 0
    Font.lfItalic = 0
    Font.lfWeight = 800
    Font.lfOrientation = 0
    Font.lfEscapement = 0
    Font.lfWidth = 0
    Font.lfHeight = 14


    Die Informationen sollen in das weiße Feld unterhalb der blauen Informationsleiste, die auf dem Bildanhang zu sehen ist.


    Die Informationen werden leider nicht in MD 4.2A eingeblendet.
    Liegt der Fehler in der txt Datei?


    Viele Grüße


    Norbert


    PS: besitze die Glopus Version: 1.11 +Serilot 1.01.3

  • Hallo Norbert, willkommen im Forum (bei den Schreibern)!
    Zwei Fehler:
    1. Deine MNinfo.txt muss MNInfo.ini heißen.
    2. Die Pos-Funktion wird falsch verwendet. Es muss heißen:
    Pos = RECT(oberer linker x-Wert,oberer linker y-Wert,unterer rechter x-Wert,unterer rechter y-Wert)
    Dein zweiter y-Wert ist kleiner als der erste, das daarf nicht sein.

  • Hallo Malte,


    vielen Dank für die Hinweise.
    Die Datei ist natürlich eine ini datei (war ein Tippfehler von mir), die Pos werde ich auf deine Hinweise hin überprüfen und hoffe das es dann funktioniert.


    Gruß
    Norbert