Verified:

DerrickICN Game profile

Member
EE Patron
6339

Dec 10th 2019, 2:44:52

Yeah. I just wish we know how it happened and what can be done to mitigate that. That's all I'm saying.

It's pretty stupid to have mystery deaths happen without explanation of why.

Gerdler Game profile

Forum Moderator
5077

Dec 10th 2019, 10:32:57

Originally posted by ironxxx:

Everything is a conspiracy especially negative growth formulas.

Negative PCI growth has always been around tho.

Celphi Game profile

Member
EE Patron
6232

Dec 10th 2019, 14:48:17

Uhm. Negative PCI growth? What are you talking about Gerdler?
Resistance is futile. You will be assimilated.

Celphi Game profile

Member
EE Patron
6232

Dec 10th 2019, 14:59:06

Only time PCI should drop below 0 is when you're consecutively out of food or money.

The only time it should reach 0 is because programming rounding. ie. 0.004999

The new formula is round(PCI,2) < 0.0

round(0.0049, 2) === 0 (in PHP) (dead)
round(0.005, 2) === 0.01 (in PHP) (alive)

The fact he was Tyranny and walled an insane # of attacks is likely why he died.
Esp since the PCI formula has GvtPCIBonus in it:
22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/18000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus


Tyranny +20% Attack Gains
-10% Military Upkeep Costs
Only 1 Turn Required Per Attack
-25% Maximum Per Capita Income <-------------

Edited By: Celphi on Dec 10th 2019, 15:13:21
Resistance is futile. You will be assimilated.

Celphi Game profile

Member
EE Patron
6232

Dec 10th 2019, 15:18:57

Also keep in mind, in every programming language, there's always precision errors with floats. They're well known in IEEE.

1.1 - 1.3 === ~0.19999999999999996
Resistance is futile. You will be assimilated.

Gerdler Game profile

Forum Moderator
5077

Dec 10th 2019, 15:19:34

I'm talking about PCI dropping whenever you are low pop, despite the equilibrium PCI being higher than actual PCI. It has always been that way.

You will notice that every time you wall by taking turns on low pop your PCI crashes, yet if you use the PCI formula to calculate what your PCI should be it is basically unchanged by anything that the kill run affected (unless you are a casher getting BRed/chemed). In fact the PCI formula with a fascist at 70% tax rate and 100% bus tech, no enterprise zones you should still have around 5.7-6 PCI. So theres no way to get below 5.5 PCI without food/cash shortages or low population.

Afaik this has always been the case, maybe the breakpoints have changed at one point or another.

Gerdler Game profile

Forum Moderator
5077

Dec 10th 2019, 15:22:39

Originally posted by Celphi:
Only time PCI should drop below 0 is when you're consecutively out of food or money.

Like I said this is not correct at all.
Originally posted by Celphi:

The only time it should reach 0 is because programming rounding. ie. 0.004999

The new formula is round(PCI,2) < 0.0

round(0.0049, 2) === 0 (in PHP) (dead)
round(0.005, 2) === 0.01 (in PHP) (alive)

The fact he was Tyranny and walled an insane # of attacks is likely why he died.
Esp since the PCI formula has GvtPCIBonus in it:
22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/18000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus

This is the PCI formula. It never gets you a number below 5.7 PCI or so, it is always positive.

What you need is the PCI change formula.

Edit: Actually, you can get to 5.08 PCI "the normal" way. I forgot tyranny has lower PCI than fascism.

Edited By: Gerdler on Dec 10th 2019, 15:37:37
See Original Post

Gerdler Game profile

Forum Moderator
5077

Dec 10th 2019, 15:25:25

Originally posted by Celphi:
Also keep in mind, in every programming language, there's always precision errors with floats. They're well known in IEEE.

1.1 - 1.3 === ~0.19999999999999996

Its not a programming error or a rounding error that makes you lose PCI when walling.

Celphi Game profile

Member
EE Patron
6232

Dec 10th 2019, 15:52:51

Nowhere do I state it's a programming error. Which would imply it's a logical error. And if you want to be technical, it IS a programming error, because they should be doing float calculations in MySQL as decimals and not in PHP.

If your PCI is >= .0049, it rounds to 0 & you die.

Resistance is futile. You will be assimilated.

Celphi Game profile

Member
EE Patron
6232

Dec 10th 2019, 15:56:41

There's a different PCI formula for when you're under 4/500? civs? I can't remember.

