*

Account

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 10:52:47 pm

Login with username, password and session length

Resources

Recent posts

[November 01, 2024, 12:46:37 pm]

[October 05, 2024, 07:29:20 am]

[September 05, 2024, 01:54:13 pm]

[July 16, 2024, 11:30:34 pm]

[June 22, 2024, 06:49:40 am]

[March 08, 2024, 12:13:38 am]

[March 08, 2024, 12:12:54 am]

[March 08, 2024, 12:09:37 am]

[December 30, 2023, 08:00:58 pm]

[February 04, 2023, 11:46:41 am]
Pages: [1]   Go Down
  Print  
Author Topic: PP Rates  (Read 1920 times)
0 Members and 1 Guest are viewing this topic.
RikiRude Offline
Donator
*
Posts: 4376



« on: August 25, 2009, 05:49:59 pm »

Although this doesn't make too big of a difference (probably only 1-2 PPs) but I was curious about the current system.

When you play a map that gives you 150% more XP/PP and you are getting a basic 9 PP for the match, that extra PP you get, does it round up or down? Would you be getting 5 more PP or 4?

Also when you get commander training PP (which is 2 extra PP) are these calculated in before or after?

So let's say you are getting that basic 9 and that it rounds down. You'd be getting 13 PP + 2 commander PP with a total of 15 PP? Or would you be getting the basic 9 + 2 = 11 PP rounded down to get a total of 16 PP?
Logged



Quote from: Killer344
Killer344: "Repent: sory no joke i just had savage diorea"
... or a fat ass cock sucking churchill being stupid
CrazyWR Offline
EIR Veteran
Posts: 3616


« Reply #1 on: August 25, 2009, 06:22:44 pm »

i was wondering about this as well.
Logged

1. New tactics? it's like JAWS, first one in the water dies

RCA-land where shells fall like raindrops and the Captain is an invincible god
EIRRMod Offline
Administrator / Lead Developer
*
Posts: 11009



« Reply #2 on: August 26, 2009, 01:21:46 am »

I believe my system will always round down.

I'll need to test, but Im pretty sure my float - int code will snip off rather than round up 0.5f

Wink
Logged

Quote from: brn4meplz
Shit I'm pretty sure you could offer the guy a cup of coffee and he'd try to kill you with the mug if you forgot sugar.
Quote from: tank130
That's like offering Beer to fuck the fat chick. It will work for a while, but it's not gonna last. Not only that, but there is zero motivation for the Fat chick to loose weight.
Quote from: tank130
Why don't you collect up your love beads and potpourri and find something constructive to do.
Aggamemnon Offline
Donator
*
Posts: 418


« Reply #3 on: August 26, 2009, 01:36:02 am »

Rounds down as far as I can see.
Logged

"Success on D-Day, depended entirely on these men"
Tymathee Offline
Donator
*
Posts: 9741



« Reply #4 on: August 26, 2009, 01:36:52 am »

it rounds down. It doesn't seem to see the decimal.
Logged

"I want proof!"
"I have proof!"
"Whatever, I'm still right"

Dafuq man, don't ask for proof if you'll refuse it if it's not in your favor, logic fallacy for the bloody win.
ImmanioEiR Offline
Donator
*
Posts: 247


« Reply #5 on: August 26, 2009, 01:58:05 am »

Well, casting a float (or double or decimal or whatever) to an int will typically just ignore any decimals.
Logged
EIRRMod Offline
Administrator / Lead Developer
*
Posts: 11009



« Reply #6 on: August 26, 2009, 03:37:44 am »

Well, casting a float (or double or decimal or whatever) to an int will typically just ignore any decimals.
Yep, thats usually true, but for vet for example, it rounds up. (Because I MADE it!)

So yeah, it rounds down for PP.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 36 queries.