We have detected that cookies are not enabled on your browser. Please enable cookies to ensure the proper experience.
Results 1 to 10 of 10
  1. #1

    Pets LUA needs updating for new kites...Need ID codes or program that finds them...

    Can someone figure out how to update the Pets LUA? It doesn't look all that difficult, except for getting the unique ID codes. Nered a program to find out what the IDs are.

    If someone has the means to get the ID codes, I can update the script with a simple cut and paste and then all Pets users can update. Or they can go to the Pets forum and issue the coding lines needed to be added.

    Thank you,
    Last edited by XanThorSr; Feb 16 2017 at 03:42 AM.
    XanThorr the Well-Met
    "Meddle not in the affairs of dragons for you are crunchy and good with ketchup"

    ~~Beeornfree 105 Beorning of Landroval
    ~~Beeornfree 93 Beorning of Gladden~~Xanaxier 105 Guardian of Gladden~~Xanthorr 103 Hunter of Gladden
    ~~Beeornfree 93 Beorning of Evernight

  2. #2
    Join Date
    Jun 2011
    Location
    France
    Posts
    25
    Hello,

    you can find U19.3 Pets here

    http://www.lotrointerface.com/downlo....5FRU19.3.html

    it's a patch from Lumbago but all the code are inside

  3. #3
    Quote Originally Posted by Maurice84 View Post
    Hello,

    you can find U19.3 Pets here

    http://www.lotrointerface.com/downlo....5FRU19.3.html

    it's a patch from Lumbago but all the code are inside
    There is a new store kite...Anorien Kite. Need the IDs for that now as well.

    I have posted the translated patch on the Pets LUA site (http://www.lotrointerface.com/downlo...=880#cmnt17920), for those interested. Thank you for the French version.
    Last edited by XanThorSr; Feb 17 2017 at 11:58 PM.
    XanThorr the Well-Met
    "Meddle not in the affairs of dragons for you are crunchy and good with ketchup"

    ~~Beeornfree 105 Beorning of Landroval
    ~~Beeornfree 93 Beorning of Gladden~~Xanaxier 105 Guardian of Gladden~~Xanthorr 103 Hunter of Gladden
    ~~Beeornfree 93 Beorning of Evernight

  4. #4
    Tried to translate and correct sequence for the data and string files, but after doing sdo, I get the following errors in loading. At a loss.

    ...s\The Lord of the Rings Online\Plugins\GaluhadPlugins\ Pets\Data\Pets.lua:117: '=' expected near '_PETS'

    ...Online\Plugins\GaluhadPlugi ns\Pets\Data\__init__.lua:2: Failed to import package "GaluhadPlugins.Pets.Data.Pets ".

    ..he Rings Online\Plugins\GaluhadPlugins\ Pets\Main.lua:15: Failed to import package "GaluhadPlugins.Pets.Data" .

    Anyone that can help, I would appreciate it
    XanThorr the Well-Met
    "Meddle not in the affairs of dragons for you are crunchy and good with ketchup"

    ~~Beeornfree 105 Beorning of Landroval
    ~~Beeornfree 93 Beorning of Gladden~~Xanaxier 105 Guardian of Gladden~~Xanthorr 103 Hunter of Gladden
    ~~Beeornfree 93 Beorning of Evernight

  5. #5
    Join Date
    Jun 2011
    Location
    France
    Posts
    25
    Quote Originally Posted by XanThorSr View Post
    Tried to translate and correct sequence for the data and string files, but after doing sdo, I get the following errors in loading. At a loss.

    ...s\The Lord of the Rings Online\Plugins\GaluhadPlugins\ Pets\Data\Pets.lua:117: '=' expected near '_PETS'

    ...Online\Plugins\GaluhadPlugi ns\Pets\Data\__init__.lua:2: Failed to import package "GaluhadPlugins.Pets.Data.Pets ".

    ..he Rings Online\Plugins\GaluhadPlugins\ Pets\Main.lua:15: Failed to import package "GaluhadPlugins.Pets.Data" .

    Anyone that can help, I would appreciate it
    I think your error is the following

    - u19.1 you put only one "-"

    try

    -- u19.1

    and

    -- u19.3

  6. #6
    Quote Originally Posted by Maurice84 View Post
    I think your error is the following

    - u19.1 you put only one "-"

    try

    -- u19.1

    and

    -- u19.3
    TY and added the extra dash, but still will not load and get the error messages, so must be something else.
    XanThorr the Well-Met
    "Meddle not in the affairs of dragons for you are crunchy and good with ketchup"

    ~~Beeornfree 105 Beorning of Landroval
    ~~Beeornfree 93 Beorning of Gladden~~Xanaxier 105 Guardian of Gladden~~Xanthorr 103 Hunter of Gladden
    ~~Beeornfree 93 Beorning of Evernight

  7. #7
    Join Date
    Jun 2011
    Location
    France
    Posts
    25
    Quote Originally Posted by XanThorSr View Post
    TY and added the extra dash, but still will not load and get the error messages, so must be something else.
    Same error I think.
    A comment needs double dash "--"

    So ibn lotrointerface you writte :

    _PETS[95] = {[1]=1879341434;[2]=1879341433;[3]=10;} - Winter's Flower

    try with

    _PETS[95] = {[1]=1879341434;[2]=1879341433;[3]=10;} -- Winter's Flower

    for all the new lines added.
    And I'm sure it will works perfectly

  8. #8
    Quote Originally Posted by Maurice84 View Post
    Same error I think.
    A comment needs double dash "--"

    So ibn lotrointerface you writte :

    _PETS[95] = {[1]=1879341434;[2]=1879341433;[3]=10;} - Winter's Flower

    try with

    _PETS[95] = {[1]=1879341434;[2]=1879341433;[3]=10;} -- Winter's Flower

    for all the new lines added.
    And I'm sure it will works perfectly



    Corrected some syntax errors and removed some duplications, in the below, but when I load those, I still get the following errors: (double checked my syntax, but I must be blind as still can't figure out the trouble)

    ...of the Rings Online\Plugins\GaluhadPlugins\ Pets\Strings\English \Pets.lua:1: '=' expected near '»'

    ...ins\GaluhadPlugins\Pets\Str ings\English\__init_ _.lua:4: Failed to import package "GaluhadPlugins.Pets.Strings.E nglish.Pets".

    ...ine\Plugins\GaluhadPlugins\ Pets\Strings\__init_ _.lua:9: Failed to import package "GaluhadPlugins.Pets.Strings.E nglish".

    ...ine\Plugins\GaluhadPlugins\ Pets\Strings\__init_ _.lua:9: Failed to import package "GaluhadPlugins.Pets.Strings.E nglish".






    In ...\Pets\Data\Pets.lua Correct the item name on
    _PETS[66] = {[1]=1879339347;[2]=1879339317;[3]=10;} -- Kite of the Sickle

    ...Add the following

    -- u19.1
    _PETS[90] = {[1]=1879339353;[2]=1879339330;[3]=10;} -- Hallows-eve Kite
    _PETS[91] = {[1]=1879338923;[2]=1879338918;[3]=3;} -- Brown bat
    _PETS[92] = {[1]=1879339417;[2]=1879339416;[3]=6;} -- Ithilian Fox

    -- u19.3
    _PETS[93] = {[1]=1879341434;[2]=1879341433;[3]=10;} -- Winter's Flower
    _PETS[94] = {[1]=1879341436;[2]=1879341430;[3]=10;} -- Snowman Kite
    _PETS[95] = {[1]=1879341438;[2]=1879341441;[3]=10;} -- Winter Dove Kite





    In ...\Pets\Strings\English\Pets. lua Correct the item name on

    _PETSTRINGS[66] = {[1]="Kite of the Sickle";[2]="Barter from Yule Festival for 75 tokens.";};

    ...Add the following

    -- u19.1
    _PETSTRINGS[90] = {[1]="Hallows-eve Kite";[2]="Available at the store for 595 Lotro pts.";};
    _PETSTRINGS[91] = {[1]="Brown bat";[2]="Barter from Harvest Festival for 40 tokens.";};
    _PETSTRINGS[92] = {[1]="Ithilian Fox";[2]="Available for 1 vial of amber extract from a herbalist in the West Army.";};


    -- u19.3
    _PETSTRINGS[93] = {[1]="Winter's Flower";[2]="Barter from Yule Festival for 75 tokens.";};
    _PETSTRINGS[94] = {[1]="Snowman Kite";[2]="Available at the store for 595 Lotro pts.";};
    _PETSTRINGS[95] = {[1]="Winter Dove Kite";[2]="Available at the store for 595 Lotro pts.";};
    XanThorr the Well-Met
    "Meddle not in the affairs of dragons for you are crunchy and good with ketchup"

    ~~Beeornfree 105 Beorning of Landroval
    ~~Beeornfree 93 Beorning of Gladden~~Xanaxier 105 Guardian of Gladden~~Xanthorr 103 Hunter of Gladden
    ~~Beeornfree 93 Beorning of Evernight

  9. #9
    Join Date
    Mar 2007
    Posts
    1,329
    Quote Originally Posted by XanThorSr View Post

    ...of the Rings Online\Plugins\GaluhadPlugins\ Pets\Strings\English \Pets.lua:1: '=' expected near '»'
    After you fixed the comment issues, the remaining problem looks like an encoding conflict. LotRO Lua source files can either be saved as ANSI text (no accented characters allowed) or UTF-8 without BOM - note, many text editors will try to save them as UTF-8 with BOM (often just labeled as UTF-8) by default which typically causes that specific error message.

  10. #10

    It works now...

    It works now......

    Use Notepad++ and save the files as LUA files

    In ...\Pets\Data\Pets.lua Correct the item name on
    _PETS[66] = {[1]=1879339347;[2]=1879339317;[3]=10;} -- Kite of the Sickle

    ...Add the following

    -- u19.3
    _PETS[90] = {[1]=1879341434;[2]=1879341433;[3]=10;} -- Winter's Flower
    _PETS[91] = {[1]=1879341436;[2]=1879341430;[3]=10;} -- Snowman Kite
    _PETS[92] = {[1]=1879341438;[2]=1879341441;[3]=10;} -- Winter Dove Kite

    In ...\Pets\Strings\English\Pets. lua Correct the item name on

    _PETSTRINGS[66] = {[1]="Kite of the Sickle";[2]="Barter from Yule Festival for 75 tokens.";};

    ...Add the following

    -- u19.3
    _PETSTRINGS[90] = {[1]="Winter's Flower";[2]="Barter from Yule Festival for 75 tokens.";};
    _PETSTRINGS[91] = {[1]="Snowman Kite";[2]="Available at the store for 595 Lotro pts.";};
    _PETSTRINGS[92] = {[1]="Winter Dove Kite";[2]="Available at the store for 595 Lotro pts.";};
    XanThorr the Well-Met
    "Meddle not in the affairs of dragons for you are crunchy and good with ketchup"

    ~~Beeornfree 105 Beorning of Landroval
    ~~Beeornfree 93 Beorning of Gladden~~Xanaxier 105 Guardian of Gladden~~Xanthorr 103 Hunter of Gladden
    ~~Beeornfree 93 Beorning of Evernight

 

 

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