EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   'Smart' Trade Transfers (https://www.eqemulator.org/forums/showthread.php?t=38675)

Uleat 08-26-2014 07:27 PM

'Smart' Trade Transfers
 
Trade transfers are now a little more intelligent on how items are placed into the inventory.


Items are parsed in this order:

- All bags are transferred first

- Any stackable items are moved to fill up existing stacks..including to those in the aforementioned bags

- All remaining items


QueryServ logging properly indicates the number of items in the 'Event Entry' table and charge movements are recorded in the
'Event Details' table.

Note: There may detail entries that show a movement from one trade slot to another on the same character. This indicates a
'stack biasing' used to eliminate partial stack overwrites when the remaining items are processed.


Please post any discrepancies as bugs.

Drajor 08-27-2014 02:23 AM

Isn't this how live works? I've never paid attention to whether bags go first or not.

Uleat 08-27-2014 07:29 PM

Yes..but, it's not how the Emu worked..until now :)

Not 100% sure on the bags..but, this will to keep from losing bag items when mutiple bags are sent to the cursor.

joligario 09-03-2014 06:01 AM

Update to your change: http://www.peqtgc.com/phpBB3/viewtopic.php?f=17&t=15050

Uleat 09-03-2014 07:47 PM

That's an intentional action.

It's an attempt to avoid having trade items..especially loaded bags..going to the cursor buffer and losing them.


I didn't have a model to go by, other than items should stack when traded, so I took the liberty..if it needs to be tweaked, I can do that.

joligario 09-03-2014 09:50 PM

If there is a partial stack, it should first fill that. If not (or after the partial stack is full) it (or the remainder) should go in the first main slot available. If no main slots available, then the next available bag slot.

Uleat 09-03-2014 11:54 PM

So, I just need to change it to a 2-pass solution?

Uleat 09-06-2014 12:39 PM

Stacking and final pass item transfers will now return all available main slots before iterating into the sub-slot range.

Let me know if this still needs tweaking :)


All times are GMT -4. The time now is 11:22 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.