Thread Tools Display Modes
10-15-10, 03:46 PM   #1
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
Need help updating Delocalizator

http://www.wowinterface.com/download...continued.html

Need help updating the addon. The original author haven't answered any of the emails\messages since 2009.
I managed to update the databases of spells and talents, but with 4.0.1 my lua knowledge is not sufficient enough.


About the addon functionality:

Ru version of WoW does not allow using the english client and the only way for the people which like the english version to play with their russian friends is using this addon.
What this addon does is it translates all item names, stats, spells, talents combat log etc back into english. It allows playing with partyally english client on russian servers.

If anyone can help out, i translated all coments in the lua file (from the original author) to english. Help will be greatly appreciated.

Thanks in advance
  Reply With Quote
10-19-10, 07:09 AM   #2
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
bump.

still looking for a skilled lua programmer, familiar with the recent changes in 4.0.1
  Reply With Quote
10-19-10, 07:35 AM   #3
Maul
Ion Engines, Engage!
 
Maul's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 401
Taking a quick look, one thing that needs to be change is changing -

GetSpellName

to

GetSpellBookItemName
__________________

Twitter: @IonMaul | Windows Live: [email protected] | Google Talk: [email protected]
  Reply With Quote
10-19-10, 09:47 AM   #4
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
the spellnames began to appear on the cast bars but dissapeared from the combat log.

I'm still trying to figure out the new changes but my general lack of knowledge of lua programming leaves nothing but "change x to y" in the whole file.

still need help=(
  Reply With Quote
10-19-10, 10:53 AM   #5
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Replace

local spellLink = GetSpellLink(spellId, bookType);

by

local spellLink = nil
if bookType == "spell" then
spellLink = GetSpellLink(spellId);
else
local spellLink = GetSpellLink(spellId, bookType);
end


and

local function EventHandler(self, event, ...)
if (event == 'COMBAT_LOG_EVENT_UNFILTERED') or (event == 'COMBAT_LOG_EVENT') then


by

local function EventHandler(self, event, ...)
local arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20 = ...
if (event == 'COMBAT_LOG_EVENT_UNFILTERED') or (event == 'COMBAT_LOG_EVENT') then
  Reply With Quote
10-19-10, 10:57 AM   #6
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 163
I've been maintaining my own delocalizator-like addon during Wotlk. Tho never released it outside my guild.

It was mostly trying to return as much as possible from GlobalStrings avoiding massive taint + english names ONLY for items and achievements in chat and tooltips.

I definetely plan to continue it in 4.0. But currently i only have access to enGB Beta, so it's not going to happen until time around cataclysm release.
And blizzard is still not finished with dungeon items anyway.
  Reply With Quote
10-19-10, 11:48 AM   #7
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
@Duugu


thanks a lot mate. that helped.


i will test it tomorrow for errors but it seems that its working now
  Reply With Quote
10-20-10, 04:16 AM   #8
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
ok gathered feedback from players:

1. screwed quest log

looks like this now http://img526.imageshack.us/i/wowscr...010141118.jpg/

error code:

Code:
Date: 2010-10-20 14:13:51
ID: 5
Error occured in: Global
Count: 1
Message: ..\FrameXML\QuestLogFrame.lua line 553:
   bad argument #2 to 'SetFormattedText' (number expected, got string)
Debug:
   [C]: ?
   [C]: SetFormattedText()
   ..\FrameXML\QuestLogFrame.lua:553: QuestLog_UpdateQuestCount()
   ..\FrameXML\QuestLogFrame.lua:364:
      ..\FrameXML\QuestLogFrame.lua:346
   [C]: QuestLog_Update()
   ..\FrameXML\QuestLogFrame.lua:301:
      ..\FrameXML\QuestLogFrame.lua:292
   [C]: Show()
   ..\FrameXML\UIParent.lua:1467: SetUIPanel()
   ..\FrameXML\UIParent.lua:1288: ShowUIPanel()
   ..\FrameXML\UIParent.lua:1198:
      ..\FrameXML\UIParent.lua:1194
   [C]: SetAttribute()
   ..\FrameXML\UIParent.lua:1873: ShowUIPanel()
   ..\FrameXML\UIParent.lua:1857: ToggleFrame()
   [string "TOGGLEQUESTLOG"]:1:
      [string "TOGGLEQUESTLOG"]:1

2. talent tooltip error

Code:
Message: Interface\AddOns\!Delocalizator\!Delocalizator.lua :519: attempt to index field '?' (a nil value)
Time: 10/19/10 23:07:55
Count: 3
Stack: Interface\AddOns\!Delocalizator\!Delocalizator.lua :519: in function `handler'
...calizator\libs\LibTipHooker-1.1\LibTipHooker-1.1.lua:186: in function <...calizator\libs\LibTipHooker-1.1\LibTipHooker-1.1.lua:184>
[C]: in function `SetTalent'
...rface\AddOns\Blizzard_TalentUI\Blizzard_TalentU I.lua:1223: in function `PlayerTalentFrameTalent_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>

Locals: tooltip = GameTooltip {
0 = <userdata>
SetExistingSocketGem = <function> defined =[C]:-1
SetHyperlink = <function> defined =[C]:-1
SetShapeshift = <function> defined =[C]:-1
comparing = false
SetSocketGem = <function> defined =[C]:-1
SetPetAction = <function> defined =[C]:-1
SetLootItem = <function> defined =[C]:-1
SetQuestItem = <function> defined =[C]:-1
SetTrainerService = <function> defined =[C]:-1
SetInboxItem = <function> defined =[C]:-1
SetBuybackItem = <function> defined =[C]:-1
shoppingTooltips = <table> {
}
SetHyperlinkCompareItem = <function> defined =[C]:-1
SetMerchantItem = <function> defined =[C]:-1
SetMerchantCostItem = <function> defined =[C]:-1
SetBackpackToken = <function> defined =[C]:-1
SetTradeTargetItem = <function> defined =[C]:-1
SetTalent = <function> defined =[C]:-1
SetTradePlayerItem = <function> defined =[C]:-1
SetSendMailItem = <function> defined =[C]:-1
updateTooltip = 0.2
SetInventoryItem = <function> defined =[C]:-1
SetLootRollItem = <function> defined =[C]:-1
SetGuildBankItem = <function> defined =[C]:-1
SetAuctionSellItem = <function> defined =[C]:-1
SetBagItem = <function> defined =[C]:-1
SetCurrencyToken = <function> defined =[C]:-1
SetAction = <function> defined =[C]:-1
SetQuestLogItem = <function> defined =[C]:-1
SetTradeSkillItem = <function> defined =[C]:-1
SetAuctionItem = <function> defined =[C]:-1
}
tabIndex = 3
talentIndex = 13
tipTextLeft = "GameTooltipTextLeft"
fontString = GameTooltipTextLeft1 {
0 = <userdata>
}
text = "?????? ???????"
isInspect = false
isPet = false
talentLink = "[?????? ???????]"
_ = 1
_ = 14
talentId = "12120"
talentRank = 1
(*temporary) = <function> defined =[C]:-1
(*temporary) = GameTooltipTextLeft1 {
0 = <userdata>
}
(*temporary) = <function> defined @Interface\AddOns\!Delocalizator\!Delocalizator.lu a:617
(*temporary) = <table> {
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\!Delocalizator\libs\AceAddon-3.0\AceAddon-3.0.lua:381
EnableModule = <function> defined @Interface\AddOns\!Delocalizator\libs\AceAddon-3.0\AceAddon-3.0.lua:346
modules = <table> {
}
CancelTimer = <function> defined @Interface\AddOns\!Delocalizator\libs\AceTimer-3.0\AceTimer-3.0.lua:311
IterateEmbeds = <function> defined @Interface\AddOns\!Delocalizator\libs\AceAddon-3.0\AceAddon-3.0.lua:456
spelldata = <table> {
}
SecureHookScript = <function> defined @Interface\AddOns\!Delocalizator\libs\AceHook-3.0\AceHook-3.0.lua:413
GetQuestLogRewardInfo = <function> defined @Interface\AddOns\!Delocalizator\!Delocalizator.lu a:272
RawHookScript = <function> defined @Interface\AddOns\!Delocalizator\libs\AceHook-3.0\AceHook-3.0.lua:398
UnitCastingInfo = <function> defined @Interface\AddOns\!Delocalizator\!Delocalizator.lu a:390
Printf = <function> defined @Interface\AddOns\!Delocalizator\libs\AceConsole-3.0\AceConsole-3.0.lua:69
SetDefaultModulePrototype = <function> defined @Interface\AddOns\!Delocalizator\libs\AceAddon-3.0\AceAddon-3.0.lua:423
defaultModuleState = true
IsEnabled = <function> defined @Interface\AddOns\!Delocalizator\libs\AceAddon-3.0\AceAddon-3.0.lua:465
GetSpellBookItemName = <function> defined @Interface\AddOns\!Delocalizator\!Delocalizator.lu a:340
ScheduleTimer = <function> defined @Interface\AddOns\!Delocalizator\libs\AceTimer-3.0\AceTimer-3.0.lua:276
DisableModule = <function> defined @Interface\AddOns\!Delocalizator\libs\AceAddon-3.0\AceAddon-3.0.lua:364

3. Character frame error

Code:
Date: 2010-10-20 14:21:55
ID: 6
Error occured in: Global
Count: 1
Message: ..\FrameXML\PaperDollFrame.lua line 1700:
   bad argument #3 to 'format' (number expected, got no value)
Debug:
   [C]: ?
   [C]: format()
   ..\FrameXML\PaperDollFrame.lua:1700: PaperDollFrame_SetManaRegen()
   ..\FrameXML\PaperDollFrame.lua:229: updateFunc()
   ..\FrameXML\PaperDollFrame.lua:2449: PaperDollFrame_UpdateStatCategory()
   ..\FrameXML\PaperDollFrame.lua:2499: PaperDollFrame_UpdateStats()
   ..\FrameXML\PaperDollFrame.lua:2636: PaperDoll_InitStatCategories()
   ..\FrameXML\PaperDollFrame.lua:1942:
      ..\FrameXML\PaperDollFrame.lua:1938
   [C]: ?
   [C]: Show()
   ..\FrameXML\UIParent.lua:1467: SetUIPanel()
   ..\FrameXML\UIParent.lua:1311: ShowUIPanel()
   ..\FrameXML\UIParent.lua:1198:
      ..\FrameXML\UIParent.lua:1194
   [C]: SetAttribute()
   ..\FrameXML\UIParent.lua:1873: ShowUIPanel()
   ..\FrameXML\CharacterFrame.lua:18: ToggleCharacter()
   [string "TOGGLECHARACTER0"]:1:
      [string "TOGGLECHARACTER0"]:1

  BlizRuntimeLib_ruRU v4.0.1.40000 <eu>
  (ck=c50)

Last edited by taan : 10-20-10 at 04:23 AM.
  Reply With Quote
10-26-10, 03:07 AM   #9
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
bumping.

still need help
  Reply With Quote
11-02-10, 12:41 AM   #10
taan
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 7
still need help fixing the quest log and the talents (LibTipHooker bug)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Need help updating Delocalizator


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off