Bonus table

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Re: Bonus table

Postby Yoshette » Thu Feb 22, 2007 12:49 am

aniodon wrote:I don't think this is the problem yoshette ^^
This function returns the position of the first number in the string. So, the 5 that the function returns is correct, as the '4' is at the 5e position in the string =)
Am i wrong ?

/pull Zanix ^^


'4' is not the 5th char in the string and the functions doesn't work like that. They detect the first numeric char and the length of it. Then they extract from the string the characters between the detected position for the computed length.

/pull Zanix too (or any other dev)
Last edited by Yoshette on Thu Feb 22, 2007 12:50 am, edited 1 time in total.
Yoshette
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Fri Oct 06, 2006 2:14 am
Location: Boston, MA, USA

Bonus table

Postby zanix » Thu Feb 22, 2007 7:45 am

I'm sorry, but I can't be much help since I don't know how this code works either and the original author hasn't been around for some time

But I'll take a look at it and see if I can figure it out
Last edited by zanix on Thu Feb 22, 2007 7:46 am, edited 1 time in total.
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Bonus table

Postby Yoshette » Thu Feb 22, 2007 3:03 pm

If you want, I can provide you my CP file, so you can see what going on.

/me going to look at these functions
Yoshette
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Fri Oct 06, 2006 2:14 am
Location: Boston, MA, USA

Bonus table

Postby Yoshette » Thu Feb 22, 2007 7:46 pm

Ok I resolve the problem....

I'll post the solution after my lunch. Damn Blizzard and their bl**** character change.

PS : In short, the chain character in fFR.php wasn't the good one. It looks like but no.
Yoshette
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Fri Oct 06, 2006 2:14 am
Location: Boston, MA, USA

Re: Bonus table

Postby Yoshette » Thu Feb 22, 2007 8:36 pm

So I discover that the reg chain for the french detection of regen mana wasn't working.

Here is the good code for the french version :

Code: Select all
// Definition for item tooltip coloring
   $wordings['frFR']['tooltip_use']='Utiliser';
   $wordings['frFR']['tooltip_requires']='Niveau';
   $wordings['frFR']['tooltip_reinforced']='renforcée';
   $wordings['frFR']['tooltip_soulbound']='Lié';
   $wordings['frFR']['tooltip_boe']='Lié quand équipé';
   $wordings['frFR']['tooltip_equip']='Équipé';
   $wordings['frFR']['tooltip_equip_restores']='Équipé : Rend';
   $wordings['frFR']['tooltip_equip_when']='Équipé : Lorsque';
   $wordings['frFR']['tooltip_chance']='Chance';
   $wordings['frFR']['tooltip_enchant']='Enchantement';
   $wordings['frFR']['tooltip_set']='Set';
   $wordings['frFR']['tooltip_rank']='Rang';
   $wordings['frFR']['tooltip_next_rank']='Prochain rang';
   $wordings['frFR']['tooltip_spell_damage']='les dégâts et les soins produits par les sorts et effets magiques';
   $wordings['frFR']['tooltip_school_damage']='les dégâts infligés par les sorts et effets';
   $wordings['frFR']['tooltip_healing_power']='les soins prodigués par les sorts et effets';
   $wordings['frFR']['tooltip_chance_hit']='Chances quand touché :';
   $wordings['frFR']['tooltip_reinforced_armor']='Armure renforcée';
   $wordings['frFR']['tooltip_damage_reduction']='Réduit les points de dégâts';


it looks like that in 'Équipé : Rend' and 'Équipé : Lorsque' the character just before ':' is a space. And not. Even in the text above, my browser use the space.

So 2 solutions :
1 - open you CP.lua file in a UTF-8 friendly software and copy/paste from an example. If your software doesn't detect the character between 'é' and ':' as something different than a space.

2 - use the file that I provide below.
Attachments
frfr.php.gz
(13.42 KiB) Downloaded 251 times
Yoshette
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Fri Oct 06, 2006 2:14 am
Location: Boston, MA, USA

Re: Bonus table

Postby lesablier » Fri Feb 23, 2007 12:23 am

Yoshette it rocks !!!!!

/love Yoshette :)

PS: i used textpad since a long time, but for the modification, it must be done with a another script editor like SciTE for bypassing the UTF-8 problem.
Thanks again.
Last edited by lesablier on Fri Feb 23, 2007 12:29 am, edited 1 time in total.
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

Bonus table

Postby aniodon » Fri Feb 23, 2007 12:58 am

Thank you =)
Works fine!!

We need this to be included into the next official frFR =)))

/bow
aniodon
WR.net Journeyman
WR.net Journeyman
 
Posts: 108
Joined: Mon Dec 18, 2006 8:09 pm

Re: Bonus table

Postby daddelkopp » Fri Feb 23, 2007 9:11 am

Thank you very much Yoshette. Your fix works for GermanRoster,too.

Here the small fix for the german Roster (deDE.php):

Find:
Code: Select all
   $wordings['deDE']['tooltip_equip_restores']='Anlegen: Stellt';
   $wordings['deDE']['tooltip_equip_when']='Anlegen: Erhöht';
   $wordings['deDE']['tooltip_reinforced_armor']='Verstärkte Rüstung';


Replace with:
Code: Select all
   $wordings['deDE']['tooltip_equip_restores']='Anlegen : Stellt';
   $wordings['deDE']['tooltip_equip_when']='Anlegen : Erhöht';
   $wordings['deDE']['tooltip_reinforced_armor']='Verstärkt';


daddelkopp
Attachments
dede.zip
Fixed deDE.php file for all users which have no UTF8 Texteditor.
(13.13 KiB) Downloaded 254 times
Last edited by daddelkopp on Fri Feb 23, 2007 10:23 am, edited 3 times in total.
User avatar
daddelkopp
WR.net Journeyman
WR.net Journeyman
 
Posts: 99
Joined: Wed Jan 03, 2007 10:22 am

Bonus table

Postby Pulciaro » Thu Mar 08, 2007 12:13 pm

But for the English version of wowroster 1.7.3 is there any fix for correct showing the enchant and socket bonus?
Pulciaro
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Thu Dec 14, 2006 4:47 am

Previous

Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron