Official fix posted here
Roster > Official Bugs & Updates > [1.7.1] Riding Skill Errors
Files posted here have been removed
Thanks for the fixes!
In a previous post on this topic, I have posted how to have an enhanced riding icon in the main page. It seems that only a part of it has been implemented in 1.7.1 leading to:
1- No riding icon is displayed in any languages other than english,
2- Special riding icon for Warlock and Paladin is not displayed.
For both issues, the code has to be changed in <Roster>\memberlist.php, the code to change is at line (647-650):
- Code: Select all
if($r_prof['skill_name'] == "Riding")
{
$skill_image = 'Interface/Icons/'.$wordings[$row['clientLocale']]['ts_ridingIcon'][$row['race']];
}
and should be changed with:
- Code: Select all
if($r_prof['skill_name'] == $wordings[$row['clientLocale']]['Riding'])
{
if($row['class']==$wordings[$row['clientLocale']]['Paladin'] || $row['class']==$wordings[$row['clientLocale']]['Warlock'])
{
$skill_image = 'Interface/Icons/'.$wordings[$row['clientLocale']]['ts_ridingIcon'][$row['class']];
}
else
{
$skill_image = 'Interface/Icons/'.$wordings[$row['clientLocale']]['ts_ridingIcon'][$row['race']];
}
}
else
{
$skill_image = 'Interface/Icons/'.$wordings[$row['clientLocale']]['ts_iconArray'][$r_prof['skill_name']];
}
This code will need to have some wordings to be added to the localization file:
- For frFR.php:
Add the line:
- Code: Select all
$wordings['frFR']['Riding'] = 'Monte';
- Code: Select all
$wordings['frFR']['PvPRankNone']='None';
Add/update the array:
- Code: Select all
$wordings['frFR']['ts_ridingIcon'] = array(
'Elfe de la nuit'=>'Ability_Mount_WhiteTiger',
'Humain'=>'Ability_Mount_RidingHorse',
'Nain'=>'Ability_Mount_MountainRam',
'Gnome'=>'Ability_Mount_MechaStrider',
'Mort-Vivant'=>'Ability_Mount_Undeadhorse',
'Troll'=>'Ability_Mount_Raptor',
'Tauren'=>'Ability_Mount_Kodo_03',
'Orc'=>'Ability_Mount_BlackDireWolf',
'Paladin'=>'Ability_Mount_Dreadsteed',
'Démoniste'=>'Ability_Mount_NightmareHorse'
);
- For deDE.php:
Add the line:
- Code: Select all
$wordings['deDE']['Riding'] = 'Reiten';
Add/update the array:
- Code: Select all
$wordings['deDE']['ts_ridingIcon'] = array(
'Nachtelf'=>'Ability_Mount_WhiteTiger',
'Human'=>'Ability_Mount_RidingHorse',
'Zwerg'=>'Ability_Mount_MountainRam',
'Gnom'=>'Ability_Mount_MechaStrider',
'Untoter'=>'Ability_Mount_Undeadhorse',
'Troll'=>'Ability_Mount_Raptor',
'Tauren'=>'Ability_Mount_Kodo_03',
'Orc'=>'Ability_Mount_BlackDireWolf',
'Paladin'=>'Ability_Mount_Dreadsteed',
'Hexenmeister'=>'Ability_Mount_NightmareHorse'
);
- For enUS.php:
Add the line:
- Code: Select all
$wordings['enUS']['Riding'] = 'Riding';
Add/update the array:
- Code: Select all
$wordings['enUS']['ts_ridingIcon'] = array(
'Night Elf'=>'Ability_Mount_WhiteTiger',
'Human'=>'Ability_Mount_RidingHorse',
'Dwarf'=>'Ability_Mount_MountainRam',
'Gnome'=>'Ability_Mount_MechaStrider',
'Undead'=>'Ability_Mount_Undeadhorse',
'Troll'=>'Ability_Mount_Raptor',
'Tauren'=>'Ability_Mount_Kodo_03',
'Orc'=>'Ability_Mount_BlackDireWolf',
'Paladin'=>'Ability_Mount_Dreadsteed',
'Warlock'=>'Ability_Mount_NightmareHorse'
);
Regards.