Quantcast
VGInterface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Other


Post A Reply
Author Comments Comment Options
Unread 04-13-2017, 10:32 AM  
Xanthor
The Wary

Forum posts: 2
File comments: 20
Uploads: 0
Double grrrrrr...

Okay, I deleted the plugin, rebooted and re-installed the clean version.

Here is the problem, it works for all characters on Landy, including my beorning, Beeornfree... all but the character Beeornfree on Gladden, and my only character, Beeornfree, on Evernight.

Thought maybe it might be the new items, but only my Evernight character has got those, so that is not the problem.

Thought maybe it was the fact that I have the same character name across 3 servers, but it used to work before I tried to add the 6 new pets. Also, I have the same character (Xanthorr) on 2 servers with the same name, and they both load fine.

I thought the plugin didn't care what server or what character name, but something is causing the problem...only thing I can think of, is the actual pets I own on the characters...but again, it used to work fine and the characters on Gladden and Landy have not changed or added pets in several months.

So now totally lost,, as why it will not load, with that same error message, on only a couple of characters/servers.

Really need some major help.

---------------------------------------------------------------

Also, to use that debugging/trace code, where would i place it? Right before the suspect code line 63 in the Bar.lua program?

Last edited by Xanthor : 04-13-2017 at 10:36 AM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-12-2017, 03:20 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 218
File comments: 637
Uploads: 18
Re: grrrrrr.....

Quote:
Originally Posted by Xanthor
After some playing around, now I can't get the plugin to work...I even went back and downloaded an older version, and it still wont work. At a loss here...this is the error message I get no matter what version I load...

...s Online\Plugins\GaluhadPlugins\Pets\Windows\Bar.lua :63: attempt to index field '?' (a nil value)

THis is that particular line:
local petName = _PETSTRINGS[petID][1];


I can't figure out what or why this is not working...as it occurs even in a brand new download. I don't see any NIL value that it is trying to index (esp as this is a pure clean d/l)
I don't use this plugin, however, I suspect your issue has to do with a saved setting, since a fresh download of the plugin didn't revert the behavior. So, try renaming your PluginData folder and see if the issue goes away. If it does, then put the old folder back and find and delete any .plugindata files for the plugin. Otherwise you will need to add debugging lines for the petID variable as well as the table entries for _PETSTRINGS and _PETSTRINGS[petID] (the table entries should be tables, not a nil):
Code:
Turbine.Shell.WriteLine("petID="..tostring(petID))
if _PETSTRINGS~=nil then
  if petID~=nil then
    Turbine.Shell.WriteLine("_PETSTRINGS[petID]="..tostring(_PETSTRINGS))
  else
    Turbine.Shell.WriteLine("can not evaluate _PETSTRINGS[petID], table is nil")
  end
else
  Turbine.Shell.WriteLine("can not evaluate _PETSTRINGS, table is nil")
  end
end
Then backtrack to figure out where either petID got set to nil or the entry for _PETSTRINGS or _PETSTRINGS[petID] got set to nil.

EDIT: Actually, paying closer attention to the error message, it looks as though petID is not the issue, but _PETSTRINGS or _PETSTRINGS[petID] is the issue.

Last edited by Garan : 04-12-2017 at 03:37 PM.
Garan is online now Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-12-2017, 01:46 PM  
Xanthor
The Wary

Forum posts: 2
File comments: 20
Uploads: 0
grrrrrr.....

After some playing around, now I can't get the plugin to work...I even went back and downloaded an older version, and it still wont work. At a loss here...this is the error message I get no matter what version I load...

...s Online\Plugins\GaluhadPlugins\Pets\Windows\Bar.lua :63: attempt to index field '?' (a nil value)

THis is that particular line:
local petName = _PETSTRINGS[petID][1];


I can't figure out what or why this is not working...as it occurs even in a brand new download. I don't see any NIL value that it is trying to index (esp as this is a pure clean d/l)
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-12-2017, 10:52 AM  
Xanthor
The Wary

Forum posts: 2
File comments: 20
Uploads: 0
I can do updates if someone gives me the item IDs. I tried using generic IDs, which worked to show up in the plugin, but does not summon the pet as the generic IDs are not generic but linked to the skill.

I have posted in the Lotro forum, but no reply yet. I have also talked to a person that has an ID reader, but does not have the items to get the IDs from.

If someone has a reader and can give me a copy of, them I can look up the IDs and update the program.

Do not use the addons from Sucamarto as it will give errors and render the plugin useless---or at least it did for me.



The following will be useful in the future once we get the IDs...DO NOT use until we get the specific IDs...(The IDs listed there are just a generic fill-in, using existing hound and kite IDs)

