Moderator: ds
'2968' => array
(
'name' => 'Thick Amber',
'txt' => '+4 Defense Rating',
'img' => 'INV_Misc_Gem_Topaz_03',
),
'2744' => array
(
'name' => 'Dazzling Talasite',
'txt' => '+4 Intellect and +2 Mana every 5 seconds',
'img' => 'INV_Jewelcrafting_Talasite_03',
),
'2701' => array
(
'name' => 'Lustrous Azure Moonstone',
'txt' => '+2 Mana every 5 seconds',
'img' => 'INV_Misc_Gem_AzureDraenite_02',
),
ds001 wrote:@Zanix: Changed this already for v1.1
'2705' => array //corrected
(
'name' => 'Luminous Flame Spessarite',
'txt' => '+7 Healing Spells and +3 Intellect',
'img' => 'INV_Misc_Gem_FlameSpessarite_02',
),
'2730' => array //corrected
(
'name' => 'Subtle Living Ruby',
'txt' => '+8 Dodge Rating',
'img' => 'INV_Jewelcrafting_LivingRuby_03',
),
'2737' => array //corrected
(
'name' => 'Thick Dawnstone',
'txt' => '+8 Defense Rating',
'img' => 'INV_Jewelcrafting_Dawnstone_03',
),
'2693' => array //corrected
(
'name' => 'Delicate Blood Garnet',
'txt' => '+6 Agility',
'img' => 'INV_Misc_Gem_BloodGem_02',
),
'2969' => array //corrected
(
'name' => 'Swift Windfire Diamond',
'txt' => '+20 Attack Power and Minor Run Speed Increase',
'img' => 'INV_Misc_Gem_Diamond_07',
),
'2666' => '+30 Intellect',
'2996' => '+13 Critical Strike Rating',
'2503' => '+5 Defense',
'3002' => '+22 Spell Power and +14 Spell Hit Rating',
Diska wrote:ds001 wrote:@Zanix: Changed this already for v1.1
I'm sorry ds001, but you did not. You only retrieve the image suffix from the roster config, but not the image folder location, you still assume everyone has them in img/ while some people might have them in other locations (heck, even another server would be possible I think). If you would get the image url from the roster config than I also think this mod would work without changes in DragonFly
'2765' => array
(
'name' => 'Stormy Star of Elune',
'txt' => '+10 Spell Penetration',
'img' => 'INV_Jewelcrafting_StarOfElune_03',
),
'2727' => array
(
'name' => 'Teardrop Living Ruby',
'txt' => '+18 Healing',
'img' => 'INV_Jewelcrafting_LivingRuby_03',
),
'2741' => array
(
'name' => 'Royal Nightseye',
'txt' => '+9 Healing Spells and +2 Mana every 5 seconds',
'img' => 'INV_Jewelcrafting_Nightseye_03',
),
'2733' => array
(
'name' => 'Lustrous Star of Elune',
'txt' => '+3 Mana every 5 seconds',
'img' => 'INV_Jewelcrafting_StarOfElune_03',
),
'2937' => '+20 Spell Damage',
zanix wrote:Instead of hardcoding the image url, use Roster's variables to write it
$parsedToolTip = str_replace($gem_ids[$id]['txt'], '<img width="16px" height="16px" src="img/Interface/Icons/'.$gem_ids[$id]['img'].'.'.$roster_conf['img_suffix'].'"><span style="color:#00ff00;"> '.$gem_ids[$id]['txt'].'</span>', $parsedToolTip);
$parsedToolTip = str_replace($gem_ids[$id]['txt'], '<img width="16px" height="16px" src="'.$roster_conf['interface_url'].'Interface/Icons/'.$gem_ids[$id]['img'].'.'.$roster_conf['img_suffix'].'"><span style="color:#00ff00;"> '.$gem_ids[$id]['txt'].'</span>', $parsedToolTip);
robojerk wrote:Scaled Greaves of Patience is not showing gems/enchants correctly..
This user has the item
http://www.blacktemplars.org/index.php? ... er=Kilrogg
'30565' => array
(
'name' => 'Assassin\'s Fire Opal',
'txt' => 'Critical Rating +6 and Dodge Rating +5',
'img' => 'INV_Jewelcrafting_NobleTopaz_03',
),
'27786' => array //horde
(
'name' => 'Barbed Deep Peridot',
'txt' => '+3 Stamina, +4 Critical Strike Rating',
'img' => 'INV_Misc_Gem_DeepPeridot_01',
),
'27809' => array //alliance
(
'name' => 'Barbed Deep Peridot',
'txt' => '+3 Stamina, +4 Critical Strike Rating',
'img' => 'INV_Misc_Gem_DeepPeridot_01',
),
'30571' => array
(
'name' => 'Don Rodrigo\'s Heart',
'txt' => '+8 Strength',
'img' => 'INV_Misc_Gem_Ruby_01',
),
'27820' => array //alliance
(
'name' => 'Notched Deep Peridot',
'txt' => '+3 Stamina, +4 Spell Critical Strike Rating',
'img' => 'INV_Misc_Gem_DeepPeridot_03',
),
'2898' => array //horde corrected Subxero
(
'name' => 'Notched Deep Peridot',
'txt' => '+3 Stamina, +4 Spell Critical Strike Rating',
'img' => 'INV_Misc_Gem_DeepPeridot_03',
),
'2943' => array
(
'name' => 'Mighty Blood Garnet',
'txt' => '+14 Attack Power',
'img' => 'INV_Misc_Gem_Bloodstone_02',
),
'2997' => '+15 Critical Strike Rating and +20 Attack Power',
'3001' => '+35 Healing and 7 Mana Per 5 sec.',
Return to Gem Sockets and Enchants (Roster Tooltip Mod)
Users browsing this forum: No registered users and 0 guests