Identified recast timer field in Ti item packet header

This commit is contained in:
Uleat 2014-10-04 23:38:20 -04:00
parent e753685ceb
commit 806a9fbb99
2 changed files with 2 additions and 1 deletions

View File

@ -1234,6 +1234,7 @@ namespace Client62
int i;
uint32 sub_length;
// not sure if 6.2 has a recast timer timestamp field..but, something seems amiss between this and Ti's ordering
MakeAnyLenString(&instance,
"%i|%i|%i|%i|%i|%i|%i|%i|%i|%i|",
stackable ? charges : 1,

View File

@ -1675,7 +1675,7 @@ namespace Titanium
0,
//merchant_slot, //instance ID, bullshit for now
(merchant_slot == 0) ? inst->GetSerialNumber() : merchant_slot,
0,
0, // item recast timer timestamp field (aka..last_cast_time field in SoF+ clients)
(stackable ? ((inst->GetItem()->ItemType == ItemTypePotion) ? 1 : 0) : charges),
inst->IsInstNoDrop() ? 1 : 0,
0