News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

WoW Itemstats

Started by DarkCloud14, December 26, 2005, 08:58:53 PM

Previous topic - Next topic

Calastir

Any chance of you adding the option to use Thottbot as the source in addition to the two you have? The original package from which this is derrived had that functionality.

I see you still have the orignal thottbot.php file in your package, but unfortunatly it doesn't seem to work correctly when substituted in because of cahnges you made (i assume).

If I have time I might look into making it work, but it wont be soon.

Main reason I prefer Thottbot as the source is because Thottbot actually tracks all the "* of whatever" items while Allakazam only keeps the base item. That and it i seem to have alot of "grey" items that should be found but arn't for whatever reason.

I used this mod in its original form on my phpbb forum prior to switching to SMF and didn't have that issue at all using Thottbot.

DarkCloud14

#81
@Calastir: Yeah I know that grey item bug..
That's because allakhazam found 2 items wich contain the entered item name but I only check the first one
of the found items against the entered name. But most time the first item is a plan or something like that so
thats my fault.

Another problem are the "* of whatever" items. These can't be found correctly over allakhazam at the moment
maybe I'll find a workaround for that...

But maybe I'll just add real support for thottbot

//edit: ok I've found an option in allakhazams advanced search
with which you can search for variants of an item then it'll display everything...

Calastir

Well hopefully you decide to add back in the thottbot option as it is normally faster and more feature complete than Allakazam.

IF not, hopefully you do fix the 'grey item' issue as it makes your implimentation of this otherwise great mod useless for alot of things it would be great for.. unless all you use it for is to show your 'uber and unique' items.

gotsanity

I agree on the thottbot bit. I was thinking of just modifying the file myself to work with thottbot but didnt want to step on your toes :)

If you get it up and running please post and let us know :)

DarkCloud14

Hmm ok I'll try to get it working :D but not with the next release !
The next release will fix some bugs first !

I'll first try to fix the reported bugs before I add some new things...
Hope that's ok for you.

gotsanity

Sounds great to me. The only issue I have noticed with it so far is that occasionaly I am getting item not found/server busy errors. Primarily it happens when I try and use a name instead of a ID number (on allakhazam). If i read correctly you can put a name between the bbc tags (for instance Carrot On A Stick). However every time I have tried it has come up with the error and when you click on the link it will send you back to the main page of the forum.

Just in case it helps I am running 1.0.6

morga

Darkcloud is my hero! I just wanted to say thank you here on the forums. Please keep up the great work and it was a pleasure to chat with you :)

one of the best mods I have ever seen :)


Morga

ArkServer

The used table type doesn't support FULLTEXT indexes
File: C:\apache\htdocs\Sources\itemstats\includes\itemcache.php
Line: 27

DarkCloud14

@ArkServer: You must set the table type of your itemcache table to MyISAM
use e.g. phpMyAdmin to do that.. Else read the above post of Punkkari...
Hope that'll help ya

Calastir

Tried to register on your site Darkcloud but didn't receive my activation email to any email address i tried soo.. ;)

I tweaked the css for the tool tips some and wanted to share it with you.

Any progress on the allakhazam changes or thottbot inclusion?


DarkCloud14

Damnit changed my web.de password and forgot to update my forum settings xD Sorry
And yes allakhazam works so far with variants too..

At the moment I'm working on the configuration page so you can
configure everything of itemstats over the web interface..

I spend as much time as possible but as I said before (I think I did..) I'm busy..

schillid

Love this mod.  I recently started having some problems though.  See hxxp:enlightened.psyscape.com/index.php?topic=2785 [nonactive].  The error is that the popup.tpl was not found but it is there and I haven't made any changes on the server side recently.  Any ideas?

Calastir

#92
It appears your paths are getting messed up somewhere.

Its looking for popup.tpl at:

/psyscape/Themes/default/itemstats/templates/popup.tpl

Your popup.tpl is located at

/Themes/default/itemstats/templates/popup.tpl

It looks like from the layout of your file structure that it is looking in the correct place but that you uploaded the file in the wrong spot.

Calastir

I got around to putting my modifed CSS up in a post on your site, btw.


DarkCloud14

#94
@Calastir: Thank you I'll take a look at it and if I like it I'll put it in the next version  :)

@schillid: Uhm I'm not sure why this happens now for the other items you post cause the first one worked.
Did you change something ?!? If you don't get it to work you can PM me your MSN, AIM, ICQ or whatever
information and I'll try to help you over AIM or whatever..

Maybe you can get it to work again if you change the following at the end of allakhazam.php (<youboard>/Sources/itemstats/includes/):
$template_html = trim(itemstats_read_url($settings['default_theme_url'] . '/itemstats/templates/popup-error.tpl'));

to

$template_html = trim(itemstats_read_url($settings['default_theme_dir'] . '/itemstats/templates/popup-error.tpl'));

and above this one change:

$template_html = trim(itemstats_read_url($settings['default_theme_url'] . '/itemstats/templates/popup.tpl'));

to

$template_html = trim(itemstats_read_url($settings['default_theme_dir'] . '/itemstats/templates/popup.tpl'));

the only thing that has changed is 'default_theme_url' ...

Liadan

M'kay, I just installed this tonight... And I'm getting an error on my site when you try to read a post with items linked:

Incorrect table name ''
File: /homepages/14/d158905886/htdocs/Joomla/SMF/Sources/itemstats/includes/itemcache.php
Line: 27

DarkCloud14

Hi can you check the table name in <youboardir>/Sources/itemstats/config.php ??

Is there a table name ?? If so does this table exists in your SMF database ?
Do you have the rights to create a new table ?? (ok normaly you should have the rights ..)

Can you check the error log of your SMF forum and tell me if there's another error ?!?

Liadan

#97
My Config file reads :

<?php
if (!defined('SMF'))
   die('Hacking attempt...');

########## WoW Itemcache ###########
$wowicon_store_location = 'hxxp:wow.allakhazam.com/images/icons/'; [nonactive]
$wowicon_extension = '.png';
$wowitem_cache_table = $db_prefix . 'wowitem_cache';

// set this to 1 if you want to use a shared itemcache table
$wowshared_itemcache_table = '0';
?>

And no there is no wowitem_cache table on my SQL database... So I went and made an smf_wowitem_cache table on my database, and it still doesn't work. I used the parameters listed from the SMF/Sources/itemstats/includes/itemcache.php -- Does the name need to be smf_wowitem_cache_table?
Or should I omitt the smf part all together?

DarkCloud14

$wowitem_cache_table = $db_prefix . 'wowitem_cache';

This should be the name of your itemcache table... if you database prefix is smf_ then you already created
it with the correct name... hmm can you send me your ICQ, AIM, MSN or whatever else contact ?

Liadan

Sent you my MSN, it's the only program I use..

Advertisement: