lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Other


Post A Reply
Author Comments Comment Options
Unread 02-20-2017, 09:38 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
I was using Notepad and always have in the past.

I will use Notepad ++ from now on as it has a Lua source file save option.

FYI Notepad ++ worked.

Last edited by sucamarto : 02-20-2017 at 11:09 PM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-20-2017, 08:28 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 980
Uploads: 20
Quote:
Originally Posted by sucamarto
There is something strange happening here;

Any change at any of the labels in the \GaluhadPlugins\Pets\Strings\English\Pets.lua file and the plugin crashes and needs a reinstall, and undoing the change dos not alleviate the issue and you still encounter the error.

ie change
_PETSTRINGS[54] = {[1]="Sleek Fox";[2]="Presently unknown.";};
to
_PETSTRINGS[54] = {[1]="Sleek Fox";[2]="Barter from Bert Bartleby for 5 Bingo Tokens.";};

And the below error occurs.

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

...ins\GaluhadPlugins\Pets\Strings\English\__init_ _.lua:4: Failed to import package "GaluhadPlugins.Pets.Strings.English.Pets".
...ine\Plugins\GaluhadPlugins\Pets\Strings\__init_ _.lua:9: Failed to import package "GaluhadPlugins.Pets.Strings.English".
...ine\Plugins\GaluhadPlugins\Pets\Strings\__init_ _.lua:9: Failed to import package "GaluhadPlugins.Pets.Strings.English".
Not really a mystery, quite common once you've seen it a couple of times
The '»' in the error message indicates an encoding issue.

Your editor is likely saving the file as UTF-8, not UTF-8 without BOM. The incorrect encoding causes the error, so editing the file back will still have the incorrect encoding, thus still the error. Change the encoding to UFT-8 without BOM and the error should go away.

Last edited by Garan : 02-20-2017 at 08:31 PM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-20-2017, 03:30 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
There is something strange happening here;

Any change at any of the labels in the \GaluhadPlugins\Pets\Strings\English\Pets.lua file and the plugin crashes and needs a reinstall, and undoing the change dos not alleviate the issue and you still encounter the error.

ie change
_PETSTRINGS[54] = {[1]="Sleek Fox";[2]="Presently unknown.";};
to
_PETSTRINGS[54] = {[1]="Sleek Fox";[2]="Barter from Bert Bartleby for 5 Bingo Tokens.";};

And the below error occurs.

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

...ins\GaluhadPlugins\Pets\Strings\English\__init_ _.lua:4: Failed to import package "GaluhadPlugins.Pets.Strings.English.Pets".
...ine\Plugins\GaluhadPlugins\Pets\Strings\__init_ _.lua:9: Failed to import package "GaluhadPlugins.Pets.Strings.English".
...ine\Plugins\GaluhadPlugins\Pets\Strings\__init_ _.lua:9: Failed to import package "GaluhadPlugins.Pets.Strings.English".

Last edited by sucamarto : 02-20-2017 at 06:35 PM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-19-2017, 07:17 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
There are issues in the last update;

The following already exist in a clean installation.
_PETS[91] = {[1]=1879338923;[2]=1879338918;[3]=3;} -- Brown bat
_PETS[92] = {[1]=1879339417;[2]=1879339416;[3]=6;} -- Ithilian Fox


These Pets already exist and are as per the following;
_PETSTRINGS[58] = {[1]="Brown Bat";[2]="Barter from harvest festival for 40 tokens.";};
_PETSTRINGS[65] = {[1]="Ithilien Fox";[2]="Available for 1 vial of Amber Extract from a Herbalist in the West Army.";};



I would suggest the following;
In ...\Pets\Data\Pets.lua Correct the item name on
-- u19.1
_PETS[90] = {[1]=1879339353;[2]=1879339330;[3]=10;} -- Hallows-eve Kite

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

In ...\Pets\Strings\English\Pets.lua Correct the item name on
-- u19.1
_PETSTRINGS[90] = {[1]="Hallows-eve Kite";[2]="Available at the store for 595 Lotro pts.";};

-- u19.3
_PETSTRINGS[91] = {[1]="Winter's Flower";[2]="Barter from Yule Festival for 75 tokens.";};
_PETSTRINGS[92] = {[1]="Snowman Kite";[2]="Available at the store for 595 Lotro pts.";};
_PETSTRINGS[93] = {[1]="Winter Dove Kite";[2]="Available at the store for 595 Lotro pts.";};



ORIGINAL POST

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.";};

Last edited by sucamarto : 02-19-2017 at 07:40 PM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-19-2017, 05:22 AM  
Lumbago
The Wary
 
Lumbago's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 27
Uploads: 1
Sometimes the best way is to restart with a vanilla installation.
rename the Galuhadplugins folder.
Download and install a brand new one.

Add your line 1 after 1 and try each step
Lumbago is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-19-2017, 04:34 AM  
Xanthor
The Wary

Forum posts: 2
File comments: 51
Uploads: 0
Re: Updated...

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\Strings\English\__init_ _.lua:4: Failed to import package "GaluhadPlugins.Pets.Strings.English.Pets".

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

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






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.";};

Last edited by Xanthor : 02-19-2017 at 05:21 AM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-19-2017, 04:23 AM  
Xanthor
The Wary

Forum posts: 2
File comments: 51
Uploads: 0
Updated...

-- u19.1
_PETS[90] = {[1]=1879339353;[2]=1879339330;[3]=10;} -- Hallows-eve Kite
_PETS[91] = {[1]=1879339352;[2]=1879339331;[3]=10;} -- Leaf-Fall Kite
_PETS[92] = {[1]=1879338923;[2]=1879338918;[3]=3;} -- Brown bat
_PETS[93] = {[1]=1879339417;[2]=1879339416;[3]=6;} -- Ithilian Fox
_PETS[94] = {[1]=1879339347;[2]=1879339317;[3]=10;} -- Kite of the Sickle

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



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


