Selling without paying tax?

Bug report

Moderator: systemmods

Post Reply
Hoefs Cycling Team
Posts: 106
Joined: Tue Apr 08, 2025 10:13 am
Contact:

Selling without paying tax?

Post by Hoefs Cycling Team » Sat Sep 06, 2025 8:26 am

This is not aimed at Zizou, but I noticed that on September 2 he sold his only 4 riders without paying tax. he bought the riders around August 8 at the age of 20 and sold them at the age of 21 for a profit. Do you not have to pay tax for selling 21 year old riders?

Alkworld
Posts: 1423
Joined: Sat Feb 27, 2010 8:40 pm
Contact:

Re: Selling without paying tax?

Post by Alkworld » Sat Sep 06, 2025 10:49 am

Hoefs Cycling Team wrote:
Sat Sep 06, 2025 8:26 am
This is not aimed at Zizou, but I noticed that on September 2 he sold his only 4 riders without paying tax. he bought the riders around August 8 at the age of 20 and sold them at the age of 21 for a profit. Do you not have to pay tax for selling 21 year old riders?
If I remember correctly, tax starts at 5% (or was it 10%?), so you're sure he didn't pay tax? Or did it only look like it?

Hoefs Cycling Team
Posts: 106
Joined: Tue Apr 08, 2025 10:13 am
Contact:

Re: Selling without paying tax?

Post by Hoefs Cycling Team » Sat Sep 06, 2025 10:56 am

I am not sure, so i asked it. Selling prices are the same value as the riders are worth. So that seems to me like no paying tax.

Alkworld
Posts: 1423
Joined: Sat Feb 27, 2010 8:40 pm
Contact:

Re: Selling without paying tax?

Post by Alkworld » Sat Sep 06, 2025 11:24 am

Hoefs Cycling Team wrote:
Sat Sep 06, 2025 10:56 am
I am not sure, so i asked it. Selling prices are the same value as the riders are worth. So that seems to me like no paying tax.
OK, looks like there's a bug for Div6 teams. No tax was applied.

User avatar
flockmastoR
Posts: 3638
Joined: Thu Feb 18, 2010 11:42 pm
Contact:

Re: Selling without paying tax?

Post by flockmastoR » Sat Sep 06, 2025 11:27 am

Hoefs Cycling Team wrote:
Sat Sep 06, 2025 10:56 am
I am not sure, so i asked it. Selling prices are the same value as the riders are worth. So that seems to me like no paying tax.
You are right. It shows exactly the same market value as selling price. In the teams page it (now) shows a tax of 10,05% and this is also shown for the selling price now. Not sure why this was not the case before.
Boaz Trakhtenbrot:
  • Winner Giro 2022
  • 10 GC wins
  • 16.609 Eternal Points
__________________
Schrödinger's Dogs: Alive & Dead

Hoefs Cycling Team
Posts: 106
Joined: Tue Apr 08, 2025 10:13 am
Contact:

Re: Selling without paying tax?

Post by Hoefs Cycling Team » Sat Sep 06, 2025 11:41 am

Is this olso a bug?
Last month zizou was in div 3 and went from div 3 to div 6 in one month without being in div 4 and div 5
How does that happened??
So is zizous team a bug?

User avatar
flockmastoR
Posts: 3638
Joined: Thu Feb 18, 2010 11:42 pm
Contact:

Re: Selling without paying tax?

Post by flockmastoR » Sat Sep 06, 2025 11:52 am

Hoefs Cycling Team wrote:
Sat Sep 06, 2025 11:41 am
Is this olso a bug?
Last month zizou was in div 3 and went from div 3 to div 6 in one month without being in div 4 and div 5
How does that happened??
So is zizous team a bug?
About the transfer, maybe it is somehow related to the direct transition to div 6?!

