Spells Books 1.7.0-2

End-level spell book display, showing the spell books players have and don't have

Moderator: Ghuda

Spells Books 1.7.0-2

Postby Ghuda » Tue Oct 17, 2006 12:54 pm

Spell books has been updated: http://www.wowroster.net/Downloads/details/id=63.html

Changes are:

- Added deDE localisation (thanks to Gorgar)
- Finished French localisation
- Multi-locale support (thanks to Gorgar)
- Added missing paladin, druid, shaman and rogue spells (thanks to Gorgar)
Ghuda
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 40
Joined: Thu Oct 05, 2006 7:18 pm

Re: Spells Books 1.7.0-2

Postby sturmy » Thu Oct 19, 2006 6:00 pm

A number of misspellings & incorrect sequences for frFR locale were present in the current file on the download section. Here's what I could do to fix that.
(as far as I can tell, this is fine for Warlocks, Priests, Paladins, Mages all classes for which I can confirm all the spells, for the others I'm not 100% certain).

Attached file for those interested! Enjoy!
Attachments
frfr.zip
update for FRfr locs
(1.38 KiB) Downloaded 376 times
sturmy
WR.net Expert
WR.net Expert
 
Posts: 160
Joined: Wed Aug 16, 2006 9:07 pm

Re: Spells Books 1.7.0-2

Postby Ghuda » Thu Oct 19, 2006 6:10 pm

Sturmy,

Thanks. I'll post a new package with your changes soon.
Ghuda
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 40
Joined: Thu Oct 05, 2006 7:18 pm

Spells Books 1.7.0-2

Postby Preliato » Fri Oct 20, 2006 3:36 am

I originally got an error with the first Spellbooks, didn't get a chance to post then. Just installed the new one, and still getting the same error.

Code: Select all
Fatal error: Using $this when not in object context in /home/www/litany/roster/addons/SpellBooks/index.php on line 203


My guild's roster is at: http://litany.3bw.net/roster/
Preliato
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Mon Aug 21, 2006 8:10 am

Re: Spells Books 1.7.0-2

Postby Djuwal » Fri Oct 20, 2006 5:29 pm

I'm getting same error.

EDIT: Upon closer inspection is seems to only happen when the person actually has obtained the spell/ability. On my roster the hunter, rogue and warrior arre all fine, but they have none of those spells. All the ones that do have a spell in that list, get that error on the page:

http://guildofhardknocks.com/guildbank
Last edited by Djuwal on Fri Oct 20, 2006 5:42 pm, edited 1 time in total.
User avatar
Djuwal
WR.net Apprentice
WR.net Apprentice
 
Posts: 13
Joined: Fri Jul 14, 2006 8:51 pm

Re: Spells Books 1.7.0-2

Postby Djuwal » Fri Oct 20, 2006 5:51 pm

I did a change to the code and now it works. What you hav to do in index.php is change all of the $this->data to $row and it'll work.

EDIT: Added the file at the end of the post

Open /addons/SpellBooks/index.php

Find:
Code: Select all
    else if ( strpos$line$wordings[$this->data['clientLocale']]['tooltip_requires'] ) === )
                                
$color 'ff0000;';
                            else if ( 
strpos$line$wordings[$this->data['clientLocale']]['tooltip_reinforced'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$this->data['clientLocale']]['tooltip_equip'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$this->data['clientLocale']]['tooltip_chance'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$this->data['clientLocale']]['tooltip_enchant'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$this->data['clientLocale']]['tooltip_soulbound'] ) === )
                                
$color '00bbff;';
                            else if ( 
strpos$line$wordings[$this->data['clientLocale']]['tooltip_set'] ) === 



Change to:

Code: Select all
    else if ( strpos$line$wordings[$row['clientLocale']]['tooltip_requires'] ) === )
                                
$color 'ff0000;';
                            else if ( 
strpos$line$wordings[$row['clientLocale']]['tooltip_reinforced'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$row['clientLocale']]['tooltip_equip'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$row['clientLocale']]['tooltip_chance'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$row['clientLocale']]['tooltip_enchant'] ) === )
                                
$color '00ff00;';
                            else if ( 
strpos$line$wordings[$row['clientLocale']]['tooltip_soulbound'] ) === )
                                
$color '00bbff;';
                            else if ( 
strpos$line$wordings[$row['clientLocale']]['tooltip_set'] ) === 
Attachments
index.zip
Put in /addons/SpellBooks/
(3.14 KiB) Downloaded 350 times
Last edited by Djuwal on Fri Oct 20, 2006 5:59 pm, edited 3 times in total.
User avatar
Djuwal
WR.net Apprentice
WR.net Apprentice
 
Posts: 13
Joined: Fri Jul 14, 2006 8:51 pm

Re: Spells Books 1.7.0-2

Postby Preliato » Fri Oct 20, 2006 7:27 pm

That fixed it for me. Thanks!
Preliato
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Mon Aug 21, 2006 8:10 am

Spells Books 1.7.0-2

Postby Grektar » Thu Oct 26, 2006 2:59 am

All shaman books from AQ20 are still in english in the deDE.php file, the german names are:

Code: Select all
'AQ20_1' => 'Totem der luftgleichen Anmut|Rank 3|AQ20',
'AQ20_2' => 'Welle der Heilung|Rank 10|AQ20',
'AQ20_3' => 'Totems der Erdstärke|Rank 5|AQ20' 


