Giter Club home page Giter Club logo

kayrcovenantmissions's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

kayrcovenantmissions's Issues

Lua error when the mission board is open

Hello.

Since the latest version (0.2.1) I am getting the following error when I open the mission board and nothing from the add-on is shown.

3x KayrCovenantMissions\KayrCovenantMissions-0.2.1.lua:207: attempt to index field '?' (a nil value)
[string "@KayrCovenantMissions\KayrCovenantMissions-0.2.1.lua"]:207: in function <KayrCovenantMissions\KayrCovenantMissions.lua:191>
[string "=[C]"]: in function `SetupTabs'
[string "@Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua"]:187: in function <...s\Blizzard_GarrisonUI\Blizzard_CovenantMissionUI.lua:173>
[string "=[C]"]: in function `Show'
[string "@FrameXML\UIParent.lua"]:2910: in function `SetUIPanel'
[string "@FrameXML\UIParent.lua"]:2716: in function `ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:2623: in function <FrameXML\UIParent.lua:2619>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\UIParent.lua"]:3468: in function `ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:1958: in function <FrameXML\UIParent.lua:1269>
[string "=[C]"]: ?

Locals:
_i = <table> {
 stringTable = <table> {
 }
 GetLocalization = <function> defined @KayrCovenantMissions\i18n.lua:32
 currentLocale = "frFR"
}
adviceFrame = KayrCovenantMissionsAdvice {
 BottomLeftCorner = KayrCovenantMissionsAdviceBottomLeftCorner {
 }
 TopBorder = KayrCovenantMissionsAdviceTopBorder {
 }
 RightBorder = KayrCovenantMissionsAdviceRightBorder {
 }
 LeftBorder = KayrCovenantMissionsAdviceLeftBorder {
 }
 BottomBorder = KayrCovenantMissionsAdviceBottomBorder {
 }
 0 = <userdata>
 TopRightCorner = KayrCovenantMissionsAdviceTopRightCorner {
 }
 TopLeftCorner = KayrCovenantMissionsAdviceTopLeftCorner {
 }
 Bg = KayrCovenantMissionsAdviceBg {
 }
 BottomRightCorner = KayrCovenantMissionsAdviceBottomRightCorner {
 }
}
frameWidth = 600
frameHeight = 90
(*temporary) = nil
(*temporary) = "frFR"
(*temporary) = KayrCovenantMissionsAdvice {
 BottomLeftCorner = KayrCovenantMissionsAdviceBottomLeftCorner {
 }
 TopBorder = KayrCovenantMissionsAdviceTopBorder {
 }
 RightBorder = KayrCovenantMissionsAdviceRightBorder {
 }
 LeftBorder = KayrCovenantMissionsAdviceLeftBorder {
 }
 BottomBorder = KayrCovenantMissionsAdviceBottomBorder {
 }
 0 = <userdata>
 TopRightCorner = KayrCovenantMissionsAdviceTopRightCorner {
 }
 TopLeftCorner = KayrCovenantMissionsAdviceTopLeftCorner {
 }
 Bg = KayrCovenantMissionsAdviceBg {
 }
 BottomRightCorner = KayrCovenantMissionsAdviceBottomRightCorner {
 }
}
(*temporary) = "RightBorder"
(*temporary) = KayrCovenantMissionsAdviceRightBorder {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
KLib = <table> {
 Con = <function> defined @KayrCovenantMissions\KayrCovenantMissions.lua:15
}
hooksecurefunc = <function> defined =[C]:-1
CreateFrame = <function> defined =[C]:-1

Looking at the code, it seems to be related to internationalization, my client is running in French (GetLocale() returns "frFR").

I have changed i18n.lua at line 9 to be KayrCovenantMissions.i18n.currentLocale = "enUS" instead of using the game's locale in the meantime as a workaround.

italian strings

-- Italian
stringTable["itIT"] = {}
stringTable["itIT"]["_adviceFrameWidth"] = 550
stringTable["itIT"]["_adviceFrameHeight"] = 100
stringTable["itIT"]["Add some units to your team to begin success estimation."] = "Aggiungi qualche unità al tuo gruppo per iniziare la stima del successo"
stringTable["itIT"]["round"] = "turno"
stringTable["itIT"]["rounds"] = "turni"
stringTable["itIT"]["It would take"] = "Servirebbero"
stringTable["itIT"]["combat"] = "combattimento"
stringTable["itIT"]["for your current team to beat the enemy team."] = "per il tuo gruppo per battere il gruppo avversario"
stringTable["itIT"]["for the enemy team to beat your current team."] = "per il gruppo avversario per sconfiggere il tuo gruppo"
stringTable["itIT"]["Success is possible with your current units, but it will be close."] = "E' possibile vincere con il tuo gruppo, ma il margine è ridotto"
stringTable["itIT"]["There is a reasonable chance of success with your current units."] = "C'è un ragionevole margine di successo per il tuo gruppo"
stringTable["itIT"]["Mission success is impossible with your current units."] = "E' impossibile vincere con tuo gruppo"
stringTable["itIT"]["Warning: This guidance is a rough estimate. Unit abilities strongly influence the actual result."] = "Attenzione: Queste stime sono una approssimazione. Le abilità delle unità influenzano fortemente il risultato attuale"
stringTable["itIT"]["[No Mission Selected]"] = "[Nessuna missione selezionata]"

New mission/monster abilities

There are new missions and monster abilities in the new 9.1 patch and the addon doesn't know how to deal with them properly. One was a straight up does XX damage every 2 turns. Then I think another one was a basic damage reduction every X turns. It shouldn't be too hard to udate I hope.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.