Wayfinder icon indicating copy to clipboard operation
Wayfinder copied to clipboard

Imports character to discord, but show error on !character

Open Randy3596 opened this issue 4 years ago • 5 comments

Not seeing the issue, but tried two different characters with same results of error message. No clue what error may be.

Randy3596 avatar Jun 16 '20 18:06 Randy3596

I'm experiencing such errors sometimes as well, but I haven't been able to nail down what causes it, or why it seems to work later. It seems to happen a lot for people right after they level up. I suspect it's related to the cards somehow but I've not been able to reproduce the error manually.

Arkanmann avatar Jun 17 '20 20:06 Arkanmann

I got one of my characters to load the !character by -character name on the end of my !import https://character.pf2.tools/?t1pCJqSb .

On Wed, Jun 17, 2020 at 4:59 PM Arkanmann [email protected] wrote:

I'm experiencing such errors sometimes as well, but I haven't been able to nail down what causes it, or why it seems to work later. It seems to happen a lot for people right after they level up. I suspect it's related to the cards somehow but I've not been able to reproduce the error manually.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yoshisman8/Wayfinder/issues/13#issuecomment-645621644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP634C63F226N7ZENBTDRILRXEVERANCNFSM4N736T4A .

Randy3596 avatar Jun 18 '20 12:06 Randy3596

I'm currently working on figuring out what is causing this issue. It seems that, almost at random, some sheets aren't loading at all. All other commands function so this has to be an issue with the sheet display command only. Join the discord server to see any updates about this issue

yoshisman8 avatar Jun 18 '20 13:06 yoshisman8

I have isolated the issue! It seems like some sheets are having their values removed. To fix this, open your sheet on the website (make sure you're logged in!) and change the value of any field in the sheet and then change it back (any field will do, you just gotta trigger the sheet to refresh its values). Your sheet should display now.

If it doesn't, check your skills, if you have a skill with no name (such as a lore skill you added but didn't name) or a skill that has no ability assigned to it (The dropdown to the right) the bot will throw an error displaying such skill on your sheet.

yoshisman8 avatar Jun 19 '20 18:06 yoshisman8

I have isolated the issue! It seems like some sheets are having their values removed. To fix this, open your sheet on the website (make sure you're logged in!) and change the value of any field in the sheet and then change it back (any field will do, you just gotta trigger the sheet to refresh its values). Your sheet should display now.

If it doesn't, check your skills, if you have a skill with no name (such as a lore skill you added but didn't name) or a skill that has no ability assigned to it (The dropdown to the right) the bot will throw an error displaying such skill on your sheet.

The issue is still happening. Changing the value of any field as you suggested doesn't fix it, and all my skills are correct filled in. I tried anything I could think of to fix it/work around it, nothing works. Every sheet related command is working, except !character.

Also, sometimes the !strike command stop working too (with the same error), and it only works again after changing the strike name. In fact, at the beginning of every game session, my whole group needs to change the names of the strikes so they work again.

It is very weird.

EDIT: Tested it, and I found that ANY custom skill, with ANY name filled in, is causing the issue. It doesn't matter the name and if it is correct filled in (proficiency, ability, name, etc). Adding a custom skill (like a Lore one) causes the issue, and removing it fix it.

eduardocasati avatar Aug 20 '20 06:08 eduardocasati