Use Notepad++ and save the files as LUA files...Add the following:

In ...\Pets\Data\Pets.lua

-- u20
_PETS[93] = {[1]=1879335504;[2]=1879335547;[3]=6;} -- Faroth the Tracking Hound
_PETS[94] = {[1]=1879335504;[2]=1879335547;[3]=6;} -- Helpful Hound
_PETS[95] = {[1]=1879335504;[2]=1879335547;[3]=6;} -- Well-supplied Hound
_PETS[96] = {[1]=1879339347;[2]=1879339317;[3]=10;} -- Moth Kite
_PETS[97] = {[1]=1879339347;[2]=1879339317;[3]=10;} -- Floral Kite
_PETS[98] = {[1]=1879339347;[2]=1879339317;[3]=10;} -- Bumblebee Kite

Use Notepad++ and save the files as LUA files...Add the following:

In ...\Pets\Strings\English\Pets.lua

-- u20
_PETSTRINGS[93] = {[1]="Faroth the Tracking Hound";[2]="Reward for completing Quest 'A New Friend'.";};
_PETSTRINGS[94] = {[1]="Helpful Hound";[2]="Barter from Master-provisioner (Host of the West) for 40 Salt and 10 Provision.";};
_PETSTRINGS[95] = {[1]="Well-supplied Hound";[2]="Barter from Master-provisioner (Host of the West) for 40 Salt and 10 Provisions.";};
_PETSTRINGS[96] = {[1]="Moth Kite";[2]="Barter from Spring Rewards Vendor for 30 Spring Leaves.";};
_PETSTRINGS[97] = {[1]="Floral Kite";[2]="Barter from Spring Rewards Vendor for 30 Spring Leaves.";};
_PETSTRINGS[98] = {[1]="Bumblebee Kite";[2]="Purchased from LOTRO Store for 495 LOTRO points.";};



(Realize, there are upcoming festivals in the next month or two that will have more pets to add, along with new IDs to figure out.)

Last edited by Xanthor : 04-12-2017 at 12:45 PM.
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-08-2017, 12:08 AM  
zefy
The Wary

Forum posts: 0
File comments: 11
Uploads: 0
update 20

Is there going to be a new version that will add the new pets from Update 20 and spring festival?

zefy
zefy is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 03-22-2017, 09:40 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 0
File comments: 23
Uploads: 0
The latest round of Pets as per Update 20

In ...\Pets\Data\Pets.lua Correct the item name on
-- u20
_PETS[94] = {[1]=??????????;[2]=??????????;[3]=10;} -- Faroth
_PETS[95] = {[1]=??????????;[2]=??????????;[3]=10;} -- Helpful Hound
_PETS[96] = {[1]=??????????;[2]=1??????????;[3]=10;} -- Well-supplied Hound
_PETS[97] = {[1]=??????????;[2]=1??????????;[3]=10;} -- Moth Kite
_PETS[98] = {[1]=??????????;[2]=1??????????;[3]=10;} -- Floral Kite
_PETS[99] = {[1]=??????????;[2]=1??????????;[3]=10;} -- Bumblebee Kite
In ...\Pets\Strings\English\Pets.lua Correct the item name on
-- u20
_PETSTRINGS[94] = {[1]="Faroth";[2]="Reward for completing Quest "A New Friend"";};
_PETSTRINGS[95] = {[1]="Helpful Hound";[2]="Barter from Master-provisioner (Host of the West) for 40 Salt and 10 Provisions";
_PETSTRINGS[96] = {[1]="Well-supplied Hound";[2]="Barter from Master-provisioner (Host of the West) for 40 Salt and 10
_PETSTRINGS[97] = {[1]="Moth Kite";[2]="Barter from Spring Rewards Vendor for 30 Spring Leaves";};
_PETSTRINGS[98] = {[1]="Floral Kite";[2]="Barter from Spring Rewards Vendor for 30 Spring Leaves";};
_PETSTRINGS[99] = {[1]="Bumblebee Kite";[2]="Purchased from LOTRO Store for 495 LOTRO points";};



Last edited by sucamarto : 03-27-2017 at 10:09 PM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-21-2017, 01:49 PM  
Xanthor
The Wary

Forum posts: 2
File comments: 20
Uploads: 0
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.";};
Xanthor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-20-2017, 09:38 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 0
File comments: 23
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: 218
File comments: 637
Uploads: 18
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 online now 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: 0
File comments: 23
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: 0
File comments: 23
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: 12
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: 20
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: 20
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: 12
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
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 09:18 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui