underbent / slashdiablo-maphack

A customized maphack for the slashdiablo D2 server
49 stars 89 forks source link

Magic Devil Stars and Greater Talons can't be hidden, even after explicitly adding a rule for them. #2

Closed ghost closed 10 years ago

ghost commented 11 years ago

Hi there underbent,

Here is the maximum I got away with and Devil Stars + Greater Talon still showing up. (only showing the part of bh.cfg that is diff from the original.)

//Item Display Configuration Advanced Item Display: True, None ItemDisplay[7mf]: ItemDisplay[9hw]: ItemDisplay[NORM MAG]: ItemDisplay[EXC MAG]: ItemDisplay[ELT MAG]: Screenshot008

Note:

The only rule I found that worked was:

ItemDisplay[MAG]:

e.g. hiding all magic stuff.

I write you a PM on reddit with account info to a mule, with the two items from the screenshots. If you need anything else, please feel free to contact me here or on reddit (randmaniac is my reddit acc name).

Best wishes,

randmaniac

P.S.: Thanks for the great work, especially the itemRules and the awesome shortcuts for moving/dropping stuff between stash and inventory.

underbent commented 11 years ago

It turns out that this is a problem with the item codes we've been using from http://bhfiles.com/files/Diablo%20II/ItemCodes.html. Devil star is actually 7mt, and greater talons are actually 9tw. I had noticed one example of this before (gnarled staff is actually cst), but apparently the problem is more widespread than that.

For every incorrect item code, I can fix BH to use the right value; the problem is identifying all the bad ones. To help troubleshoot this, I've added a %CODE% action, so that you can print out the real value of the item code for any item, for example by doing this:

ItemDisplay[]: %NAME% { %CODE% }

You can get a new build of BH that does this from bitly, it's labeled "BH alpha". Feel like helping to identify which item codes are incorrect? :)

WoutLamers commented 11 years ago

I found 7tw for Runic Talons

WoutLamers commented 11 years ago

Hellspawn Skull is neg

underbent commented 10 years ago

FYI, version 0.1.5 fixes these issues. The item code list from bhfiles.com contains a few incorrect codes; a fully correct list can be found here: https://github.com/dkuwahara/OmegaBot/blob/master/data/item_data.txt.