Open memeersailor opened 6 years ago
sorry found a simlar issue
alright im reopening cuz everything is working but the catcher ive restarted this bot multiple times and its still not working
did you somehow enable guild/pokemon whitelisting
neither are enabled, and if so they are set to the right guilds where i want them caught
did you set the proper prefix for pokecord
yes, it is able to trade and display pokemon, but it doesnt catch any
can you paste your config and a screenshot of the pokecord embed when the pokemon appears
Huh. Everything seems to be in order, nothing is being logged to the console?
Detected pokemon, catching... this is all ive had it running for a good day
It's probably throwing an exception either while comparing the hashes or grabbing the image from the url. Did you happen to modify poke.json at all?
i reinstalled a clean version from releases and redid everything, its still not catching anything
I've included stuff in the latest release that will log any errors that the bot might've encountered during catching. Come back and paste the error that it logs here when you've tested it out
[Debug] Received Dispatch (MESSAGE_UPDATE) System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'gdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libgdiplus, 1): image not found at System.Drawing.GDIPlus.GdiplusStartup(UInt64& token, GdiplusStartupInput& input, GdiplusStartupOutput& output) at System.Drawing.GDIPlus..cctor() --- End of inner exception stack trace --- at System.Drawing.GDIPlus.RunningOnUnix() at System.Drawing.Image.InitFromStream(Stream stream) at System.Drawing.Image.LoadFromStream(Stream stream, Boolean keepAlive) at PokecordCatcherBot.PokemonComparer.GetPokemon(Stream image) in E:\stuff\PokecordCatcher\PokecordCatcher\PokecordCatcher\PokemonComparer.cs:line 36 at PokecordCatcherBot.Services.CatcherService.OnMessage(SocketMessage msg) in E:\stuff\PokecordCatcher\PokecordCatcher\PokecordCatcher\Services\CatcherService.cs:line 48 at PokecordCatcherBot.Services.CatcherService.<>c__DisplayClass2_0.<<-ctor>b__1>d.MoveNext() in E:\stuff\PokecordCatcher\PokecordCatcher\PokecordCatcher\Services\CatcherService.cs:line 25
this is the error when it tries to catch pokemon
seems im missing gdi plus, its probably cause im running this on a mac ill try to find a fix and let you know so that this can support mac users
didn't they change the images in some way? i believe they altered they so that hashing them produces a different hash from before. not sure though
Also maybe role issues in the channel, maybe that's why the bot cant write anything...
Is there a way to get it to work on mac? I get the exact same issue you get...
It gaves me the same error, i'm on an Ubuntu 18.04 VPS on the latest version on dotnet core.
i have the bot set up perfectly with configs edited fine, the bot isnt catching anything?