I can remember, that alk introduced that totally inactive teams are relegated to division 6 directly. From my point of view, this was necessary earlier with little active teams to bring the inactive teams (inactive for months and years) to division 6 (they didn't relegate because of too little active teams). Now as the numbers are higher again, I think this should be deactivated as well.
Boaz Trakhtenbrot:
  • Winner Giro 2022
  • 10 GC wins
  • 16.609 Eternal Points
__________________
Schrödinger's Dogs: Alive & Dead

Alkworld
Posts: 1423
Joined: Sat Feb 27, 2010 8:40 pm
Contact:

Re: Selling without paying tax?

Post by Alkworld » Sat Sep 06, 2025 11:57 am

Hoefs Cycling Team wrote:
Sat Sep 06, 2025 11:41 am
Is this olso a bug?
Last month zizou was in div 3 and went from div 3 to div 6 in one month without being in div 4 and div 5
How does that happened??
So is zizous team a bug?
As AAD / the cemetary guy pointed out, this is a feature. I'm still in favor of it, but feel free to discuss it in the technic section.

Hoefs Cycling Team
Posts: 106
Joined: Tue Apr 08, 2025 10:13 am
Contact:

Re: Selling without paying tax?

Post by Hoefs Cycling Team » Sat Sep 06, 2025 12:04 pm

Aha the drop down from div 3 to div 6 is explained...tnx Flock and Alk

User avatar
flockmastoR
Posts: 3638
Joined: Thu Feb 18, 2010 11:42 pm
Contact:

Re: Selling without paying tax?

Post by flockmastoR » Sat Sep 06, 2025 12:23 pm

Alkworld wrote:
Sat Sep 06, 2025 11:57 am
Hoefs Cycling Team wrote:
Sat Sep 06, 2025 11:41 am
Is this olso a bug?
Last month zizou was in div 3 and went from div 3 to div 6 in one month without being in div 4 and div 5
How does that happened??
So is zizous team a bug?
As AAD / the cemetary guy pointed out, this is a feature. I'm still in favor of it, but feel free to discuss it in the technic section.
Feel free to join the discussion: viewtopic.php?f=3&t=9673&p=126190#p126190


On-topic: Zizou didn't pay a tax, that looks like a bug not a feature
Boaz Trakhtenbrot:
  • Winner Giro 2022
  • 10 GC wins
  • 16.609 Eternal Points
__________________
Schrödinger's Dogs: Alive & Dead

Alkworld
Posts: 1423
Joined: Sat Feb 27, 2010 8:40 pm
Contact:

Re: Selling without paying tax?

Post by Alkworld » Sun Sep 07, 2025 2:15 pm

flockmastoR wrote:
Sat Sep 06, 2025 12:23 pm
On-topic: Zizou didn't pay a tax, that looks like a bug not a feature
Checked it now, zizou indeed didn't have to pay tax. Below 14M team value there is no tax, and zizou was indeed below. He's back above now as he did a reset after going down to Div 6.
But that's also an interesting point for the Div6 relegation discussion, only the fast relegation made it possible for zizou to reset.

Hansa
Posts: 1277
Joined: Wed May 19, 2010 8:27 pm
Contact:

Re: Selling without paying tax?

Post by Hansa » Sun Sep 07, 2025 3:03 pm

Alkworld wrote:
Sun Sep 07, 2025 2:15 pm
flockmastoR wrote:
Sat Sep 06, 2025 12:23 pm
On-topic: Zizou didn't pay a tax, that looks like a bug not a feature
Checked it now, zizou indeed didn't have to pay tax. Below 14M team value there is no tax, and zizou was indeed below. He's back above now as he did a reset after going down to Div 6.
But that's also an interesting point for the Div6 relegation discussion, only the fast relegation made it possible for zizou to reset.
why is there no tax? there should be a 5% tax still
Hansa

est. 03.08.2009

Radunion
Posts: 545
Joined: Sat Mar 27, 2010 2:09 pm
Contact:

Re: Selling without paying tax?

Post by Radunion » Sun Sep 07, 2025 8:17 pm

Not sure the formula in the manual is right or intended this way

Sales Tax = 10% + (Min(Total Capital,20M) - 15M)/5M * 10% + (Min(Total Capital,35M) - 20M)/15M * 50%

The last term gets negativ below 20 Mio. So zero tax is reachable.

Alkworld
Posts: 1423
Joined: Sat Feb 27, 2010 8:40 pm
Contact:

Re: Selling without paying tax?

Post by Alkworld » Mon Sep 08, 2025 6:32 am

Hansa wrote:
Sun Sep 07, 2025 3:03 pm
Alkworld wrote:
Sun Sep 07, 2025 2:15 pm
flockmastoR wrote:
Sat Sep 06, 2025 12:23 pm
On-topic: Zizou didn't pay a tax, that looks like a bug not a feature
Checked it now, zizou indeed didn't have to pay tax. Below 14M team value there is no tax, and zizou was indeed below. He's back above now as he did a reset after going down to Div 6.
But that's also an interesting point for the Div6 relegation discussion, only the fast relegation made it possible for zizou to reset.
why is there no tax? there should be a 5% tax still
Here's what old and new code are saying:

Code: Select all

    private static function calculateSalesTax($teamValue) {
        $salesTax = 0;
        if ($teamValue < 14000000) $salesTax = 0;
        else if ($teamValue < 16000000 && $teamValue >= 14000000) $salesTax = 0.05;
        else if ($teamValue < 20000000) $salesTax = 0.1;
        else {
            $salesTax = ($teamValue - 20000000)/1000000;
            $salesTax = 0.1 + ($salesTax * 0.04);
            if ($salesTax > 0.7) $salesTax = 0.7;
        }
        return $salesTax;
    }
I guess most of us never saw the 0% tax ;)

