__CreditSystems__

**Official:**

- There are two different credit modifier calculated:

- Ratio1 = Uploaded Total x 2 / Downloaded Total

- Ratio2 = SQRT(Uploaded Total + 2)

- Ratio1 = Uploaded Total x 2 / Downloaded Total
- Both ratios are compared and the lower value is used as modifier.

- Some boundary conditions also exist:

- Uploaded Total < 1000000 Bytes (~1MB) => Modifier = 1
- Downloaded Total = 0 => Modifier = 10
- The modifier may not be lower than 1 or higher than 10

- Formula: dl-modifier=100*((1-1/(1+exp((3*{MB uploaded to us}^2-{MB downloaded from us}^2)/1000)))^6.6667)
- start:1, max:100, min:0.1, ratio:1:1.5, only one formula
- In contrast to the original credit system, credits are evaluated more on differences and not on quotients. Using the orginal system you have the best credit values shortly after generating a new userhash. With the new credit system you get good credit values faster if you already have uploaded many MB before (and did not cheat by killing the userhash).
- CreditThefts will not get any credits. Only clients using the 'SecureHash' are able to get a multiplier of 100. All others will stick at 10.

**Ratio:**

- Default:1, Min:>0, Max: ∞
- Downloaded = Amount of data we got in MB
- Uploaded = Amount of data we gave in MB
- Ratio = 1 when Download and Upload <= 1 MB
- Ratio = 1/sqrt(Uploaded)
- Ratio = Downloaded when Uploaded <= 1 MB
- When Uploaded > 1 MB:
- Basic = sqrt(Uploaded+1)
- Ratio = Basic + sqrt(Uploaded - Downloaded) when Uploaded > Downloaded
- Ratio = Basic when (Downloaded - Uploaded) <= 1 MB
- RESULT = Basic/sqrt(Downloaded - Uploaded)
- Lowest = 0.7+(Basic/10)
- Ratio = RESULT when (RESULT >= 1 and Uploaded < 9 MB) or (RESULT >= Lowest )
- Ratio = Uploaded/9 when RESULT < 1 and Uploaded < 9 MB
- Ratio = Lowest when Uploaded > 9 MB and RESULT < Lowest

**Pawcio:**

- Range from 1.0 to 100.0
- Multiplier of 3 (instead of 2) ---- ratio = 3 * downloaded / uploaded
- For new clients (downloaded and uploaded data less than 1MB) ratio = 3.0 (instead of 1.0)
- If you have recieved more than 1MB from someone but haven't given anything back user gets ratio = 100.0
- Small bonus for clients that have given you many MB:
- if you get 100MB then user recieve ratio = 50.0 till you give back 108MB
- 50MB - ratio = 25.0 - 55MB
- 25MB - ratio = 12.0 - 28MB
- 10MB - ratio = 5.0 - 12MB

**EastShare:**

- base ratings: id. users(100); not supported users(80); min=10, max=5000
- +6 per MB uploaded and -2 for downloaded
- if upload > 1k, rating + 50; if rating < 50 and upload 100K+, rating = 50
- resulting rating will be devided by 100

**Sivka:**

- IS_IDNEEDED --> Ratio = 0.75

- Failed ident --> Ratio = 0.5

- Bad client --> Ratio = 0

- diffTransfer = upload - download

- If udiffTransfer >= 1GB --> ratio = 32

- else if 0 < diffTransfer < 1GB --> ratio = sqrt({diffTransfer in MB})

- else ratio = 1

**S.W.A.T.:**

- There are two different credit modifier calculated:

- Ratio1 = Uploaded Total x 2.2 / Downloaded Total

- Ratio2 = SQRT(Uploaded Total + 2)

- Ratio1 = Uploaded Total x 2.2 / Downloaded Total
- Both ratios are compared and the lower value is used as modifier.

- Some boundary conditions also exist:

- Uploaded Total < 1MB (exactly) => Modifier = 1

- Downloaded Total = 0 => Modifier = 10
- The modifier may not be lower than 1 or higher than 100

**Xtreme:**

- This feature is an enhancement of the existing credit system. It rewards clients which gives you a high download. This clients gets a bonus factor.

- On the other side, clients you upload much data and the don't give something back to you will get a penalty for the current emule session.

- formula for positiv bonus:
- bonus=(download-upload)/10485760 - (1.0f/(download/10485760)

- a client can get a negativ bonus of 0,1 if you gave him 1 chunk(9,28MB) more this session and also at complete comparsion of download/upload without geting something back

- a client can get a negativ bonus of 0,2 if you gave him more than 2 chunk(9,28MB) this session and also at complete comparsion of download/upload without geting something back
- Check out the Xtreme mods official homepage for more information!