lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Other


Post A Reply
Author Comments Comment Options
Unread 02-08-2012, 12:41 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Quote:
Originally Posted by lunarwtr
When I fixed it last night I adjusted it to 1 when I was testing the fix. Did you find another place I did it zero?
I haven't actually looked at the plugin code, just the snippet you posted. I was going to download the latest Compendium to investigate integrating another external link (this one from AltInventory) when I noticed your post. I never got around to actually downloading the latest Compendium yet but I will probably get back to it tomorrow - I'm far too easily distrac... *ooh, a shiny*

Last edited by Garan : 02-08-2012 at 12:42 PM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-08-2012, 11:42 AM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
Quote:
I noticed that when the index is nil you set it to 0 which implies a 0 based array, but in the max value test you compare to #self.tabs which uses a 1 to # value which implies a 1 based array. I haven't looked any further into your code, but it seems that you are mixing 1 based and 0 based indexing.
When I fixed it last night I adjusted it to 1 when I was testing the fix. Did you find another place I did it zero?
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-08-2012, 11:33 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Quote:
Originally Posted by lunarwtr
I won't be able to test it till tonight when I at home. But I suspect the fix is something like changing this function in Compendium/Common/UI/TabControl.lua (~ line 150 or so)

Code:
function TabControl:SetActiveIndex(index)
    if index == nil then
        index = 0;
    else 
        index = tonumber(index);
    end
    if (index > #self.tabs) then
        index = #self.tabs;
    end
    local id = self.tabs[index].id;
    self:SetActiveTabById(id);
end
I noticed that when the index is nil you set it to 0 which implies a 0 based array, but in the max value test you compare to #self.tabs which uses a 1 to # value which implies a 1 based array. I haven't looked any further into your code, but it seems that you are mixing 1 based and 0 based indexing.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-07-2012, 09:02 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
I think I was able to resolve the problem. I'm not sure how the setting gets saved incorrectly, but it appears that if the setting for which tab you were last on gets saved improperly.. it can never get set back to what it needs to be. I've added code that should self correct it.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-07-2012, 07:48 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
Looking at bug now.. will post if I find anything.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-07-2012, 09:00 AM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
I won't be able to test it till tonight when I at home. But I suspect the fix is something like changing this function in Compendium/Common/UI/TabControl.lua (~ line 150 or so)

Code:
function TabControl:SetActiveIndex(index)
    if index == nil then
        index = 0;
    else 
        index = tonumber(index);
    end
    if (index > #self.tabs) then
        index = #self.tabs;
    end
    local id = self.tabs[index].id;
    self:SetActiveTabById(id);
end
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-07-2012, 08:51 AM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
Quote:
Hello there

I really would like to use this great plugin, but somehow when I load it, I always get this error:

Waypoint 1.2 by Lunarwater
...s Online\Plugins\Compendium\Common\UI\TabControl.lua :152: attempt to compare number with string
Laden von "compendium" nicht möglich. (not possible to load compendium)
MoorMap 1.15 von Garan geladen (Moormap loads fine)

I use the German client.

Any help would be appreciated.
Sorry you both recieved this error. Thank you for bringing it to my attention. I will take a look at it tonight and see what is going on.

I found an error in the tabs in the previous version. It was caused by clicking to turn off a tab on the configuration tab, then navigating to the tab, and then using plugin manager to reload. This particular bug was fixed. If you do not mind losing your settings you can try deleting the file called..

Documents/The Lord of the Rings Online/PluginData/AllServers/(I forget whats here)/CompendiumSettings.*

and then loading Compendium.

Last edited by lunarwtr : 02-07-2012 at 08:54 AM.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-07-2012, 08:21 AM  
funnyday01
The Wary

Forum posts: 0
File comments: 25
Uploads: 0
Hello there

I really would like to use this great plugin, but somehow when I load it, I always get this error:


Waypoint 1.2 by Lunarwater
...s Online\Plugins\Compendium\Common\UI\TabControl.lua :152: attempt to compare number with string
Laden von "compendium" nicht möglich. (not possible to load compendium)
MoorMap 1.15 von Garan geladen (Moormap loads fine)


I use the German client.

Any help would be appreciated.

Lade das Plugin neu und lass den Vindar Patch weg dann dürftest du das Problem mit dieser Fehlermeldung nicht mehr haben den Dieser Vindar Patch zerschiesst dir die Speicherung vonWaypoint und Compendium von Lunarwater den wenn du denn weglässt laden die ohne Probleme ich habe das per Zufall mal herausgefunden

Gruss und viel Erfolg

Last edited by funnyday01 : 02-07-2012 at 08:23 AM.
funnyday01 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-07-2012, 01:50 AM  
Jeens
The Wary

Forum posts: 0
File comments: 2
Uploads: 0
Hello there

I really would like to use this great plugin, but somehow when I load it, I always get this error:


Waypoint 1.2 by Lunarwater
...s Online\Plugins\Compendium\Common\UI\TabControl.lua :152: attempt to compare number with string
Laden von "compendium" nicht möglich. (not possible to load compendium)
MoorMap 1.15 von Garan geladen (Moormap loads fine)


I use the German client.

Any help would be appreciated.
Jeens is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-29-2012, 06:21 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
Re: database

Quote:
i see the plugin UI is localized and can be set to german. but all items, quests, deeds, crafting are still english. is there a german database i need too put in place?

i checked e.g. CompendiumDeedsDB.lua - it is all english. how was this file generated? did someone type this by hand???
The text of items, quests, deeds, & crafts is automatically pulled from lorebook, and soon from lotro-wiki and condensed for Compendium. Only the labels, buttons, and some filters are translated into German. I have yet to have a French translation done, but it supports it. If lorebook has a translation of their content, I'd be glad to investigate how to build a custom file..
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-29-2012, 04:42 PM  
vxu
The Wary

Forum posts: 0
File comments: 14
Uploads: 0
database

i see the plugin UI is localized and can be set to german. but all items, quests, deeds, crafting are still english. is there a german database i need too put in place?

i checked e.g. CompendiumDeedsDB.lua - it is all english. how was this file generated? did someone type this by hand???
vxu is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-23-2012, 08:31 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
I could use some help.. I'm analysing various stats & effects and want to provide Compendium with an effective set of filters for users to find the correct content.

I've broken these down into two categories.. the first are ones that have the # up front.. these look most straightforward, coz the filter would simply be the later word / phrase. The other list is the unknown yet. It consists of various Proc effects, skills, etc..

EDIT:

A lot of the ones in the 1st list can be found in 2nd list if you remove the fact of words like "On Use" or "Duration", etc...

I could flag them as the stat they benefit, then add an additional category of "On Use", (or whatever qualifier they have). Then also add a category for "Duration Effect" if any effect has that on end.

Code:
%s Acid Mitigation
%s Agility
%s All Skill Inductions
%s Block Rating
%s Charity
%s Common Damage every %s seconds for %s seconds
%s Compassion
%s Critical Rating
%s Damage<br />Duration: %s
%s Determination
%s Discount at most Bree-land shops
%s Discount at most Ered Luin shops
%s Discount at most Forochel shops
%s Discount at most North Downs shops
%s Discount at most Trollshaws shops
%s Disease Resistance<br />Duration: %s
%s Empathy
%s Evade Rating
%s Fate
%s Finesse Rating
%s Finesse Rating<br />Duration: %s
%s Fire-arrow Miss Chance
%s Fire Mitigation
%s Frost Mitigation
%s Hope
%s Idealism
%s in-Combat Morale Regen
%s in-Combat Power Regen
%s Incoming Healing Rating
%s Justice
%s Light-arrow Evade Chance
%s Loyalty
%s Maximum Morale
%s Maximum Power
%s Might
%s Mining Time
%s non-Combat Morale Regen
%s non-Combat Morale Regen<br />Duration: %s
%s non-Combat Power Regen
%s Outgoing Healing Rating
%s Out of Combat Run Speed
%s Parry Rating
%s Parry Rating<br />Duration: %s
%s Patience
%s Physical Mastery Rating
%s Physical Mastery Rating<br />Duration: %s
%s Physical Mitigation
%s Ranged Offence Rating
%s Ranged Threat
%s Resistance Rating
%s Resistance Rating<br />Duration: %s
%s Root Duration
%s Run Speed<br />Duration: %s
%s Search Speed
%s Shadow Mitigation
%s Stealth Detection
%s Stealth Level
%s Tactical Critical Multiplier
%s Tactical Mastery Rating
%s Tactical Mastery Rating<br />Duration: %s
%s Tactical Mitigation
%s Valour
%s Vitality
%s Will
%s Wisdom
Code:
About-face: A portion of Morale is transferred to Power.
Acid Ward-
Affinity - Fire
Affinity - Frost
Affinity - Lightning
Attacker gains  Morale
Attacker gains  Power
Attacker gains %s Morale
Attacker gains %s Power
Attacker gains %s - %s Power
Battle Stance: You cannot move while negating damage.
Blessing of Caras Galadhon
<br />Duration: %s
Cure Disease-
Cures the fellowship of poison, wound, disease, and fear.
Deadly Aim
Demoralize: Opponent's morale is transferred to you some of the time.
Disperse Frost: You have a chance of absorbing some incoming Frost Damage.
Disperse Shadow: You have a chance of absorbing some incoming Shadow Damage.
Ease Fear-
Fair increase to threat during ranged combat.
Fair reduction to threat during ranged combat.
Fire Lash-
Flame Ward-
Give Instant Morale:n
Give Instant Power:n
Greatly increases threat during combat.
Greatly increases threat during ranged combat.
Greatly reduces ranged skill induction time.
Greatly reduces threat during ranged attacks
Greatly reduces threat during ranged combat.
Heals a pet %s damage initially and %s Morale every %s seconds for %s seconds.
Heals %s Morale every %s seconds for %s seconds
Intermittent Morale-
Intermittent Power-
Intermittent Strength-
Intermittent Weakness-
Lethal Strikes
Lothlórien Knowledge
Max: Affinity - Fire
Max: Affinity - Frost
Max: Affinity - Lightning
Max: Attacker gains %s Morale
Max: Attacker gains %s Power
Max: Demoralize: Opponent's morale is transferred to you some of the time.
Max: Fair reduction to threat during ranged combat.
Max: Greatly increases threat during ranged combat.
Max: Greatly reduces threat during ranged combat.
Max: Intermittent Morale-
Max: Intermittent Power-
Max: Intermittent Strength-
Max: Moderately increases threat during ranged combat.
Max: Mollify Poison-
Max: On any Common damage:<br />%s chance to Negate ??? damage
Max: On any Common damage:<br />%s chance to Negate %s damage
Max: On any damage:<br />%s chance to Receive effect:<br />Give Instant Morale:n
Max: On any damage:<br />%s chance to Receive effect:<br />Give Instant Power:n
Max: On any damage:<br />%s chance to Receive effect:<br />Removes up to %s Poison effect from the target
Max: On any damage:<br />%s chance to Receive effect:<br />Removes up to %s Wound effect from the target
Max: On any damage:<br />%s chance to Receive effect:<br />%s Devastate Magnitude<br />Duration: %s
Max: On Shadow damage:<br />%s chance to Receive effect:<br />%s Shadow Mitigation<br />Duration: %s
Max: %s Agility
Max: %s All Skill Inductions
Max: %s Block Rating
Max: %s Common Damage every %s seconds for %s seconds
Max: %s Critical Rating
Max: %s Evade Rating
Max: %s Fate
Max: %s Finesse Rating
Max: %s Fire-arrow Miss Chance
Max: %s Fire-javelin Miss Chance
Max: Shadow Ward-
Max: %s in-Combat Morale Regen
Max: %s in-Combat Power Regen
Max: %s Incoming Healing Rating
Max: %s Light-javelin Miss Chance
Max: %s Maximum Morale
Max: %s Maximum Power
Max: %s Melee Offence Rating
Max: %s Might
Max: %s non-Combat Morale Regen
Max: Soothe Wounds-
Max: %s Outgoing Healing Rating
Max: %s Out of Combat Run Speed
Max: %s Parry Rating
Max: %s Physical Mastery Rating
Max: %s Physical Mitigation
Max: %s Ranged Offence Rating
Max: %s Resistance Rating
Max: %s Stealth Level
Max: %s Tactical Critical Multiplier
Max: %s Tactical Mastery Rating
Max: %s Tactical Mitigation
Max: %s Tactical Offence Rating
Max: %s Vitality
Max: %s Will
Max: Target: Chance of increasing your target's susceptibility to Fire damage.
Max: Target: Chance of increasing your target's susceptibility to Frost damage.
Max: Target is drained of %s Morale
Max: Target is drained of %s Power
Max: Weaken: Opponent's power is transferred to you some of the time.
Max: Wield: Chance of lowering your target's Armour.
Max: Wounding:
Minimal increase to threat during ranged combat.
Moderately increases threat during ranged combat.
On Acid damage:<br />%s chance to Receive effect:<br />%s Acid Mitigation<br />Duration: %s
On any any damage:<br />%s chance to Negate ??? damage
On any Common damage:<br />%s chance to Negate  damage
On any Common damage:<br />%s chance to Negate ??? damage
On any Common damage:<br />%s chance to Negate %s damage
On any damage:<br />%s chance to Receive effect:<br />Give Instant Morale:n
On any damage:<br />%s chance to Receive effect:<br />Give Instant Power:n
On any damage:<br />%s chance to Receive effect:<br />Removes up to %s Disease effect from the target
On any damage:<br />%s chance to Receive effect:<br />Removes up to %s Fear effect from the target
On any damage:<br />%s chance to Receive effect:<br />Removes up to %s Wound effect from the target
On any damage:<br />%s chance to Receive effect:<br />%s Devastate Magnitude<br />Duration: %s
On any damage:<br />%s chance to Receive effect:<br />%s in-Combat Power Regen - can stack twice<br />Duration: %s
On any Fire damage:<br />%s chance to Negate %s damage
On any Frost damage:<br />%s chance to Negate ??? damage
On any Shadow damage:<br />%s chance to Negate ??? damage
On Fire damage:<br />%s chance to Receive effect:<br />%s Fire Mitigation<br />Duration: %s
On Fire, Shadow damage:<br />%s chance to Receive effect:<br />%s Fire Mitigation<br />Duration: %s%s Shadow Mitigation<br />Duration: %s
On Shadow damage:<br />%s chance to Receive effect:<br />%s Shadow Mitigation<br />Duration: %s
On Use: <br />Duration: %s
On Use: Heals %s Morale every %s seconds for %s seconds
On Use: Restores %s Power every %s seconds for %s seconds
On Use: %s Agility<br />Duration: %s
On Use: %s Armour<br />Duration: %s
On Use: %s Armour Increase<br />Duration: %s
On Use: %s Devastate Chance<br />Duration: %s
On Use: %s Evade and Parry Chance<br />Duration: %s
On Use: %s Fate<br />Duration: %s
On Use: %s Healing<br />Duration: %s
On Use: %s in-Combat Power Regen<br />Duration: %s
On Use: %s Maximum Morale<br />Duration: %s
On Use: %s Maximum Power<br />Duration: %s
On Use: %s Might<br />Duration: %s
On Use: %s non-Combat Morale Regen<br />Duration: %s
On Use: %s non-Combat Power Regen<br />Duration: %s
On Use: %s Out of Combat Run Speed<br />Duration: %s
On Use: %s Parry Rating<br />Duration: %s
On Use: %s Rune-keeper Skill Damage<br />Duration: %s
On Use: %s Run Speed<br />Duration: %s
On Use: %s Vitality<br />Duration: %s
On Use: %s Will<br />Duration: %s
On Use: Your Stealth Level is increased, but you cannot move.<br />Duration: %s
Power Regeneration-
Protector's Reproach
Reduces ranged skill induction time.
Reduces threat during combat.
Reduces threat during ranged combat.
Reflect Damage-
Removes up to %s Disease effects from the target
Removes up to %s Fear effects from the target
Removes up to %s Poison effects from the target
Removes up to %s Wound effects from the target
Rune-keeper's Shield-
Sets Current Trait Combo to Affinity - Fire
Sets Current Trait Combo to Affinity - Frost
Sets Current Trait Combo to Affinity - Lightning
Several ranged skills deal Fire Damage instead of their normal damage type and will cause Fire Damage over time on critical hits.
Shadow Ward-
Sizable increase to threat during ranged combat.
Sizable reduction to ranged skill induction time.
Sizable reduction to threat during ranged combat.
Slightly increases critical chance of Heals and Bleeds
Slightly increases threat during ranged combat.
Slightly reduces ranged skill induction time.
Slightly reduces threat during combat.
Slightly reduces threat during ranged combat.
Soothe Wounds-
Stun-
Target: Chance of increasing your target's susceptibility to Ancient Dwarf-type damage.
Target: Chance of increasing your target's susceptibility to Beleriand-type damage.
Target: Chance of increasing your target's susceptibility to Fire damage.
Target: Chance of increasing your target's susceptibility to Frost damage.
Target: Chance of increasing your target's susceptibility to Light damage.
Target: Chance of increasing your target's susceptibility to Lightning damage.
Target: Chance of increasing your target's susceptibility to Westernesse-type damage.
Target is drained of  Morale
Target is drained of  Power
Target is drained of %s Morale
Target is drained of %s Power
Target is drained of %s - %s Morale
Usage: Grants Morale over time to the entire fellowship.
Usage: Jewelled Bell goes jingle, jangle!
Usage: Most remaining Power is consumed, transfering a portion of it to Morale.
Usage: Slightly damages the target while granting you Power.
Usage: You tap into the fowl power of this potent cloak.
Warden's Barb-
Weaken: Opponent's power is transferred to you some of the time.
Wield: Chance of lowering your target's Armour.
Wigskold's Protection-
Wigskold's Revenge-
Wounding:

Last edited by lunarwtr : 01-23-2012 at 08:35 PM.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-22-2012, 09:17 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
Took a small stab at getting the stats pulled out of my last api crawl. There are lots of different effects / stats on the items. I'm not sure how some of them would benefit the UI unless they are a form that can be filtered upon. The +<some number> to <some stat> are the no brainers. Its the "on use" or "on damage" etc... or effects that have durations that I'm not sure about. I suppose I can group those kinds into groups like "Weapon Procs", or "Short Term buffs"
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-14-2012, 07:03 PM  
lunarwtr
The Undying
 
lunarwtr's Avatar
Interface Author - Click to view interfaces

Forum posts: 121
File comments: 344
Uploads: 11
Quote:
You could separate the stats part into a separate .lua file and add a checkbox option to include/not include the stats then only import the stats if they are desired. The actual plugin download would grow but the runtime footprint would not.
Thanks for the feedback. I'm always nervous to increase the size by too much.

What I'd really like to do if I had the time, or could share in a project with someone is write more of a plugin that is more of an api into the dataset compendium uses, so that other plugins that want item, quest, crafting, deed data could look stuff up easily and get it fed back. I am not as good at the UI as some of you.
lunarwtr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-14-2012, 04:22 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Quote:
Would there be interest if I added stats to compendium? or should that be released as a separate plugin? My only concern is if I added more the size of plugin just increases.
You could separate the stats part into a separate .lua file and add a checkbox option to include/not include the stats then only import the stats if they are desired. The actual plugin download would grow but the runtime footprint would not.
Garan 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 01:14 PM.


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