ItemStatsDF [v2.0beta]

This mod will allow any part of DragonFly that uses bbcode to be able to use ItemStats
No longer maintained

Re: ItemStatsDF [v2.0beta]

Postby Dreadan » Thu Mar 13, 2008 9:33 pm

I started having a problem with item stats recently. Some things are working such as a Cauldron of Major Frost Protection, but if i try to link pretty much anything else it just gives a link pointing to the item stats cache on the website and the item will have the right icon but the wrong tooltip. If I try to add Thrash Blade it shows up in the cache as a small brilliant shard. Any idea what could be causing this? Is there any info I can post that might be helpful?

This is the debug text
Code: Select all

Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.

New getItemForDisplay :
item_name : Thrash Blade
type : item
icon_lsize :
search_objects : 1
force_integration_mode : 0
updateItemFromName :
name :Thrash Blade
Check on cache :
search in :/home/bullsey5/public_html/gow/modules/item_statsxml_cache/Thrash Blade
Cache Object not found !

Search on the site : thottbot
Save item data on the Item_cache
=> getItemName (real case name) : Thrash Blade
====== END getItemForDisplay ==================================================

Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.

New getItemForDisplay :
item_name : Cauldron of Major Arcane Protection
type : item
icon_lsize :
search_objects : 1
force_integration_mode : 0
=> getItemName (real case name) : Cauldron of Major Arcane Protection
====== END getItemForDisplay ==================================================New getItemForDisplay :
item_name : Cauldron of Major Shadow Protection
type : item
icon_lsize :
search_objects : 1
force_integration_mode : 0
=> getItemName (real case name) : Cauldron of Major Shadow Protection
====== END getItemForDisplay ==================================================New getItemForDisplay :
item_name : Cauldron of Major Nature Protection
type : item
icon_lsize :
search_objects : 1
force_integration_mode : 0
=> getItemName (real case name) : Cauldron of Major Nature Protection
====== END getItemForDisplay ==================================================

Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.



Itemstats class initialized
Preferences : ==============================================
item_lang_default : en
displayitemstatslink : true
path_cache : xml_cache
automatic_search : true
Integration_mode : normal
openConnection : 0
Tooltip_css : itemstats.css
Tooltip_js : overlib
debug_mode : true
path_itemstats : modules/item_stats/
priority list :
Array ( [0] => thottbot [1] => allakhazam )
============================================================

Itemstats connected to database WITHOUT new connection activated.


As i said the cauldrons in this post work fine but the trash blade and anything else I try won't work right.
Last edited by Dreadan on Fri Mar 21, 2008 10:02 pm, edited 2 times in total.
My luck is so bad that I could fall into a barrell of boobs and come out sucking my thumb.
"Smith & Wesson the originators of the point and click interface"
Dreadan
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Jul 04, 2006 7:42 pm

ItemStatsDF [v2.0beta]

Postby Kelv » Fri Mar 14, 2008 1:26 am

I had the same issue, Allakazam and Thott appear to have changed something. I didn't figure out what as I had a completely blank DB table to populate. I patched it with the wowhead tooltips listed on the eqdkp forums, not a permanent solution.
T4 tokens always seem to show up as the first item linked off the page.
Ie the Shammy, pally, rogue token pulls up the 1st item, Cyclone something or other.
So I suspect that the fact the tokens info appears to be embedded is throwing it a doozy.
Kelv
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Dec 08, 2006 8:52 pm

ItemStatsDF [v2.0beta]

Postby DFCraden » Thu Mar 27, 2008 2:11 am

Any update on this. It seems to affect all of the sites that are checked. I am no longer getting any good item stats.

I recommend you don't clear your cache, or you will be hosed.
DFCraden
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Fri Mar 14, 2008 12:59 am

Re: ItemStatsDF [v2.0beta]

Postby Kelv » Mon Mar 31, 2008 4:43 am

Ok, here is my itemstats folder. The usual caveats apply if you use this file, mainly don't blame me I told you it was rubbish :)

things to bear in mind...
1) you need to change your theme's itemstats css to point to the wowhead one..
Code: Select all
<link rel="stylesheet" href="modules/item_stats/templates/wowhead.css" type="text/css" />


this will probably be located in THEMEFOLDER/templates/header.html for most of you.

2) I still use roster 1.7.3 and I have "fixed" it to look for image files based on that icon naming
convention, to it uses the capitalization as found on the wowhead site in the raw. eg INV_Misc_Item33 or something like that.

3) I have set this in the config_itemstats to only point to wowhead, as I remember reading about some incompatibilities with other sites. This means that you will need to update all your current items, someone has already wittem a script for this and once you have logged onto your site use the following url...
Code: Select all
YOURSITE/index.php?name=item_stats&file=updateallitems

this may take some time as it gets all of your current DB and updates it to the prettier wowhead style.

I'm sure zanix or one of the other real developers will come up with something better, this is just for the impatient amongst us.
If you decide to use this please test it on a non critical site 1st as it may set your parents on fire, turn your dog into a cat or something equally as evil....

Edit: Forgot to mention you might want to remove the updateallitems.php after using it as there is no checking done, I couldn't be bothered doing it as its a 1st thing.
AND click to update doesn't work properly.. it updates the DB but throws an error, not a big issue on my site so again havent got around to fixing it.
Attachments
item_stats.zip
(90.83 KiB) Downloaded 413 times
Last edited by Kelv on Mon Mar 31, 2008 4:48 am, edited 2 times in total.
Kelv
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Dec 08, 2006 8:52 pm

Re: ItemStatsDF [v2.0beta]

Postby petrakid » Thu Apr 17, 2008 6:01 pm

This worked for me! My site doesn't lock up every time a post or news item with itemstats bbcode needs to come up, and the items show correctly. Thanks
User avatar
petrakid
WR.net Apprentice
WR.net Apprentice
 
Posts: 53
Joined: Sat Jul 07, 2007 7:34 am

ItemStatsDF [v2.0beta]

Postby Dreadan » Fri Apr 25, 2008 11:49 pm

What do i need to set the links to for item stats to get the images from wowhead with the above fix. the items are showing correctly but theres no icons
My luck is so bad that I could fall into a barrell of boobs and come out sucking my thumb.
"Smith & Wesson the originators of the point and click interface"
Dreadan
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Jul 04, 2006 7:42 pm

ItemStatsDF [v2.0beta]

Postby jimig1 » Mon Apr 28, 2008 10:21 pm

where can i find Forums Pro 2.0.1.0 at i have searched all over for it and all i can find is 2.0.0.1
Image
User avatar
jimig1
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Fri Jul 07, 2006 10:48 pm

ItemStatsDF [v2.0beta]

Postby Kelv » Tue Apr 29, 2008 2:19 pm

Dreadan, Just point the it (?conf.php?) to your wowrosterdf images folder if you are using 1.7.3 with the exception of cauldrons all the icons should be there.
Kelv
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Dec 08, 2006 8:52 pm

Re: ItemStatsDF [v2.0beta]

Postby Dreadan » Tue Apr 29, 2008 8:55 pm

Kelv wrote:Dreadan, Just point the it (?conf.php?) to your wowrosterdf images folder if you are using 1.7.3 with the exception of cauldrons all the icons should be there.


I'm using the newest standalone roster.
My luck is so bad that I could fall into a barrell of boobs and come out sucking my thumb.
"Smith & Wesson the originators of the point and click interface"
Dreadan
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Jul 04, 2006 7:42 pm

Previous

Return to ItemStatsDF

Who is online

Users browsing this forum: No registered users and 0 guests