Commit graph

6012 commits

Author SHA1 Message Date
Łukasz Domeradzki
428933af91
Update CONTRIBUTING.md 2018-12-05 01:20:58 +01:00
JustArchi
466f4dd754 Bump 2018-12-04 02:41:37 +01:00
JustArchi
cf36e7b233 Translations update 2018-12-04 02:35:34 +01:00
JustArchi
6313144626 Packages update 2018-12-04 02:14:27 +01:00
JustArchi
bb6276835f Code review, bugfixing, remove loot& command 2018-12-04 02:05:09 +01:00
JustArchi
577c2436d0 Misc 2018-12-03 05:21:12 +01:00
JustArchi
2aaa40436c Bump 2018-12-03 02:47:24 +01:00
JustArchi
6e84424db4 Further memory optimizations
Now we'll never parse more than we absolutely need, also during neutrality check
2018-12-03 02:43:24 +01:00
JustArchi
b13ef29588 Bump 2018-12-03 01:30:36 +01:00
JustArchi
555a74e2b6 Optimize memory usage 2018-12-03 01:24:33 +01:00
JustArchi
4582c40dbe Update timers 2018-12-03 00:59:01 +01:00
JustArchi
ec26a30ddf Misc 2018-12-03 00:45:09 +01:00
JustArchi
84243a1bce Bump 2018-12-02 22:53:06 +01:00
JustArchi
2b8a969fd4 Translations update 2018-12-02 22:29:26 +01:00
JustArchi
a385aa9ce5 When matching actively, take into account number of trades and items in each 2018-12-02 19:04:53 +01:00
JustArchi
3c7c3ccc58 Misc 2018-12-02 06:28:03 +01:00
JustArchi
def23e5ba9 Remove excessive debug from new feature
As it's not needed anymore
2018-12-02 06:24:36 +01:00
JustArchi
a64ce524aa Closes #954 2018-12-02 00:56:08 +01:00
JustArchi
a9691d04e7 Skip login keys also when user provides details himself 2018-12-01 01:53:21 +01:00
JustArchi
d5618452fc Avoid supplying login keys in full-details scenario
Apparently Steam network is too stupid to find out that despite of our invalid login key, we also include password and 2FA token, which are valid. Therefore in order to save potential login failure due to invalid login key, let's not use it at all if it's not needed.

We still save it as we might need to use it in the future.
2018-12-01 01:46:08 +01:00
JustArchi
ff2c0b3b79 Add semaphore to active matching
Very unlikely to be hit, but still
2018-11-29 21:05:40 +01:00
JustArchi
00f1ddfae3 Bump 2018-11-29 20:09:48 +01:00
JustArchi
0e07b0e327 Translations update 2018-11-29 20:07:58 +01:00
JustArchi
c9908add44 Implement better no-more-dupes logic 2018-11-29 19:21:41 +01:00
JustArchi
e1305f1855 Double the limits 2018-11-29 18:56:28 +01:00
JustArchi
0767f256e8 Fix build 2018-11-29 18:47:53 +01:00
JustArchi
1beb08f823 Implement ETradingPreferences.MatchActively
This will probably need a lot more tests, tweaking and bugfixing, but basic logic is:

- MatchActively added to TradingPreferences with value of 16
- User must also use SteamTradeMatcher, can't use MatchEverything
- User must have statistics enabled and be eligible for being listed (no requirement of having 100 items minimum)

Once all requirements are passed, statistics module will communicate with the listing and fetch match everything bots:
- The matching will start in 1h since ASF start and will repeat every day (right now it starts in 1 minute to aid debugging).
- Each matching is composed of up to 10 rounds maximum.
- In each round ASF will fetch our inventory and inventory of listed bots in order to find MatchableTypes items to be matched. If match is found, offer is being sent and confirmed automatically.
- Each set (composition of item type + appID it's from) can be matched in a single round only once, this is to minimize "items no longer available" as much as possible and also avoid a need to wait for each bot to react before sending all trades.
- Round ends when we try to match a total of 20 bots, or we hit no items to match in consecutive 10 tries with 10 different bots.
- If last round resulted in at least a single trade being sent, next round starts within 5 minutes since last one, otherwise matching ends and repeats the next day.

We'll see how it works in practice, expect a lot of follow-up commits, unless I won't have anything to fix or improve.
2018-11-29 18:35:58 +01:00
JustArchi
06607fc0a3 Misc 2018-11-28 23:44:41 +01:00
JustArchi
b34039e10c Allow omitting the name in BGR import
Naming logic also applies to ASF API, but it's userspace in charge of making use of it.
2018-11-28 23:36:56 +01:00
JustArchi
c4e6d34b85 Misc 2018-11-28 04:18:44 +01:00
JustArchi
f0c15a0eec Bump 2018-11-28 04:13:56 +01:00
JustArchi
ae6e868b2b Translations update 2018-11-28 03:33:39 +01:00
JustArchi
328e34d313 Packages update + OpenAPI 3.0 2018-11-28 03:13:38 +01:00
JustArchi
88cea5d6f4 Misc WebBrowser improvements
Just when you thought that you've seen everything, wait for 200 OK with JSON cut in half.
2018-11-28 02:30:50 +01:00
JustArchi
049d9facba Dockerfiles: misc 2018-11-24 15:12:36 +01:00
JustArchi
321fc2f525 Dockerfiles: misc 2018-11-24 14:54:17 +01:00
JustArchi
f7f492d833 CIs: misc 2018-11-24 14:45:25 +01:00
JustArchi
fae9ad5ca8 Packages update 2018-11-24 03:24:27 +01:00
JustArchi
515c654511 Code cleanup 2018-11-24 03:20:04 +01:00
JustArchi
55f92e5920 Update CONTRIBUTING.md 2018-11-22 05:51:47 +01:00
JustArchi
1b23e10328 Update CONTRIBUTING.md 2018-11-22 05:44:08 +01:00
JustArchi
c657db5209 Update CONTRIBUTING.md 2018-11-22 05:36:47 +01:00
JustArchi
e5309a196a Translations update 2018-11-19 15:51:30 +01:00
JustArchi
6ef8093b19 Cleanup 2018-11-19 15:33:29 +01:00
Vital7
25dcccdb54 Add method to get trade token by using Steamkit (#947)
* Fix NullReferenceException in AcceptConfirmations()

* Add method to get trade token by using steamkit

* Remove AWH way to get token and caching it

* Accidentally removed some logic, fix
2018-11-19 15:16:35 +01:00
JustArchi
d2a17e1c0e Translations update 2018-11-16 21:59:13 +01:00
JustArchi
29528ead8d Add crowdin download script 2018-11-16 21:28:04 +01:00
JustArchi
1ea9e726b2 Upgrade my crowdin magic to ArchiCrodwin in preparation for #943 2018-11-16 19:50:34 +01:00
JustArchi
b7feb969d1 Remove deprecated properties 2018-11-14 21:16:20 +01:00
JustArchi
935533122d Bump 2018-11-14 21:09:01 +01:00