Bug #1190
SerialNumber Datatype Returns NULL
Added by bjcasey over 9 years ago.
Updated over 9 years ago.
Category:
Broken Feature(s)
Description
The SerialNumber datatype is returning NULL. This prevents me from placing items on the broker.
Example:
echo ${Me.Vending[6].Consignment[${Me.Inventory[id,1468564]}].SerialNumber}
- Status changed from New to In Progress
- Priority changed from High to Normal
I couldn't reproduce a NULL .SerialNumber; however, I could see where AddToConsignment was not working consistently.
You were correct that the .SerialNumber was working correctly. I was misunderstanding it's purpose.
In IRC you asked me to make a feature request because you wanted to do some work on AddToConsignment.
I found the reason why sometimes a character would add an item correctly and others it wouldn't. A couple of EQ2 patches ago (September 16) SOE added the ability to use the broker from anywhere in the world if you were gold.
"All Access Members can now access the Broker almost anywhere. In the EQII menu, select the “Broker” option, or use the /start_broker_anywhere command."
While I can interact with the broker if I use the EQ2 command, I can't add items to it via ISXEQ2. Clicking on a broker NPC still works correctly.
How to Reproduce
- EQ2EXECUTE start_broker_anywhere (This will bring up the broker window)
- Me.CustomInventory[id,${Inventory_Current_Item_ID}]:AddToConsignment (Any item ID from your inventory)
- Status changed from In Progress to Feedback Required
I just put up a test version for you at http://updates.isxgames.com/isxeq2/test Can you try it out and then let me know here if it fixes the issue?
This test version does not check before issuing the command when doing AddToConsignment. So, make sure that you're in a situation that you CAN add to consignment before trying it. Once I know that this version works for the "broker anywhere" situation, then I'll do more investigation and try to put some more checks in so that you can't accidentally try to add items when there isn't an interface for it.
The test version worked well. Everything was placed to the broker correctly.
I do have a question about my use of the serialnumber to check if the same item exists already in the broker box.
Right now I'm using AddToConsignment[Qty#, Vendor#, StackWithSerial#] and if the item doesn't exist yet on my broker, StackWithSerial# will return NULL (which it should). Currently, I am adding it anyway using the above method, but should I be checking if it exists first and if not use AddToConsignment[Qty#, Vendor#] instead? Or does it not matter?
- Status changed from Feedback Required to Resolved
Also available in: Atom
PDF