With this I noticed that "Umlauts" (ä, ö, ü and the german ß) do not work. Please see http://www.wowroster.net/Forums/viewtopic/t=1019.html that helped for the ItemSets addon (same problem first).

thx and great addon! :-)

Grektar

EDIT:
Attached deDE.php with changed totem names used here for exampel: http://www.drachenkinder.org/roster/add ... lassfilter (Umlauts still don't work!)
Attachments
dede.rar
(1.3 KiB) Downloaded 350 times
Last edited by Grektar on Thu Oct 26, 2006 3:05 am, edited 1 time in total.
User avatar
Grektar
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Sun Jul 23, 2006 3:23 pm

Re: Spells Books 1.7.0-2

Postby RainRider » Sat Oct 28, 2006 12:31 am

I have a problem using this addon in multilanguage mode.

Warning: Invalid argument supplied for foreach() in /is/htdocs/wp1040705_IW8P5TCUGH/www/roster/addons/SpellBooks/index.php on line 42
Warning: Invalid argument supplied for foreach() in /is/htdocs/wp1040705_IW8P5TCUGH/www/roster/addons/SpellBooks/index.php on line 42
Warning: Invalid argument supplied for foreach() in /is/htdocs/wp1040705_IW8P5TCUGH/www/roster/addons/SpellBooks/index.php on line 42
Warning: Invalid argument supplied for foreach() in /is/htdocs/wp1040705_IW8P5TCUGH/www/roster/addons/SpellBooks/index.php on line 51

Then it is not possible to select a class from the drop down menu. Does anybody have a solution for this? (single language is fine)

Further more the French translation provided some posts above (and the one provided with the addon (don't know if they are the same)) is not utf8-encoded. I attach the deDE.php and frFR.php in utf8. (The translation of the roster in french is not in utf8 too, maybe someone could post about this in the coresponding thread).
Attachments
spellbooks_l10n.zip
Includes deDE.php and frFR.php in utf8-encoding
(2.81 KiB) Downloaded 346 times
RainRider
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Jul 20, 2006 11:47 pm

Spells Books 1.7.0-2

Postby SethDeBlade » Sat Oct 28, 2006 12:46 am

for german shamane books use
Code: Select all
'AQ20_1' => 'Totem der luftgleichen Anmut|Rang 3|AQ20',
'AQ20_2' => 'Welle der Heilung|Rang 10|AQ20',
'AQ20_3' => 'Totem der Erdstärke|Rang 5|AQ20'
Last edited by SethDeBlade on Sat Oct 28, 2006 3:05 pm, edited 1 time in total.
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

Re: Spells Books 1.7.0-2

Postby RainRider » Sat Oct 28, 2006 6:40 am

SethDeBlade wrote:for german shamane books use
Code: Select all
'AQ20_1' => 'Totem der luftgleichen Anmut|Rank 3|AQ20',
'AQ20_2' => 'Welle der Heilung|Rank 10|AQ20',
'AQ20_3' => 'Totems der Erdstärke|Rank 5|AQ20'


It is in the zip archive I attached. Rank is "Rang", and it is "Totem der Erstärke" (totem without s). Did I spell something wrong?
Last edited by RainRider on Sat Oct 28, 2006 6:40 am, edited 1 time in total.
RainRider
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Jul 20, 2006 11:47 pm

Re: Spells Books 1.7.0-2

Postby Grektar » Sat Oct 28, 2006 2:29 pm

I tried replacing ä with ä (and the replacements for ö, ü, ß) first because this helped with ItemSets (http://www.wowroster.net/Forums/viewtopic/t=1019.html) but somehow it's not working with Spellbooks for me. :-( (Using Windows Notepad)
User avatar
Grektar
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Sun Jul 23, 2006 3:23 pm

Spells Books 1.7.0-2

Postby SethDeBlade » Sat Oct 28, 2006 3:07 pm

i edited my posting to correct it.

@grektar try noteped++. it's a freeware editor with a lot of functions. for rosterfiles editing very usefull the switching betreen ansi and uft-8 encoding ;)
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

Spells Books 1.7.0-2

Postby RainRider » Sat Oct 28, 2006 5:01 pm

Noone of you has a problem running SpellBooks in multilanguage mode?
RainRider
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Jul 20, 2006 11:47 pm

Spells Books 1.7.0-2

Postby Grektar » Sat Oct 28, 2006 6:18 pm

@SethDeBalde: thx, I was looking for an editor to convert the file to UTF-8 (by the way, I don't no anything about such formats^^). I used NotepadLite some time ago, but it is no longer available and Notepad++ is just the same. :-)

Still, "Umlauts" don't work. I attached the UTF-8 deDE.php. Replacing the characters by hand doesn't help either (e.g. ü with ü and so on). Something else must bee wrong...?

@RainRider Some of my Guildmates use enEN Clients, most deDE, no problems so far (except the "umlaut" thing) if that's what you are talking about. :-)
Attachments
dede2.rar
(1.31 KiB) Downloaded 331 times
Last edited by Grektar on Sat Oct 28, 2006 6:20 pm, edited 1 time in total.
User avatar
Grektar
WR.net Apprentice
WR.net Apprentice
 
Posts: 22
Joined: Sun Jul 23, 2006 3:23 pm

Next

Return to Spellbooks

Who is online

Users browsing this forum: No registered users and 1 guest

cron