209 Commits

Author SHA1 Message Date
Eriks Karls
5556d5f772 Created method for current products on sale. Updated inventory to also include products on sale 2020-01-07 16:28:42 +02:00
Eriks Karls
1c47d169d2 Bump version: 0.18.2 → 0.18.3 v0.18.3 2020-01-07 11:32:59 +02:00
Eriks Karls
ef44787bad make clean-pyc removes log/ and debug/ run 'artifacts' 2020-01-07 11:32:48 +02:00
Eriks Karls
42431134e1 UA update 2020-01-07 11:30:40 +02:00
Eriks Karls
bedaeeefd1 Battle division update 2020-01-07 11:15:40 +02:00
Eriks Karls
bbf304aa99 Bump version: 0.18.1 → 0.18.2 v0.18.2 2020-01-05 10:53:39 +02:00
Eriks Karls
a2447959e7 fight must receive battle id as int, added warnings support 2020-01-05 10:53:26 +02:00
Eriks Karls
700bd8d98e Bump version: 0.18.0 → 0.18.1 v0.18.1 2020-01-02 22:43:01 +02:00
Eriks Karls
3599dc40fc More logging, Citizen.get_raw_surplus() fixed and moved to Citizen.my_companies.get_wam_raw_usage() 2020-01-02 22:42:40 +02:00
Eriks Karls
6ba727a781 promo spam loop 2020-01-02 18:49:38 +02:00
Eriks Karls
7f1829a5d7 Bump version: 0.17.3 → 0.18.0 v0.18.0 2019-12-18 16:26:10 +02:00
Eriks Karls
e374aa8a54 Implemented division switching,
improved multi bomb deploy with auto traveling,
Citizen.fight() simplified battle data gathering logic -> Citizen.shoot logic improved
Citizen.all_battles are now defaultdict with default value of empty/invalid battle, for times when trying to do things with battle which is not in all_battle dict
2019-12-18 16:25:52 +02:00
Eriks Karls
7edfa3b004 Bump version: 0.17.2 → 0.17.3 v0.17.3 2019-12-18 11:45:02 +02:00
Eriks Karls
12aee23739 Variable and method redeclaration 2019-12-18 11:44:18 +02:00
Eriks Karls
b7f8182ef5 Bump version: 0.17.1 → 0.17.2 v0.17.2 2019-12-13 19:32:29 +02:00
Eriks Karls
39093accd0 Type hinting. Class parameter defined lists where shared accross instances. 2019-12-13 19:30:43 +02:00
Eriks Karls
aba8c15fd3 AutoPost medals 2019-12-03 15:22:35 +02:00
Eriks Karls
f294506a2d Updated wars list, added default weapon choosing (q7 - ground, bare hands - air) 2019-12-03 09:52:53 +02:00
Eriks Karls
fd56c6c389 By default sort battles by time 2019-12-03 09:44:14 +02:00
Eriks Karls
4f613ee5ac remvoed unused variables 2019-12-03 09:43:55 +02:00
Eriks Karls
a7dd528597 Citizen get() and post() signature update, check if server isn't compaining about request flooding 2019-12-03 09:42:51 +02:00
Eriks Karls
24c755d414 code style 2019-12-03 09:41:07 +02:00
Eriks Karls
13b639dc5a Bump version: 0.17.0 → 0.17.1 v0.17.1 2019-11-21 14:04:49 +02:00
Eriks Karls
ec1141a46e set serialization 2019-11-21 14:04:43 +02:00
Eriks Karls
77170433c2 Bump version: 0.16.1 → 0.17.0 v0.17.0 2019-11-21 11:12:49 +02:00
Eriks Karls
4736f70203 History update 2019-11-21 11:12:43 +02:00
Eriks Karls
48a27997ac Bump version: 0.16.0 → 0.16.1 v0.16.1 2019-11-21 11:10:15 +02:00
Eriks Karls
90bec82630 12th anniversary minimal methods 2019-11-21 11:06:29 +02:00
Eriks Karls
aedfbf4465 12th anniversary endpoints 2019-11-21 10:42:55 +02:00
Eriks Karls
66f459c692 Inventory structure update 2019-10-30 19:42:05 +02:00
Eriks Karls
ef27960ff1 no message 2019-10-30 19:35:40 +02:00
Eriks Karls
c48af9a891 Thread stopping 2019-10-30 18:16:18 +02:00
Eriks Karls
1abfdb71ac Code cleanup and serialization improvements 2019-10-30 16:55:33 +02:00
Eriks Karls
e060f67666 More inventory structure updates 2019-10-29 16:06:07 +02:00
Eriks Karls
06d8d1c0b5 Telegram threading queue has been messing with error reporting 2019-10-29 16:05:22 +02:00
Eriks Karls
adda8dcb54 Structure requests by year/month/date folders, to keep requests in cleaner format.
The same medal kind (Maverick div BHs) can have different reward value - group them by kind-reward.
Citizen.post bugfix (with no data and json arguments) TODO: Must check where post is called without data or json
2019-10-28 14:17:45 +02:00
Eriks Karls
c7f084436d Inventory structure update 2019-10-18 18:18:39 +03:00
Eriks Karls
94a87091a4 Allow full energy reports once every half an hour 2019-10-17 19:15:17 +03:00
Eriks Karls
c0b97f112d TelegramBot.send_message should always append to send queue 2019-10-16 15:10:38 +03:00
Eriks Karls
3d895bd085 Damage calculation 2019-10-16 15:09:28 +03:00
Eriks Karls
d548d1bbf1 Hit calculation can be static 2019-10-15 20:03:38 +03:00
Eriks Karls
b1eefcc662 CSRF Attack Detecked loop on POST requests. 2019-10-15 20:03:22 +03:00
Eriks Karls
41798c446c Return successfully transfered item count 2019-10-15 11:28:56 +03:00
Eriks Karls
074da3adbe Telegram reporter queue bug 2019-10-14 19:21:00 +03:00
Eriks Karls
6c9a9e920d Delay telegram notification sending by appending multiple messages to queue and after minute of inactivity clear the queue by sending all messages 2019-10-14 13:44:31 +03:00
Eriks Karls
ffa2fc109c Travel for fighting fixed 2019-10-14 13:14:30 +03:00
Eriks Karls
f7f4028f32 Revert "Travel for fighting"
This reverts commit 07c88810923b7051e997db746076a9e18656c0f5.
2019-10-14 13:03:36 +03:00
Eriks Karls
e91705ce90 no message 2019-10-14 13:03:19 +03:00
Eriks Karls
ca65a1ffe1 iPython indexer infinite loop and crash 2019-10-14 12:54:59 +03:00
Eriks Karls
07c8881092 Travel for fighting 2019-10-13 23:50:45 +03:00