• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Orcanizer

 

Project Updated:
Files Updated: Wed, Nov 12 2008
Supports Game Version: Beta 3.0
Category: Chat & Communication
Tags:

[Edit Tags]

Project Manager: skyflash
Additional Authors: No additional authors
Current Version: Orcanizer v0.7
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge
Avg Daily DL (last 30 days): 1
Downloads Total: 1,785
Favorites: 12
Comments: 36
  • About Orcanizer
  •  

This addon supports GERMAN, ENGLISH, FRENCH, and some BASIC ITALIAN.

It will auto detect your language on first usage, however, you can always change it by typing "/orc lang de" for german or "it" for italian, "fr" for french and "en" for english.

It will replace all text you post into the chat with an orcanized version. You can choose in which channels it should translate and in which not. It also has a incoming translation capability for chat bubbles.

You can see this addon in action here (sorry, german only):

http://www.blackritual.de

Feel free to test the code online, if you find words that need a translation, post them here together with a suggestion.

Also feel free to grab the code and provide a better translation table for your language. Some (especially italian) are really lacking a lot, there aren't enough words in it. After that send your Translate.lua file to my email: webmaster@blackritual.de

This addon requires the addon LIBSLASH which is available on Curse!

  • Downloads (7)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Orcanizer v0.7 Release Beta 3.0 776 11/12/2008
  Orcanizer v0.6 Release Beta 3.0 333 9/22/2008
  Orcanizer v0.5 Release Beta 3.0 45 9/21/2008
  Orcanizer v0.4 Release Beta 3.0 48 9/17/2008
  Orcanizer v0.3 Release Beta 3.0 50 9/16/2008
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • skyflash said 

    Mythic broke something in the API, however, here is the new version, completely working with french and italian translations thx to the addon "ingame orcanizer".

    You can still disable it for specific channels, however it now blocks the whole channel type instead of the name of the channel.

    Have fun!

    Reply Report Permalink
  • skyflash said 

    There is some problem with either my brain or the new LUA API. The channel functionality is currently not working. If I can't get it to work today, I will release anyway without it and fix it later. So stay tuned.

    Reply Report Permalink
  • skyflash said 

    Sorry was out of country, I am back, will implement the fixes pronto and release it again.

    Reply Report Permalink
  • Really? Reeaaallly Dablak? Last time I checked this was for WAR. The Greenskins in Warhammer are incredibly stupid, personally I'm surprised they don't pull out a picture book when you bind to a location. Have you even picked up a Warhammer book or ANYTHING that is the lore of Warhammer? So no, this isn't "Stereotypical BS" this is a great addon, I love it. Unfortunately I have to explain sometimes that I have a addon that makes me talk like an orc so people don't think I'm really retarded or something. But thanks for everyone that has helped get this addon working with the new patch! WAAAGH!

    Reply Report Permalink
  • Dablak said 

    THIS MOD IS RACIST! Not all Orks Talk like that! Stereotypical BS! You should be ashamed of your self... Orks are very intelligent and charismatic creatures.

    Reply Report Permalink
  • I have uploaded a fix to this addon which can be downloaded from the CurseForge at:

    http://war.curseforge.com/projects/orcanizer/repositories/grundyofbadlandss-clone/files/

    The errors being caused by 1.01 have been fixed and I've added roughly 300 English translations. As a warning, there are several vulgar words that have been translated. If you find this offensive, don't use my version.

    Thanks

    Reply Report Permalink
  • Lucutus said 

    --[[
    ****************************************************************
    Save this in a file Orcanizer.lua and replace the file in Your
    Orcanizer Addon folder.
    ****************************************************************]]

    Orcanizer = {}

    Orcanizer_Setup =
    {
    ["IN"] = false,
    ["OUT"] = true,
    ["language"] = "DE",
    }

    Orcanizer_DisabledChannels =
    {
    ["Mitt"] = true,
    }

    local OriginalOnKeyFunction = nil

    function Orcanizer.OnInitialize()

    EA_ChatWindow.Print(towstring("Orcanizer: Loaded successfully!"))

    LibSlash.RegisterSlashCmd ("orc", function(input) Orcanizer.HandleSlashCmd (input) end);

    RegisterEventHandler (SystemData.Events.CHAT_TEXT_ARRIVED, "Orcanizer.Incoming")

    OriginalOnKeyFunction = EA_ChatWindow.OnKeyEnter
    EA_ChatWindow.OnKeyEnter = Orcanizer.Outgoing
    end

    function Orcanizer.OnShutdown()

    EA_ChatWindow.OnKeyEnter = OriginalOnKeyFunction
    end

    function Orcanizer.HandleSlashCmd (textrest)

    if textrest == "lang de" then

    Orcanizer_Setup["language"] = "DE"
    EA_ChatWindow.Print (L"Translation language is now GERMAN")
    return;
    end

    if textrest == "lang en" then

    Orcanizer_Setup["language"] = "EN"
    EA_ChatWindow.Print (L"Translation language is now ENGLISH")
    return;
    end

    if textrest == "in on" then

    Orcanizer_Setup["IN"] = true
    EA_ChatWindow.Print (L"Ingoing translation is now ON")
    return;
    end

    if textrest == "in off" then

    Orcanizer_Setup["IN"] = false
    EA_ChatWindow.Print (L"Ingoing translation is now OFF")
    return;
    end

    if textrest == "out on" then

    Orcanizer_Setup["OUT"] = true
    EA_ChatWindow.Print (L"Outgoing translation is now ON")
    return;
    end

    if textrest == "out off" then

    Orcanizer_Setup["OUT"] = false
    EA_ChatWindow.Print (L"Outgoing translation is now OFF")
    return;
    end

    if textrest == "off" then

    Orcanizer_Setup["IN"] = false
    Orcanizer_Setup["OUT"] = false
    EA_ChatWindow.Print (L"All translation is now OFF")
    return;
    end

    if textrest == "on" then

    Orcanizer_Setup["IN"] = true
    Orcanizer_Setup["OUT"] = true
    EA_ChatWindow.Print (L"All translation is now ON")
    return;
    end

    if textrest == "chan on" then

    local chan = WStringToString (LabelGetText ("EA_ChatWindowContainerChannelLabel"))

    if (chan ~= nil and chan ~= "") then

    chan = chan:sub (2, 6)

    if (Orcanizer_DisabledChannels [chan]) then

    table.remove (Orcanizer_DisabledChannels, chan)
    end

    EA_ChatWindow.Print (L"Translation for all channels starting with: '" .. towstring(chan) .. L"' is now enabled!")
    return;
    else
    EA_ChatWindow.Print (L"Orcanizer Error: Channel not recognized!")
    end
    end

    if textrest == "chan off" then

    local chan = WStringToString (LabelGetText ("EA_ChatWindowContainerChannelLabel"))

    if (chan ~= nil and chan ~= "") then

    chan = chan:sub (2, 6)

    Orcanizer_DisabledChannels [chan] = true
    EA_ChatWindow.Print (L"Translation for all channels starting with: '" .. towstring(chan) .. L"' is now disabled!")
    return;
    else
    EA_ChatWindow.Print (L"Orcanizer Error: Channel not recognized!")
    end
    end

    EA_ChatWindow.Print (towstring("Valid commands for /orc are: 'on' 'off' 'in on' 'in off' 'out on' 'out off' 'lang de' 'lang en'"))
    end

    function Orcanizer.Outgoing (...)

    d (L"Orcanizer called!")

    local sinput = WStringToString (EA_TextEntryGroupEntryBoxTextInput.Text )

    if (sinput == "" or sinput == nil) then

    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) ~= "_" and Orcanizer_Setup["OUT"] ~= true) then

    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) == "/" or sinput:sub(1,1) == "]" or sinput:sub(1,1) == "*") then

    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) ~= "_" and (GameData.Player.race.id ~= 2 and GameData.Player.race.id ~= 3)) then

    return OriginalOnKeyFunction (...)
    end

    local chan = WStringToString (LabelGetText ("EA_ChatWindowContainerChannelLabel"))

    if (sinput:sub(1,1) ~= "_" and chan ~= nil and chan ~= "") then

    chan = chan:sub (2, 6)

    if (Orcanizer_DisabledChannels [chan]) then

    return OriginalOnKeyFunction (...)
    end
    end

    if (sinput:sub(1,1) == " ") then

    EA_TextEntryGroupEntryBoxTextInput.Text = towstring (sinput:sub (2, -1))
    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) == "_") then

    sinput = sinput:sub (2, -1)
    end

    local translated = ""

    if (Orcanizer_Setup["language"] == "EN") then

    translated = OrcanizeEN (sinput)
    else

    translated = OrcanizeDE (sinput)
    end

    EA_TextEntryGroupEntryBoxTextInput.Text = towstring (translated)

    return OriginalOnKeyFunction (...)
    end

    function Orcanizer.Incoming ()

    if (Orcanizer_Setup["IN"] == true and GameData.ChatData.name ~= GameData.Player.name) then

    local sinput = WStringToString (GameData.ChatData.text)

    local translated = ""

    if (Orcanizer_Setup["language"] == "EN") then

    translated = OrcanizeEN (sinput)
    else

    translated = OrcanizeDE (sinput)
    end

    GameData.ChatData.text = towstring (translated)

    return
    end
    end

    Reply Report Permalink
  • here is a HUGE en translation I globbed together from a few sources...
    tons of words and letters changed.

    http://rapidshare.com/files/151810572/Translate.lua.html

    Reply Report Permalink
  • ragz45 said 

    Did exactly what Lucutus said.... and switched it to EN as a default. Still no juice, about to just throw my hands up in frustration. Still no translating and still /orc is not a valid command.

    Reply Report Permalink
  • Plasmic said 

    awesome thanks guys!!!!

    Reply Report Permalink
  • Luran said 

    As Lucutus said, I should have said replace ChatWindow not ChatWindow.Print, sorry my bad. I'm glad I've help people talk like orcs again :)

    Reply Report Permalink
  • Lucutus said 

    I have fix the problem:

    1. Install actually Libslash (2.2)

    2. Delete the Directory Orcanizer in \user\interface\AllCharacters

    3. Open the file Orcanizer.lua with a editor

    4. Replace all so Luran wrote
    ChatWindow.Print with EA_ChatWindow.Print
    ChatWindowContainerTextInput.Text with EA_TextEntryGroupEntryBoxTextInput.Text

    AND
    ChatWindow with EA_ChatWindow

    5. Save File

    6. /reloadui

    Thats it, works fine!
    Thanks all for help.

    Reply Report Permalink
  • Plasmic said 

    wow sry ignore everything i just said i wish i could delete my own msgs.

    Reply Report Permalink
  • Plasmic said 

    These are some other variables I suspect may need confirming if they need changing.

    LabelGetText
    ChatWindowContainerChannelLabel
    GameData.Player.race.id
    GameData.Player.name
    GameData.ChatData.name

    Reply Report Permalink
  • Plasmic said 

    I did what Luran said. My orcanizer doesn't give any errors now but it also does not translate anything. I checked to see if the mod was on and installed and set to English, and everything was in the green. I guess there's a few more things that need changing than just ChatWindow.Print? Do I need to change the ChatWindow.OnKeyEnter too?

    I already tried changing them before a few days ago and I got the oranizerEN is a nil value error so I don't think so.

    Reply Report Permalink
  • Luran said 

    I think the reason Tenvan's fix doesn't work is because it's been cut short. I guess there's a limit too how you can put in one of these comments.

    Anyway, I've got it working. Open the Orcanizer.lua file in Notepad and then do the following:

    Replace all ChatWindow.Print with EA_ChatWindow.Print, and all ChatWindowContainerTextInput.Text with EA_TextEntryGroupEntryBoxTextInput.Text

    Then save the file, open the game, or /reloadui if you're already playing and everything should be working.

    Reply Report Permalink
  • Lucutus said 

    I trying Tenvan's fix but it dosent work.
    No error message and no message that the addon is inisializing. (in the .lua file should be generate a output in ChatWindow that orcanizer is inizialized)
    With Libslash /addon command you see that organizer is installed and activated.

    The Libslash is actually version.

    The /orc cammand isn't a valid command.

    I love this addon and maybe someone can this fix please.

    Reply Report Permalink
  • ragz45 said 

    Hmmm I tried Tenvan's fix. And when i type /orc lang en it still says that /orc isn't a valid command.

    Reply Report Permalink
  • Plasmic said 

    Hi Tenvan, I get this error when I run that:

    [string"Interface/AddOns\Orcanizer\Orcanizer.lua"]:186:attempt to call global 'OrcanizeEN' (a nil value)

    Reply Report Permalink
  • Tenvan said 

    ok.. here an complete fix from me for last patch:

    replace the file-content from file orcanizer.lua with following should work:


    Orcanizer = {}

    Orcanizer_Setup =
    {
    ["IN"] = false,
    ["OUT"] = true,
    ["language"] = "DE",
    }

    Orcanizer_DisabledChannels =
    {
    ["Mitt"] = true,
    }

    local OriginalOnKeyFunction = nil

    function Orcanizer.OnInitialize()

    print(towstring("Orcanizer: Loaded successfully!"))

    LibSlash.RegisterSlashCmd ("orc", function(input) Orcanizer.HandleSlashCmd (input) end);

    RegisterEventHandler (SystemData.Events.CHAT_TEXT_ARRIVED, "Orcanizer.Incoming")

    OriginalOnKeyFunction = EA_ChatWindow.OnKeyEnter
    EA_ChatWindow.OnKeyEnter = Orcanizer.Outgoing
    end

    function Orcanizer.OnShutdown()

    EA_ChatWindow.OnKeyEnter = OriginalOnKeyFunction
    end

    function Orcanizer.HandleSlashCmd (textrest)

    if textrest == "lang de" then

    Orcanizer_Setup["language"] = "DE"
    print (L"Translation language is now GERMAN")
    return;
    end

    if textrest == "lang en" then

    Orcanizer_Setup["language"] = "EN"
    print (L"Translation language is now ENGLISH")
    return;
    end

    if textrest == "in on" then

    Orcanizer_Setup["IN"] = true
    print (L"Ingoing translation is now ON")
    return;
    end

    if textrest == "in off" then

    Orcanizer_Setup["IN"] = false
    print (L"Ingoing translation is now OFF")
    return;
    end

    if textrest == "out on" then

    Orcanizer_Setup["OUT"] = true
    print (L"Outgoing translation is now ON")
    return;
    end

    if textrest == "out off" then

    Orcanizer_Setup["OUT"] = false
    print (L"Outgoing translation is now OFF")
    return;
    end

    if textrest == "off" then

    Orcanizer_Setup["IN"] = false
    Orcanizer_Setup["OUT"] = false
    print (L"All translation is now OFF")
    return;
    end

    if textrest == "on" then

    Orcanizer_Setup["IN"] = true
    Orcanizer_Setup["OUT"] = true
    print (L"All translation is now ON")
    return;
    end

    if textrest == "chan on" then

    local chan = WStringToString (LabelGetText ("EA_TextEntryGroupEntryBoxChannelLabel"))

    if (chan ~= nil and chan ~= "") then

    chan = chan:sub (2, 6)

    if (Orcanizer_DisabledChannels [chan]) then

    table.remove (Orcanizer_DisabledChannels, chan)
    end

    print (L"Translation for all channels starting with: '" .. towstring(chan) .. L"' is now enabled!")
    return;
    else
    print (L"Orcanizer Error: Channel not recognized!")
    end
    end

    if textrest == "chan off" then

    local chan = WStringToString (LabelGetText ("EA_TextEntryGroupEntryBoxChannelLabel"))

    if (chan ~= nil and chan ~= "") then

    chan = chan:sub (2, 6)

    Orcanizer_DisabledChannels [chan] = true
    print (L"Translation for all channels starting with: '" .. towstring(chan) .. L"' is now disabled!")
    return;
    else
    print (L"Orcanizer Error: Channel not recognized!")
    end
    end

    print (towstring("Valid commands for /orc are: 'on' 'off' 'in on' 'in off' 'out on' 'out off' 'lang de' 'lang en'"))
    end

    function Orcanizer.Outgoing (...)

    d (L"Orcanizer called!")
    -- EA_ChatWindowContainerTextInput --> EA_TextEntryGroupEntryBoxTextInput
    local sinput = WStringToString (EA_TextEntryGroupEntryBoxTextInput.Text)

    if (sinput == "" or sinput == nil) then

    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) ~= "_" and Orcanizer_Setup["OUT"] ~= true) then

    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) == "/" or sinput:sub(1,1) == "]" or sinput:sub(1,1) == "*") then

    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) ~= "_" and (GameData.Player.race.id ~= 2 and GameData.Player.race.id ~= 3)) then

    return OriginalOnKeyFunction (...)
    end

    local chan = WStringToString (LabelGetText ("EA_TextEntryGroupEntryBoxChannelLabel"))

    if (sinput:sub(1,1) ~= "_" and chan ~= nil and chan ~= "") then

    chan = chan:sub (2, 6)

    if (Orcanizer_DisabledChannels [chan]) then

    return OriginalOnKeyFunction (...)
    end
    end

    if (sinput:sub(1,1) == " ") then

    EA_TextEntryGroupEntryBoxTextInput.Text = towstring (sinput:sub (2, -1))
    return OriginalOnKeyFunction (...)
    end

    if (sinput:sub(1,1) == "_") then

    sinput = sinput:sub (2, -1)
    end

    local translated = ""

    if (Orcanizer_Setup["language"] == "EN") then

    translated = OrcanizeEN (sinput)
    else

    translated = OrcanizeDE (sinput)
    end

    EA_TextEntryGroupEntryBoxTextInput.Text = towstring (translated)

    return OriginalOnKeyFunction (...)
    end

    function Orcanizer.Incoming ()

    if (Orcanizer_Setup["IN"] == true and GameData.ChatData.name ~= GameData.Player.name) then

    local sinput = WStringToString (GameData.ChatData.text)

    local translated = ""

    if (Orcanizer_Setup["language"] == "EN") then

    translated = OrcanizeEN (sinput)
    else

    translated = OrcanizeDE (sinput)
    end

    GameData.ChatData.text = towstring (translated)

    return
    end
    end

    local function print(txt)
    EA_ChatWindow.print(towstring(txt))
    end

    Reply Report Permalink
  • Similar Addons
  •  

Average downloads per day

  1. 27 FollowMyLead Chat & Communication, and...
  2. 23 AlertFilter Chat & Communication
  3. 22 ResTell Chat & Communication, Class...
  4. 19 Tidy Chat Chat & Communication
  5. 18 WARCommander Chat & Communication, Combat...