vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - WoW Character BBCode (https://vborg.vbsupport.ru/showthread.php?t=169389)

Caerydd 02-05-2008 04:58 AM

vur nice :) again, thanks for all you hard work

CremeEgg 02-06-2008 04:44 PM

The tooltips say "Heath" ;)

EDIT: Fixed it to Health for you.

sweede 02-06-2008 06:57 PM

Thanks :) , with my next release of this i'm going to change all of the hard-coded text to phrases along with options to select what stats to show in the mouseover.

CremeEgg 02-07-2008 01:23 PM

Quote:

Originally Posted by sweede (Post 1437601)
Thanks :) , with my next release of this i'm going to change all of the hard-coded text to phrases along with options to select what stats to show in the mouseover.

That would be ace, as a Ret Paladin I can't see any Dmg stats on mine atm.

Caerydd 02-07-2008 05:46 PM

Confirmed as working on 3.6.8 RL2 in Firefox for Mac :)

sweede 02-07-2008 06:58 PM

Right now im working on making the stats display customizable through the options interface.

For some of the classes that have different types of stats (i.e. paladins , druids and to some extent warriors) , you will be able to choose whats shown based on spec. for example, feral druids dont really care about +healing stats, spirit, etc and resto are vise-versa.

You will have defaults, such as str, agi, stam, int and spirit. Whats actually displayed is based on class. Some classes such as a mage, you wont see str, agi or armor. Other classes like a rogue, you wont see int, spirit. Classes such as a druid, you will see all of the stats.

The other customizable options will be similar to the stat dropdown in the character frame.
Spell, Defenses, Ranged, and Melee

Caerydd 02-07-2008 08:00 PM

Sounds fantastic :)

Caerydd 02-10-2008 08:01 PM

Updates working great!


Is it possible to add in the various critical strike ratings and things?

Also, suggest chaning 'mana regen while casting' to 'MP5' as most casters should know the difference :)

EDIT:

Okay, for non 'default' server character, am getting this error after upgrading to 4

Code:

Warning: Invalid argument supplied foreach() in includes/functions_wowcharbbcode.php on line 180
It pulls the character level, race, spec and class, but nothing else. The character is an inactive, lowish level character - so obviously there is no data to pull, and for most characters this won't be an issue ;)

[char=Steamwheedle Cartel]Qialynna[/char]

sweede 02-10-2008 08:29 PM

Quote:

Originally Posted by Caerydd (Post 1440340)
Updates working great!


Is it possible to add in the various critical strike ratings and things?

Also, suggest chaning 'mana regen while casting' to 'MP5' as most casters should know the difference :)

EDIT:

Okay, for non 'default' server character, am getting this error after upgrading to 4

Code:

Warning: Invalid argument supplied foreach() in includes/functions_wowcharbbcode.php on line 180
It pulls the character level, race, spec and class, but nothing else. The character is an inactive, lowish level character - so obviously there is no data to pull, and for most characters this won't be an issue ;)

[char=Steamwheedle Cartel]Qialynna[/char]

you shouldnt have a file named functions_wowcharbbcode.php. Remove that file and use the file in the zip file instead.

There could also be a "Stale" plugin thats causing the problem.

In the admin CP, go to maintenance -> Execute SQL query ( you must be listed as the superadmin in the config.php file), and enter the following in the manual query

select title from PREFIXplugin WHERE phpcode like "%wowcharbbcode%"

