Witch Hunt - Feature requests

Keep track of who updates their character profile and when

Moderator: Carasak

Re: Witch Hunt - Feature requests

Postby Carasak » Mon Jul 23, 2007 4:44 pm

Nice idea actually. only one small problem my experience in writing wow addons is close to zero.
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt - Feature requests

Postby Carasak » Tue Oct 23, 2007 9:57 pm

just that i dont forget it:

Doesnt take care of multi-guild-realm and stuff
gonna need to check how to implement this
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt - Feature requests

Postby Pippyn » Thu Nov 29, 2007 9:59 pm

Very useful addon to roster thx :-)

I am uploading to roster from multiple guilds and the report Witch Hunt produces is difficult to use because all the guilds are shown in the one list. Could you possible add a feature that would enable either the guilds to be accessed separately or split the report into individual guilds?

Thx so much :-)
Pip
For the Horde!
Image
Remember the light!
Image
User avatar
Pippyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Tue Nov 20, 2007 4:53 pm

Re: Witch Hunt - Feature requests

Postby Carasak » Thu Nov 29, 2007 10:15 pm

asuming you are talking about the roster2 version

see this thread
http://www.wowroster.net/Forums/viewtopic/t=4398.html

filter by guild planned for next version
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt - Feature requests

Postby Subxero » Tue Jan 29, 2008 4:00 am

Can witch hunt also TRACK people that upload only "part" of CP information ?

Something like ..

-you don't have uploaded bags/bank
-you don't have uploaded spellbook/quests
-you don't have uploaded recipes
etc...

Can track "armory" update from a complete CP update...
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Witch Hunt - Feature requests

Postby Carasak » Sun Feb 03, 2008 4:42 am

interesting idea.
just not sure what to check exaclty for
how do you now that char didnt upload bags? recipies? or update?

any roster guru got an idea?
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt - Feature requests

Postby Nefuh » Sun Feb 03, 2008 9:08 am

On roster 2.0 by using the function char() in update_hook.php, then you can get all the information from cp.lua and look if there are data or not. I think roster always uploaded all stuff, you can only disable the viewing. Hope that is right?

So there´s no Bag, Bank, Spellbook... updatet for a char, there should be no data for this in cp.lua.

Just an Idea ;)

Nefuh
Last edited by Nefuh on Sun Feb 03, 2008 9:09 am, edited 1 time in total.
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Re: Witch Hunt - Feature requests

Postby tuigii » Mon Feb 04, 2008 5:21 pm

Carasak wrote:how do you now that char didnt upload bags? recipies? or update?

Well, when you have a member_id from the members table, a SQL like this:
SELECT * FROM `roster_quests` WHERE member_id = look_for_id

will do the job.
If this statement yields results, then member_id has quests in the quests table for the member you're looking for :look_for_id, means a good upload.
Members without any quest do exists, but its must be a rare thing.

This goes for any table : quests, reputations, recipes, etc.
The pets table could be scanned, if you knoiw what char could have them ^^

For items, you should search in the item table.
Have a %partiel%lookup in the item_parrent colum.
'equip' means equiped,
'Bag' means 'item in a bag',
'Bank Bag' means 'items are in a bag.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Witch Hunt - Feature requests

Postby Subxero » Thu Feb 07, 2008 2:40 am

Something like that

Code: Select all
  $query = "SELECT `p`.`name`, `m`.`guild_title`"
         . " FROM `".$roster->db->table('players')."` AS p, `".$roster->db->table('members')."` AS m"
         . " WHERE `p`.`guild_id` = '1' AND `p`.`member_id` = `m`.`member_id` AND `p`.`name` NOT IN"
         . " ( SELECT DISTINCT `p`.`name` FROM `".$roster->db->table('players')."` AS p, `".$roster->db->table('recipes')."` AS r"
         . " WHERE `p`.`member_id` = `r`.`member_id`"
         . ") ORDER BY `name`";


Change recipes to another table.. like spellbook, talents, reputations, skill, quest, etc..

Code: Select all
  $query = "SELECT `p`.`name`, `m`.`guild_title`"
         . " FROM `".$roster->db->table('players')."` AS p, `".$roster->db->table('members')."` AS m"
         . " WHERE `p`.`guild_id` = '1' AND `p`.`member_id` = `m`.`member_id` AND `p`.`name` NOT IN"
         . " ( SELECT DISTINCT `p`.`name` FROM `".$roster->db->table('players')."` AS p, `".$roster->db->table('items')."` AS i"
         . " WHERE `p`.`member_id` = `i`.`member_id`"
         . " AND `i`.`item_parent` LIKE 'Bank%'"
         . ") ORDER BY `guild_title`";


Change Bank to Bag to get the rest..
Last edited by Subxero on Thu Feb 07, 2008 2:56 am, edited 1 time in total.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Witch Hunt [v1.1]

Postby Durvien » Sun Jun 29, 2008 7:31 pm

Carasak wrote:
ds001 wrote:I like the mod nice job! :)
One suggestion/request. Please make a define in the config file to that allows viewing of the mod if not logged in as Admin. I want all my guild members to see who is a slacker or not.


done

released v1.1.1



Is it in the V2 also?? Cause I wanted to let my Officers be able to use witchunt also but only comes up while in admin and can't seem to find where the setting is to allow others.
Image
User avatar
Durvien
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jun 11, 2008 8:29 am

Re: Witch Hunt [v1.1]

Postby Carasak » Mon Jun 30, 2008 3:55 pm

in the CP panel for witch hunt is a option Admin only yes/no


the addon is still beta since i didnt come arround to update it for the roster2. release..so thre might be incompatiblities.
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt [v1.1]

Postby Durvien » Fri Jul 04, 2008 8:25 am

Yup that was it worked fine :),, thank you
Image
User avatar
Durvien
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jun 11, 2008 8:29 am

Witch Hunt - Feature requests

Postby Argusi » Thu Jul 24, 2008 10:34 pm

Awesome mod. Feature request: Can it adjust for the timezone? My roster is setup of for -4, but Witch Hunt is showing GMT. Ideally, it could grab it from the main roster setting. TIA
Argusi
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Tue Mar 04, 2008 11:28 pm

Re: Witch Hunt - Feature requests

Postby Carasak » Fri Jul 25, 2008 4:36 am

yes that time thing is still buggy...scheduled for release version
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt - Feature requests

Postby Argusi » Fri Jul 25, 2008 6:59 pm

Good deal and good work. Thanks a lot!
Argusi
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Tue Mar 04, 2008 11:28 pm

Previous

Return to Witch Hunt

Who is online

Users browsing this forum: No registered users and 0 guests