Skip to content
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

Youth current skill and potential is reversed on CopyPlayerAd #1718

Open
rs443 opened this issue Oct 18, 2023 · 2 comments
Open

Youth current skill and potential is reversed on CopyPlayerAd #1718

rs443 opened this issue Oct 18, 2023 · 2 comments

Comments

@rs443
Copy link

rs443 commented Oct 18, 2023

When browsing a youth player and clicking the CopyPlayerAd button current skill name and potential is reversed. The number is correct however. Using swedish language on hattrick.

Example:
Current skill in Playmaking, Passable (6)
Potential in Playmaking, Solid (7)

This is reversed in the copied output:
Playmaking: Solid (6) / Passable (7)

Firefox with foxtrick 0.17.9.2709 beta-82137af41 webext

What steps will reproduce the problem?

Clicking the CopyPlayerAd.

What is the expected behaviour? What is the actual behaviour? Please provide any relevant screenshots.

Output should be:
Playmaking: Passable (6) / Solid (7)

Foxtrick log URL (see above):

Any other relevant information. Is it a regression, when it worked/broke etc.

Have been broke as long as I remember. Copying using the hattrick builtin Copy Player works.

@murko69
Copy link
Contributor

murko69 commented Oct 19, 2023

Other specific settings?
I don't have this issue, using Firefox.
I tested both Hattricks built-in copyplayerAd and Foxtricks version
I tested checking the button 'Copy in plain style without tables' as well, but I still got it in correct order.
I also tested legacy settings in HT

My example is a youth player with defence 6/7 - that's the only thing different (and working)!

Screenshot(5)

Output:
Jonas Björkflod [youthplayerid=331592996]

Keeper: unknown / unknown
Defending: passable (6) / solid (7)
Playmaking: poor (3) / -
Winger: - / solid (7)
Passing: unknown / unknown
Scoring: - / poor (3)
Set pieces: unknown / unknown

Edit: Same result in Swedish and English. Just chose English here for presentation

@rs443
Copy link
Author

rs443 commented Oct 24, 2023

Strange! I have no other settings I know of that could interfere. Also using Firefox.

Here is a screenshot of a youth player with bra/inadequate(5) scoring/målgörare skill with ypperlig/passable(6) potential:

1

Foxtrick copy player:
bild

Hattrick built in copy player:
bild

My Hattrick site settings:
2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants