Results 1 to 3 of 3
  1. #1
    Member JarJarD3's Avatar
    Reputation
    9
    Join Date
    Oct 2017
    Posts
    55
    Thanks G/R
    6/7
    CoreCoins
    126
    Trade Feedback
    0 (0%)

    ItemsPlugin customization

    Hi

    I want to show all gems to pick them up.
    I changed ItemsPlugin to shem them as other utility items, simple enough:
    Code:
    if (item.SnoItem.HasGroupCode("uber") || item.SnoItem.HasGroupCode("riftkeystone") || item.SnoItem.HasGroupCode("gems"))
    {
        UtilityDecorator.Paint(layer, item, item.FloorCoordinate, GetItemName(item));
    }
    Imgur: The magic of the Internet

    Is it possible to have this customized in PluginEnablerOrDisablerPlugin so that do not have to do it again and again.
    OFC it is easy to create my own plugin for this but it is just waste of CPU cycles as work would be done twice.

    As a mobile game programmer myself it hurts to see code like this where a collection is hit twice in a loop when one query would be enough.
    Code:
    foreach (var item in items)
    {
        var inSet = Hud.Game.Me.ArmorySets.Any(set => set.ContainsItem(item));
        if (inSet)
        {
            InArmorySetDecorator.Paint(layer, item, item.FloorCoordinate, Hud.Game.Me.ArmorySets.First(set => set.ContainsItem(item)).Name);
            continue;
        }
        ...
    And I don't get the idea for InArmorySetDecorator at all.
    If you drop the very same item you had equipped when an armory set was saved, it is shown in the ground with large red circle and cross.
    But if you drop similar item it is not highlighted at all.
    So only use for this seems to me is that you do not accidentally drop your items to the floor
    But you can salvage them without any warnings still.

  2. #2
    Contributor CoreCoins User User5981's Avatar
    Reputation
    96
    Join Date
    Aug 2017
    Posts
    204
    Thanks G/R
    17/93
    CoreCoins
    888
    Trade Feedback
    0 (0%)
    Looks like I'm back

  3. #3
    Member JarJarD3's Avatar
    Reputation
    9
    Join Date
    Oct 2017
    Posts
    55
    Thanks G/R
    6/7
    CoreCoins
    126
    Trade Feedback
    0 (0%)
    Quote Originally Posted by User5981 View Post
    Seem interesting, have to give it a try!
    I must admit that I have not browsed other players plugins thoroughly - more interested in creating my own ones

 

 

Similar Threads

  1. mmowned special: custom item names
    By Relz in forum World of Warcraft Guides
    Replies: 58
    Last Post: 09-28-2006, 12:51 AM
  2. CUSTOM RACE TO RACE model conversion now avaible, request here!
    By bloodofwar in forum World of Warcraft Model Editing
    Replies: 13
    Last Post: 08-22-2006, 05:20 PM
  3. Custom RACE to RACE conversion now avable! request here!
    By bloodofwar in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-20-2006, 10:17 PM
  4. Custom Computer Build (opinions/comments?)
    By Matt in forum Community Chat
    Replies: 11
    Last Post: 07-23-2006, 01:57 PM
  5. New Custom Model Swapping Fix (1.11 Working)
    By Matt in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 06-23-2006, 07:05 PM
All times are GMT -5. The time now is 05:26 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search