Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2014, 07:27 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default '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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #2  
Old 08-27-2014, 02:23 AM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

Isn't this how live works? I've never paid attention to whether bags go first or not.
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote
  #3  
Old 08-27-2014, 07:29 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #4  
Old 09-03-2014, 06:01 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Update to your change: http://www.peqtgc.com/phpBB3/viewtopic.php?f=17&t=15050
Reply With Quote
  #5  
Old 09-03-2014, 07:47 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #6  
Old 09-03-2014, 09:50 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

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.
Reply With Quote
  #7  
Old 09-03-2014, 11:54 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

So, I just need to change it to a 2-pass solution?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #8  
Old 09-06-2014, 12:39 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:15 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3