I discovered this 4 years ago:
http://www.earthempires.com/...rmulas-34780?t=1421605836

The #s didn't match up until after my 20th turn, but in reality it was population.
Resistance is futile. You will be assimilated.

Gerdler Game profile

Forum Moderator
5077

Dec 10th 2019, 16:15:07

No im not talking about the PCI formula. But like with population you have a "population formula" but you also have a "population growth formula" and it is the same thing with PCI.

The population growth formula is quite simple so I can post it:

Population Growth =Trunc(If(MaxPop>CurrentPop,PopG,PopL),0)
PopG =Min(Trunc(Round((MaxPop-CurrentPop),0)/3,0),Max(40,Round(0.03*(1-Taxrate)*CurrentPop),0))
PopL =Min(Round((0.05+0.15*Taxrate)*CurrentPop,0),Trunc(Round((CurrentPop-MaxPop),0)/3,0))

On top of that you have the formula for maxpop which is the analogue of what we have posted in this thread for the PCI formula:
Maximum Population = (1-0.95*Taxrate)*(24*Res+12*Land)*ResTech*GvtPOP


So you see that there are two different formulas that are used depending on tax rate, population and max population, for how much your population grows. For instance if your pop is really low you get 40 as minimum pop growth.

It is the same with PCI growth except that formula is more complex and is actually 3 different formulas that are used in various situations. ONE of those formulas can cause it to take on negative values even when the actual PCI is below the max PCI. Ergo your PCI keeps dropping to 0 if it goes on long enough, and you die.

MauricXe Game profile

Member
575

Dec 10th 2019, 19:53:20

Well done Azn

you're about as useless as Xyle

Celphi Game profile

Member
EE Patron
6232

Dec 11th 2019, 0:06:25

Your PopG looks incorrect to me.

It should be:
Min(BioFactor*Trunc(Round((MaxPop-CurrentPop),0)/3,0),BioFactor*Max(40,Round(0.03*(1-Taxrate)*CurrentPop),0))

So is your PopL.

It should be:
Min(Round(BioFactor*(0.05+0.15*Taxrate)*CurrentPop,0),Trunc(BioFactor*Round((CurrentPop-MaxPop),0)/3,0))
Resistance is futile. You will be assimilated.

Gerdler Game profile

Forum Moderator
5077

Dec 11th 2019, 0:12:17

That is also incorrect if you want to add bios into the discussion but it doesnt matter for the present discussion. You understand now that you have a "PCI change formula" that governs how your PCI changes, and that the PCI formula is just the equilibrium PCI?

I think I have said that 8-10 times in this thread.

Celphi Game profile

Member
EE Patron
6232

Dec 11th 2019, 0:21:41

Unless the formulas changed, it's still publicly available:
https://wiki.earthempires.com/index.php/Population
Resistance is futile. You will be assimilated.

Celphi Game profile

Member
EE Patron
6232

Dec 11th 2019, 0:24:21

Last person to contribute to it was Enshula.
Resistance is futile. You will be assimilated.

Requiem Game profile

Member
EE Patron
9056

Dec 11th 2019, 0:33:45

You ladies get this figured out yet?

Gerdler Game profile

Forum Moderator
5077

Dec 11th 2019, 0:44:16

So I take it you still don't acknowledge that there is a PCI change formula, then?

Celphi Game profile

Member
EE Patron
6232

Dec 11th 2019, 1:20:56

Req have you been looking up my dress?
Resistance is futile. You will be assimilated.

Requiem Game profile

Member
EE Patron
9056

Dec 11th 2019, 2:34:07

You’ll never know and I’ll never tell!

DerrickICN Game profile

Member
EE Patron
6339

Dec 11th 2019, 2:36:59

Min(BioFactor*Trunc(Round((MaxPop-CurrentPop),0)/3,0),BioFactor*Max(40,Round(0.03*(1-Taxrate)*CurrentPop),0))

That formula? I havent done anything against it but that i get 40s for pop growth at low. I think pop growth is diff than pci growth

KoHeartsGPA Game profile

Member
EE Patron
29,486

Dec 11th 2019, 2:40:26

Originally posted by Celphi:
Req have you been looking up my dress?


😯
Mess with me you better kill me, or I'll just take your pride & joy and jack it up
(•_•)
http://www.youtube.com/watch?v=W6VRMGTwU4I
-=TSO~DKnights~ICD~XI~LaF=-

S.F. Giants 2010, 2012, 2014 World Series Champions, fluff YEAH!