Hoefs Cycling Team
Posts: 106
Joined: Tue Apr 08, 2025 10:13 am
Contact:

Re: Selling without paying tax?

Post by Hoefs Cycling Team » Mon Sep 08, 2025 7:19 am

Hahaha...thanks Alk....topic closed :mrgreen:

Hansa
Posts: 1277
Joined: Wed May 19, 2010 8:27 pm
Contact:

Re: Selling without paying tax?

Post by Hansa » Mon Sep 08, 2025 9:06 am

Alkworld wrote:
Mon Sep 08, 2025 6:32 am
Hansa wrote:
Sun Sep 07, 2025 3:03 pm
Alkworld wrote:
Sun Sep 07, 2025 2:15 pm
flockmastoR wrote:
Sat Sep 06, 2025 12:23 pm
On-topic: Zizou didn't pay a tax, that looks like a bug not a feature
Checked it now, zizou indeed didn't have to pay tax. Below 14M team value there is no tax, and zizou was indeed below. He's back above now as he did a reset after going down to Div 6.
But that's also an interesting point for the Div6 relegation discussion, only the fast relegation made it possible for zizou to reset.
why is there no tax? there should be a 5% tax still
Here's what old and new code are saying:

Code: Select all

    private static function calculateSalesTax($teamValue) {
        $salesTax = 0;
        if ($teamValue < 14000000) $salesTax = 0;
        else if ($teamValue < 16000000 && $teamValue >= 14000000) $salesTax = 0.05;
        else if ($teamValue < 20000000) $salesTax = 0.1;
        else {
            $salesTax = ($teamValue - 20000000)/1000000;
            $salesTax = 0.1 + ($salesTax * 0.04);
            if ($salesTax > 0.7) $salesTax = 0.7;
        }
        return $salesTax;
    }
I guess most of us never saw the 0% tax ;)
Aus der alten anleitung:

Jedes Team erhält beim Verkauf jedoch nur einen bestimmten Anteil des Marktwertes als Erlös. Dieser Anteil hängt vom Gesamtkapital des Teams (d.h. Guthaben plus Gesamtwert aller Fahrer) ab. So kann er zwischen 95% (ärmere Teams) und 30% (reichere Teams) liegen.
Hansa

est. 03.08.2009

User avatar
flockmastoR
Posts: 3638
Joined: Thu Feb 18, 2010 11:42 pm
Contact:

Re: Selling without paying tax?

Post by flockmastoR » Mon Sep 08, 2025 10:24 am

Also remember that there always was a minimum at 5%
Boaz Trakhtenbrot:
  • Winner Giro 2022
  • 10 GC wins
  • 16.609 Eternal Points
__________________
Schrödinger's Dogs: Alive & Dead

Alkworld
Posts: 1423
Joined: Sat Feb 27, 2010 8:40 pm
Contact:

Re: Selling without paying tax?

Post by Alkworld » Mon Sep 08, 2025 1:29 pm

flockmastoR wrote:
Mon Sep 08, 2025 10:24 am
Also remember that there always was a minimum at 5%
I don't remember where I took that calculation from (happened in early 2022 when we still had Flash), but I copied it from some Buhmann code, no reinvention of the wheel that time, numbers remained unchanged.
Regarding the supposed bug from zizou: this worked as expected from code perspective.
Regarding the question, if there should be 5% tax at any (low) team value: feel free to discuss that, I think it's rather irrelevant

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests