Level Bar appearance

Theme, template, layout, or image issues

Level Bar appearance

Postby sileed » Tue Jan 16, 2007 3:15 pm

I'm sure this on the plate already but I'm also pretty sure it's a quick edit in some file or another.

How does one get the Level graphic (on the main Roster Page) to display the fact that 60 or 61 (as some of my guildmates are already at...) is not the Max level (ie the bar shows full...)
ImageImage
User avatar
sileed
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Tue Jul 04, 2006 5:05 pm

Re: Level Bar appearance

Postby sileed » Tue Jan 16, 2007 6:21 pm

Ok after some more searching I came across a post by Zanix that got me thinking...

so I went searching through the PHP (which I know nothing about) and I think I found the fix for this...

In Memberlist.php around line 695 make the following changes:
Code: Select all
      if( $row['level'] == '70' )
      {
         $tooltip = makeOverlib($wordings[$roster_conf['roster_lang']]['max_exp'],'','',2,'',',WRAP');
      }
      else
      {
         $tooltip = makeOverlib($tooltip,$togo,'',2,'',',WRAP');
      }
   }

   if( $roster_conf['index_level_bar'] )
   {
      $percentage = round(($row['level']/70)*100);


In tradeskills.php at line 118 make this change:
Code: Select all
$levelpct = $level_array[0] / 375 * 100 ;


In \lib\char.php at line 1448 make the following change:
Code: Select all
if( $this->data['level'] == '70' )


That should do it for you...Makes the Experience Bar adjust for level 70, show the Experience on the Characters Detail page for those >= level 60
and adjust the Professions page to reflect the Max Skill level of 375 for the new upper limit of skills (not adjusted for racial bonuses)

Thanks
ImageImage
User avatar
sileed
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Tue Jul 04, 2006 5:05 pm

Re: Level Bar appearance

Postby thespy » Tue Jan 16, 2007 9:07 pm

sileed wrote:In \lib\char.php at line 1448 make the following change:
Code: Select all
if( $this->data['level'] == '70' )


I just made this change and noticed an issue : the $xprest is not correctly calculated
this is certainly due to a new way of calculating the xp in game
however I was not able to find where to modify the file

if someone has the answer it would be nice
thespy
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Jan 12, 2007 2:49 pm

Level Bar appearance

Postby bosco » Wed Jan 17, 2007 9:22 pm

Check your code, i've tried and it works fine.
bosco
WR.net Apprentice
WR.net Apprentice
 
Posts: 26
Joined: Mon Jan 15, 2007 12:24 pm

Re: Level Bar appearance

Postby Grung » Thu Jan 18, 2007 3:32 am

Is riding skill also bugged, or will that just work ?
Grung
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sat Sep 23, 2006 12:34 am

Level Bar appearance

Postby Ninaste » Sat Feb 03, 2007 6:14 pm

Ok, for those of us who aren't good at changing code, will there be an update of wowroster available so that we can actually see those that are over 60?
Ninaste
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Mon Dec 11, 2006 8:48 pm

Level Bar appearance

Postby PleegWat » Sat Feb 03, 2007 6:39 pm

It should show the number correctly, and it's fixed for 1.7.3
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

Level Bar appearance

Postby Jessy » Mon Feb 05, 2007 2:33 pm

Thanks for this topic. It saved me a lot of time searching for all this myself.

Don't forget to also make this change, or else anyone level 60 won't get an xp bar on their character profile.

in lib/char.php FIND:
Code: Select all
if ($row['level'] == 60)
                
$showxpBar false


CHANGE TO:
Code: Select all
if ($row['level'] == 70)
                
$showxpBar false
Last edited by Jessy on Mon Feb 05, 2007 2:37 pm, edited 1 time in total.
~Jessy
WebMistress & GuildMistress of
<Knights of Dragon Fire>
Image
Image
Image
User avatar
Jessy
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Fri Jul 07, 2006 4:07 am

Level Bar appearance

Postby zanix » Tue Feb 06, 2007 3:51 am

Jessy, love your sigs!
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Level Bar appearance

Postby Wyren » Wed Feb 07, 2007 4:16 am

They are indeed beautiful. Any chance of getting them included in 1.7.3? :)
Wyren
WR.net Journeyman
WR.net Journeyman
 
Posts: 81
Joined: Wed Jul 26, 2006 3:07 pm

Level Bar appearance

Postby zanix » Wed Feb 07, 2007 4:55 am

If Jessy shares the config file and the images
And if you have the same version of SigGen as Jessy
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

My Sigs

Postby Jessy » Thu Feb 08, 2007 12:22 am

Thanks. I worked very hard on them. :D

I've actually thought about releasing them as a Character Image Pack, but I like being unique. So I'm still deciding. LOL

Right now I only have Alliance images, but have been working on Horde ones for a friend. Maybe once I have the full set, I can release them all as a pack. That is, if there is enough demand for them. And also if I can be convinced to give up my uniqueness. Hehe
~Jessy
WebMistress & GuildMistress of
<Knights of Dragon Fire>
Image
Image
Image
User avatar
Jessy
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Fri Jul 07, 2006 4:07 am

Level Bar appearance

Postby Raskii » Thu Feb 08, 2007 9:00 am

Jessy wrote:Thanks. I worked very hard on them. :D

I've actually thought about releasing them as a Character Image Pack, but I like being unique. So I'm still deciding. LOL

Right now I only have Alliance images, but have been working on Horde ones for a friend. Maybe once I have the full set, I can release them all as a pack. That is, if there is enough demand for them. And also if I can be convinced to give up my uniqueness. Hehe


Your sigs are awesome! Trust me, there'll be demand for 'em! :thumright:

/love
Raskii
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Tue Feb 06, 2007 9:26 am

Re: My Sigs

Postby Nillenda » Thu Feb 08, 2007 9:18 am

Jessy wrote:That is, if there is enough demand for them.

+1 demand !!
/love your sign :)
Nillenda
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Jan 12, 2007 5:12 am

Level Bar appearance

Postby amortttt » Fri Feb 09, 2007 6:30 am

+2 demand !!

/love your work ^^
amortttt
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Dec 19, 2006 11:24 am

Next

Return to Appearance

Who is online

Users browsing this forum: No registered users and 0 guests

cron