Loading...

Solved Help for cfg

Discussion in 'Help Desk' started by Zdravko, Jul 1, 2018.

  1. Zdravko

    Zdravko Senior Member

    Joined:
    Jun 14, 2016
    Messages:
    146
    Likes Received:
    36
    Trophy Points:
    28
    I want to add some items on my hidden items :
    Rares and Magic : All (normals , exeptionals and elites) barb and dru helms , ama javelins (normals , exeptionals and elites)
    Magic : Monarch and Colossus Blade

    Base : greater talons

    For the one who helps me first i will pay 1 Ber rune , Thanks
     
    Last edited: Jul 1, 2018
  2. nycter

    nycter Senior Member

    Joined:
    Dec 20, 2016
    Messages:
    565
    Likes Received:
    245
    Trophy Points:
    43

    If u mean that u want to see them, use code below, if hide them, change code to -1, -2 for all of them

    //RARE
    Item Colours[1093-1097][Rare]: -1, 0xa8 //druidpelts
    Item Colours[1183-1187][Rare]: -1, 0xa8
    Item Colours[1163-1167][Rare]: -1, 0xa8
    Item Colours[1098-1102][Rare]: -1, 0xa8 //barbhelms
    Item Colours[1168-1172][Rare]: -1, 0xa8
    Item Colours[1188-1192][Rare]: -1, 0xa8
    Item Colours[286][Rare]: -1, 0xa8 //amajavs
    Item Colours[296][Rare]: -1, 0xa8
    Item Colours[306][Rare]: -1, 0xa8

    //MAGIC
    Item Colours[1093-1097][Magic]: -1, 0x97 //druidpelts
    Item Colours[1183-1187][Magic]: -1, 0x97
    Item Colours[1163-1167][Magic]: -1, 0x97
    Item Colours[1098-1102][Magic]: -1, 0x97 //barbhelms
    Item Colours[1168-1172][Magic]: -1, 0x97
    Item Colours[1188-1192][Magic]: -1, 0x97
    Item Colours[286][Magic]: -1, 0x97 //amajavs
    Item Colours[296][Magic]: -1, 0x97
    Item Colours[306][Magic]: -1, 0x97
    Item Colours[1142][Magic]: -1, 0x97 //jmod
    Item Colours[235][Magic]: -1, 0x97 //colosus blade

    //BASE
    Item Colours[188][1,2,3]: 0, 0x20 //greater talons
     
    Gix likes this.
  3. Zdravko

    Zdravko Senior Member

    Joined:
    Jun 14, 2016
    Messages:
    146
    Likes Received:
    36
    Trophy Points:
    28
    y i want to see them , i will see is it working and i will pm you for the ber thanks
     
  4. nycter

    nycter Senior Member

    Joined:
    Dec 20, 2016
    Messages:
    565
    Likes Received:
    245
    Trophy Points:
    43

    should work, copy-pasted from my cfg
     
  5. RandAlThor

    RandAlThor Senior Member

    Joined:
    Apr 18, 2018
    Messages:
    114
    Likes Received:
    202
    Trophy Points:
    43
    @Zdravko Just to be clear: the -1 you applied will use the default color code for items. The 0xa8 or 0x97 defines the color indicator that will appear on the map.
    If you want to specify the colors you will see for each item type, use the below color guides:

    -1: Default: -1
    0: White: 0 (Normal Items)
    1: Red (Eth Items)
    2: Bright Green (Set Items)
    3: Blue (Magic Items)
    4: Dark Gold (Uniques)
    5: Grey (Socket Items)
    6: Black (Unused)
    7: Bright Gold (Uniques Alternate)
    8: Orange (Runes)
    9: Yellow (Rares)
    10: Dark Green (Gems)
    11: Purple (Charms and Jewels)
    12: Dark Green 2 (Gems)

    0x6f: Yellow
    0x9b: Purple
    0x84: Bright Green
    0x97: Light Blue
    0x5b: Light Red
    0x62: Red 1
    0x09: Brown
    0x20: White
    0x9b: Bright Purple
    0x68: Orange
    0x66: Pink 1
    0x5b: Pink 2
    0x62: Red 2
    0xcb: Aqua
    0x7f: Dark Green
    0x6f: Light Yellow
    0x08: Dark Red
    0x55: Pink 3
    0x77: Dark Green 2
    -2: Hidden (No Indicator)

    Example: Item Colours[cm3]: 8, 0x62 <---This would have all grand charms appear orange in name, but red on map.
     
    Last edited: Jul 1, 2018
  6. Zdravko

    Zdravko Senior Member

    Joined:
    Jun 14, 2016
    Messages:
    146
    Likes Received:
    36
    Trophy Points:
    28
    to ask you how i can remove magic dusk shroud code is 1124
    i am writing Item Colours[1124][Magic]:-1,-2 but still showing
     
  7. RandAlThor

    RandAlThor Senior Member

    Joined:
    Apr 18, 2018
    Messages:
    114
    Likes Received:
    202
    Trophy Points:
    43
    That is the correct code to hide magic dusk shrouds completely. If they are still showing, it means you have a duplicate listing somewhere else in the cfg file for that item...or possibly you may have not reloaded the cfg since the last change.

    If you dont see another listing for 1124 or uui(dusk shroud). Look for something in the config like this: Item Colours[1093-1144]. It might be included in a range of other items that got grouped together.
     
  8. Zdravko

    Zdravko Senior Member

    Joined:
    Jun 14, 2016
    Messages:
    146
    Likes Received:
    36
    Trophy Points:
    28
    Item Colours[1124,1125,1127,1131][3][1][1,4,5]: 8,0x60,0x60,0x60 //Dusk Shroud, Wyrmhide, Wire-Fleece, Great-Hauberk
    is it because of this ?
     
  9. nycter

    nycter Senior Member

    Joined:
    Dec 20, 2016
    Messages:
    565
    Likes Received:
    245
    Trophy Points:
    43

    remember to save and reload cfg after every change
     
  10. Zdravko

    Zdravko Senior Member

    Joined:
    Jun 14, 2016
    Messages:
    146
    Likes Received:
    36
    Trophy Points:
    28
    yes i am saving and realoding every time thanks :)
     
  11. RandAlThor

    RandAlThor Senior Member

    Joined:
    Apr 18, 2018
    Messages:
    114
    Likes Received:
    202
    Trophy Points:
    43
    Yes, not only is that a badly coded line(it has 3 repeating map color indicators that arent needed for example), but because it sees 2 options for that item, it will always choose the topmost one. Delete that line, opr at the very least remove the 1124 dusk shroud from it.
     
  12. nycter

    nycter Senior Member

    Joined:
    Dec 20, 2016
    Messages:
    565
    Likes Received:
    245
    Trophy Points:
    43

    Item Colours[1124,1125,1127,1131][3][1][1,4,5]: 8,0x60,0x60,0x60 //Dusk Shroud, Wyrmhide, Wire-Fleece, Great-Hauberk
    shoud be
    Item Colours[1124,1125,1127,1131][3][1][1,4,5]: 8,0x60 //Dusk Shroud, Wyrmhide, Wire-Fleece, Great-Hauberk
    but i cant see any conflict between this and Item Colours[1124][Magic]:-1,-2
    it should work fine
    --- Double Post Merged, Jul 1, 2018, Original Post Date: Jul 1, 2018 ---
    thats not true,
    Item Colours[1124,1125,1127,1131][3][1][1,4,5]: 8,0x60 matches only superior
    while Item Colours[1124][Magic]:-1,-2 matches only magic, those are not in conflict and can be used together
     
    RandAlThor likes this.
  13. RandAlThor

    RandAlThor Senior Member

    Joined:
    Apr 18, 2018
    Messages:
    114
    Likes Received:
    202
    Trophy Points:
    43
    You cant have 2 configs for the same quality item of the same type. It will always choose the first option if that's the case. You can however have separate colors for different qualities of the same item

    EDIT: Thank you, you are correct, I didn't read it carefully enough after seeing the Dusk Shroud listing. Didn't notice it wasnt using magic as filter.
     
    nycter likes this.
  14. nycter

    nycter Senior Member

    Joined:
    Dec 20, 2016
    Messages:
    565
    Likes Received:
    245
    Trophy Points:
    43

    in that post i told him that he should rewrite Item Colours[1124,1125,1127,1131][3][1][1,4,5]: 8,0x60,0x60,0x60 //Dusk Shroud, Wyrmhide, Wire-Fleece, Great-Hauberk to Item Colours[1124,1125,1127,1131][3][1][1,4,5]: 8,0x60 //Dusk Shroud, Wyrmhide, Wire-Fleece, Great-Hauberk, no to use them both, anyway its not in conflict with Item Colours[1124][Magic]:-1,-2 as its different quality
     
  15. Zdravko

    Zdravko Senior Member

    Joined:
    Jun 14, 2016
    Messages:
    146
    Likes Received:
    36
    Trophy Points:
    28
    Only one thing need to know how to remove junks unique UniqueItemInfo[21]={//М№-¶Е-Ап-ёВЅ«ѕь The General's Tan Do Li Ga Б¬јПFlail
    Item Colours[21][Unique]:-1,-2 ? is this will work ?
     
  16. RandAlThor

    RandAlThor Senior Member

    Joined:
    Apr 18, 2018
    Messages:
    114
    Likes Received:
    202
    Trophy Points:
    43
    I would Just use -2 instead of -1,-2 for items like this. It will not give it a color for name and be hidden. Then if you want to see it, pressing your show hidden hotkey quickly will show it in original color.
    Also flail is item code 22 or fla....not 21

    Item Colours[22][Unique]: -2
     
  17. nycter

    nycter Senior Member

    Joined:
    Dec 20, 2016
    Messages:
    565
    Likes Received:
    245
    Trophy Points:
    43

    Item Colours[21][Unique]:-1,-2 will hide Unique Morning Star
    I think in your case would be better to hide everything and list just items you want to see, you cfg will become much shorter :D
     
  18. RandAlThor

    RandAlThor Senior Member

    Joined:
    Apr 18, 2018
    Messages:
    114
    Likes Received:
    202
    Trophy Points:
    43
    Here are small snippets I use that might help you hide a lot of junk easily:

    ItemColours[0-29,31-64,69-88,94-157,162-186,191-192,197-200,202-209,211-220,222-225,227-233,237-253,265-271,273-276,282-286,292-295,304-306][1-5]: -2

    ItemColours[1001-1026,1028-131,1044-1050,1052-1054,1056-1067,1069-1079,1090,1092-1102,1108-1112,1118-1120,1133-1134,1136,1139-1141,1143-1144,1161-1162][1-5]: -2

    Item Colours[1-39,41-80,94-121,123-172][7]: -2
     
    Last edited: Jul 1, 2018
    nycter likes this.
  • Draft saved Draft deleted
    Loading...
    Loading...