msikma / pokesprite

Database project of box and inventory sprites from the Pokémon core series games
https://msikma.github.io/pokesprite/
MIT License
972 stars 167 forks source link

Pokemon not showing up properly #30

Closed GiacomoLaw closed 7 years ago

GiacomoLaw commented 7 years ago

I'm using Pokesprite a lot in a project I'm making, but some sprites aren't showing up correctly.

If you go to this site, click on route five at the top, and move up a little, you'll find that the wrong sprites with the wrong Pokemon.

http://giacomolaw.me/pokefinder/#route5

The sprites are all correctly assigned, and I don't know why it's happening.

img_9167

The code can be found here: https://github.com/GiacomoLaw/pokefinder

Thank you!

msikma commented 7 years ago

The only problem I could see is that Pikipek isn't showing up, but that's because it's typoed "Pipipek" in the code...

Have a look at the console, you should see the following warning:

2017-06-23 13 29 30

Are there any others that aren't showing up? That's the only one I could find.

GiacomoLaw commented 7 years ago

Below that, Grubbin is showing as the third evolution of the water starter. Its not giving an error either

msikma commented 7 years ago

I think this is happening because you are hosting the CSS/JS files yourself, but using the live image on Github instead of hosting it yourself. Your files are 1.4.6, but the current version on Github is 1.4.7. The mismatch is causing the wrong image to show up because the image coordinates have changed.

I would suggest you update your CSS/JS to 1.4.7 and then also make sure you host the image file on your own server at the correct version. (So that it doesn't break in the future when I update the image.)

GiacomoLaw commented 7 years ago

Okay, I will do so. Thanks!