274 Commits

Author SHA1 Message Date
Eriks K
12ff11deea refactoring 2021-02-03 16:30:52 +02:00
Eriks K
4e3a16b8d4 Don't print stack and exc traces 2021-02-03 16:16:23 +02:00
Eriks K
5f56f59ab8 bugfi 2021-02-03 14:15:32 +02:00
Eriks K
50c66efbda report error update 2021-02-03 14:03:43 +02:00
Eriks K
47b3154c6a Typehints 2021-02-03 13:36:26 +02:00
Eriks K
7c0d66f126 deploy 2021-02-03 02:03:02 +02:00
Eriks K
842fb64dae deploy 2021-02-03 01:58:18 +02:00
Eriks K
b22349cb1a Disabled oldSchool Shoooooooooot 2021-02-03 01:48:53 +02:00
Eriks K
a9ced91741 deploy 2021-02-03 01:47:50 +02:00
Eriks K
f4896e0b79 Merge branch 'bugfix-v0.23.4'
# Conflicts:
#	erepublik/__init__.py
#	setup.cfg
#	setup.py
2021-02-03 00:50:03 +02:00
Eriks K
13f5c673ad Migrate Citizen.write_log to self.logger.warning where applicable 2021-02-03 00:48:50 +02:00
Eriks K
5e638806b5 Switch from manual log creation to Python logging 2021-02-03 00:47:52 +02:00
Eriks K
e38f603e8b Division switch bugfix for option to switch side 2021-02-02 23:57:54 +02:00
Eriks K
9154d2e493 Captcha solving 2021-01-28 01:46:03 +02:00
Eriks K
d7b020c7ea bugfix 2021-01-28 00:37:10 +02:00
Eriks K
bb6d1be1b5 bugfix 2021-01-28 00:31:46 +02:00
Eriks K
9acc2d2e65 Lets deploy! Preperation for 8th of February 2021-01-27 23:43:29 +02:00
Eriks K
65b555f2bd Minor tweaks and double-quoted strings converted into single-quoted strings 2021-01-21 19:05:00 +02:00
Eriks K
b71cb0c263 Minor tweaks and double-quoted strings converted into single-quoted strings 2021-01-21 19:00:40 +02:00
Eriks K
a1c6fb06a0 Task fetcher updates, state update repeater frequency increased for restricted IPs to not timeout cookie session 2021-01-20 22:25:07 +02:00
Eriks K
c57bf99976 If citizen is on restricted IP, clear cookies when session times out 2021-01-20 16:42:36 +02:00
Eriks K
34d7230faf Response serialization update to include status code. Json encoder and decoder updates 2021-01-20 16:07:19 +02:00
Eriks K
88c8d5a9a0 Unified all event setting 2021-01-18 16:35:31 +02:00
Eriks K
0c877e315b as_dict updates 2021-01-18 16:12:26 +02:00
Eriks K
c95f642fee Citizen.as_dict rewrite 2021-01-18 16:00:29 +02:00
Eriks K
da0276f9a6 Removed unused CitizenMilitary.boosters property
Explicitly updated all Citizen*.as_dict properties
2021-01-18 15:22:53 +02:00
Eriks K
f89f91e969 Concurrency checks placed directly in Citizen class
Added concurrency checks also for citizen updates

Sentry: EREPUBLIK-BOT-77
2021-01-18 15:11:40 +02:00
Eriks K
56c2ca1b6e House renewal price check bugfix 2021-01-12 08:05:57 +02:00
Eriks K
0ed03877ce Damage booster's name change 2021-01-11 21:05:12 +02:00
Eriks K
491c9f5efe CitizenMilitary.countries were never used - all countries are available at constants.COUNTIRES, but allies and deployed allies are also available on every Battle 2021-01-11 16:27:23 +02:00
Eriks K
bff4183cb6 Added option to fight with energy bars, count small energy bars more precisely 2021-01-11 16:19:10 +02:00
Eriks K
a32fd039dd Report details about fighting also on telegram 2021-01-08 11:08:50 +02:00
Eriks K
52038a86d5 PackBooster icon update 2021-01-07 17:00:59 +02:00
Eriks K
b53b2f0fae Update loop 2021-01-07 15:54:56 +02:00
Eriks K
caa41c85f6 minor tweaks 2021-01-07 15:36:27 +02:00
Eriks K
da3b5d5768 Update inventory on booster activation 2021-01-07 15:31:46 +02:00
Eriks K
c693a5182e Merge branch 'master' of github.com:eeriks/erepublik 2021-01-07 15:14:17 +02:00
Eriks K
0dfba6a9ff Find battle and fight - reuse already calculated hit count 2021-01-07 15:14:11 +02:00
Eriks Karls
0e8680daca bugfix 2021-01-06 23:35:25 +02:00
Eriks K
308807d800 isort, pre-commit 2021-01-05 19:29:20 +02:00
Eriks K
09cd275a69 type bugfix 2021-01-05 16:30:42 +02:00
Eriks K
5aecefbd9d Protect those precious air boosters and 100% ground boosters 2021-01-05 15:50:38 +02:00
Eriks K
8b9ee5042d Bugfixes and inventory redone 2021-01-05 15:41:51 +02:00
Eriks K
771dbdf826 With invalid bomb (bomb not in inventory) quit after first try 2020-12-17 18:03:04 +02:00
Eriks K
fccd0134b5 Merge branch 'remove-tox' 2020-12-17 14:07:46 +02:00
Eriks K
b9010fa856 Fixed MRO error 2020-12-17 14:07:29 +02:00
Eriks K
661a019b0a Broken MRO 2020-12-17 14:03:30 +02:00
Eriks K
23d682959d Party presidency and congress election bugfix if player is not part of a party 2020-12-17 12:13:44 +02:00
Eriks K
5806ccb6ca Buy food if unable to work/train because of food shortage 2020-12-14 13:51:16 +02:00
Eriks K
a9bc78b701 Sleep accepts floats and decimals, not only integers. Bomb deploy should use Citizen.sleep instead of utils.sleep 2020-12-11 17:22:45 +02:00