View Single Post
  #3  
Old 08-22-2014, 10:46 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

The 'client_update' signifies whether to send the client an 'update' packet.

Either way, the result is immediate server-side.


In this example: https://github.com/EQEmu/Server/comp...b663c1012bR328

..the PutItemInInventory() call is followed by a SendItemPacket() call...

Had I made it 'PutItemInInventory(free_slot, *inst, true);' I could have avoided the extra command.


You really have to know what you're doing when using dealing with inventory shuffling, or you could end up with major desync's


Hopefully, the new system will be a little more intuitive
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote