Author Topic: ENY!!!  (Read 6589 times)

Offline Lusche

  • Radioactive Member
  • *******
  • Posts: 23872
      • Last.FM Profile
Re: ENY!!!
« Reply #225 on: March 18, 2008, 01:44:31 PM »
 :o

I know there are enough out there thinking of me as an huge asset without -et...   :uhoh
Steam: DrKalv
E:D Snailman

Offline DadRabit

  • Nickel Member
  • ***
  • Posts: 620
Re: ENY!!!
« Reply #226 on: March 18, 2008, 01:45:48 PM »
he not when he shoots me down   :furious
David (Daddy Rabbit) Jester
S! 68KO
S! A8WB
Freedom is never more than one generation away from extinction. We didn't pass it to our children in the bloodstream. It must be fought for, protected, and handed on for them to do the same. Ronald Reagan

Offline Iron_Cross

  • Nickel Member
  • ***
  • Posts: 431
Re: ENY!!!
« Reply #227 on: March 18, 2008, 03:32:05 PM »
he not when he shoots me down   :furious

That is not correct.  When you are on the receiving end of an attack by Lusche, he becomes more of a pain in the asset to you. :lol
« Last Edit: March 18, 2008, 03:46:26 PM by Iron_Cross »

Offline RATTFINK

  • Gold Member
  • *****
  • Posts: 3488
Re: ENY!!!
« Reply #228 on: March 18, 2008, 03:33:24 PM »
Lusche, I just wanted to mention that you are a great asset to the Aces High BB.

I would expect many others to confirm this statement.


Confirmed!

Oh, and I think ENY is one of the best ideas to date.
Hitting trees since tour 78

Offline Bronk

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 9044
Re: ENY!!!
« Reply #229 on: March 18, 2008, 03:34:11 PM »


Also any other change I would add to effect country balance would be more limiting than the current system not less.



Says it all. :rofl :rofl :aok :aok
See Rule #4

Offline Oleg

  • Silver Member
  • ****
  • Posts: 1000
Re: ENY!!!
« Reply #230 on: March 18, 2008, 03:51:52 PM »
I'm going to go out on a limb and say that's not possible. An ENY of 18 for only 37%?

He mean ppl inflight most probably, as usual.
btw, 37% wouldnt ever make ENY of 1, afaik.
"If you don't like something, change it. If you can't change it, change your attitude. Don't complain."
Maya Angelou

Offline Lusche

  • Radioactive Member
  • *******
  • Posts: 23872
      • Last.FM Profile
Re: ENY!!!
« Reply #231 on: March 18, 2008, 03:56:44 PM »
He mean ppl inflight most probably, as usual.
btw, 37% wouldnt ever make ENY of 1, afaik.


Technically, it can give you a huge eny. It all depends on % of smallest country.

Example A)
Bish 38%
Knight 32%
Rook 30%

only 8 points difference between Bish and Rook, probably no ENY limit at all

Example B)
Bish 38%
Knight 38%
Rook 24%

now we have 14 points difference between Bish and Rook. Bish will have an ENY limit for sure. (And so will Knights)
« Last Edit: March 18, 2008, 03:58:56 PM by Lusche »
Steam: DrKalv
E:D Snailman

Offline Oleg

  • Silver Member
  • ****
  • Posts: 1000
Re: ENY!!!
« Reply #232 on: March 18, 2008, 04:04:53 PM »
Im not sure, dont know exactly how ENY calculated. Anyway, this is not that case, 30/33/37% will not give ENY to anybody.
"If you don't like something, change it. If you can't change it, change your attitude. Don't complain."
Maya Angelou

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12339
      • http://www.hitechcreations.com
Re: ENY!!!
« Reply #233 on: March 18, 2008, 04:06:53 PM »
Less cause for complaints does not necessarily mean fewer complaints. ;)

Does someone have the ENY formula handy? I've been trying to search through some of the older threads for it, but between HT's spelling, and the borked search, I can't find it. I know it was posted a few years back, but I can't dig up the thread. It doesn't appear in the help files either, apparently.
static void   _CalculateBalance(arnaCOUNTRY_BALANCE * Balance)
{
const arnaSETTINGS * Settings;
double BalanceGain;
double Least;
int Country;
   Settings = arnaservGetSettings();
   if(Balance->TotalPlayerCnt > 0 )
   {
      if(Settings->MinBalanceTotal != 0)
      {
         BalanceGain = (double)Balance->TotalPlayerCnt / (double)Settings->MinBalanceTotal;
      }
      else
      {
         BalanceGain = 1;
      }
      if(BalanceGain > 1)
      {
         BalanceGain = 1;
      }

      Least = 2.0;
      for(Country=0;Country<pcMAX_COUNTRY;++Country)
      {

         Balance->CountryPer[Country] = (double)Balance->PlayerCnt[Country] / (double)Balance->TotalPlayerCnt;
         if(Balance->CountryPer[Country] < Least)
         {
            Least = Balance->CountryPer[Country];
         }

      }

      if(Least != 0)
      {
         for(Country=0;Country<pcMAX_COUNTRY;++Country)
         {

            Balance->MinEnyValue[Country] =
               (Balance->CountryPer[Country] - (Least + Settings->BaseCountryPer)) * Settings->CountryBalanceScale * BalanceGain * 100;
            if(Balance->MinEnyValue[Country] < 0)
            {
               Balance->MinEnyValue[Country] = 0;
            }
            if(Balance->MinEnyValue[Country] > Settings->MinEnyValue)
            {
               Balance->MinEnyValue[Country] = Settings->MinEnyValue;
            }
         }
      }
   }
   else
   {
      for(Country=0;Country<pcMAX_COUNTRY;++Country)
      {
         Balance->MinEnyValue[Country] = 0;
      }
   }

   if(Balance->TotalPlayerCnt < 6)
   {
      for(Country=0;Country<pcMAX_COUNTRY;++Country)
      {
         Balance->MinEnyValue[Country] = 0;
      }
   }


}

