View unanswered posts | View active topics It is currently Sat Jun 28, 2025 11:29 am



Reply to topic  [ 15 posts ] 
 Damages 
Author Message

Joined: Wed Dec 07, 2011 9:53 pm
Posts: 4
Reply with quote
I heard your ships damage cap was 1/2 of your hull but what if you have an odd number of hull like 45 would it be 22 damage or 23 damage?


Wed Dec 07, 2011 9:55 pm
Profile
User avatar

Joined: Thu Nov 25, 2010 6:49 pm
Posts: 8964
Reply with quote
Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down.

_________________
Ranks 400+ Join us in exploring..
ImageImage

[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked
[20:43] DarthFlagitious: is it spearmint or peppermint?


Wed Dec 07, 2011 10:03 pm
Profile WWW

Joined: Wed Dec 07, 2011 9:53 pm
Posts: 4
Reply with quote
Darth Flagitious wrote:
Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down.

Oh ok so if I get 45 decks then the maximum hit on me would be 22?


Wed Dec 07, 2011 10:12 pm
Profile
User avatar

Joined: Thu Nov 25, 2010 6:49 pm
Posts: 8964
Reply with quote
Konkill wrote:
Darth Flagitious wrote:
Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down.

Oh ok so if I get 45 decks then the maximum hit on me would be 22?

Yes, unless you are over rank 69. Then you would fall under the second calculation. This would only happen if you have what is referred to as a Small Ship Build where you minimize your decks and use your Rank Points for Helmsmen and Tactical Officers. Which, by the way, is a slow death.

_________________
Ranks 400+ Join us in exploring..
ImageImage

[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked
[20:43] DarthFlagitious: is it spearmint or peppermint?


Wed Dec 07, 2011 10:26 pm
Profile WWW

Joined: Wed Dec 07, 2011 9:53 pm
Posts: 4
Reply with quote
Darth Flagitious wrote:
Konkill wrote:
Darth Flagitious wrote:
Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down.

Oh ok so if I get 45 decks then the maximum hit on me would be 22?

Yes, unless you are over rank 69. Then you would fall under the second calculation. This would only happen if you have what is referred to as a Small Ship Build where you minimize your decks and use your Rank Points for Helmsmen and Tactical Officers. Which, by the way, is a slow death.


Why is a small build such a bad thing?


Wed Dec 07, 2011 10:31 pm
Profile
User avatar

Joined: Thu Nov 25, 2010 6:49 pm
Posts: 8964
Reply with quote
At very low ranks, its actually a very workable design. However as you progress farther in the game, you will be limited (by lack of decks) to the energy, defense and attack that you gain from Rank Points. Eventually, the people around you with the deckspace for guns, defense mods, hull/shield and energy cores will pass you by. You won't have the attack strength and energy reserve necessary to counterbalance their defense and high hull/shield even when they have a much higher damage cap. They will in turn have the attack and energy to sit back and cap on you until you die. Also, small ship builds are absolutely horrible for invasions because of the relatively low attack.

_________________
Ranks 400+ Join us in exploring..
ImageImage

[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked
[20:43] DarthFlagitious: is it spearmint or peppermint?


Wed Dec 07, 2011 10:59 pm
Profile WWW

Joined: Wed Dec 07, 2011 9:53 pm
Posts: 4
Reply with quote
Darth Flagitious wrote:
At very low ranks, its actually a very workable design. However as you progress farther in the game, you will be limited (by lack of decks) to the energy, defense and attack that you gain from Rank Points. Eventually, the people around you with the deckspace for guns, defense mods, hull/shield and energy cores will pass you by. You won't have the attack strength and energy reserve necessary to counterbalance their defense and high hull/shield even when they have a much higher damage cap. They will in turn have the attack and energy to sit back and cap on you until you die. Also, small ship builds are absolutely horrible for invasions because of the relatively low attack.


I see thank you for your advice


Wed Dec 07, 2011 11:01 pm
Profile

Joined: Sun Jun 12, 2011 11:01 pm
Posts: 2072
Reply with quote
Darth Flagitious wrote:
Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down.

ummm
WHAT???????????????????????????????????????????????????????????????????
if x<.5 ROUND DOWN
if x>=.5 ROUND UP
WAS WHAT i WAS TAUGHT!!!!

_________________
Image


Thu Dec 08, 2011 6:13 am
Profile
User avatar

Joined: Wed Nov 10, 2010 2:44 am
Posts: 3751
Reply with quote
what darth is talking about is the more advanced form of rounding from 0.5 (highschool or college lvl math)... i think most C libraries just round up at 0.5 though...

_________________
_________ Image

Officer Namba1 of The Unknown, Lv.666+ Dark Smuggler

Image


Thu Dec 08, 2011 10:19 am
Profile
User avatar

Joined: Sun Feb 20, 2011 3:39 pm
Posts: 274
Reply with quote
To accurately round you need at least two significant figures, so you can check 0.5 to the digit next to it...as an example, 0.56 would round up, whereas 0.54 would round down. If it was 0.55, then you would again need another significant figure to accurately round the number. But as Lycan said, most C libraries to round up at 0.5, without the added check after.

_________________
Image
Image
Image


Thu Dec 08, 2011 5:07 pm
Profile

Joined: Tue Nov 02, 2010 12:32 am
Posts: 4524
Reply with quote
What? Ints in C just drop anything after the number, 3/2 in C and Java would be 1, not 2, if you're using Ints.

EDIT: And 3/4 would be 0, not 1, for example.


Thu Dec 08, 2011 5:15 pm
Profile
User avatar

Joined: Thu Nov 25, 2010 6:49 pm
Posts: 8964
Reply with quote
Sheesh... Didn't mean to start some great computational debate on rounding... I based my statement on rounding down at .5 on the fact that as a Sillixx, I always got my bonus at deck number ###6 not ###5...

_________________
Ranks 400+ Join us in exploring..
ImageImage

[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked
[20:43] DarthFlagitious: is it spearmint or peppermint?


Thu Dec 08, 2011 5:57 pm
Profile WWW
User avatar

Joined: Wed Nov 10, 2010 2:44 am
Posts: 3751
Reply with quote
FerrusManus wrote:
What? Ints in C just drop anything after the number, 3/2 in C and Java would be 1, not 2, if you're using Ints.

EDIT: And 3/4 would be 0, not 1, for example.
referring to floating point rounding here, not stuffing a floating point value into an integer variable

anyway...
4184 decks, exotica did max of 2092 dmg to me
4185 decks, exotica did max of 2093 dmg to me
4186 decks, exotica did max of 2093 dmg to me
4187 decks, exotica did max of 2094 dmg to me
4188 decks, exotica did max of 2094 dmg to me
4189 decks, exotica did max of 2095 dmg to me

clearly it's rounding 0.5 up instead of to the nearest even number

_________________
_________ Image

Officer Namba1 of The Unknown, Lv.666+ Dark Smuggler

Image


Fri Dec 09, 2011 2:40 am
Profile

Joined: Tue Nov 02, 2010 12:32 am
Posts: 4524
Reply with quote
Lone.Lycan wrote:
FerrusManus wrote:
What? Ints in C just drop anything after the number, 3/2 in C and Java would be 1, not 2, if you're using Ints.

EDIT: And 3/4 would be 0, not 1, for example.
referring to floating point rounding here, not stuffing a floating point value into an integer variable

anyway...
4184 decks, exotica did max of 2092 dmg to me
4185 decks, exotica did max of 2093 dmg to me
4186 decks, exotica did max of 2093 dmg to me
4187 decks, exotica did max of 2094 dmg to me
4188 decks, exotica did max of 2094 dmg to me
4189 decks, exotica did max of 2095 dmg to me

clearly it's rounding 0.5 up instead of to the nearest even number


Yeah, I just didn't know why floating point rounding would apply, as it seems Ints would suffice, but I guess not.


Fri Dec 09, 2011 5:56 am
Profile
User avatar

Joined: Wed Nov 10, 2010 2:44 am
Posts: 3751
Reply with quote
i made a mistake mentioning C... and actually after some research, it looks like the ANSI C Standard is to round 0.5 to the nearest even number

...but actually this game is in PHP

which, while PHP was probably written in C, it is a bit different w/ handling stuff like this...
for example, to people familiar w/ C and Java, PHP is a bit weird in that variables switch "type" as needed
depending on the context where it's used... for instance... if you add a number and a string together,
it changes the number into a string format and concatenates them instead
but that's not important...

______________________________________________________________________________________________

http://us.php.net/manual/en/function.round.php
Changelog
Version Description
5.3.0 The mode parameter was introduced.
5.2.7 The inner workings of round() was changed to conform to the C99 standard.

it's quite possible that the server is using an old version of PHP

_________________
_________ Image

Officer Namba1 of The Unknown, Lv.666+ Dark Smuggler

Image


Fri Dec 09, 2011 6:43 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.