CSGOWinBig icon indicating copy to clipboard operation
CSGOWinBig copied to clipboard

Sitename for lower rake ?

Open TarantelTM opened this issue 8 years ago • 4 comments

Hey i will add the feature for Steamname + Sitename = lower commission.

    if (personaname, "yourdomain.com")){
        if ($keepPercentage + $itemPercentage > 0.0) {
            array_push($itemsToGive, $item);
            $give = true;
            continue;
        }

        if ($keepPercentage + $itemPercentage >= 0.0 && $keepPercentage < 0.0) {
            array_push($itemsToKeep, $item);
            $give = true;
            continue;
        }

        array_push($itemsToKeep, $item);
        $keepPercentage += $itemPercentage;
        }

is this the right way ?

TarantelTM avatar Mar 21 '16 15:03 TarantelTM

just leaving a comment here..

rcas3 avatar Mar 21 '16 18:03 rcas3

@TarantelTM What file did you modify?

Nevermind, it's deposit.php

mibac138 avatar Mar 29 '16 13:03 mibac138

@TarantelTM I think it's good but the way you are using now will cause none commision. Not sure if that's the desired effect.

mibac138 avatar Mar 31 '16 14:03 mibac138

no commission was a test

TarantelTM avatar Apr 01 '16 15:04 TarantelTM