/**
* gem search part of per page update
*
*/
function _ppGemFetchAndCompare( $subStep = false ) {
$compareGem = $subStep['compareGems'][0];
$slot = $subStep['slot'];
$gemSlot = $subStep['gemSlot'];
$ret = $this->_getGemInfo($compareGem);
if ( $ret ) {
array_shift($this->ppUpdate['jobs'][0]['subjobs'][0]['compareGems']);
$gem = $this->data['Equipment'][$slot]['Gem'][$gemSlot];
$compareRet = $this->_compareGemInfo($slot, $gemSlot, $gem);
if ( $compareRet ) {
$this->ppUpdate['jobs'][0]['subjobs'][0]['compareGems'] = array();
$this->ppUpdate['jobs'][0]['subjobs'][0]['gemTooltip'] = array( 'type' => 'gemTooltip', 'slot' => $subStep['slot'], 'gemSlot' => $subStep['gemSlot'], 'retry' => 0 );
}
} elseif( $subStep['compareGems'][0]['retry'] < $this->retrys ) {
$this->_debug( 0, false, "Char: ". $this->memberName. " Step: ItemInfo Slot: ". $subStep['slot']. " GemSlot: ". $gemSlot. " GemInfo: ". $compareGem->name. " - Failed", "Retry: ". $this->ppUpdate['jobs'][0]['subjobs'][0]['compareGem'][0]['retry']);
$this->ppUpdate['jobs'][0]['subjobs'][0]['compareGems'][0]['retry']++;
} else {
array_shift($this->ppUpdate['jobs'][0]['subjobs'][0]['compareGems']);
$this->_debug( 0, false, "Char: ". $this->memberName. " Step: ItemInfo Slot: ". $subStep['slot']. " GemSlot: ". $gemSlot. " GemInfo: ". $compareGem->name. " - Failed", "I give up");
}
}
} elseif( $subStep['compareGems'][0]['retry'] < $this->retrys ) {
Return to ArmorySync - Depreciated
Users browsing this forum: No registered users and 1 guest