Change Prefix to whatever your table prefix in the config.php file is set to (if it's vbb_ , the sql query would look like select title from vbb_plugin WHERE phpcode like "%wowcharbbcode%")

Note any plugins that are listed (if any), and go back to the Plugin & Products -> Plugin manager and look for the title of that plugin and delete it.


The only plugins you should have listed are:
WoW Char BBCode
WoW Char BBCode Help
WoW Char Code Ajax code
WoW Char Code Language Phrase Cache
WoW Char Code Startup
WoW Char Code Template Cache
WoW Char Code Template Group


Also, make sure that you do not have an old product name (i think it was wowchartest ?)

sweede 02-10-2008 08:51 PM

Quote:

Originally Posted by Caerydd (Post 1440340)
Is it possible to add in the various critical strike ratings and things?

I had this huge thing typed out on how to add custom data from the armory site ready to go and i was almost done with it and then i realized that i can do it in a much better way.

I'll have to re-write some things first.

I can use any data from an armory page (view source and its all XML)
as an example
HTML Code:

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/layout/character-sheet.xsl"?><page globalSearch="1" lang="en_us" requestUrl="/character-sheet.xml">
  <characterInfo>
    <character battleGroup="Nightfall" charUrl="r=Alterac+Mountains&amp;n=Azrael" class="Rogue" classId="4" faction="Horde" factionId="1" gender="Male" genderId="0" guildName="Syndicate of Shadows" guildUrl="r=Alterac+Mountains&amp;n=Syndicate+of+Shadows&amp;p=1" lastModified="February 5, 2008" level="65" name="Azrael" prefix="" race="Undead" raceId="5" realm="Alterac Mountains" suffix=""/>
    <characterTab>
      <talentSpec treeOne="15" treeThree="0" treeTwo="41"/>
      <buffs/>
      <debuffs/>
      <pvp>
        <lifetimehonorablekills value="1554"/>
        <arenacurrency value="0"/>
      </pvp>
      <professions>
        <skill key="engineering" max="300" name="Engineering" value="244"/>
        <skill key="mining" max="300" name="Mining" value="226"/>
      </professions>
      <title value=""/>
      <knownTitles/>
      <characterBars>
        <health effective="5939"/>
        <secondBar casting="-1" effective="100" notCasting="-1" type="e"/>
      </characterBars>
      <baseStats>
        <strength attack="103" base="86" block="-1" effective="113"/>
        <agility armor="676" attack="328" base="141" critHitPercent="9.37" effective="338"/>
        <stamina base="83" effective="363" health="3450" petBonus="-1"/>
        <intellect base="35" critHitPercent="-1.00" effective="35" mana="-1" petBonus="-1"/>
        <spirit base="59" effective="68" healthRegen="23" manaRegen="-1"/>
        <armor base="2018" effective="2018" percent="19.71" petBonus="-1"/>
      </baseStats>
      <resistances>
        <arcane petBonus="-1" value="0"/>
        <fire petBonus="-1" value="0"/>
        <frost petBonus="-1" value="0"/>
        <holy petBonus="-1" value="0"/>
        <nature petBonus="-1" value="0"/>
        <shadow petBonus="-1" value="10"/>
      </resistances>
      <melee>
        <mainHandDamage dps="117.2" max="347" min="263" percent="0" speed="2.60"/>
        <offHandDamage dps="91.8" max="137" min="102" percent="0" speed="1.30"/>
        <mainHandSpeed hastePercent="0.00" hasteRating="0" value="2.60"/>
        <offHandSpeed hastePercent="0.00" hasteRating="0" value="1.30"/>
        <power base="561" effective="901" increasedDps="64.0"/>
        <hitRating increasedHitPercent="2.78" value="34"/>
        <critChance percent="18.73" plusPercent="4.44" rating="76"/>
        <expertise additional="0" percent="2.50" rating="0" value="10"/>
      </melee>
      <ranged>
        <weaponSkill rating="0" value="281"/>
        <damage dps="100.6" max="197" min="146" percent="0" speed="1.70"/>
        <speed hastePercent="0.00" hasteRating="0" value="1.70"/>
        <power base="393" effective="733" increasedDps="52.0" petAttack="-1.00" petSpell="-1.00"/>
        <hitRating increasedHitPercent="2.78" value="34"/>
        <critChance percent="17.05" plusPercent="4.44" rating="76"/>
      </ranged>
      <spell>
        <bonusDamage>
          <arcane value="0"/>
          <fire value="0"/>
          <frost value="0"/>
          <holy value="0"/>
          <nature value="0"/>
          <shadow value="0"/>
          <petBonus attack="-1" damage="-1" fromType=""/>
        </bonusDamage>
        <bonusHealing value="0"/>
        <hitRating increasedHitPercent="0.00" value="0"/>
        <critChance rating="0">
          <arcane percent="0.00"/>
          <fire percent="0.00"/>
          <frost percent="0.00"/>
          <holy percent="0.00"/>
          <nature percent="0.00"/>
          <shadow percent="0.00"/>
        </critChance>
        <penetration value="0"/>
        <manaRegen casting="0.00" notCasting="0.00"/>
      </spell>
      <defenses>
        <armor base="2018" effective="2018" percent="19.71" petBonus="-1"/>
        <defense decreasePercent="0.00" increasePercent="0.00" plusDefense="0" rating="0" value="320.00"/>
        <dodge increasePercent="1.36" percent="19.91" rating="20"/>
        <parry increasePercent="0.00" percent="9.80" rating="0"/>
        <block increasePercent="0.00" percent="0.00" rating="0"/>
        <resilience damagePercent="0.00" hitPercent="0.00" value="0.00"/>
      </defenses>
      <items>
        <item durability="31" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_helmet_31" id="31784" maxDurability="50" permanentenchant="0" randomPropertiesId="0" seed="1442833829" slot="0"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_necklace_03" id="25914" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="270680656" slot="1"/>
        <item durability="37" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shoulder_07" id="31148" maxDurability="60" permanentenchant="0" randomPropertiesId="0" seed="892721840" slot="2"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shirt_black_01" id="3427" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="0" slot="3"/>
        <item durability="64" gem0Id="28459" gem1Id="28467" gem2Id="28463" icon="inv_chest_leather_03" id="24396" maxDurability="100" permanentenchant="0" randomPropertiesId="0" seed="1878719127" slot="4"/>
        <item durability="24" gem0Id="28459" gem1Id="28459" gem2Id="0" icon="inv_belt_29" id="24063" maxDurability="35" permanentenchant="0" randomPropertiesId="0" seed="2043929102" slot="5"/>
        <item durability="42" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_pants_leather_08" id="29939" maxDurability="65" permanentenchant="0" randomPropertiesId="0" seed="911117875" slot="6"/>
        <item durability="31" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_boots_cloth_05" id="25717" maxDurability="50" permanentenchant="0" randomPropertiesId="0" seed="816862488" slot="7"/>
        <item durability="20" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_bracer_08" id="25960" maxDurability="30" permanentenchant="0" randomPropertiesId="0" seed="1030569422" slot="8"/>
        <item durability="18" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_gauntlets_14" id="24712" maxDurability="30" permanentenchant="0" randomPropertiesId="-5" seed="1306001438" slot="9"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_ring_04" id="25499" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="1418445178" slot="10"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_ring_04" id="25926" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="1104314345" slot="11"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_datacrystal06" id="28041" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="811388986" slot="12"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_jewelry_trinketpvp_02" id="18849" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="0" slot="13"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_misc_cape_20" id="25712" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="208396522" slot="14"/>
        <item durability="59" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_sword_63" id="24020" maxDurability="90" permanentenchant="0" randomPropertiesId="0" seed="0" slot="15"/>
        <item durability="41" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_weapon_shortblade_14" id="31193" maxDurability="65" permanentenchant="0" randomPropertiesId="0" seed="1111220604" slot="16"/>
        <item durability="196" gem0Id="0" gem1Id="0" gem2Id="0" icon="ability_upgrademoonglaive" id="28538" maxDurability="200" permanentenchant="0" randomPropertiesId="-13" seed="309526543" slot="17"/>
        <item durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shirt_guildtabard_01" id="5976" maxDurability="0" permanentenchant="0" randomPropertiesId="0" seed="0" slot="18"/>
      </items>
    </characterTab>
  </characterInfo>
</page>



All times are GMT. The time now is 03:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01660 seconds
  • Memory Usage 1,849KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete