261 Commits

Author SHA1 Message Date
Eriks K
c43e20c8f6 Return all Non-Terrain divisions and their bh damage 2020-07-28 19:33:30 +03:00
Eriks K
d483bcbcb9 JSON.dump sort_keys parameter throwing mysterious errors 2020-07-28 18:29:25 +03:00
Eriks K
a316f277fb Fixed memory leak in Battle and MyCompanies classes 2020-07-28 18:28:03 +03:00
Eriks K
76edd6bb7d Update traveling to incorporate travel cooldown (1travel / 15sec) 2020-07-16 11:14:35 +03:00
Eriks K
8da376b852 Change variable names to be more precise if argument must be and id or instance (battle/battle_id, division/division_id) 2020-07-16 11:13:29 +03:00
Eriks K
d70c3e2c9e Typos 2020-07-11 10:21:12 +03:00
Eriks K
88517cb076 Bugfix 2020-07-10 17:09:28 +03:00
Eriks K
5a8a0a3920 mavericks 2020-07-09 17:42:15 +03:00
Eriks K
ffbbd25e54 Code cleanup 2020-07-09 14:42:40 +03:00
Eriks K
fc4295d8bd bugix 2020-07-09 08:53:32 +03:00
Eriks K
8ce56a31f7 bugix 2020-07-09 08:46:12 +03:00
Eriks K
cd861ea29b bugfix 2020-07-09 08:34:38 +03:00
Eriks K
0061503581 passed int instead of Country to travel 2020-07-09 08:27:48 +03:00
Eriks K
7fa02be7d3 bugfix 2020-07-08 19:30:41 +03:00
Eriks K
c26689a8fa Start hunting empty medals from oldest battles 2020-07-08 18:28:20 +03:00
Eriks K
ba840765be Moving away from passing object ids around and towards passing objects and even using object functions 2020-07-08 17:30:22 +03:00
Eriks K
cd5c0b161f Switch to Fight mode if deployed is active 2020-07-06 15:52:37 +03:00
Eriks K
6c8dbcd99e Updated fighting division chooser 2020-07-04 12:28:02 +03:00
Eriks K
bcb27da54f Summer challange shanged battle list API 2020-07-04 00:31:26 +03:00
Eriks K
71c64b0cf5 minor tweaks 2020-06-29 14:57:40 +03:00
Eriks K
3b5b15553d Bomb deploy bugfix where deploying in RW could leave player stranded in non residency region. Battle update bugfix where self.all_battles could be empty while re-parsing every battle 2020-06-29 14:48:37 +03:00
Eriks K
8eb5235f12 Deploy bombs in RWs bugfix 2020-06-26 17:27:02 +03:00
Eriks K
ed96143c80 Flake8
Battle.div is no longer a defaultdict, but should raise error if trying to access division which isn't assigned
2020-06-25 14:17:05 +03:00
Eriks K
2f69090c03 bugfix 2020-06-19 13:44:33 +03:00
Eriks K
8ca845cf17 Add damage amount to inventory bomb 2020-06-19 13:36:45 +03:00
Eriks K
66f0e648df Citizen.to_json() bugfixed and optimised 2020-06-18 10:10:22 +03:00
Eriks K
a825917a98 WAM/Employ bugfix
Company sorting bugfix
2020-06-16 16:59:56 +03:00
Eriks K
b480ed7230 Companies and holdings created as python objects from Dicts 2020-06-15 16:02:36 +03:00
Eriks K
67677f356f eRepublik updated contributions endpoint 2020-06-15 15:59:03 +03:00
Eriks K
ff869e0403 Bomb deploy bugfix 2020-06-15 15:47:48 +03:00
Eriks K
845cd8d174 Bugfix - auto buy raw bought all available items in offer, not the required amount 2020-06-01 11:11:48 +03:00
Eriks K
4e337177f2 Restricted IP check 2020-05-25 12:30:03 +03:00
Eriks K
eed244deb5 Article commenting bugfix 2020-05-19 14:03:41 +03:00
Eriks K
1e7c9a395e Article publishing bugfix 2020-05-19 13:56:27 +03:00
Eriks K
7aa353bc06 minor bugfix 2020-05-15 09:52:49 +03:00
Eriks K
6642839af5 WAM failed when added employee work unit count is less than available 2020-05-15 09:26:10 +03:00
Eriks K
c216d98287 'dict' object has no attribute 'json' 2020-05-15 09:17:56 +03:00
Eriks K
588475d554 NoneType object has no method get 2020-05-14 17:15:11 +03:00
Eriks K
ab3ce2b8c3 tuple indices must be integers or slices, not str 2020-05-14 16:51:55 +03:00
Eriks K
a208c8bcf0 Object of type Response is not JSON serializable 2020-05-14 16:41:18 +03:00
Eriks K
5712007e3f Typos 2020-05-14 14:30:02 +03:00
Eriks K
f64a9dc709 eRepublik has moved citizen contributions to different campaign list endpoint 2020-05-14 14:07:30 +03:00
Eriks K
c094ef26b4 Flake8 2020-05-14 12:45:57 +03:00
Eriks K
3cac1cf041 Script will log actions done more verbosely to be more transparent about done actions 2020-05-14 12:29:14 +03:00
Eriks K
5c47b70ea6 Wrong offer assignment, resulting in returned data of newest offers not cheapest 2020-05-12 14:19:10 +03:00
Eriks K
05964f6c58 CitizenEconomy.get_market_offers() fixed 2020-05-12 13:45:32 +03:00
Eriks Karls
d95c472ede Donation rate limit 2020-04-30 15:11:55 +03:00
Eriks Karls
9a0cbf77da Citizen.work_as_manager return types normalized and documented 2020-04-29 10:52:07 +03:00
Eriks Karls
904fd4efc8 Moved utils.report_promo to classes.Reporter.report_promo 2020-04-23 14:39:42 +03:00
Eriks Karls
1bbe72f3e1 Fixed imports 2020-04-23 14:32:13 +03:00