1. Want to get our most recent announcements - and XP codes - in your email?

    Sign up for our mailing list!

How is the cost of land to claim calculated?

Discussion in 'HardCore Factions' started by Tinie_Snipah, Apr 6, 2013.

How is the cost of land to claim calculated?
  1. Tinie_Snipah Platinum

    XP:
    52,113xp
    I can't find anything about how much land will cost...

    Can someone post ratios or formulas used by the plugin to calculate the cost of claiming X amount of land.

    Assuming it isn't random... :)

    Thanks BBs

  2. Rafiki2085 Developer

    XP:
    35,031xp
    Its a base cost of (500 * The Number of Claims) you already have.

    So resizing is a cheaper option till the claim gets very large.

    Then it depends on the size of the claim.
    Base starts at .4 per block, every 250 blocks in size the price doubles for the next 250 blocks.
    Below all Assume its the first claim:
    • 0 - 250 in total size : 0.4 * Size
    • 250 - 500: 0.4 * 250 + 0.8*(Size left above 250)
    Ex: 16 x 16 = 256->
    (0.4*250) + (0.8*6) = 100 + 4.8 = 104.8
    • 500 - 750: 0.4 * 250 + 0.8 * 250 + 1.2 * (Size left above 500).
    • 750 - 1000: 0.4 * 250 + 0.8 * 250 + 1.2 * 250 + 1.6 * (Size left above 750).
    • 1000 - 1250: 0.4 * 250 + 0.8 * 250 + 1.2 * 250 + 1.6 * 250 + 2.0 * (Size left above 1000).
    ... and so on.

    Ex. 32 x 32 = 1024 ->
    (0.4 * 250) + (0.8 * 250) + (1.2 * 250) + (1.6 * 250) + (2.0 * 24) -> 100 + 200 + 300 + 400 + 48 = 1048 as a single claim

    The same 32 x 32 but claimed as 2 different claims of 32 x 16:
    Ex2. 32 x 32:
    314.4 + (500 + 314.4) = 1128.8 as two claims

    The same 32 x 32 but claimed as 4 different claims of 16 x 16:
    Ex3. 32 x 32:
    104.8 + (500 + 104.8) + (1000 + 104.8) + (1500 + 104.8) = 3419.2 as 4 claims

    So after a big enough size its cheaper to take the base hit of 500 to drop the per block price of the new claim back to .4 per block but for most a single claim is the cheapest, and just keep resizing it.

    Re size cost is the difference of the two claims, so as the first two examples if you went from 16x16 to 32x32 the re sizing cost should be 943.2.

    IMPORTANT NOTE: You Currently do not get money back for Unclaiming land. I'm not sure what happens when you shrink land as I'm not at home to check the code and I don't remember.
    sliceyouup likes this.
  3. PinkAng3l Platinum

    XP:
    30,672xp
    ... So many numbers.. They scare me..
  4. matjellison Regular Member

    XP:
    34,575xp
    My new Calculator.
  5. SuburbanSB Retired Staff

    XP:
    71,853xp
    Well... Thats one way to calculate land value.
  6. Niblic Regular Member

    XP:
    2,801xp
    simplified version:

    when you claim more land its costs more money
  7. EspyEra Platinum

    XP:
    121,549xp
    I didn't even bother to read that.....I doubt anyone did. Lazy basterds!
  8. Rafiki2085 Developer

    XP:
    35,031xp
    I was asked for the information so I put it up, if no one cares that is fine.
  9. SuburbanSB Retired Staff

    XP:
    71,853xp
    No, Its just amazing to see how it is coded, I am facsinated by the way it is done, and I appreciate you telling us, It just might not have come accross that way.
    :wink:
  10. Tinie_Snipah Platinum

    XP:
    52,113xp
    I care and this helped me a lot. Sorry for not saying thanks; thanks!

    Ignore that guy though, he just posts random shit constantly to get more XP and has no idea what he's talking about.
    jobre67 and zigman2000 like this.
  11. Rafiki2085 Developer

    XP:
    35,031xp
    That is good. I went back and color coded it, not sure if that made it better or not but it seems easier to read now.
  12. Tinie_Snipah Platinum

    XP:
    52,113xp
    Looks very swanky, and less daunting.
    Thanks dude
  13. SuburbanSB Retired Staff

    XP:
    71,853xp
    Ahhh yes, breaks up the white, making it easier to read. Makes it more special too.
    Cheers

Share This Page