Error in functions.lib.php (SVN 1555)

Posts from previous Beta sessions

Error in functions.lib.php (SVN 1555)

Postby poetter » Sat Feb 16, 2008 10:50 pm

I think that I've come around the first two of your last three posts. Commit will follow.

I've some problems with the last one:

Where does that item come from(cp.lua/armorysync/elsewhere)?
Where is it shown(Addon/View/Whatever)?
Where you want me to add these lines(file/method/linenumber)?
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Error in functions.lib.php (SVN 1555)

Postby Subxero » Sat Feb 16, 2008 11:33 pm

These item comes from cp.lua .. its a RECIPE! ;)

All blacksmith's man with skill 60 and luck to get the recipe loot can have it. ;)

Same with fire resist boots from thorium brotherhood are "random enchant"

http://www.wowhead.com/?item=20039

On recipes show as "<Random enchantment>"

On final items there are not problem because show as normal stats ..

Like "Dark Iron Boots of Defense" or "Dark Iron Boots of the Whale" all items have the same ItemId only change the "random enchant" :)

You can add the lines after tooltip_enchant ifelse .. ?
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

Error in functions.lib.php (SVN 1555)

Postby poetter » Sun Feb 17, 2008 12:06 am

Please give me file and line!
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Error in functions.lib.php (SVN 1555)

Postby Subxero » Sun Feb 17, 2008 12:18 am

/lib/functions.lib.php (these threat is only from these file)

Around line 500 between tooltip_enchant and tooltip_soulbound its a good place.. but can work in other line around ifelse querys, not ?

Code: Select all
            elseif( ereg('^' . $roster->locale->wordings[$locale]['tooltip_enchant'], $line) )
            {
               $color = '00ff00';
            }
            elseif( ereg('^' . $roster->locale->wordings[$locale]['tooltip_random'], $line) )
            {
               $line = htmlspecialchars($line);
               $color = '00ff00';
            }
            elseif( ereg('^' . $roster->locale->wordings[$locale]['tooltip_soulbound'], $line) )
            {
               $color = '00bbff';
            }
Last edited by Subxero on Sun Feb 17, 2008 8:18 am, edited 2 times 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

Error in functions.lib.php (SVN 1555)

Postby poetter » Sun Feb 17, 2008 12:56 am

Done svn[1682]. Try it out!
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Previous

Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron