-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get metadata when player's name has a special character #126
Comments
Can you be more specific about how to reproduce the issue? The replays process fine for me const game = new SlippiGame("./Game_20230523T215817.slp");
const settings = game.getSettings();
console.info(settings);
|
Yes, my apologies. I was specifically talking about const { SlippiGame } = require("@slippi/slippi-js");
const game1 = new SlippiGame("./Game_20230523T204542.slp"); // ェnoonェ vs Danubi
const metadata1 = game1.getMetadata();
console.info(metadata1); // null
const game2 = new SlippiGame("./Game_20230523T215817.slp"); // ェnoonェ vs Xin
const metadata2 = game2.getMetadata();
console.info(metadata2); // null
const game3 = new SlippiGame("./Game_20230523T214550.slp"); // Xin vs Lily
const metadata3 = game3.getMetadata();
console.info(metadata3); // Data! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today I noticed slippi-js not working on certain matches. Later on I realized that this specifically happened on the matches with the player who has
ェnoonェ
as their display name. My guess is that because of the special character (ェ) Slippi-js somehow fails.Here are some .slp files of matches with this player.
slippi_files.zip
The text was updated successfully, but these errors were encountered: