Pugro wrote:Worked perfectly for me too :-) With the timeout, I've posted a modified version that does on char at a time, I'll update it with this change when I get a chance if you want?
Would like to see that Pugro
Pugro wrote:Worked perfectly for me too :-) With the timeout, I've posted a modified version that does on char at a time, I'll update it with this change when I get a chance if you want?
if ((ereg('^'.$wordings[$client_lang]['tooltip_increases'], $line)) and ( hasNumeric($line)==FALSE)){setBonus( '', $line, $item_name,$item_color);
Darkmages wrote:Try this:
Open functions.parsing.php
Find:
- Code: Select all
if (!empty($content)) {
$armoryItem = $xml_parser->parse($content);
$item["Color"] = getItemColor($armoryItem->itemTooltip->overallQualityId->_CDATA);
$item["Name"] = $armoryItem->itemTooltip->name->_CDATA;
}
Change to:
- Code: Select all
if (!empty($content)) {
$armoryItem = $xml_parser->parse($content);
$item["Color"] = getItemColor($armoryItem->itemTooltips->itemTooltip->overallQualityId->_CDATA);
$item["Name"] = $armoryItem->itemTooltips->itemTooltip->name->_CDATA;
}
Find:
- Code: Select all
if (!empty($content)) {
$item["Tooltip"] = trim(str_replace("\n\n", "\n", str_replace("<br />", "\n", strip_tags(nl2br($content), "<br>"))));
}
Change to:
- Code: Select all
if (!empty($content)) {
$item["Tooltip"] = trim(str_replace("\n\n", "\n", str_replace("<br />", "\n", strip_tags(nl2br($content)))));
}
This worked for me
Wyren wrote:Darkmages wrote:Try this:
Open functions.parsing.php
Find:
- Code: Select all
if (!empty($content)) {
$armoryItem = $xml_parser->parse($content);
$item["Color"] = getItemColor($armoryItem->itemTooltip->overallQualityId->_CDATA);
$item["Name"] = $armoryItem->itemTooltip->name->_CDATA;
}
Change to:
- Code: Select all
if (!empty($content)) {
$armoryItem = $xml_parser->parse($content);
$item["Color"] = getItemColor($armoryItem->itemTooltips->itemTooltip->overallQualityId->_CDATA);
$item["Name"] = $armoryItem->itemTooltips->itemTooltip->name->_CDATA;
}
Find:
- Code: Select all
if (!empty($content)) {
$item["Tooltip"] = trim(str_replace("\n\n", "\n", str_replace("<br />", "\n", strip_tags(nl2br($content), "<br>"))));
}
Change to:
- Code: Select all
if (!empty($content)) {
$item["Tooltip"] = trim(str_replace("\n\n", "\n", str_replace("<br />", "\n", strip_tags(nl2br($content)))));
}
This worked for me
This worked for me, excellent job!
Now, all I have issues with now is that some of the text isn't placed correctly, like an item has "Bind on pickupUniqueHeadCloth" displayed like that, instead of spaced out properly.
Return to ArmorySync - Depreciated
Users browsing this forum: No registered users and 1 guest