Quote:
Originally Posted by ChaosSlayerZ
umm but its wrong...
I mean on LIVE since day one the weight from stacked items was added up, didn't it?
|
Even if items did add up individual weight from each item in a stack on Live, they don't in our clients. And, since there is no way to update the weight of the client, there is no reason to bother debating it. Though, I am 99% sure that stacks never added weight individually for each item in a stack. I had 220+ in almost all tradeskills on Live, so I have dealt with my fair share of stacks :P
And yes, AndMetal, I remember that patch as well. It was awesome when they finally did that.
Not to get too far off-topic, but something I mentioned to AndMetal really points out just how much the client controls weight; Coin Purses. This is probably one of the oddest finds I have seen so far when dealing with items. Coin purses reduce weight of coin on a player by the amount that is shown on the weight reduction of the bag. But, the tricky thing about coin purses is how they work. At first I tried to copy some in the items table, but those didn't work at all. Then, I thought maybe they needed "Coin Purse" in the name, but that wasn't it either. Then, I tried moving the coin purses I had made into the same range with all other coin purses in the database, between 17201 and 17230 item ID, and that worked... Partially. It turns out that coin weight reducing items are hard coded on a per Item ID basis in the client! So, each item ID from 17201 and 17230 has a pre-defined coin weight reduction amount set on it in the client code. I mentioned this in the wiki here under the BagWR field note when I figured it out:
http://www.eqemulator.net/wiki/wikka...uDBSchemaitems
The reason I bring up coin purses is because if you are coding to handle weight as close as possible to match the client, we will need to hard set each of these item IDs to reduce coin weight by the correct amount. Many of these IDs already have coin purses set for them and you can find them all by doing a "#fi coin purse". Once you have the list, you just need to check the WR setting on each bag there, and we can have at least those particular ones handled properly. For the rest of them, we would need to create items using the rest of the IDs and then test to see how much coin weight each one reduces by.
Coin purses aren't used often, but they are pretty cool. This isn't a high priority or anything, but I figured it was worth mentioning somewhere so people would know!