DerrickICN Game profile

Member
EE Patron
6339

Dec 11th 2019, 2:40:49

Thats not it either

KoHeartsGPA Game profile

Member
EE Patron
29,486

Dec 11th 2019, 2:41:44

Originally posted by DerrickICN:
Thats not it either


Chorizo in a dress?
Mess with me you better kill me, or I'll just take your pride & joy and jack it up
(•_•)
http://www.youtube.com/watch?v=W6VRMGTwU4I
-=TSO~DKnights~ICD~XI~LaF=-

S.F. Giants 2010, 2012, 2014 World Series Champions, fluff YEAH!

DerrickICN Game profile

Member
EE Patron
6339

Dec 11th 2019, 2:41:50

We have pop growth, pop loss, pop, pci etc formulas.

Gerdy is referring to soomething that works in conjuction, a "PCI growth" formula. Not pop growth, not pci, but pci growth.

That formula is not listed anywhere and us wardogs continue to get no explanation of it. It's beginning to frustrate me.

Edited By: DerrickICN on Dec 11th 2019, 2:49:42
See Original Post

Requiem Game profile

Member
EE Patron
9056

Dec 11th 2019, 3:07:25

Originally posted by Requiem:
We lack the info that is really needed to say. Let's keep guessing :p

Requiem Game profile

Member
EE Patron
9056

Dec 11th 2019, 3:07:40

I feel the need to QFT myself.

DerrickICN Game profile

Member
EE Patron
6339

Dec 11th 2019, 3:12:19

Do i have to suck pangs fluff to get it or test in alpha for the rest of my life to half understand it?

Requiem Game profile

Member
EE Patron
9056

Dec 11th 2019, 3:15:48

Well start with one of them then if that doesn't work try the other. You can decide which to try first.

DerrickICN Game profile

Member
EE Patron
6339

Dec 11th 2019, 3:47:25

Hmmm. Imma go with sucking fluffs. I'll let you know how it turns out.

Dark Demon Game profile

Forum Moderator
EE Patron
1773

Dec 11th 2019, 3:51:36

TTT FOR PANG
Mercs
Natural Born Killers

DerrickICN Game profile

Member
EE Patron
6339

Dec 11th 2019, 4:16:00

Honestly they should either eliminate pci death or explain it. One or the other.

Sov Game profile

Member
2462

Dec 11th 2019, 4:18:42

Best avenue for a response from admins is the Bugs and Suggestions forum.

/mod hat

Gerdler Game profile

Forum Moderator
5077

Dec 11th 2019, 13:06:35

I talked to Pang about the reason why he doesnt disclose all game formulas and it is intentional from what I can tell. I have the full e2025 PCI growth formula (at least I think it is correct, no way to test it now) and the EE PCI growth formula works very similarily.

The formulas are NOT exactly the same tho, probably just a few constants have been changed from what I can tell.

How to avoid PCI death should be up to every player and/or tag to learn either by testing, math and/or experience. This is exciting stuff and it is part of what drives me to play this game! :)

Suicidal Game profile

Member
2215

Dec 11th 2019, 13:37:06

It is simple. Karma raised its head and AzN died on Sunday.

Marshal Game profile

Member
32,589

Dec 11th 2019, 20:43:49

at least azn isn't only, llaar did same on earth2025.
Patience: Yep, I'm with ELK and Marshal.

ELKronos: Patty is more hairy.

Gallery: K at least I am to my expectations now.

LadyGrizz boobies is fine

NOW3P: Morwen is a much harsher mistress than boredom....

sinistril Game profile

Member
2184

Dec 11th 2019, 22:32:21

Doesn't seem like it would be that hard to derive this formula, but it won't do you any good. No one is going to think about PCI deaths when walling and I suspect without restart bonus people will not be on low pop for so long
If you give a man some fire, he'll be warm for awhile. If you set a man on fire, he'll be warm for the rest of his life.

Requiem Game profile

Member
EE Patron
9056

Dec 11th 2019, 23:38:57

I don’t think PCI should kill you if you still have money on hand. Should have to have a 0 PCI and no money to survive another turn.

Marshal Game profile

Member
32,589

Dec 12th 2019, 20:45:20

feel free to post that to b&s
Patience: Yep, I'm with ELK and Marshal.

ELKronos: Patty is more hairy.

Gallery: K at least I am to my expectations now.

LadyGrizz boobies is fine

NOW3P: Morwen is a much harsher mistress than boredom....