ExtraConcentratedJuice / pokecord-catcher

Working automatic hax to catch pokemans on the shitty discord pokemon clone
2 stars 0 forks source link

not catching anything #24

Open memeersailor opened 6 years ago

memeersailor commented 6 years ago

i have the bot set up perfectly with configs edited fine, the bot isnt catching anything?

memeersailor commented 6 years ago

sorry found a simlar issue

memeersailor commented 6 years ago

alright im reopening cuz everything is working but the catcher ive restarted this bot multiple times and its still not working

ExtraConcentratedJuice commented 6 years ago

did you somehow enable guild/pokemon whitelisting

memeersailor commented 6 years ago

neither are enabled, and if so they are set to the right guilds where i want them caught

ExtraConcentratedJuice commented 6 years ago

did you set the proper prefix for pokecord

memeersailor commented 6 years ago

yes, it is able to trade and display pokemon, but it doesnt catch any

ExtraConcentratedJuice commented 6 years ago

can you paste your config and a screenshot of the pokecord embed when the pokemon appears

memeersailor commented 6 years ago

screen shot 2018-07-23 at 7 04 28 pm screen shot 2018-07-23 at 7 04 46 pm

ExtraConcentratedJuice commented 6 years ago

Huh. Everything seems to be in order, nothing is being logged to the console?

memeersailor commented 6 years ago

Detected pokemon, catching... this is all ive had it running for a good day

ExtraConcentratedJuice commented 6 years ago

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?

memeersailor commented 6 years ago

i reinstalled a clean version from releases and redid everything, its still not catching anything

ExtraConcentratedJuice commented 6 years ago

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

memeersailor commented 6 years ago

[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

memeersailor commented 6 years ago

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

ScriptKi77y commented 6 years ago

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

NoFiixx commented 6 years ago

Also maybe role issues in the channel, maybe that's why the bot cant write anything...

Peiffap commented 5 years ago

Is there a way to get it to work on mac? I get the exact same issue you get...

Rattlyy commented 5 years ago

It gaves me the same error, i'm on an Ubuntu 18.04 VPS on the latest version on dotnet core.