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

Submitting contact with several multipliers #411

Closed
VictorDenisov opened this issue Oct 15, 2023 · 8 comments · Fixed by #442
Closed

Submitting contact with several multipliers #411

VictorDenisov opened this issue Oct 15, 2023 · 8 comments · Fixed by #442

Comments

@VictorDenisov
Copy link
Contributor

California QSO party has this concept of county lines. Contact with county line stations gives two multipliers.
Are there any ways for recording several multipliers in one QSO?

@zcsahok
Copy link
Member

zcsahok commented Oct 15, 2023

If it were contest exchange + DXCC, then it would be possible with some minor coding. (see last comment for #252 )
Recording two arbitrary multipliers is currently not possible, but it's on the roadmap (that why generic multiplier is called mult1...). It'll however require a substantial rework of addmult.

@zcsahok
Copy link
Member

zcsahok commented Nov 22, 2023

I have a possible solution in https://github.com/zcsahok/tlf/tree/poc_xmult

The idea is to treat the plugin-generated multiplier string as a list of space separated individual mults and check each of them. The ones that could been applied will be added to the mult field of the log line. There are only 8 chars available, so for two 4-char wide counties the second one gets a bit truncated.

Another basic change is to update mult1_value with the actually applied mults, thus moving away from using globals like new_mult.

The rules are just checked in directly under test/rules/cqp_dx. After review they have to be moved to rules/. A separate test for CA stations could also be added.

@zcsahok
Copy link
Member

zcsahok commented Nov 23, 2023

image

@VictorDenisov
Copy link
Contributor Author

VictorDenisov commented Dec 1, 2023

I presume the truncated mult is truncated only on the screen. It's not really truncated for accounting purposes. Right? There are a couple of counties that are indistinguishable once truncated to 3 letters.

@zcsahok
Copy link
Member

zcsahok commented Dec 2, 2023

Yes, it's only truncated in the "applied multipliers" field. The last QSO works TULA again and it is not counted, only KERN. Same for the second QSO on the screenshot.

@VictorDenisov
Copy link
Contributor Author

I tested. It looks fine to me.

@VictorDenisov
Copy link
Contributor Author

Are there plans to merge this change?

@zcsahok
Copy link
Member

zcsahok commented Oct 1, 2024

I'm working on it.

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

Successfully merging a pull request may close this issue.

2 participants