Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Lua Errors #37

Open
Starlynk1 opened this issue Dec 19, 2024 · 0 comments
Open

[Bug] Lua Errors #37

Starlynk1 opened this issue Dec 19, 2024 · 0 comments

Comments

@Starlynk1
Copy link

Getting errors now, here is the bugsack for it

31x StatWeightsClassic/vanilla/calc.lua:256: attempt to index local 'spell' (a nil value)
[string "@StatWeightsClassic/vanilla/calc.lua"]:256: in function <StatWeightsClassic/vanilla/calc.lua:253>
[string "@StatWeightsClassic/shared/ui.lua"]:271: in function <StatWeightsClassic/shared/ui.lua:226>
[string "@StatWeightsClassic/shared/ui.lua"]:2803: in function <StatWeightsClassic/shared/ui.lua:2658>
[string "@StatWeightsClassic/shared/core.lua"]:153: in function `?'
[string "@StatWeightsClassic/shared/ui.lua"]:2612: in function <StatWeightsClassic/shared/ui.lua:2611>

Locals:
stats = <table> {
}
spell = nil
loadout = <table> {
 stats = <table> {
 }
 crit_rating = 0
 healing_power = 0
 target_hp_perc_default = 1
 melee_crit = 0
 target_buffs = <table> {
 }
 dynamic_buffs = <table> {
 }
 target_lvl = 4
 default_target_lvl_diff = 3
 spell_dmg = 0
 num_set_pieces = <table> {
 }
 target_creature_type = ""
 flags = 2
 name = "Mage"
 hit = 0
 buffs = <table> {
 }
 custom_talents_code = ""
 max_mana = 0
 haste_rating = 0
 enemy_hp_perc = 1
 target_res = 0
 mana = 0
 attack_power = 0
 extra_mana = 0
 spell_crit_by_school = <table> {
 }
 spell_dmg_by_school = <table> {
 }
 friendly_hp_perc = 1
 runes = <table> {
 }
 player_hp_perc = 0
 player_name = "Gidgett"
 unbounded_aoe_targets = 1
 friendly_towards = "player"
 talents_code = "_"
 lvl = 1
 talents_table = <table> {
 }
 spell_dmg_hit_by_school = <table> {
 }
 spell_power = 0
 hit_rating = 0
}
effects = <table> {
 raw = <table> {
 }
 by_attribute = <table> {
 }
 ability = <table> {
 }
 by_school = <table> {
 }
}
eval_flags = 0
(*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 'spell' (a nil value)"
spell_flags = <table> {
 hybrid_scaling = 65536
 base_mana_cost = 1048576
 channel_missable = 256
 duration_haste_scaling = 8192
 double_crit = 131072
 instant = 1
 sod_rune = 4194304
 unbounded_aoe_ot = 16777216
 multi_school = 268435456
 exception_coef = 262144
 cd = 64
 binary = 67108864
 aoe = 2
 no_crit = 2097152
 alias = 32768
 special_periodic_school = 536870912
 unbounded_aoe_direct = 8388608
 absorb = 16
 hybrid = 524288
 snare = 4
 periodic_no_coef = 33554432
 mana_regen = 2048
 affliction = 1073741824
 dot_resi_penetrate = 134217728
 over_time_crit = 32
 heal = 8
 destruction = 2147483648
 cast_with_ot_dur = 16384
 curse = 512
 over_time_lvl_scaling = 1024
 weapon_enchant = 4096
 over_time_range = 128
}
magic_school = <table> {
 physical = 1
 shadow = 6
 arcane = 7
 frost = 5
 fire = 3
 holy = 2
 nature = 4
}
spell_name_to_id = <table> {
 Corruption = 172
 Shadowflame = 426320
 Death Coil = 6789
 Immolate = 348
 Conflagrate = 17962
 Shadow Cleave = 403835
 Health Funnel = 755
 Soul Fire = 6353
 Haunt = 403501
 Shoot = 5019
 Inferno = 1122
 Shadow Ward = 6229
 Siphon Life = 18265
 Immolation Aura = 427726
 Incinerate = 412758
 Life Tap = 1454
 Drain Life = 689
 Unstable Affliction = 427717
 Shadow Bolt = 686
 Searing Pain = 5676
 Chaos Bolt = 403629
 Shadowburn = 17877
 Curse of Doom = 603
 Rain of Fire = 5740
 Hellfire = 1949
 Drain Soul = 1120
 Curse of Agony = 980
}
class = "WARLOCK"
loadout_flags = <table> {
 has_target = 16
 target_snared = 32
 custom_lvl = 512
 is_dynamic_loadout = 2
 target_frozen = 64
 target_friendly = 128
 target_pvp = 1024
 always_assume_buffs = 4
 always_max_mana = 256
}
rune_ids = <table> {
 binding_heal = 6745
 demonic_tactics = 6952
 molten_blast = 7031
 mind_spike = 7110
 deep_freeze = 7093
 wild_growth = 6860
 hand_of_reckoning = 6844
 regeneration = 6736
 righteous_vengeance = 7271
 static_shock = 7127
 maelstrom_weapon = 6879
 decoy_totem = 7047
 purifying_power = 7090
 rebuke = 7042
 lava_lash = 6884
 arcane_blast = 6728
 shadowfiend = 6751
 mind_sear = 6934
 dance_of_the_wicked = 6957
 elunes_fires = 6977
 living_flame = 6737
 living_seed = 6975
 ancestral_guidance = 6877
 divine_sacrifice = 6856
 gale_winds = 7104
 the_art_of_war = 6966
 haunt = 6803
 power_word_barrier = 7589
 beacon_of_light = 6843
 enlightened_judgements = 7049
 pain_and_suffering = 6933
 coheren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant