Log in

View Full Version : Code used when a bag is opened?


moydock
06-23-2008, 05:30 PM
Does anyone know where this is handled in the emu code? It seems to be hiding from me.

AndMetal
06-27-2008, 01:33 AM
Seeing as how slots inside a bag are just other item slots (251 through 260 according to the Wiki (http://www.eqemulator.net/wiki/wikka.php?wakka=DevInventorySlots)), I assume this is done client side, just like the bank (it is moving items from 1 slot to another).

Is there something in particular you're trying to do with it?

trevius
06-27-2008, 03:11 AM
Well, I imagine that there has to be code in the source for when a tradeskill object (like a forge) is opened and closed, so maybe there is something for bags as well. Not to derail this post, but I would love to see code in for when a forge (or aug pool, etc) is closed with no drop items in it that it will return the items like it does on live.