View Full Version : Container.GetWeight()
hakujewas
07-08-2014, 02:11 PM
It method returns weight of backpack (like shift + left mouse button). It could help with selling items (take backpack from depo and sell it) and if we don't have $balance we can count amount of gold in backpack. It's very useful.
ppgab
07-08-2014, 03:33 PM
It method returns weight of backpack (like shift + left mouse button). It could help with selling items (take backpack from depo and sell it) and if we don't have $balance we can count amount of gold in backpack. It's very useful.
i think the only way to do this would be trough a Container:LookItem(slot) (which doesn't exist) function and then use a look message proxy
hakujewas
07-08-2014, 04:50 PM
It method returns weight of backpack (like shift + left mouse button). It could help with selling items (take backpack from depo and sell it) and if we don't have $balance we can count amount of gold in backpack. It's very useful.
This aproach would be simply and fast :).
Iterating through 20 bps of gold is to slow. But thans for reply!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.