Item Filters

Spoiler

"
Khisanth wrote:
"
Fruitified wrote:
"
Drumheller wrote:
<stuff>

# Drumheller's First Item Script

<stuff>
# Display all currency and maps, and set the text color to pink
Show
Class Map Currency
SetTextColor 255 0 255

<stuff>

# Play high volume sounds for high level currencies
Show
BaseType "Exalted Orb" "Eternal Orb" "Mirror of Kalandra"
Play AlertSound 7 100

Hide


You will want to move the sound alert above the pink map and currency check, and add the pink text color to it. In your code, if an "Exalted Orb" drops it will trigger as Class Currency, set it to pink color, and stop going through the rest of the code. So you'll never hear the custom sound alert.

Or maybe it's fine. I'm actually unclear on if it does stop on a matched case or not.


"
Khisanth wrote:

It won't stop on the first match.

"
The blocks are matched in the order they come in the file which means that you need to have the block that hides the scrolls above before the line that shows the currency because scrolls would also match the currency block.


IMO that quote makes it sound like the case statements will stop on a first match (which would make sense, since this is how coding usually works). In that example in the OP, wisdom scrolls are to be hidden, so they are dumped above the Show Currency block. If we are led to believe that the filter continues through the whole script after hiding the wisdom scrolls, then the Show Currency block will override the Hide Wisdom Scroll block, thus actually showing wisdom scrolls. Or we can just look at the Hide block at the end of the script, which would just hide everything.

Therefore, there is no way the filter continues through the script after matching a single case.
"
blinddagger95 wrote:
To include any items that can be vendored for a Chromatic would you need to show anything with 3+ linked sockets and pick through by eye, or is there another way?


SocketGroup
A group of linked sockets that contains the specified combination. For example, RRG will match any group that contains two red sockets linked with a green socket.
Glad this is not an April's Fools... I have asked for this feature forever, thank you!
Nice! <3
excited for act 4 and all the new features!
fabulous news but some of us are slightly inept at computer skills & running a script maybe beyond our capabilities.

A lot of these improvements should be just switched on automatically -as we all want exalts, 6L items, superior gems etc
IGN: Keewee
"
kareNZa wrote:
fabulous news but some of us are slightly inept at computer skills & running a script maybe beyond our capabilities.

A lot of these improvements should be just switched on automatically -as we all want exalts, 6L items, superior gems etc


Copy and paste is too much? Really? If you can type on this forum you can copy paste someones loot script. And no, i dont want anything automatically filtered out. How stupid is that?
First of all, you are awsome :)

I have 2 question.

1. Can we add beam of light to exalted(or something) like we have with unique?

2. If i want all currency purple and some purple with border i should use option a or b or both are good?
a)
Show
Class Currency
SetTextColor 255 0 255

Show
BaseType "Exalted Orb" "Eternal Orb" "Mirror of Kalandra"
SetTextColor 255 0 255
SetBorderColor 255 0 255

b)
Show
BaseType "Chaos Orb" "Alchemy Orb" "Portal Scrolls" ....
SetTextColor 255 0 255

Show
BaseType "Exalted Orb" "Eternal Orb" "Mirror of Kalandra"
SetTextColor 255 0 255
SetBorderColor 255 0 255
"
kareNZa wrote:
fabulous news but some of us are slightly inept at computer skills & running a script maybe beyond our capabilities.

A lot of these improvements should be just switched on automatically -as we all want exalts, 6L items, superior gems etc


You cannot copy and paste text into a file inside GGG's game directory?

Although, in the future GGG should implement an in-game gooie interface for this. That would be ideal, but would take a bit more time. Plus, I'm sure a program will spring up called 'Item Filter Designer!', or something.
"Good thing they nerfed the carto, it wasn't fun to find one in every map." - Haborym
Last edited by monkuar#2123 on Apr 3, 2015, 6:20:09 PM
"
monkuar wrote:
"
kareNZa wrote:
fabulous news but some of us are slightly inept at computer skills & running a script maybe beyond our capabilities.

A lot of these improvements should be just switched on automatically -as we all want exalts, 6L items, superior gems etc


You cannot copy and paste text into a file inside GGG's game directory?

Although, in the future GGG should implement an in-game gooie interface for this. That would be ideal, but would take a bit more time. Plus, I'm sure a program will spring up called 'Item Filter Designer!', or something.


GUI.
You expect me to act as something I'm not? I picked this name for a reason.

Report Forum Post

Report Account:

Report Type

Additional Info