Progress tracking widget by Vilepickle

API Discussion
Hi guys,

I have been trying to adapt the widget Vilepickle made so it supports HFC.

I got it working for Highmaul and Blackrock foundry.

However for Hellfire Citadel it doesn't seem to pick up the Heroic kills my guild has (should be showing 13/13HC and 0/13 Mythic.

Also it throws in few errors. I was wondering if anyone could advise me on this matter. Is there possibly a better way to track wow progress ? My site is custom made not running wordpress or anything therefore I like this method as I can completely customise the output and style it nicely.

My current demo runs on here where you can also see the errors:

http://endless-guild.com/wow_progress/show-progress.php

The original is here:

https://github.com/vilepickle/WoW-Progression-Widget

All I did was follow the code Vilepickle made, didnt add anything new in except the hellfire citadel raid so I think I might be missing something or something is wrong with the API. I would really appreciate the help as I am awful at PHP...
I have been testing this whole day,

I have a feeling there is issue with the API. It doesn't seem to pick up any progress from Hellfire Citadel for some reason.

I have tested this on normal kills and heroic. It doesnt pick them up at all.

Can someone clarify this for me if the API does provide you with information about HFC progress ?

Many love!
inside progress.php find:
//Set the boss kill counts in the main boss array
function setKillCounts($progress, $bosses){
foreach($progress as $id=>$checkmember){
$stats = $checkmember->getRaidStats();
//Highmaul
$instance_info[] = $stats[32];
//BRF
$instance_info[] = $stats[33];
}


replace with:

//Set the boss kill counts in the main boss array
function setKillCounts($progress, $bosses){
foreach($progress as $id=>$checkmember){
$stats = $checkmember->getRaidStats();
//Highmaul
$instance_info[] = $stats[32];
//BRF
$instance_info[] = $stats[33];
//HFC
$instance_info[] = $stats[34];
}


from looks of it that should make it at least pull the data into the arrays for them to parse.
I been looking at that code for 2 days and somehow missed that array..

Many thanks!

Ill post updated version for HFC later on if anyone is interested.

Join the Conversation

Return to Forum