-- u19.3
_PETSTRINGS[95] = {[1]="Winter's Flower";[2]="Barter from Yule Festival for 75 tokens.";};
_PETSTRINGS[96] = {[1]="Snowman Kite";[2]="Available at the store for 595 Lotro pts.";};
_PETSTRINGS[97] = {[1]="Winter Dove Kite";[2]="Available at the store for 595 Lotro pts.";};

Thank all who helped correct this

Last edited by Xanthor : 02-19-2017 at 04:24 AM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-19-2017, 04:05 AM  
Lumbago
The Wary
 
Lumbago's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 27
Uploads: 1
double dash mandatory for comments

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

correction is

_PETS[95] = {[1]=1879341434;[2]=1879341433;[3]=10;} -- Winter's Flower
Lumbago is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-19-2017, 03:11 AM  
vaelarin
The Wary

Forum posts: 0
File comments: 5
Uploads: 0
Quote:
Tried to translate and correct sequence for the data and string files, but after doing so, 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'
---

Look at line 117 in that file (Data\Pets.lua). There may be a typo in that line. The other two errors are being thrown because this file isn't loading properly.
vaelarin is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-18-2017, 02:19 AM  
Xanthor
The Wary

Forum posts: 2
File comments: 51
Uploads: 0
Tried to translate and correct sequence for the data and string files, but after doing so, 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

Last edited by Xanthor : 02-18-2017 at 02:19 AM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-17-2017, 11:35 PM  
Xanthor
The Wary

Forum posts: 2
File comments: 51
Uploads: 0
Revised, some syntax errors resolved

Here is the add-on codes, just copy and paste in the existing 2 files. There is still one we do not have...the store kite, Anorien Shield.
(These are a re-arranged and translated from the French--TY)

-- u19.1
_PETS[90] = {[1]=1879339353;[2]=1879339330;[3]=10;} - Hallows-eve Kite
_PETS[91] = {[1]=1879339352;[2]=1879339331;[3]=10;} - Leaf-Fall Kite
_PETS[92] = {[1]=1879338923;[2]=1879338918;[3]=3;} - Brown bat
_PETS[93] = {[1]=1879339417;[2]=1879339416;[3]=6;} - Ithilian Fox
_PETS[94] = {[1]=1879339347;[2]=1879339317;[3]=10;} - Kite of the Sickle

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



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


-- u19.3
_PETSTRINGS[95] = {[1]="Winter's Flower";[2]="Barter from Yule Festival for 75 tokens.";};
_PETSTRINGS[96] = {[1]="Snowman Kite";[2]="Available at the store for 595 Lotro pts.";};
_PETSTRINGS[97] = {[1]="Winter Dove Kite";[2]="Available at the store for 595 Lotro pts.";};

Last edited by Xanthor : 02-18-2017 at 10:37 PM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-13-2017, 04:22 PM  
Xanthor
The Wary

Forum posts: 2
File comments: 51
Uploads: 0
New pets???

Anyone working on updating the program to pick up the new pets from the Yule Fest?

And soon there will be more from the anniversary and spring fests coming up.

Would be nice if the programmers could give us the ins and outs of how to add new pets to the different notepad listings in the folder.



This is the code for the last update...pretty easy to do yourself except for the ID numbers, like how to get them.

...\Pets\Strings\English\Pets.lua
Code:

-- u19
_PETSTRINGS[82] = {[1]="Brown Bat";[2]="Barter from harvest festival for 40 tokens.";};
_PETSTRINGS[83] = {[1]="Leaf-Fall Kite";[2]="Barter from harvest festival for 40 tokens.";};
_PETSTRINGS[84] = {[1]="Oaken Kite";[2]="Barter from harvest festival for 40 tokens.";};

...\Pets\Data\Pets.lua
Code:

-- u19
_PETS[82] = {[1]=1879338923;[2]=1879338918;[3]=3;} -- Tome of the Brown Bat
_PETS[83] = {[1]=1879339352;[2]=1879339331;[3]=3;} -- Tome of the Leaf-Fall Kite
_PETS[84] = {[1]=1879339350;[2]=1879339324;[3]=3;} -- Tome of the Oaken Kite



XanThor

Last edited by Xanthor : 01-13-2017 at 04:39 PM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 12-21-2016, 02:24 AM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
2 new pets;

https://lotro-wiki.com/index.php/Alex_Grey

Tome of the Kite of the Sickle 75 Yule Festival Tokens
Tome of the Winter's Flower 75 Yule Festival Tokens
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-29-2016, 02:14 AM  
Lumbago
The Wary
 
Lumbago's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 27
Uploads: 1
Quote:
I have a plugin I wrote for scanning the database for skills, then I just match up the IDs. It's nothing clean so I haven't released it for anyone else to use.
Ok, understood.
I send you a PM
Lumbago is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-27-2016, 02:39 PM  
Galuhad
The Undying
 
Galuhad's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 170
Uploads: 20
Quote:
)Hi guys,

do you have a trick or a easy way to find the information in red below ?
I use Itemscanner to find the information for [2] but for [1] I try several number around [2] until to find the correct icon.

thx for your answers

_PETS[54] = {[1]=1879324036;[2]=1879324059;[3]=6;} -- Tome of the Sleek Fox
I have a plugin I wrote for scanning the database for skills, then I just match up the IDs. It's nothing clean so I haven't released it for anyone else to use.
Galuhad is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 11:51 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui