268 Commits

Author SHA1 Message Date
Eriks K
4a4b991faf Telegram bot's token can be reused 2020-12-08 18:05:01 +02:00
Eriks K
f0f47566a0 Bugfix: Don't travel to renew house if You can't afford the house 2020-12-07 14:10:40 +02:00
Eriks K
7be129a781 Quickfix for forbidding Dictatorship/Liberation wars 2020-12-07 14:01:22 +02:00
Eriks K
00ceabf8e3 cleanup 2020-12-04 13:13:10 +02:00
Eriks K
19113da8e6 cleanup 2020-12-04 13:11:11 +02:00
Eriks K
3ad7172925 cleanup 2020-12-04 13:08:42 +02:00
Eriks K
179f1a0892 Only init TelegramReporter if both chat id and token have been supplied 2020-12-04 13:08:16 +02:00
Eriks K
65adf707e2 Only init TelegramReporter if both chat id and token have been supplied 2020-12-04 13:08:04 +02:00
Eriks K
fa3881bf10 Updated classes.OfferItem default price to be higher considerably higher than max price for cheapest most expensive items on sale (Q5 houses), Updated house renewal 2020-12-02 18:40:33 +02:00
Eriks K
8133461fd7 pep8 2020-12-02 13:00:33 +02:00
Eriks K
a080163af9 Bugfix 2020-12-01 18:49:33 +02:00
Eriks K
1211a98227 Bugfix 2020-12-01 18:48:52 +02:00
Eriks K
5c3b405ca8 Added utils.wait_for_lock decorator to wait for concurrency release 2020-12-01 18:11:00 +02:00
Eriks K
9d79bb713c naming bugfix 2020-12-01 15:00:55 +02:00
Eriks K
447aee8134 Concurrency flag to guard against 2020-12-01 14:22:26 +02:00
Eriks K
b338ea598a Seperated battle finding logic from CitizenMilitary.find_battle_and_fight method 2020-12-01 13:02:10 +02:00
Eriks K
cfb9501647 PEP8 2020-11-30 18:16:13 +02:00
Eriks K
d419211955 Get max hit value for divisions on current side 2020-11-30 18:12:36 +02:00
Eriks K
0ea144db17 Added method to get division stats 2020-11-30 17:44:23 +02:00
Eriks K
1418f580cd Spin wheel of fortune updates 2020-11-30 17:43:42 +02:00
Eriks K
6e9def4394 Added .get_article(int) and .delete_article(int) methods to CitizenMedia class 2020-11-26 18:32:31 +02:00
Eriks K
d6fbaa7945 Maverick fighting should be explicitly enabled through Citizen.config 2020-11-26 16:16:15 +02:00
Eriks K
240c409739 Travel to region bugfix 2020-11-20 18:54:12 +02:00
Eriks K
7a09eea2b4 CitizenAnniversary.collect_map_quest_node() now accepts argument extra, to collect extra reward 2020-11-20 16:57:36 +02:00
Eriks K
429d43df15 CitizenTasks.work() bugfix: When employer out of money - resign 2020-11-20 14:45:58 +02:00
Eriks K
c81986d65e CitizenEconomy.post_market_offer() bugfix 2020-11-20 14:31:16 +02:00
Eriks K
aa9cda9314 eRepublik temp technical difficulties 2020-11-16 12:06:59 +02:00
Eriks K
160b32a914 Buy market offer directly 2020-11-16 11:52:55 +02:00
Eriks K
a51c3c620e Python round to even bugfix.
`{"stock":10.494533,"consume":10.5}` rounds to 0
2020-11-16 11:52:27 +02:00
Eriks K
a32e88218d CitizenEconomy.get_market_offers now accepts searching tickets and the new aircraft qualities 2020-11-09 16:28:21 +02:00
Eriks K
bdb13fa4ae History update, WAM actions are now more verbose 2020-11-04 17:22:35 +02:00
Eriks K
61d0599295 House renewal bugfix 2020-11-03 14:31:37 +02:00
Eriks K
1ef600492a House renewal bugfix 2020-11-03 14:30:20 +02:00
Eriks K
377eda6445 Inventory booster bugfix 2020-11-03 14:29:42 +02:00
Eriks K
0479afcabe Report if out of money to work as manager 2020-10-30 12:58:18 +02:00
Eriks K
486f022f35 Unified Item namig from constants.INDUSTRIES 2020-10-30 12:43:45 +02:00
Eriks K
04f357cc70 Bugfix 2020-10-27 17:04:37 +02:00
Eriks K
8aa90a7dbf Lint 2020-10-22 18:04:06 +03:00
Eriks K
241f1642ce Session dump/load, Citizen.inventory update, memory and network optimization, python3.6 support 2020-10-22 16:26:59 +03:00
Eriks K
22c2a0ffd2 New Features!
Dump session to file!
Load session from file!
2020-10-21 14:45:29 +03:00
Eriks K
889435b94e House renewal bugfix 2020-10-07 09:21:36 +03:00
Eriks K
963d7ca11a bugfix 2020-10-06 12:35:14 +03:00
Eriks Karls
d9fa30b06e bugfix in default weapon switch 2020-09-30 08:35:35 +03:00
Eriks Karls
b53dc447f4 switch to deploy 2020-09-30 08:13:36 +03:00
Eriks K
ec62d90aa2 wheeloffortune bugfix 2020-09-29 18:02:52 +03:00
Eriks K
ad24338f4d wheeloffortune bugfix 2020-09-29 17:38:26 +03:00
Eriks K
78c055fee2 bugfix 2020-09-25 10:10:27 +03:00
Eriks K
123b6cf4ed Fight reporting unified and moved to Reporter.report_fighting 2020-09-23 13:22:31 +03:00
Eriks K
f652b02443 Fight reporting duplicate 2020-09-23 13:17:46 +03:00
Eriks K
955432e0d2 Check also for maintenance in BaseCitizen._errors_in_response() 2020-09-23 11:15:18 +03:00