jhaagsma / ee_npc

Earth Empires Non-Player-Country Project!
6 stars 7 forks source link

Bot strat totals can still be wrong even after #9 #19

Closed jobbish-sql closed 3 years ago

jobbish-sql commented 3 years ago

Express was supposed to get 20% of each yet it got this:

[04:42:54] Total Countries:        50 [ANW:     0M] [ALnd:   0.1k]
[04:42:54] Techer :    9 [Next: 3309] [ANW:     0M] [ALnd:   0.1k]
[04:42:54] Rainbow:   11 [Next:12410] [ANW:     0M] [ALnd:   0.1k]
[04:42:54] Farmer :   11 [Next: 8466] [ANW:     0M] [ALnd:   0.1k]
[04:42:54] Casher :   10 [Next:10007] [ANW:     0M] [ALnd:   0.1k]
[04:42:54] Indy   :    9 [Next:  608] [ANW:     0M] [ALnd:   0.1k]

I believe this happened because the file save to settings.json won't happen until the round begins, so if a country is created and the script is restarted before the round begins, that change will be lost. I will correct that piece in #14 but still need to track this.

jobbish-sql commented 3 years ago
[2021-04-07 00:01:00] Server: express
[2021-04-07 00:01:00] Total Countries:        50 [ANW:     0M] [ALnd:   0.1k]
[2021-04-07 00:01:00] Farmer :   10 [Next:-1617753660] [ANW:     0M] [ALnd:   0.1k]
[2021-04-07 00:01:00] Techer :   10 [Next:-1617753660] [ANW:     0M] [ALnd:   0.1k]
[2021-04-07 00:01:00] Casher :   10 [Next:-1617753660] [ANW:     0M] [ALnd:   0.1k]
[2021-04-07 00:01:00] Indy   :   10 [Next:-1617753660] [ANW:     0M] [ALnd:   0.1k]
[2021-04-07 00:01:00] Rainbow:   10 [Next:-1617753660] [ANW:     0M] [ALnd:   0.1k]