julianperrott/FishingFun

System.NullReferenceException

Closed this issue · 4 comments

It was working till yesterday, now I get the exception on the log text

image

Ok I changed following line and now it works :)

        var names = string.IsNullOrEmpty(name) ? new List<string> { "**WowClassic**", "Wow-64" } : new List<string> { name };

Hey, I mailed you about this issue: how do you change that line? I'd like to fix it too as I get the same issue.

Nvm I found the location and edited the line myself but the issue remains. It says:

System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij FishingFun.WowProcess.KeyDown(ConsoleKey key)
bij FishingFun.WowProcess.PressKey(ConsoleKey key)
bij FishingFun.FishingBot.Start()

Which translates to:

The objectreferall has been put on an example of an object, at
FishingFun.Wowprocess.Keydown
(etc)

how to fix?

The issue was that the wow process name changed. I have fixed it in the code and the zip.