Ovale Spell Priority

Ovale Spell Priority

6M Downloads

bug LUA with Ovale Spell Priority

Hiru1990 opened this issue · 5 comments

commented

page 1
Message: Interface\AddOns\Ovale\dist\Compile.lua:520: attempt to compare number with nil
Time: Tue Jun 4 14:06:58 2019
Count: 2
Stack: Interface\AddOns\Ovale\dist\Compile.lua:520: attempt to compare number with nil
Interface\AddOns\Ovale\dist\Compile.lua:520: in function <Interface\AddOns\Ovale\dist\Compile.lua:497>
Interface\AddOns\Ovale\dist\Compile.lua:546: in function <Interface\AddOns\Ovale\dist\Compile.lua:534>
Interface\AddOns\Ovale\dist\Compile.lua:659: in function `EvaluateScript'
Interface\AddOns\Ovale\dist\Frame.lua:128: in function <Interface\AddOns\Ovale\dist\Frame.lua:121>
(tail call): ?

Locals: buffId = 165822
statName = nil
isStacking = nil
si =

{
aura =
{
}
duration = 10
buff_cd = 65
require =
{
}
stat = "haste"
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
pairs = defined =[C]:-1
OvaleData =
{
TAUREN_CLASSES =
{
}
PANDAREN_CLASSES =
{
}
BLOODELF_CLASSES =
{
}
spellInfo =
{
}
itemList =
{
}
STAT_SHORTNAME =
{
}
buffSpellList =
{
}
STAT_NAMES =
{
}
DEFAULT_SPELL_LIST =
{
}
itemInfo =
{
}
STAT_USE_NAMES =
{
}
}
find = defined =[C]:-1
isLuaArray = defined @interface\AddOns\Ovale\dist\tools.lua:10
ipairs = defined =[C]:-1
AddToBuffList = defined @interface\AddOns\Ovale\dist\Compile.lua:497

page 2

Message: Interface\AddOns\Ovale\dist\Frame.lua:172: attempt to index local 'action' (a nil value)
Time: Tue Jun 4 14:25:02 2019
Count: 31538
Stack: Interface\AddOns\Ovale\dist\Frame.lua:172: attempt to index local 'action' (a nil value)
Interface\AddOns\Ovale\dist\Frame.lua:172: in function `UpdateActionIcon'
Interface\AddOns\Ovale\dist\Frame.lua:158: in function <Interface\AddOns\Ovale\dist\Frame.lua:121>
(tail call): ?

Locals: self =

{
visible = true
OnCheckBoxValueChanged = defined @interface\AddOns\Ovale\dist\Frame.lua:472
checkBoxWidget =
{
}
userdata =
{
}
actions =
{
}
type = "Frame"
hider = OvalePetBattleFrameHider {
}
updateFrame = OvaleUpdateFrame {
}
LayoutFunc = defined @interface\AddOns\TomTom\libs\AceGUI-3.0\AceGUI-3.0.lua:600
listWidget =
{
}
OnDropDownValueChanged = defined @interface\AddOns\Ovale\dist\Frame.lua:477
content = {
}
events =
{
}
children =
{
}
frame = {
}
localstatus =
{
}
barre = {
}
timeSinceLastUpdate = Infinite
}
node =
{
type = "icon"
rawPositionalParams =
{
}
child =
{
}
positionalParams =
{
}
rawNamedParams =
{
}
nodeId = 4174
paramsAsString = "checkbox=!opt_hunter_beast_mastery_aoe enemies=1 help=shortcd specialization=beast_mastery"
namedParams =
{
}
}
action = nil
element =
{
asString = "Spell(bestial_wrath)"
rawPositionalParams =
{
}
actionTexture = 132127
actionCooldownDuration = 0
actionTarget = "target"
func = "spell"
rawNamedParams =
{
}
lowername = "spell"
actionShortcut = "R"
paramsAsString = "19574"
actionResourceExtend = 0
result =
{
}
actionCooldownStart = 0
actionIsCurrent = false
type = "action"
timeSpan =
{
}
actionEnable = 1
castTime = 0
actionId = 19574
positionalParams =
{
}
namedParams =
{
}
actionUsable = true
name = "Spell"
nodeId = 2940
actionType = "spell"
functionHash = "Spell(19574)"
serial = 31538
}
start = 315048.362000
now = nil
profile =
{
apparence =
{
}
standaloneOptions = false
source =
{
}
code = ""
check =
{
}
overrideCode = ""
list =
{
}
showHiddenScripts = false
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'action' (a nil value)"
Ovale =
{
modules =
{
}
refreshNeeded =
{
}
playerClass = "HUNTER"
db =
{
}
MSG_PREFIX = "Ovale"
playerGUID = "Player-1621-091E985B"
}
GetTime = defined =[C]:-1
OvaleBestAction =
{
COMPUTE_VISITOR =
{
}
ComputeArithmetic = defined @interface\AddOns\Ovale\dist\BestAction.lua:389
ComputeIf = defined @interface\AddOns\Ovale\dist\BestAction.lua:593
ComputeAction = defined @interface\AddOns\Ovale\dist\BestAction.lua:276
ComputeLua = defined @interface\AddOns\Ovale\dist\BestAction.lua:653
ComputeState = defined @interface\AddOns\Ovale\dist\BestAction.lua:665
enabled = false
ComputeGroup = defined @interface\AddOns\Ovale\dist

commented

@Hiru1990 could you apply the changes as described in Hemario@21e6b86 (only the first file dist/Compile.lua, the second file is not necessary) and confirm if this fixes your problem?

commented

@ Hiru1990 pouvez-vous appliquer les modifications décrites dans Hemario @ 21e6b86 (uniquement le premier fichier dist / Compile.lua, le second fichier n'est pas nécessaire) et confirmer si cela résout votre problème?

no it does not work instead it writes me

page 1
Message: Interface\AddOns\Ovale\dist\Compile.lua:2: '=' expected near 'pas'
Time: Wed Jun 5 09:42:49 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\Compile.lua:2: '=' expected near 'pas'

Locals:

page 2
Message: Interface\AddOns\Ovale\dist\SimulationCraft.lua:20: Cannot find a library instance of "ovale/Compile".
Time: Wed Jun 5 09:42:49 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\SimulationCraft.lua:20: Cannot find a library instance of "ovale/Compile".
[C]: in function error' Interface\AddOns\AAP-Core\lib\LibStub\LibStub.lua:23: in function GetLibrary'
Interface\AddOns\Ovale\dist\SimulationCraft.lua:20: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "ovale/Compile"."

page 3
Message: Interface\AddOns\Ovale\dist\BestAction.lua:18: Cannot find a library instance of "ovale/Compile".
Time: Wed Jun 5 09:42:49 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\BestAction.lua:18: Cannot find a library instance of "ovale/Compile".
[C]: in function error' Interface\AddOns\AAP-Core\lib\LibStub\LibStub.lua:23: in function GetLibrary'
Interface\AddOns\Ovale\dist\BestAction.lua:18: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "ovale/Compile"."

page 4
Message: Interface\AddOns\Ovale\dist\Frame.lua:8: Cannot find a library instance of "ovale/Compile".
Time: Wed Jun 5 09:42:49 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\Frame.lua:8: Cannot find a library instance of "ovale/Compile".
[C]: in function error' Interface\AddOns\AAP-Core\lib\LibStub\LibStub.lua:23: in function GetLibrary'
Interface\AddOns\Ovale\dist\Frame.lua:8: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "ovale/Compile"."

page 5
Message: Interface\AddOns\Ovale\dist\conditions.lua:5: Cannot find a library instance of "ovale/Compile".
Time: Wed Jun 5 09:42:49 2019
Count: 1
Stack: Interface\AddOns\Ovale\dist\conditions.lua:5: Cannot find a library instance of "ovale/Compile".
[C]: in function error' Interface\AddOns\AAP-Core\lib\LibStub\LibStub.lua:23: in function GetLibrary'
Interface\AddOns\Ovale\dist\conditions.lua:5: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "ovale/Compile"."

page 6
Message: Interface\AddOns\Ovale\dist\Compile.lua:2: '=' expected near 'pas'
Time: Wed Jun 5 09:42:52 2019
Count: 4

page 7
Message: (null)
Time: Wed Jun 5 09:42:52 2019
Count: 16

commented

@Hiru1990 , I think there must have gone something wrong with the edit.
This is the file /dist/Compila.lua https://raw.githubusercontent.com/Hemario/Ovale/21e6b86c6a547ff77df06f1318ef942d5eacb13c/dist/Compile.lua
Can you copy the contents and overwrite the entire file with it?

commented

@ Hiru1990 , je pense que quelque chose ne va pas avec l'édition.
Ceci est le fichier /dist/Compila.lua https://raw.githubusercontent.com/Hemario/Ovale/21e6b86c6a547ff77df06f1318ef942d5eacb13c/dist/Compile.lua
Pouvez-vous copier le contenu et écraser le fichier en entier?

it's perfect everything works fine thank you for your help it helped me a lot thank you again