Some comments [Gem Display Roster 2 addon]

Display what gems jewelcrafters can make

Moderator: titan99

Some comments [Gem Display Roster 2 addon]

Postby maqjav » Thu Oct 04, 2007 6:04 am

First:
Why to show only blue, yellow, red and meta?.
/index.php
foreach($roster->locale->act['GemType'] as $keyColor=>$couleur)
{
if (($keyColor == 'blue') || ($keyColor == 'red') || ($keyColor == 'yellow') || ($keyColor == 'meta'))
{


When we can show all them...
foreach($roster->locale->act['GemType'] as $keyColor=>$couleur)
{
if (($keyColor == 'blue') || ($keyColor == 'red') || ($keyColor == 'yellow') || ($keyColor == 'meta') || ($keyColor == 'green') || ($keyColor == 'purple') || ($keyColor == 'orange'))
{


Second:
Isn't it posible to don't show the box when any players have gems of this colour. It would be better without show the boxes empty and in the case where we haven't gems, show a text "we haven't gems".

Third:
/install.def.php

Can you localize the next lines?
var $fullname = 'Gems Display';
var $description = 'Display Gemmes by slot.';
var $credits = array(
array( "name"=> "Titan99 and Tyradil",
"info"=> "Display Gemmes by slot."),
);


The rest of addons are translated and it appears in english in the instalation addons menu.

Fourth:
The version is...
Code: Select all
var $version = '2.0.0-0';

or is?
Code: Select all
var $version = '2.0.0.0';




That's all :)
Last edited by maqjav on Thu Oct 04, 2007 2:35 pm, edited 2 times in total.
maqjav
WR.net Journeyman
WR.net Journeyman
 
Posts: 100
Joined: Wed Oct 18, 2006 2:38 pm

Re: Some comments

Postby tuigii » Thu Oct 04, 2007 7:40 am

Nice catches :D
Your right on all of them.

But please, change your Subject line, so the author will see a direct :
Some comments [Gem Display Roster 2 addon]
or a
Some comments [Gems Display Roster 1.7.3 addon]
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

Some comments

Postby PleegWat » Thu Oct 04, 2007 12:28 pm

For roster's matching system, those two version numbers are equivalent. I personally prefer the former.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Some comments [Gem Display Roster 2 addon]

Postby maqjav » Thu Oct 04, 2007 2:36 pm

Changed the subject :)
maqjav
WR.net Journeyman
WR.net Journeyman
 
Posts: 100
Joined: Wed Oct 18, 2006 2:38 pm

Re: Some comments [Gem Display Roster 2 addon]

Postby Diska » Thu Oct 04, 2007 6:27 pm

maqjav wrote:First:
Why to show only blue, yellow, red and meta?.
/index.php
Code: Select all
foreach($roster->locale->act['GemType'] as $keyColor=>$couleur)
{
  if (($keyColor == 'blue') || ($keyColor == 'red') || ($keyColor == 'yellow')  || ($keyColor == 'meta'))
  {


When we can show all them...
Code: Select all
foreach($roster->locale->act['GemType'] as $keyColor=>$couleur)
{
  if (($keyColor == 'blue') || ($keyColor == 'red') || ($keyColor == 'yellow')  || ($keyColor == 'meta') || ($keyColor == 'green') || ($keyColor == 'purple')  || ($keyColor == 'orange'))
  {



I believe that this behaviour is intentional. It just depends on how you want to use the Gem Display addon. Currently it works great if you're looking for a Gem that matches a certain color. Eg. All gems that match a blue socket will be listed under blue gems, including purple and green gems.
Last edited by Diska on Thu Oct 04, 2007 6:28 pm, edited 1 time in total.
User avatar
Diska
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 179
Joined: Tue Jul 04, 2006 2:05 pm


Return to Gems Display

Who is online

Users browsing this forum: No registered users and 1 guest

cron