Offline FrodeMk3

  • Gold Member
  • *****
  • Posts: 2481
Re: ENY!!!
« Reply #234 on: March 18, 2008, 04:19:11 PM »
I imagine that formula might get a little simpler with only 2 countries', but we have 3, so... :O

Offline DadRabit

  • Nickel Member
  • ***
  • Posts: 620
Re: ENY!!!
« Reply #235 on: March 18, 2008, 04:23:37 PM »
"John has a long mustache....Le repeat, John has a long mustache."
David (Daddy Rabbit) Jester
S! 68KO
S! A8WB
Freedom is never more than one generation away from extinction. We didn't pass it to our children in the bloodstream. It must be fought for, protected, and handed on for them to do the same. Ronald Reagan

Offline Shuffler

  • Radioactive Member
  • *******
  • Posts: 26824
Re: ENY!!!
« Reply #236 on: March 18, 2008, 04:31:47 PM »
"Wounds my heart with dolorous languour"
« Last Edit: March 18, 2008, 04:34:32 PM by Shuffler »
80th FS "Headhunters"

S.A.P.P.- Secret Association Of P-38 Pilots (Lightning In A Bottle)

Offline DadRabit

  • Nickel Member
  • ***
  • Posts: 620
Re: ENY!!!
« Reply #237 on: March 18, 2008, 04:36:46 PM »
 :rofl
David (Daddy Rabbit) Jester
S! 68KO
S! A8WB
Freedom is never more than one generation away from extinction. We didn't pass it to our children in the bloodstream. It must be fought for, protected, and handed on for them to do the same. Ronald Reagan

Offline Iron_Cross

  • Nickel Member
  • ***
  • Posts: 431
Re: ENY!!!
« Reply #238 on: March 18, 2008, 04:47:22 PM »
You hear 2 bars from, "The Lincolnshire Poacher",  and then a English accented female voice says "3-5-1-7-2"

Offline hubsonfire

  • Plutonium Member
  • *******
  • Posts: 8658
Re: ENY!!!
« Reply #239 on: March 18, 2008, 05:07:42 PM »
Sweet. Too bad I can't make sense of it. I understand the words, but the operations aren't all apparent to me. Is there a dumbed down version for peepl hoo donte coad?

static void   _CalculateBalance(arnaCOUNTRY_BALANCE * Balance)
{
const arnaSETTINGS * Settings;
double BalanceGain;
double Least;
int Country;
   Settings = arnaservGetSettings();
   if(Balance->TotalPlayerCnt > 0 )
   {
      if(Settings->MinBalanceTotal != 0)
      {
         BalanceGain = (double)Balance->TotalPlayerCnt / (double)Settings->MinBalanceTotal;
      }
      else
      {
         BalanceGain = 1;
      }
      if(BalanceGain > 1)
      {
         BalanceGain = 1;
      }

      Least = 2.0;
      for(Country=0;Country<pcMAX_COUNTRY;++Country)
      {

         Balance->CountryPer[Country] = (double)Balance->PlayerCnt[Country] / (double)Balance->TotalPlayerCnt;
         if(Balance->CountryPer[Country] < Least)
         {
            Least = Balance->CountryPer[Country];
         }

      }

      if(Least != 0)
      {
         for(Country=0;Country<pcMAX_COUNTRY;++Country)
         {

            Balance->MinEnyValue[Country] =
               (Balance->CountryPer[Country] - (Least + Settings->BaseCountryPer)) * Settings->CountryBalanceScale * BalanceGain * 100;
            if(Balance->MinEnyValue[Country] < 0)
            {
               Balance->MinEnyValue[Country] = 0;
            }
            if(Balance->MinEnyValue[Country] > Settings->MinEnyValue)
            {
               Balance->MinEnyValue[Country] = Settings->MinEnyValue;
            }
         }
      }
   }
   else
   {
      for(Country=0;Country<pcMAX_COUNTRY;++Country)
      {
         Balance->MinEnyValue[Country] = 0;
      }
   }

   if(Balance->TotalPlayerCnt < 6)
   {
      for(Country=0;Country<pcMAX_COUNTRY;++Country)
      {
         Balance->MinEnyValue[Country] = 0;
      }
   }


}
mook
++Blue Knights++

Proper punctuation and capitalization go a long way towards people paying attention to your posts.  -Stoney
I was wondering why I get ignored so often.  -Hitech