System.NullReferenceException
Closed this issue · 4 comments
olaims commented
olaims commented
Ok I changed following line and now it works :)
var names = string.IsNullOrEmpty(name) ? new List<string> { "**WowClassic**", "Wow-64" } : new List<string> { name };
Moonzy123 commented
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.
Moonzy123 commented
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?
julianperrott commented
The issue was that the wow process name changed. I have fixed it in the code and the zip.