We have detected that cookies are not enabled on your browser. Please enable cookies to ensure the proper experience.
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2011
    Location
    Schleswig-Holstein
    Posts
    770

    LangData Commands

    Hello, I am trying a plugin to adapt something so far all goes well, it's in every epic battle, it is loaded everywhere but it's not in Pelargir. Once Pelargir is loaded, I get the following message

    bad argument # 1 to 'find' (string expected, got nil)

    The line is the following


    elseif (args.Message: find (EBLangData.Retaking) ~ = nil) then

    The error occurs in the German client, I think that here somehow Retaking not be found. Can there possibly who help?

  2. #2
    You'll need to update Language_de.lua - there's been a couple entries added to Language_en.lua that don't have equivalents in the German language file.

    At line 89 (in Language_de.lua), the line in Language_en.lua that is missing is:
    Code:
    EBLangData.Retaking = "New Quest: Retaking Pelargir";
    (Text string that indicates that the main battle quest has been granted.)

    At line 102 (in Language_de.lua), the lines in Language_en.lua that are missing are:
    Code:
    EBLangData.Haradrim = "Haradrim";
    EBLangData.Corsair = "Corsair";
    ("Haradrim" and "Corsair" - strings that can be used to identify Haradrim and Corsair mobs by name, I assume.)

    At line 133 (in Language_de.lua), the lines in Language_en.lua that are missing are:
    Code:
    -- Retaking Pelargir - Solo/Duo
    EBLangData.RPStart1 = "Within Pelargir's walls, just as you promised!";
    EBLangData.RPStart = "New Quest:";
    EBLangData.RPWaveEnding = "Completed:";
    ("Within Plargir's walls..." - first thing said by ... Elrohir? Whichever of Elrond's sons that you start the battle with. "New Quest:" - "Neue Aufgabe:", presumably. "Completed:" - first word in a quest completed string, presumably.)

    There's also the issue of a missing Language_ext_de.lua, but I don't really feel like digging through the plugin to see what those strings get used for. (Also, the fact that it's missing won't cause any crashes, because the plugin'll use Language_ext_en.lua anyways.)

  3. #3
    Join Date
    Jun 2011
    Location
    Schleswig-Holstein
    Posts
    770
    Thank you!
    The missing lines were struck me as far as I've now made to run in Pelargir, but the plugin hangs there just in time afterwards. Quest 1 is displayed, but Quest 2 Starts, because I'm still a little tinkering

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload