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

New Lost Depths Error #2

Open
BastionNtB opened this issue Aug 25, 2022 · 3 comments
Open

New Lost Depths Error #2

BastionNtB opened this issue Aug 25, 2022 · 3 comments

Comments

@BastionNtB
Copy link

user:/AddOns/GrindTimer/GrindTimer.lua:162: operator + is not supported for number + nil
stack traceback:
user:/AddOns/GrindTimer/GrindTimer.lua:162: in function 'GetTargetLevelExp'
| <Locals> championPoints = 0, isChamp = T, level = 0, targetLevel = 354, targetLevelType = 2, totalExpRequired = 0, i = 0 </Locals>|r
user:/AddOns/GrindTimer/GrindTimer.lua:180: in function 'GetExpNeeded'
| <Locals> isChamp = T, championPoints = 0, currentExp = 0, maxExp = 0, expNeeded = 0 </Locals>|r
user:/AddOns/GrindTimer/GrindTimer.lua:317: in function 'UpdateVars'
user:/AddOns/GrindTimer/GrindTimer.lua:531: in function 'GrindTimer.TimedUpdate'
| <Locals> currentTimestamp = 1661400477 </Locals>|r
GrindTimerWindow_Update:3: in function '(main chunk)'
| <Locals> self = ud, time = 1093.4730224609 </Locals>|r

Hello! This addon is giving this error ever since lost depth's patch. It was working perfectly well before then, but now I get this error and it gives enormous numbers upon going through doors (randomly) or wayshrines. It doesn't always, but it seems pretty busted at the moment. Any chance you're able to patch this~? Thank you!

@Tirilance
Copy link
Owner

Tirilance commented Aug 25, 2022

After messing around with it some more, I was able to somewhat reproduce the error, though very inconsistently. I'm uploading a new version with a possible fix, please try it out and let me know if this works to solve the issue.

@BastionNtB
Copy link
Author

AenathelsLazyRidingSkillTrainer
AyleidWells
BanditsAlchemyHelper
BanditsCompanions
BanditsGearManager
BanditsGuildhall
BanditsLootManager
BanditsUserInterface
BarSteward
BreakReminder
CAddonDiagnosis
CarosSkillPointSaver
CharacterKnowledge
ClockTST
CustomCompassPins
DailyAutoShare
Destinations
DolgubonsLazyWritCreator
DungeonTimer
DungeonTracker
EnchantMaker
EnhancedLockpicking
ESODatabaseExport
ESODatabaseGameDataExport
ESODatabaseLeaderboardExport
FasterTravel
FCOItemSaver
GridList
GrindTimer
GroupLootNotifier
GuildHallButton
HarvensImprovedSkillsWindow
HarvensItemStatsComparsion
HarvensResearchTimers
HarvestMap
HarvestMapData
HarvestPins
IIfA
JackOfAllTrades
Lib3D
libAddonKeybinds
LibAddonMenu-2.0
LibAddonMenuOrderListBox
LibAlchemyStation
LibAsync
LibChatMessage
LibClockTST
LibCustomMenu
LibDebugLogger
LibDialog
LibEnchantingStation
LibFeedback
LibFilters-3.0
LibFoodDrinkBuff
LibGPS
LibHarvensAddonSettings
LibLazyCrafting
LibLootSummary
LibMainMenu-2.0
LibMapData
LibMapPing
LibMapPins-1.0
LibMultilingualName
LibNotification
LibQuestData
LibResearch
LibSavedVars
LibSets
LibShifterBox
LibTableFunctions-1.0
LibTreasure
LibUespQuestData
LibWorldMapInfoTab
LoreBooks
LostTreasure
MapCoordinates
MapPins
MasterRecipeList
Mundus
PointsofColor
PolloxsDailyQuestTracker
Postmaster
PotionMaker
PXContainerMagic
QuestMap
QuickMapNav
Ravalox'QuestTracker
ResearchAssistant
ScootworksHUD
ScrySpy
SetCollectionMarker
SkyShards
SpentSkillPoints
TamrielTradeCentre
TamrielTradeCentreSimplePrice
TheQuestingGuide
TraitBuddy
USPF
VotansImprovedMulticraft
VotansKeybinder
WorldMapWayshrinesController

Addon list above.

GrindTimerVars =
{
    ["Default"] = 
    {
        ["*****"] = 
        {
            ["$AccountWide"] = 
            {
                ["Account"] = 
                {
                    ["FirstLabelType"] = 11,
                    ["OffsetX"] = 2217.5781250000,
                    ["SecondLabelEnabled"] = true,
                    ["Opacity"] = 0,
                    ["OffsetY"] = 595.7031250000,
                    ["AbbreviateNumbers"] = true,
                    ["OutlineText"] = true,
                    ["FontSize"] = 18,
                    ["Locked"] = false,
                    ["version"] = "6",
                    ["TextColor"] = 
                    {
                        [1] = 1,
                        [2] = 1,
                        [3] = 1,
                    },
                    ["AbbreviateTime"] = true,
                    ["SecondLabelType"] = 4,
                },
            },
            ["*****"] = 
            {
                ["Character"] = 
                {
                    ["ExpPerHour"] = 158548,
                    ["SessionLevels"] = 0,
                    ["TargetLevelType"] = 2,
                    ["TargetSeconds"] = -1080,
                    ["LastDungeonName"] = "Bangkorai Garrison",
                    ["Mode"] = 2,
                    ["KillsNeeded"] = -121,
                    ["TargetExpRemaining"] = -48269,
                    ["TargetMinutes"] = -18,
                    ["DungeonRunsNeeded"] = -4,
                    ["TargetLevel"] = 354,
                    ["IsPlayerChampion"] = true,
                    ["RecentKills"] = 44,
                    ["DolmensNeeded"] = 0,
                    ["version"] = "6",
                    ["TargetHours"] = 0,
                    ["SessionKills"] = 57,
                    ["LevelsPerHour"] = 1,
                },
                ["$LastCharacterName"] = "****",
            },
        },
    },
}

Config above

Thank you!

I guess I should say I have it calculating time to next level based on EXP per hour

image

@Tirilance
Copy link
Owner

I uploaded a new version today that I think could have fixed the Lua error, but I still don't know why some of your metric fields have negative values. Could be related though, so try either clicking the reset button in the addon's UI to reset the fields to default values, or just deleting the config and let it generate a new one. Either way let me know if either problem persists after updating and clearing the config.

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

2 participants