Jump to content

Ashen

Members
  • Posts

    34
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Ashen

  1. ------------------------------------------------------------

    - Character Sheet -- (Stats Value)

    ------------------------------------------------------------

    I see that some characters have values such as:

    - "Power: 5790.40010528"

    - "Dodge: 7.30001264 %"

    - "Resilience: 1073.14000173"

    ------------------------------------------------------------

    - Replace -- (character-sheet.php)

    ------------------------------------------------------------

    Ceil() or Round( ... , 2) function.

    [ Line 248 ]

    - $xml->XMLWriter()->writeAttribute($sb_elem_name, $sb_elem_value);

    + $xml->XMLWriter()->writeAttribute($sb_elem_name, ceil($sb_elem_value));

    [ Line 261 ]

    - $xml->XMLWriter()->writeAttribute($stat_name, $stat_value);

    + $xml->XMLWriter()->writeAttribute($stat_name, ceil($stat_value));

    [ Line 285, 299, 346, 360 ]

    - $xml->XMLWriter()->writeAttribute($stat_name, $stat_value);

    + $xml->XMLWriter()->writeAttribute($stat_name, ceil($stat_value));

    [ Line 317 ]

    - $xml->XMLWriter()->writeAttribute('rating', $stat_value_tw);

    + $xml->XMLWriter()->writeAttribute('rating', ceil($stat_value_tw));

    [ Line 324 ]

    - $xml->XMLWriter()->writeAttribute($stat_name_tw, $stat_value_tw);

    + $xml->XMLWriter()->writeAttribute($stat_name_tw, ceil($stat_value_tw));

    [ Line 333 ]

    - $xml->XMLWriter()->writeAttribute(($stat_tw == 'bonusDamage') ? 'value' : 'percent', $stat_value_tw);

    + $xml->XMLWriter()->writeAttribute(($stat_tw == 'bonusDamage') ? 'value' : 'percent', ceil($stat_value_tw));

  2. ------------------------------------------------------------

    - Tabard Viewer -- (Guild Roster)

    ------------------------------------------------------------

    Replace in "_layout/guild/header.xsl":

    <xsl:with-param name="flashvars" select="concat('emblemstyle=', guildHeader/emblem/@emblemIconStyle, '&emblemcolor=', guildHeader/emblem/@emblemIconColor, '&embborderstyle=', guildHeader/emblem/@emblemBorderStyle, '&embbordercolor=', guildHeader/emblem/@emblemBorderColor, '&bgcolor=',guildHeader/emblem/@emblemBackground, '&faction=', guildHeader/@faction, '&imgdir=images/tabard_images/')"/>

    with:

    <xsl:with-param name="flashvars" select="concat('emblemstyle=', guildHeader/emblem/@emblemIconStyle, '&emblemcolor=', guildHeader/emblem/@emblemIconColor, '&embborderstyle=', guildHeader/emblem/@emblemBorderStyle, '&embbordercolor=', guildHeader/emblem/@emblemBorderColor, '&bgcolor=',guildHeader/emblem/@emblemBackground, '&faction=', guildHeader/@faction)"/>

    ------------------------------------------------------------

    - Download file -- (emblem_images.zip)

    ------------------------------------------------------------

    Download and replace in "images" folder ----> Tabard_Emblem_335

    PS: Shadez can you upload this file on git? Thank you.

  3. For more compatibility with emulators/databases replace in "public function createShaHash()" (class.utils.php)

    - return $this->shaHash;

    + return strtoupper($this->shaHash);

    }

    and in "public function authUser()"

    - elseif($info['sha_pass_hash'] != $this->createShaHash()) {

    + elseif(strtoupper($info['sha_pass_hash']) != $this->createShaHash()) {

    -------------------

    "calendar": possible css bug.

    If it will happen modify "calendar/css/master.css" and replace default value (background:url('/../../) with: background:url('../../

  4. Known bugs:

    - Armory is not working with Internet Explorer

    Error in 'View XSL Transform': Error while parsing "...". Only one top level element is allowed in an XML document.

    HTTP_ACCEPT_LANGUAGE in class.connector.php is deprecated and case 7 errors.

    Remove it and replace with "en", "ru" or other.

    Also

    $user_locale = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2));

    if($user_locale && $http_locale = self::IsAllowedLocale($user_locale)) {

    $this->_locale = (isset($_SESSION['armoryLocale'])) ? $_SESSION['armoryLocale'] : $http_locale;

    }

    else {

    $this->_locale = (isset($_SESSION['armoryLocale'])) ? $_SESSION['armoryLocale'] : $this->armoryconfig['defaultLocale'];

    }

    This code results useless because of code in next line

    $this->_locale = (isset($_SESSION['armoryLocale'])) ? $_SESSION['armoryLocale'] : $this->armoryconfig['defaultLocale'];
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use